dts: bindings: adc: ti: lmp90xxx: use common io-channel-cells naming
Use the common io-channel-cells name "input" instead of "positive" and "negative" to make this binding work with the various ADC DT macros. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
b007bbb54f
commit
1ebaa293a1
3 changed files with 11 additions and 12 deletions
|
@ -13,7 +13,7 @@
|
||||||
spi-max-frequency = <1000000>;
|
spi-max-frequency = <1000000>;
|
||||||
/* Uncomment to use IRQ instead of polling: */
|
/* Uncomment to use IRQ instead of polling: */
|
||||||
/* drdyb-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; */
|
/* drdyb-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; */
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
|
|
||||||
lmp90100_gpio: gpio {
|
lmp90100_gpio: gpio {
|
||||||
compatible = "ti,lmp90xxx-gpio";
|
compatible = "ti,lmp90xxx-gpio";
|
||||||
|
|
|
@ -10,8 +10,7 @@ properties:
|
||||||
description: Data Ready Bar
|
description: Data Ready Bar
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 2
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- positive
|
- input
|
||||||
- negative
|
|
||||||
|
|
|
@ -140,7 +140,7 @@
|
||||||
reg = <0x1>;
|
reg = <0x1>;
|
||||||
spi-max-frequency = <0>;
|
spi-max-frequency = <0>;
|
||||||
drdyb-gpios = <&test_gpio 0 0>;
|
drdyb-gpios = <&test_gpio 0 0>;
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_spi_lmp90078: lmp90078@2 {
|
test_spi_lmp90078: lmp90078@2 {
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
reg = <0x2>;
|
reg = <0x2>;
|
||||||
spi-max-frequency = <0>;
|
spi-max-frequency = <0>;
|
||||||
drdyb-gpios = <&test_gpio 0 0>;
|
drdyb-gpios = <&test_gpio 0 0>;
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_spi_lmp90079: lmp90079@3 {
|
test_spi_lmp90079: lmp90079@3 {
|
||||||
|
@ -156,7 +156,7 @@
|
||||||
reg = <0x3>;
|
reg = <0x3>;
|
||||||
spi-max-frequency = <0>;
|
spi-max-frequency = <0>;
|
||||||
drdyb-gpios = <&test_gpio 0 0>;
|
drdyb-gpios = <&test_gpio 0 0>;
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_spi_lmp90080: lmp90080@4 {
|
test_spi_lmp90080: lmp90080@4 {
|
||||||
|
@ -164,7 +164,7 @@
|
||||||
reg = <0x4>;
|
reg = <0x4>;
|
||||||
spi-max-frequency = <0>;
|
spi-max-frequency = <0>;
|
||||||
drdyb-gpios = <&test_gpio 0 0>;
|
drdyb-gpios = <&test_gpio 0 0>;
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_spi_lmp90097: lmp90097@5 {
|
test_spi_lmp90097: lmp90097@5 {
|
||||||
|
@ -172,7 +172,7 @@
|
||||||
reg = <0x5>;
|
reg = <0x5>;
|
||||||
spi-max-frequency = <0>;
|
spi-max-frequency = <0>;
|
||||||
drdyb-gpios = <&test_gpio 0 0>;
|
drdyb-gpios = <&test_gpio 0 0>;
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_spi_lmp90098: lmp90098@6 {
|
test_spi_lmp90098: lmp90098@6 {
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
reg = <0x6>;
|
reg = <0x6>;
|
||||||
spi-max-frequency = <0>;
|
spi-max-frequency = <0>;
|
||||||
drdyb-gpios = <&test_gpio 0 0>;
|
drdyb-gpios = <&test_gpio 0 0>;
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_spi_lmp90099: lmp90099@7 {
|
test_spi_lmp90099: lmp90099@7 {
|
||||||
|
@ -188,7 +188,7 @@
|
||||||
reg = <0x7>;
|
reg = <0x7>;
|
||||||
spi-max-frequency = <0>;
|
spi-max-frequency = <0>;
|
||||||
drdyb-gpios = <&test_gpio 0 0>;
|
drdyb-gpios = <&test_gpio 0 0>;
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_spi_lmp90100: lmp90100@8 {
|
test_spi_lmp90100: lmp90100@8 {
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
reg = <0x8>;
|
reg = <0x8>;
|
||||||
spi-max-frequency = <0>;
|
spi-max-frequency = <0>;
|
||||||
drdyb-gpios = <&test_gpio 0 0>;
|
drdyb-gpios = <&test_gpio 0 0>;
|
||||||
#io-channel-cells = <2>;
|
#io-channel-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_spi_ads7052: ads7052@9 {
|
test_spi_ads7052: ads7052@9 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue