diff mbox

arm64: dts: rockchip: add cpu-id nvmem cell node for rk3399

Message ID 20161030025725.32155-1-xzy.xu@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

ziyuan Oct. 30, 2016, 2:57 a.m. UTC
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(+)

Comments

Heiko Stübner Nov. 1, 2016, 11:30 p.m. UTC | #1
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
Heiko
ziyuan Nov. 2, 2016, 12:51 a.m. UTC | #2
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
>
>
>
diff mbox

Patch

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>;
 		};