Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: add cpu-id nvmem cell node for rk3399
@ 2016-10-30  2:57 Ziyuan Xu
       [not found] ` <20161030025725.32155-1-xzy.xu-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ziyuan Xu @ 2016-10-30  2:57 UTC (permalink / raw)
  To: heiko-4mtYJXux2i+zQB+pC5nmwQ
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	zhengsq-TNX95d0MmH7DzftRWevZcw, zyw-TNX95d0MmH7DzftRWevZcw,
	finley.xiao-TNX95d0MmH7DzftRWevZcw,
	dianders-F7+t8E8rja9g9hUCZPvPmw, Ziyuan Xu

There is a 'cpu-id' field in efuse, export it for other drivers
reference.

Signed-off-by: Ziyuan Xu <xzy.xu-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
---
 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 76b2864..71c3ce7 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1023,6 +1023,9 @@
 		clock-names = "pclk_efuse";
 
 		/* Data cells */
+		cpu_id: cpu-id {
+			reg = <0x07 0x10>;
+		};
 		cpub_leakage: cpu-leakage@17 {
 			reg = <0x17 0x1>;
 		};
-- 
2.9.3


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] arm64: dts: rockchip: add cpu-id nvmem cell node for rk3399
       [not found] ` <20161030025725.32155-1-xzy.xu-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
@ 2016-11-01 23:30   ` Heiko Stübner
  2016-11-02  0:51     ` Ziyuan Xu
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Stübner @ 2016-11-01 23:30 UTC (permalink / raw)
  To: Ziyuan Xu
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	zhengsq-TNX95d0MmH7DzftRWevZcw, zyw-TNX95d0MmH7DzftRWevZcw,
	finley.xiao-TNX95d0MmH7DzftRWevZcw,
	dianders-F7+t8E8rja9g9hUCZPvPmw

Am Sonntag, 30. Oktober 2016, 10:57:25 schrieb Ziyuan Xu:
> There is a 'cpu-id' field in efuse, export it for other drivers
> reference.
> 
> Signed-off-by: Ziyuan Xu <xzy.xu-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
> ---
>  arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 76b2864..71c3ce7 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> @@ -1023,6 +1023,9 @@
>  		clock-names = "pclk_efuse";
> 
>  		/* Data cells */
> +		cpu_id: cpu-id {

I've added the address, so this gets to be cpu_id: cpu-id@7 to make it 
compliant and applied the result to my dts64 branch for 4.10


Thanks
Heiko

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] arm64: dts: rockchip: add cpu-id nvmem cell node for rk3399
  2016-11-01 23:30   ` Heiko Stübner
@ 2016-11-02  0:51     ` Ziyuan Xu
  0 siblings, 0 replies; 3+ messages in thread
From: Ziyuan Xu @ 2016-11-02  0:51 UTC (permalink / raw)
  To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi heiko,


On 2016年11月02日 07:30, Heiko Stübner wrote:
> Am Sonntag, 30. Oktober 2016, 10:57:25 schrieb Ziyuan Xu:
>> There is a 'cpu-id' field in efuse, export it for other drivers
>> reference.
>>
>> Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
>> ---
>>   arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
>> b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 76b2864..71c3ce7 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
>> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
>> @@ -1023,6 +1023,9 @@
>>   		clock-names = "pclk_efuse";
>>
>>   		/* Data cells */
>> +		cpu_id: cpu-id {
> I've added the address, so this gets to be cpu_id: cpu-id@7 to make it
> compliant and applied the result to my dts64 branch for 4.10

Thanks for doing that!

>
>
> Thanks
> Heiko
>
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
>
>
>



_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

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

end of thread, other threads:[~2016-11-02  0:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-30  2:57 [PATCH] arm64: dts: rockchip: add cpu-id nvmem cell node for rk3399 Ziyuan Xu
     [not found] ` <20161030025725.32155-1-xzy.xu-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-11-01 23:30   ` Heiko Stübner
2016-11-02  0:51     ` Ziyuan Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox