lkml.org 
[lkml]   [2020]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp157c-ed1
From
Date
Hi Alain

On 2/10/20 6:17 PM, Alain Volmat wrote:
> On this board, the I2C4 bus has only a single slave (pmic) which
> supports I2C Fast Mode hence setting bus frequency to 400 KHz.
>
> Signed-off-by: Alain Volmat <alain.volmat@st.com>
> ---
> arch/arm/boot/dts/stm32mp157c-ed1.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
> index 209dae010be4..ac4f7ee4ad55 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
> @@ -135,6 +135,7 @@
> pinctrl-0 = <&i2c4_pins_sleep_a>;
> i2c-scl-rising-time-ns = <185>;
> i2c-scl-falling-time-ns = <20>;
> + clock-frequency = <400000>;
> status = "okay";
> /* spare dmas for other usage */
> /delete-property/dmas;
>

Applied on stm32-next.

Thanks.
Alex

\
 
 \ /
  Last update: 2020-03-13 13:51    [W:0.040 / U:5.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site