linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] renesas: dts: Add remaining I2C EEPROMs
@ 2023-03-09 15:30 Geert Uytterhoeven
  2023-03-09 15:30 ` [PATCH 1/3] ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2023-03-09 15:30 UTC (permalink / raw)
  To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven

	Hi all,

This patch series adds the I2C EEPROMs on the Atmark Techno
Armadillo-800-EVA, and the Renesas Condor and ULCB development boards.

This has been tested on Armadillo-800-EVA, Condor, and M3ULCB.

I plan to queue these in renesas-devel-for-v6.4.
Thanks for your comments!

Geert Uytterhoeven (3):
  ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address
  arm64: dts: renesas: condor: Add I2C EEPROM for PMIC
  arm64: dts: renesas: ulcb: Add I2C EEPROM for PMIC

 arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 19 +++++++++++++------
 .../boot/dts/renesas/r8a77980-condor.dts      |  8 ++++++++
 arch/arm64/boot/dts/renesas/ulcb.dtsi         |  6 ++++++
 3 files changed, 27 insertions(+), 6 deletions(-)

-- 
2.34.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

* [PATCH 1/3] ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address
  2023-03-09 15:30 [PATCH 0/3] renesas: dts: Add remaining I2C EEPROMs Geert Uytterhoeven
@ 2023-03-09 15:30 ` Geert Uytterhoeven
  2023-03-09 15:30 ` [PATCH 2/3] arm64: dts: renesas: condor: Add I2C EEPROM for PMIC Geert Uytterhoeven
  2023-03-09 15:30 ` [PATCH 3/3] arm64: dts: renesas: ulcb: " Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2023-03-09 15:30 UTC (permalink / raw)
  To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven

Add a device node for the M24C01 I2C EEPROM which serves as external
storage for the Ethernet MAC address.

While at it, restore sort order (by unit address) of the I2C devices.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
index 76f04011870cc571..48b678a6c5cb92e5 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
@@ -210,6 +210,19 @@ &cmt1 {
 
 &i2c0 {
 	status = "okay";
+
+	wm8978: codec@1a {
+		#sound-dai-cells = <0>;
+		compatible = "wlf,wm8978";
+		reg = <0x1a>;
+	};
+
+	eeprom@50 {
+		compatible = "st,24c01", "atmel,24c01";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
+
 	touchscreen@55 {
 		compatible = "sitronix,st1232";
 		reg = <0x55>;
@@ -219,12 +232,6 @@ touchscreen@55 {
 		pinctrl-names = "default";
 		gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
 	};
-
-	wm8978: codec@1a {
-		#sound-dai-cells = <0>;
-		compatible = "wlf,wm8978";
-		reg = <0x1a>;
-	};
 };
 
 &i2c2 {
-- 
2.34.1


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

* [PATCH 2/3] arm64: dts: renesas: condor: Add I2C EEPROM for PMIC
  2023-03-09 15:30 [PATCH 0/3] renesas: dts: Add remaining I2C EEPROMs Geert Uytterhoeven
  2023-03-09 15:30 ` [PATCH 1/3] ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address Geert Uytterhoeven
@ 2023-03-09 15:30 ` Geert Uytterhoeven
  2023-03-09 15:30 ` [PATCH 3/3] arm64: dts: renesas: ulcb: " Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2023-03-09 15:30 UTC (permalink / raw)
  To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven

Add a device node for the I2C EEPROM which serves as external storage
for the PMIC setup.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/r8a77980-condor.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77980-condor.dts b/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
index 1d326552e2facd06..68d1f1d53b3a38b4 100644
--- a/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
@@ -14,3 +14,11 @@ / {
 	model = "Renesas Condor board based on r8a77980";
 	compatible = "renesas,condor", "renesas,r8a77980";
 };
+
+&i2c0 {
+	eeprom@50 {
+		compatible = "rohm,br24t01", "atmel,24c01";
+		reg = <0x50>;
+		pagesize = <8>;
+	};
+};
-- 
2.34.1


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

* [PATCH 3/3] arm64: dts: renesas: ulcb: Add I2C EEPROM for PMIC
  2023-03-09 15:30 [PATCH 0/3] renesas: dts: Add remaining I2C EEPROMs Geert Uytterhoeven
  2023-03-09 15:30 ` [PATCH 1/3] ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address Geert Uytterhoeven
  2023-03-09 15:30 ` [PATCH 2/3] arm64: dts: renesas: condor: Add I2C EEPROM for PMIC Geert Uytterhoeven
@ 2023-03-09 15:30 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2023-03-09 15:30 UTC (permalink / raw)
  To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven

Add a device node for the I2C EEPROM which serves as external storage
for the PMIC setup.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/ulcb.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index 8b437632981dc5e3..7c91a4d5e8d4fb12 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -268,6 +268,12 @@ dvfs: dvfs {
 			};
 		};
 	};
+
+	eeprom@50 {
+		compatible = "rohm,br24t01", "atmel,24c01";
+		reg = <0x50>;
+		pagesize = <8>;
+	};
 };
 
 &ohci1 {
-- 
2.34.1


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

end of thread, other threads:[~2023-03-09 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 15:30 [PATCH 0/3] renesas: dts: Add remaining I2C EEPROMs Geert Uytterhoeven
2023-03-09 15:30 ` [PATCH 1/3] ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address Geert Uytterhoeven
2023-03-09 15:30 ` [PATCH 2/3] arm64: dts: renesas: condor: Add I2C EEPROM for PMIC Geert Uytterhoeven
2023-03-09 15:30 ` [PATCH 3/3] arm64: dts: renesas: ulcb: " Geert Uytterhoeven

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