dts: arm: st: remove sensor channels from stm32 adc nodes
Remove temp-, vref- and vbat-channel from STM32 ADC nodes as it is not used in the driver anymore. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
parent
a1adc17b31
commit
fa1f33316d
36 changed files with 0 additions and 130 deletions
|
@ -293,8 +293,6 @@
|
|||
interrupts = <12 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <9>;
|
||||
vref-channel = <10>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -338,8 +338,6 @@
|
|||
interrupts = <12 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vref-channel = <17>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -60,8 +60,3 @@
|
|||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
/* All STM32F0 series have ADC VBAT channel, except STM32F0x0 value line */
|
||||
&adc1 {
|
||||
vbat-channel = <18>;
|
||||
};
|
||||
|
|
|
@ -339,8 +339,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vref-channel = <17>;
|
||||
resolutions = <STM32F1_ADC_RES(12)>;
|
||||
sampling-times = <2 8 14 29 42 56 72 240>;
|
||||
};
|
||||
|
|
|
@ -366,8 +366,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vref-channel = <17>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -109,9 +109,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vbat-channel = <17>;
|
||||
vref-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -148,9 +148,6 @@
|
|||
status = "disabled";
|
||||
vref-mv = <3000>;
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vbat-channel = <17>;
|
||||
vref-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
@ -166,7 +163,6 @@
|
|||
status = "disabled";
|
||||
vref-mv = <3000>;
|
||||
#io-channel-cells = <1>;
|
||||
vref-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -35,9 +35,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vbat-channel = <17>;
|
||||
vref-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -191,9 +191,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vref-channel = <17>;
|
||||
vbat-channel = <18>;
|
||||
resolutions = <STM32F1_ADC_RES(12)>;
|
||||
sampling-times = <2 8 14 29 42 56 72 240>;
|
||||
};
|
||||
|
|
|
@ -513,10 +513,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
/* Temperature and VBAT sensor share channel 18 */
|
||||
temp-channel = <18>;
|
||||
vbat-channel = <18>;
|
||||
vref-channel = <17>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -743,10 +743,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
/* Temperature and VBAT sensor share channel 18 */
|
||||
temp-channel = <18>;
|
||||
vbat-channel = <18>;
|
||||
vref-channel = <17>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -396,9 +396,6 @@
|
|||
interrupts = <12 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <12>;
|
||||
vref-channel = <13>;
|
||||
vbat-channel = <14>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -109,9 +109,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vbat-channel = <17>;
|
||||
vref-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
interrupts = <62 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <4>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -64,7 +64,6 @@
|
|||
interrupts = <47 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
vref-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -263,9 +263,6 @@
|
|||
status = "disabled";
|
||||
vref-mv = <3300>;
|
||||
#io-channel-cells = <1>;
|
||||
vbat-channel = <2>;
|
||||
temp-channel = <16>;
|
||||
vref-channel = <17>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -47,9 +47,6 @@
|
|||
* ADC, so we redefine the resolution for these devices.
|
||||
*/
|
||||
adc3: adc@58026000 {
|
||||
vbat-channel = <16>;
|
||||
temp-channel = <17>;
|
||||
vref-channel = <18>;
|
||||
resolutions = <STM32H72X_ADC3_RES(12, 0x00)
|
||||
STM32H72X_ADC3_RES(10, 0x01)
|
||||
STM32H72X_ADC3_RES(8, 0x02)
|
||||
|
|
|
@ -21,12 +21,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
adc3: adc@58026000 {
|
||||
vbat-channel = <17>;
|
||||
temp-channel = <18>;
|
||||
vref-channel = <19>;
|
||||
};
|
||||
|
||||
dmamux1: dmamux@40020800 {
|
||||
dma-requests= <107>;
|
||||
};
|
||||
|
|
|
@ -28,12 +28,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
adc3: adc@58026000 {
|
||||
vbat-channel = <17>;
|
||||
temp-channel = <18>;
|
||||
vref-channel = <19>;
|
||||
};
|
||||
|
||||
dmamux1: dmamux@40020800 {
|
||||
dma-requests= <107>;
|
||||
};
|
||||
|
|
|
@ -21,12 +21,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
adc3: adc@58026000 {
|
||||
vbat-channel = <17>;
|
||||
temp-channel = <18>;
|
||||
vref-channel = <19>;
|
||||
};
|
||||
|
||||
dmamux1: dmamux@40020800 {
|
||||
dma-requests= <107>;
|
||||
};
|
||||
|
|
|
@ -24,12 +24,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
adc2: adc@40022100 {
|
||||
vbat-channel = <14>;
|
||||
temp-channel = <18>;
|
||||
vref-channel = <19>;
|
||||
};
|
||||
|
||||
dmamux1: dmamux@40020800 {
|
||||
dma-requests= <107>;
|
||||
};
|
||||
|
|
|
@ -309,8 +309,6 @@
|
|||
interrupts = <12 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <18>;
|
||||
vref-channel = <17>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -18,9 +18,5 @@
|
|||
reg = <0x08000000 DT_SIZE_K(16)>;
|
||||
};
|
||||
};
|
||||
|
||||
adc1: adc@40012400 {
|
||||
temp-channel = <18>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -30,9 +30,5 @@
|
|||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(1)>;
|
||||
};
|
||||
|
||||
adc1: adc@40012400 {
|
||||
temp-channel = <18>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -72,9 +72,5 @@
|
|||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(2)>;
|
||||
};
|
||||
|
||||
adc1: adc@40012400 {
|
||||
temp-channel = <18>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -160,9 +160,5 @@
|
|||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(6)>;
|
||||
};
|
||||
|
||||
adc1: adc@40012400 {
|
||||
temp-channel = <18>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -216,8 +216,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <16>;
|
||||
vref-channel = <17>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -390,9 +390,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <17>;
|
||||
vbat-channel = <18>;
|
||||
vref-channel = <0>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -261,7 +261,6 @@
|
|||
interrupts = <47 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <17>;
|
||||
};
|
||||
|
||||
rtc@40002800 {
|
||||
|
|
|
@ -659,9 +659,6 @@
|
|||
interrupts = <37 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <17>;
|
||||
vbat-channel = <18>;
|
||||
vref-channel = <0>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -743,9 +743,6 @@
|
|||
interrupts = <37 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <19>;
|
||||
vref-channel = <0>;
|
||||
vbat-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(14, 0x00)
|
||||
STM32_ADC_RES(12, 0x01)
|
||||
STM32_ADC_RES(10, 0x02)
|
||||
|
@ -761,9 +758,6 @@
|
|||
interrupts = <113 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <13>;
|
||||
vref-channel = <0>;
|
||||
vbat-channel = <14>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -413,9 +413,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <17>;
|
||||
vbat-channel = <18>;
|
||||
vref-channel = <0>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -9,9 +9,5 @@
|
|||
/ {
|
||||
soc {
|
||||
compatible = "st,stm32wb55", "st,stm32wb", "simple-bus";
|
||||
|
||||
adc1: adc@50040000 {
|
||||
temp-channel = <17>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -388,9 +388,6 @@
|
|||
interrupts = <65 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <19>;
|
||||
vref-channel = <0>;
|
||||
vbat-channel = <18>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -332,9 +332,6 @@
|
|||
interrupts = <18 0>;
|
||||
status = "disabled";
|
||||
#io-channel-cells = <1>;
|
||||
temp-channel = <12>;
|
||||
vref-channel = <13>;
|
||||
vbat-channel = <14>;
|
||||
resolutions = <STM32_ADC_RES(12, 0x00)
|
||||
STM32_ADC_RES(10, 0x01)
|
||||
STM32_ADC_RES(8, 0x02)
|
||||
|
|
|
@ -70,18 +70,6 @@ properties:
|
|||
default: 3300
|
||||
description: Indicates the reference voltage of the ADC in mV (on the target board).
|
||||
|
||||
temp-channel:
|
||||
type: int
|
||||
description: Indicates the ADC channel of the internal temperature sensor.
|
||||
|
||||
vref-channel:
|
||||
type: int
|
||||
description: Indicates the ADC channel of the internal voltage reference.
|
||||
|
||||
vbat-channel:
|
||||
type: int
|
||||
description: Indicates the ADC channel of the internal vbat monitoring.
|
||||
|
||||
resolutions:
|
||||
type: array
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue