dts: Add io-channel details to ADC nodes/bindings
Update the ADC bindings to include #io-channel-cells and update the related dts files to set #io-channel-cells. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
0e3f6aa885
commit
e8524965c5
31 changed files with 70 additions and 0 deletions
|
@ -178,6 +178,7 @@
|
|||
*/
|
||||
gclk = <3>;
|
||||
prescaler = <4>;
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -200,6 +200,7 @@
|
|||
peripheral-id = <29>;
|
||||
status = "disabled";
|
||||
label = "ADC_0";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
adc1: adc@40064000 {
|
||||
|
@ -209,6 +210,7 @@
|
|||
peripheral-id = <40>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
porta: gpio@400e0e00 {
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
interrupts = <7 1>;
|
||||
status = "disabled";
|
||||
label = "ADC_0";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
clock: clock@40000000 {
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
interrupts = <7 1>;
|
||||
status = "disabled";
|
||||
label = "ADC_0";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
clock: clock@40000000 {
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
interrupts = <7 1>;
|
||||
status = "disabled";
|
||||
label = "ADC_0";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
clock: clock@40000000 {
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
interrupts = <7 1>;
|
||||
status = "disabled";
|
||||
label = "ADC_0";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
clock: clock@40000000 {
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
interrupts = <7 1>;
|
||||
status = "disabled";
|
||||
label = "ADC_0";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
clock: clock@40000000 {
|
||||
|
|
|
@ -27,6 +27,7 @@ adc: adc@e000 {
|
|||
interrupts = <14 1>;
|
||||
status = "disabled";
|
||||
label = "ADC_0";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
dppic: dppic@17000 {
|
||||
|
|
|
@ -382,6 +382,7 @@
|
|||
interrupts = <39 0>;
|
||||
label = "ADC_0";
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
adc1: adc@400bb000{
|
||||
|
@ -390,6 +391,7 @@
|
|||
interrupts = <73 0>;
|
||||
label = "ADC_1";
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
usbd: usbd@40072000 {
|
||||
|
|
|
@ -313,6 +313,7 @@
|
|||
clk-source = <0>;
|
||||
clk-divider = <1>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
adc1: adc@40027000 {
|
||||
|
@ -324,6 +325,7 @@
|
|||
clk-source = <0>;
|
||||
clk-divider = <1>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
adc2: adc@4003c000 {
|
||||
|
@ -335,6 +337,7 @@
|
|||
clk-source = <0>;
|
||||
clk-divider = <1>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
ftm0: pwm@40038000 {
|
||||
|
|
|
@ -89,6 +89,7 @@
|
|||
interrupts = <15 0>;
|
||||
label = "ADC_0";
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
gpioa: gpio@400ff000 {
|
||||
|
|
|
@ -309,6 +309,7 @@
|
|||
interrupts = <39 0>;
|
||||
label = "ADC_0";
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
usbd: usbd@40072000 {
|
||||
|
|
|
@ -236,6 +236,7 @@
|
|||
interrupts = <15 0>;
|
||||
label = "ADC_0";
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
trng: random@40029000 {
|
||||
|
|
|
@ -239,6 +239,7 @@
|
|||
interrupts = <15 0>;
|
||||
label = "ADC_0";
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
trng: random@40029000 {
|
||||
|
|
|
@ -299,6 +299,7 @@
|
|||
interrupts = <12 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -233,6 +233,7 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -220,6 +220,7 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -304,6 +304,7 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -366,6 +366,7 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -607,6 +607,7 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -168,6 +168,7 @@
|
|||
interrupts = <12 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -298,6 +298,7 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -259,6 +259,7 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
label = "ADC_1";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -12,3 +12,7 @@ inherits:
|
|||
properties:
|
||||
label:
|
||||
category: required
|
||||
|
||||
"#io-channel-cells":
|
||||
type: int
|
||||
category: required
|
||||
|
|
|
@ -20,3 +20,9 @@ properties:
|
|||
type: int
|
||||
description: peripheral ID
|
||||
category: required
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
"#cells":
|
||||
- input
|
||||
|
|
|
@ -31,3 +31,9 @@ properties:
|
|||
type: int
|
||||
category: required
|
||||
description: clock prescaler divisor applied to the generic clock
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
"#cells":
|
||||
- input
|
||||
|
|
|
@ -21,3 +21,9 @@ properties:
|
|||
|
||||
interrupts:
|
||||
category: required
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
"#cells":
|
||||
- input
|
||||
|
|
|
@ -22,5 +22,8 @@ properties:
|
|||
interrupts:
|
||||
category: required
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
"#cells":
|
||||
- input
|
||||
|
|
|
@ -41,3 +41,9 @@ properties:
|
|||
type: int
|
||||
category: required
|
||||
description: sample time in clock cycles
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
"#cells":
|
||||
- input
|
||||
|
|
|
@ -21,3 +21,9 @@ properties:
|
|||
|
||||
interrupts:
|
||||
category: required
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
"#cells":
|
||||
- input
|
||||
|
|
|
@ -25,3 +25,9 @@ properties:
|
|||
|
||||
interrupts:
|
||||
category: required
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
"#cells":
|
||||
- input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue