arm64: dts: allwinner: a64: Add SID node
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
@@ -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
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
@@ -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
PATCH v3 3/4 nvmem: sunxi-sid: add support for H5's SID controller
In reply to Emmanuel VadotThe 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
@@ -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
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.Signed-off-by Emmanuel Vadot <[email protected]>--- Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt | 1 + 1 file changed, 1 insertion(+)
PATCH v3 4/4 arm64: dts: allwinner: h5: Add SID for H5
In reply to Emmanuel VadotThe 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
@@ -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
Maxime Ripard
AppliedQuoted 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.Signed-off-by Emmanuel Vadot <[email protected]>
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>