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:
Kumar Gala 2019-08-22 11:08:13 -05:00 committed by Kumar Gala
commit e8524965c5
31 changed files with 70 additions and 0 deletions

View file

@ -178,6 +178,7 @@
*/
gclk = <3>;
prescaler = <4>;
#io-channel-cells = <1>;
};
};
};

View file

@ -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 {

View file

@ -64,6 +64,7 @@
interrupts = <7 1>;
status = "disabled";
label = "ADC_0";
#io-channel-cells = <1>;
};
clock: clock@40000000 {

View file

@ -63,6 +63,7 @@
interrupts = <7 1>;
status = "disabled";
label = "ADC_0";
#io-channel-cells = <1>;
};
clock: clock@40000000 {

View file

@ -67,6 +67,7 @@
interrupts = <7 1>;
status = "disabled";
label = "ADC_0";
#io-channel-cells = <1>;
};
clock: clock@40000000 {

View file

@ -71,6 +71,7 @@
interrupts = <7 1>;
status = "disabled";
label = "ADC_0";
#io-channel-cells = <1>;
};
clock: clock@40000000 {

View file

@ -78,6 +78,7 @@
interrupts = <7 1>;
status = "disabled";
label = "ADC_0";
#io-channel-cells = <1>;
};
clock: clock@40000000 {

View file

@ -27,6 +27,7 @@ adc: adc@e000 {
interrupts = <14 1>;
status = "disabled";
label = "ADC_0";
#io-channel-cells = <1>;
};
dppic: dppic@17000 {

View file

@ -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 {

View file

@ -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 {

View file

@ -89,6 +89,7 @@
interrupts = <15 0>;
label = "ADC_0";
status = "disabled";
#io-channel-cells = <1>;
};
gpioa: gpio@400ff000 {

View file

@ -309,6 +309,7 @@
interrupts = <39 0>;
label = "ADC_0";
status = "disabled";
#io-channel-cells = <1>;
};
usbd: usbd@40072000 {

View file

@ -236,6 +236,7 @@
interrupts = <15 0>;
label = "ADC_0";
status = "disabled";
#io-channel-cells = <1>;
};
trng: random@40029000 {

View file

@ -239,6 +239,7 @@
interrupts = <15 0>;
label = "ADC_0";
status = "disabled";
#io-channel-cells = <1>;
};
trng: random@40029000 {

View file

@ -299,6 +299,7 @@
interrupts = <12 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};
};

View file

@ -233,6 +233,7 @@
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};
};

View file

@ -220,6 +220,7 @@
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};

View file

@ -304,6 +304,7 @@
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};

View file

@ -366,6 +366,7 @@
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};

View file

@ -607,6 +607,7 @@
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};

View file

@ -168,6 +168,7 @@
interrupts = <12 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};
};

View file

@ -298,6 +298,7 @@
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};
};

View file

@ -259,6 +259,7 @@
interrupts = <18 0>;
status = "disabled";
label = "ADC_1";
#io-channel-cells = <1>;
};
};
};

View file

@ -12,3 +12,7 @@ inherits:
properties:
label:
category: required
"#io-channel-cells":
type: int
category: required

View file

@ -20,3 +20,9 @@ properties:
type: int
description: peripheral ID
category: required
"#io-channel-cells":
const: 1
"#cells":
- input

View file

@ -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

View file

@ -21,3 +21,9 @@ properties:
interrupts:
category: required
"#io-channel-cells":
const: 1
"#cells":
- input

View file

@ -22,5 +22,8 @@ properties:
interrupts:
category: required
"#io-channel-cells":
const: 1
"#cells":
- input

View file

@ -41,3 +41,9 @@ properties:
type: int
category: required
description: sample time in clock cycles
"#io-channel-cells":
const: 1
"#cells":
- input

View file

@ -21,3 +21,9 @@ properties:
interrupts:
category: required
"#io-channel-cells":
const: 1
"#cells":
- input

View file

@ -25,3 +25,9 @@ properties:
interrupts:
category: required
"#io-channel-cells":
const: 1
"#cells":
- input