Skip to contentSkip to conversation

arm64: dts: allwinner: a64: Add SID node

PATCH Applied Emmanuel Vadot 3 participants 6 messages Jul 27, 2018 – Jul 30, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/4 arm64: dts: allwinner: a64: Add SID node

The A64 have a SID controller which consist of EFUSE (starting at 0x200) and three registers to read/write some of the protected efuses.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +5 -0
index 1b2ef28c42bd..69c0d9362553 100644
@@ -227,6 +227,11 @@
 			#size-cells = <0>;
 		};
 
+		sid: eeprom at 1c14000 {
+			compatible = "allwinner,sun50i-a64-sid";
+			reg = <0x1c14000 0x400>;
+		};
+
 		usb_otg: usb at 1c19000 {
 			compatible = "allwinner,sun8i-a33-musb";
 			reg = <0x01c19000 0x0400>;
Signature · 1 line
2.18.0
#1 lore raw

PATCH v3 2/4 ARM: dts: sun8i: h3: Add SID compatible string

The SID controller on H3 already have a binding but isn't present in the dtsi file.
Add a node for it.

---
 arch/arm/boot/dts/sun8i-h3.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/sun8i-h3.dtsi +5 -0
index 41d57c76f290..614e2c2154c8 100644
@@ -111,6 +111,11 @@
 	};
 
 	soc {
+		sid: eeprom at 1c14000 {
+			compatible = "allwinner,sun8i-h3-sid";
+			reg = <0x1c14000 0x400>;
+		};
+
 		mali: gpu at 1c40000 {
 			compatible = "allwinner,sun8i-h3-mali", "arm,mali-400";
 			reg = <0x01c40000 0x10000>;
Signature · 1 line
2.18.0
#2 lore raw

PATCH v3 3/4 nvmem: sunxi-sid: add support for H5's SID controller

In reply to Emmanuel Vadot

The H5 SoC have a SID controller that looks like the one in A64, the cells are in the same offset but doesn't contain the same data (thermal sensor calibration for example).
Add a binding for it.

---
 Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt +1 -0
index e319fe5e205a..99c4ba6a3f61 100644
@@ -7,6 +7,7 @@ Required properties:
   "allwinner,sun8i-a83t-sid"
   "allwinner,sun8i-h3-sid"
   "allwinner,sun50i-a64-sid"
+  "allwinner,sun50i-h5-sid"
 
 - reg: Should contain registers location and length
 
Signature · 1 line
2.18.0
maintainer Acked-by on v3 3/4
#3 lore raw

Re: [PATCH v3 3/4] nvmem: sunxi-sid: add support for H5's SID controller

Quoted 9 lines · Emmanuel Vadot

The H5 SoC have a SID controller that looks like the one in A64, the cells are in the same offset but doesn't contain the same data (thermal sensor calibration for example).
Add a binding for it.

---
 Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt | 1 +
 1 file changed, 1 insertion(+)
#4 lore raw

PATCH v3 4/4 arm64: dts: allwinner: h5: Add SID for H5

In reply to Emmanuel Vadot

The H5 SoC have a SID controller like the others Allwinner SoC. Add a node for it.

---
 arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +7 -0
index 62d646baac3c..9838acaeea58 100644
@@ -92,6 +92,13 @@
 			     <GIC_PPI 10
 				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
 	};
+
+	soc {
+		sid: eeprom at 1c14000 {
+			compatible = "allwinner,sun50i-h5-sid";
+			reg = <0x1c14000 0x400>;
+		};
+	};
 };
 
 &ccu {
Signature · 1 line
2.18.0
#5 lore raw
In reply to Emmanuel Vadot
Quoted 4 lines · Emmanuel Vadot

The A64 have a SID controller which consist of EFUSE (starting at 0x200) and three registers to read/write some of the protected efuses.

Queued all 4 for 4.20, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180730/01a13c7d/attachment.sig>