linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed
@ 2018-05-25 11:05 Wolfram Sang
  2018-05-25 11:05 ` [PATCH 1/2] arm64: dts: salvator-x: update I2C ch4 clock to 400kHz Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wolfram Sang @ 2018-05-25 11:05 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Simon Horman, Wolfram Sang

Patches taken from the BSP. I did some testing by accessing the chips manually.
I also checked the datasheets of the attached I2C clients which confirm this
step up.

Takeshi Kihara (2):
  arm64: dts: salvator-x: Update I2C ch4 clock to 400kHz
  arm64: dts: salvator-xs: Update I2C ch4 clock to 400kHz

 arch/arm64/boot/dts/renesas/salvator-x.dtsi  | 2 ++
 arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 2 ++
 2 files changed, 4 insertions(+)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] arm64: dts: salvator-x: update I2C ch4 clock to 400kHz
  2018-05-25 11:05 [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed Wolfram Sang
@ 2018-05-25 11:05 ` Wolfram Sang
  2018-05-25 11:05 ` [PATCH 2/2] arm64: dts: salvator-xs: " Wolfram Sang
  2018-05-28  9:27 ` [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2018-05-25 11:05 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Simon Horman, Takeshi Kihara, Wolfram Sang

From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

Any of the following devices connected to I2C ch4 of the Salvator-X board
will operate at 400 kHz:

    PCA9654, 9FGV0841, ADV7482WBBCZ, MAX9611, 5P49V5923

This patch updates the clock frequency to 400 KHz.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/salvator-x.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/salvator-x.dtsi b/arch/arm64/boot/dts/renesas/salvator-x.dtsi
index 468868c8ed9f..2828482eba1c 100644
--- a/arch/arm64/boot/dts/renesas/salvator-x.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-x.dtsi
@@ -20,6 +20,8 @@
 };
 
 &i2c4 {
+	clock-frequency = <400000>;
+
 	versaclock5: clock-generator@6a {
 		compatible = "idt,5p49v5923";
 		reg = <0x6a>;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: dts: salvator-xs: update I2C ch4 clock to 400kHz
  2018-05-25 11:05 [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed Wolfram Sang
  2018-05-25 11:05 ` [PATCH 1/2] arm64: dts: salvator-x: update I2C ch4 clock to 400kHz Wolfram Sang
@ 2018-05-25 11:05 ` Wolfram Sang
  2018-05-28  9:27 ` [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2018-05-25 11:05 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Simon Horman, Takeshi Kihara, Wolfram Sang

From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

Any of the following devices connected to I2C ch4 of the Salvator-XS
board will operate at 400 kHz:

    PCA9654E, 9FGV0841, ADV7482WBBCZ, MAX9611, 5P49V6901A

This patch updates the clock frequency to 400 KHz.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/salvator-xs.dtsi b/arch/arm64/boot/dts/renesas/salvator-xs.dtsi
index bf4d200fb546..1ac03b7564aa 100644
--- a/arch/arm64/boot/dts/renesas/salvator-xs.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-xs.dtsi
@@ -20,6 +20,8 @@
 };
 
 &i2c4 {
+	clock-frequency = <400000>;
+
 	versaclock6: clock-generator@6a {
 		compatible = "idt,5p49v6901";
 		reg = <0x6a>;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed
  2018-05-25 11:05 [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed Wolfram Sang
  2018-05-25 11:05 ` [PATCH 1/2] arm64: dts: salvator-x: update I2C ch4 clock to 400kHz Wolfram Sang
  2018-05-25 11:05 ` [PATCH 2/2] arm64: dts: salvator-xs: " Wolfram Sang
@ 2018-05-28  9:27 ` Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2018-05-28  9:27 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-renesas-soc

On Fri, May 25, 2018 at 01:05:40PM +0200, Wolfram Sang wrote:
> Patches taken from the BSP. I did some testing by accessing the chips manually.
> I also checked the datasheets of the attached I2C clients which confirm this
> step up.

Hi Wolfram,

Given Olof Johansson's recent comments in ("Re: [GIT PULL] Renesas ARM64
Based SoC DT Updates for v4.18") please consider squashing this
series into a single patch and posting a v2.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-28  9:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-25 11:05 [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed Wolfram Sang
2018-05-25 11:05 ` [PATCH 1/2] arm64: dts: salvator-x: update I2C ch4 clock to 400kHz Wolfram Sang
2018-05-25 11:05 ` [PATCH 2/2] arm64: dts: salvator-xs: " Wolfram Sang
2018-05-28  9:27 ` [PATCH 0/2] arm: dts: salvator-x(s): increase I2C ch4 bus speed Simon Horman

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).