* [PATCH] ARM: dts: rockchip: Add cpu id to rk3288 efuse node
@ 2019-09-19 21:26 ` Douglas Anderson
0 siblings, 0 replies; 4+ messages in thread
From: Douglas Anderson @ 2019-09-19 21:26 UTC (permalink / raw)
To: Heiko Stuebner
Cc: mka, Douglas Anderson, devicetree, linux-kernel, linux-rockchip,
Rob Herring, Mark Rutland, linux-arm-kernel
This just adds in another field of what's stored in the e-fuse on
rk3288. Though I can't personally promise that every rk3288 out there
has the CPU ID stored in the eFuse at this location, there is some
evidence that it is correct:
- This matches what was in the Chrome OS 3.14 branch (see
EFUSE_CHIP_UID_OFFSET and EFUSE_CHIP_UID_LEN) for rk3288.
- The upstream rk3399 dts file has this same data at the same offset
and with the same length, indiciating that this is likely common for
several modern Rockchip SoCs.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
arch/arm/boot/dts/rk3288.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index cc893e154fe5..415b48fc3ce8 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -1391,6 +1391,9 @@
clocks = <&cru PCLK_EFUSE256>;
clock-names = "pclk_efuse";
+ cpu_id: cpu-id@7 {
+ reg = <0x07 0x10>;
+ };
cpu_leakage: cpu_leakage@17 {
reg = <0x17 0x1>;
};
--
2.23.0.351.gc4317032e6-goog
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: dts: rockchip: Add cpu id to rk3288 efuse node
@ 2019-09-19 21:26 ` Douglas Anderson
0 siblings, 0 replies; 4+ messages in thread
From: Douglas Anderson @ 2019-09-19 21:26 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Mark Rutland, devicetree, Douglas Anderson, Rob Herring,
linux-kernel, linux-rockchip, mka, linux-arm-kernel
This just adds in another field of what's stored in the e-fuse on
rk3288. Though I can't personally promise that every rk3288 out there
has the CPU ID stored in the eFuse at this location, there is some
evidence that it is correct:
- This matches what was in the Chrome OS 3.14 branch (see
EFUSE_CHIP_UID_OFFSET and EFUSE_CHIP_UID_LEN) for rk3288.
- The upstream rk3399 dts file has this same data at the same offset
and with the same length, indiciating that this is likely common for
several modern Rockchip SoCs.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
arch/arm/boot/dts/rk3288.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index cc893e154fe5..415b48fc3ce8 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -1391,6 +1391,9 @@
clocks = <&cru PCLK_EFUSE256>;
clock-names = "pclk_efuse";
+ cpu_id: cpu-id@7 {
+ reg = <0x07 0x10>;
+ };
cpu_leakage: cpu_leakage@17 {
reg = <0x17 0x1>;
};
--
2.23.0.351.gc4317032e6-goog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: rockchip: Add cpu id to rk3288 efuse node
2019-09-19 21:26 ` Douglas Anderson
@ 2019-09-29 14:24 ` Heiko Stuebner
-1 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2019-09-29 14:24 UTC (permalink / raw)
To: Douglas Anderson
Cc: mka, devicetree, linux-kernel, linux-rockchip, Rob Herring,
Mark Rutland, linux-arm-kernel
Am Donnerstag, 19. September 2019, 23:26:41 CEST schrieb Douglas Anderson:
> This just adds in another field of what's stored in the e-fuse on
> rk3288. Though I can't personally promise that every rk3288 out there
> has the CPU ID stored in the eFuse at this location, there is some
> evidence that it is correct:
> - This matches what was in the Chrome OS 3.14 branch (see
> EFUSE_CHIP_UID_OFFSET and EFUSE_CHIP_UID_LEN) for rk3288.
> - The upstream rk3399 dts file has this same data at the same offset
> and with the same length, indiciating that this is likely common for
> several modern Rockchip SoCs.
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
applied for 5.5
Thanks
Heiko
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: rockchip: Add cpu id to rk3288 efuse node
@ 2019-09-29 14:24 ` Heiko Stuebner
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2019-09-29 14:24 UTC (permalink / raw)
To: Douglas Anderson
Cc: Mark Rutland, devicetree, linux-kernel, Rob Herring,
linux-rockchip, mka, linux-arm-kernel
Am Donnerstag, 19. September 2019, 23:26:41 CEST schrieb Douglas Anderson:
> This just adds in another field of what's stored in the e-fuse on
> rk3288. Though I can't personally promise that every rk3288 out there
> has the CPU ID stored in the eFuse at this location, there is some
> evidence that it is correct:
> - This matches what was in the Chrome OS 3.14 branch (see
> EFUSE_CHIP_UID_OFFSET and EFUSE_CHIP_UID_LEN) for rk3288.
> - The upstream rk3399 dts file has this same data at the same offset
> and with the same length, indiciating that this is likely common for
> several modern Rockchip SoCs.
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
applied for 5.5
Thanks
Heiko
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-09-29 14:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-19 21:26 [PATCH] ARM: dts: rockchip: Add cpu id to rk3288 efuse node Douglas Anderson
2019-09-19 21:26 ` Douglas Anderson
2019-09-29 14:24 ` Heiko Stuebner
2019-09-29 14:24 ` Heiko Stuebner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.