* [PATCH] arm64: zynqmp: Setting default i2c clock frequency to 400kHz
@ 2023-06-08 12:36 Michal Simek
2023-07-10 10:05 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2023-06-08 12:36 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Varalaxmi Bingi, Conor Dooley, Harini Katakam,
Krzysztof Kozlowski, Laurent Pinchart, Michael Grzeschik,
Parth Gajjar, Piyush Mehta, Radhey Shyam Pandey, Rob Herring,
Robert Hancock, Tanmay Shah, devicetree, linux-arm-kernel
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>;
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: zynqmp: Setting default i2c clock frequency to 400kHz
2023-06-08 12:36 [PATCH] arm64: zynqmp: Setting default i2c clock frequency to 400kHz Michal Simek
@ 2023-07-10 10:05 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2023-07-10 10:05 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Varalaxmi Bingi, Conor Dooley, Harini Katakam,
Krzysztof Kozlowski, Laurent Pinchart, Michael Grzeschik,
Parth Gajjar, Piyush Mehta, Radhey Shyam Pandey, Rob Herring,
Robert Hancock, Tanmay Shah, devicetree, linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-10 10:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-08 12:36 [PATCH] arm64: zynqmp: Setting default i2c clock frequency to 400kHz Michal Simek
2023-07-10 10:05 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).