ARM: Zynq: DT: Disable xadc node by default in zynq-7000.dtsi
Subsystems (2)
PATCH 1/6 ARM: Zynq: DT: Disable xadc node by default in zynq-7000.dtsi
This is the de-facto practice.
--- arch/arm/boot/dts/zynq-7000.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/zynq-7000.dtsi +1 -0
@@ -66,6 +66,7 @@ adc: adc at f8007100 { compatible = "xlnx,zynq-xadc-1.00.a"; + status = "disabled"; reg = <0xf8007100 0x20>; interrupts = <0 7 4>; interrupt-parent = <&intc>;
Signature · 1 line
1.9.1
PATCH 2/6 ARM: Zynq: DT: Enable xadc node in zynq-parallella.dts
Now that zynq-7000 disables xadc by default, enable in zynq-parallella to retain existing behavior.
--- arch/arm/boot/dts/zynq-parallella.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/zynq-parallella.dts +6 -0
@@ -32,6 +32,12 @@ bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"; linux,stdout-path = "/amba/serial at e0001000"; }; + + amba { + adc: adc at f8007100 { + status = "okay"; + }; + }; }; &clkc {
Signature · 1 line
1.9.1
PATCH 2/6 ARM: Zynq: DT: Enable xadc node in zynq-parallella.dts
Am 08.05.2015 um 00:32 schrieb Xander Huff:
Quoted 13 lines
Now that zynq-7000 disables xadc by default, enable in zynq-parallella to retain existing behavior.
Signed-off-by Xander Huff <[email protected]>--- arch/arm/boot/dts/zynq-parallella.dts | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/boot/dts/zynq-parallella.dts +0
-0
arch/arm/boot/dts/zynq-parallella.dts line 40
Quoted 9 lines
arch/arm/boot/dts/zynq-parallella.dts +6
-0@@ -32,6 +32,12 @@ bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"; linux,stdout-path = "/amba/serial at e0001000"; }; + + amba { + adc: adc at f8007100 { + status = "okay"; + }; + };
You've already discarded this patchset, but please note for the future that the desired style would've been the one you see below, i.e.
arch/arm/boot/dts/zynq-parallella.dts line 41
Quoted 1 line
arch/arm/boot/dts/zynq-parallella.dts +0
-0};
&adc {
status = "okay";
};Regards,
Andreas
Quoted 3 lines
arch/arm/boot/dts/zynq-parallella.dts +0
-0&clkc {
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N?rnberg)
PATCH 3/6 ARM: Zynq: DT: Enable xadc node in zynq-zc702.dts
In reply to Xander HuffNow that zynq-7000 disables xadc by default, enable in zynq-zc702 to retain existing behavior.
--- arch/arm/boot/dts/zynq-zc702.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/zynq-zc702.dts +6 -0
@@ -47,6 +47,12 @@ compatible = "usb-nop-xceiv"; #phy-cells = <0>; }; + + amba { + adc: adc at f8007100 { + status = "okay"; + }; + }; }; &can0 {
Signature · 1 line
1.9.1
PATCH 4/6 ARM: Zynq: DT: Enable xadc node in zynq-zc706.dts
In reply to Xander HuffNow that zynq-7000 disables xadc by default, enable in zynq-zc706 to retain existing behavior.
--- arch/arm/boot/dts/zynq-zc706.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/zynq-zc706.dts +6 -0
@@ -37,6 +37,12 @@ compatible = "usb-nop-xceiv"; #phy-cells = <0>; }; + + amba { + adc: adc at f8007100 { + status = "okay"; + }; + }; }; &clkc {
Signature · 1 line
1.9.1
PATCH 5/6 ARM: Zynq: DT: Enable xadc node in zynq-zed.dts
In reply to Xander HuffNow that zynq-7000 disables xadc by default, enable in zynq-zed to retain existing behavior.
--- arch/arm/boot/dts/zynq-zed.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/zynq-zed.dts +6 -0
@@ -36,6 +36,12 @@ compatible = "usb-nop-xceiv"; #phy-cells = <0>; }; + + amba { + adc: adc at f8007100 { + status = "okay"; + }; + }; }; &clkc {
Signature · 1 line
1.9.1
PATCH 6/6 ARM: Zynq: DT: Enable xadc node in zynq-zybo.dts
In reply to Xander HuffNow that zynq-7000 disables xadc by default, enable in zynq-zybo to retain existing behavior.
--- arch/arm/boot/dts/zynq-zybo.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/zynq-zybo.dts +6 -0
@@ -27,6 +27,12 @@ bootargs = "console=ttyPS0,115200 earlyprintk"; }; + amba { + adc: adc at f8007100 { + status = "okay"; + }; + }; + }; &clkc {
Signature · 1 line
1.9.1
PATCH 1/6 ARM: Zynq: DT: Disable xadc node by default in zynq-7000.dtsi
In reply to Xander HuffQuoted 1 line · Xander Huff
This is the de-facto practice.
For peripherals that might not be pinned out on a board. But the XADC is always present in Zynq and can be used to read the temperature in any case.
S?ren
PATCH 1/6 ARM: Zynq: DT: Disable xadc node by default in zynq-7000.dtsi
Quoted 3 lines · S?ren Brinkmann
For peripherals that might not be pinned out on a board. But the XADC is always present in Zynq and can be used to read the temperature in any case.
OK, this makes sense, thanks!
Please disregard this patch set
Signature · 3 lines
Xander Huff Staff Software Engineer National Instruments