lkml.org 
[lkml]   [2023]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] arm64: zynqmp: Setting default i2c clock frequency to 400kHz
From


On 6/8/23 14:36, Michal Simek wrote:
> From: Varalaxmi Bingi <varalaxmi.bingi@amd.com>
>
> Setting default i2c clock frequency for ZynqMP to maximum rate of 400kHz.
> Current default value is 100kHz.
>
> Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@amd.com>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> index 394db49ac6cb..675b88190845 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> @@ -648,6 +648,7 @@ i2c0: i2c@ff020000 {
> status = "disabled";
> interrupt-parent = <&gic>;
> interrupts = <0 17 4>;
> + clock-frequency = <400000>;
> reg = <0x0 0xff020000 0x0 0x1000>;
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -659,6 +660,7 @@ i2c1: i2c@ff030000 {
> status = "disabled";
> interrupt-parent = <&gic>;
> interrupts = <0 18 4>;
> + clock-frequency = <400000>;
> reg = <0x0 0xff030000 0x0 0x1000>;
> #address-cells = <1>;
> #size-cells = <0>;

Applied.
M

\
 
 \ /
  Last update: 2023-07-10 12:10    [W:0.047 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site