yamllint: indentation: fix dts/bindings/

Fix the YAML files indentation for files in dts/bindings/.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-01-03 19:21:25 +00:00 committed by Carles Cufí
parent 0daa3a78a9
commit eb0a524972
913 changed files with 14009 additions and 14009 deletions

View file

@ -7,142 +7,142 @@
include: base.yaml
properties:
"#io-channel-cells":
type: int
required: true
"#io-channel-cells":
type: int
required: true
"#address-cells":
const: 1
"#address-cells":
const: 1
"#size-cells":
const: 0
"#size-cells":
const: 0
child-binding:
description: |
Channel configuration.
description: |
Channel configuration.
All nodes using this binding must be named "channel", otherwise their
data will not be accessible for the ADC API macros.
All nodes using this binding must be named "channel", otherwise their
data will not be accessible for the ADC API macros.
This is based on Linux, documentation:
https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/adc/adc.yaml
This is based on Linux, documentation:
https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/adc/adc.yaml
properties:
reg:
type: array
required: true
description: Channel identifier.
properties:
reg:
type: array
required: true
description: Channel identifier.
zephyr,gain:
type: string
required: true
description: |
Gain selection:
- ADC_GAIN_1_6: x 1/6
- ADC_GAIN_1_5: x 1/5
- ADC_GAIN_1_4: x 1/4
- ADC_GAIN_1_3: x 1/3
- ADC_GAIN_2_5: x 2/5
- ADC_GAIN_1_2: x 1/2
- ADC_GAIN_2_3: x 2/3
- ADC_GAIN_4_5: x 4/5
- ADC_GAIN_1: x 1
- ADC_GAIN_2: x 2
- ADC_GAIN_3: x 3
- ADC_GAIN_4: x 4
- ADC_GAIN_6: x 6
- ADC_GAIN_8: x 8
- ADC_GAIN_12: x 12
- ADC_GAIN_16: x 16
- ADC_GAIN_24: x 24
- ADC_GAIN_32: x 32
- ADC_GAIN_64: x 64
- ADC_GAIN_128: x 128
enum:
- "ADC_GAIN_1_6"
- "ADC_GAIN_1_5"
- "ADC_GAIN_1_4"
- "ADC_GAIN_1_3"
- "ADC_GAIN_2_5"
- "ADC_GAIN_1_2"
- "ADC_GAIN_2_3"
- "ADC_GAIN_4_5"
- "ADC_GAIN_1"
- "ADC_GAIN_2"
- "ADC_GAIN_3"
- "ADC_GAIN_4"
- "ADC_GAIN_6"
- "ADC_GAIN_8"
- "ADC_GAIN_12"
- "ADC_GAIN_16"
- "ADC_GAIN_24"
- "ADC_GAIN_32"
- "ADC_GAIN_64"
- "ADC_GAIN_128"
zephyr,gain:
type: string
required: true
description: |
Gain selection:
- ADC_GAIN_1_6: x 1/6
- ADC_GAIN_1_5: x 1/5
- ADC_GAIN_1_4: x 1/4
- ADC_GAIN_1_3: x 1/3
- ADC_GAIN_2_5: x 2/5
- ADC_GAIN_1_2: x 1/2
- ADC_GAIN_2_3: x 2/3
- ADC_GAIN_4_5: x 4/5
- ADC_GAIN_1: x 1
- ADC_GAIN_2: x 2
- ADC_GAIN_3: x 3
- ADC_GAIN_4: x 4
- ADC_GAIN_6: x 6
- ADC_GAIN_8: x 8
- ADC_GAIN_12: x 12
- ADC_GAIN_16: x 16
- ADC_GAIN_24: x 24
- ADC_GAIN_32: x 32
- ADC_GAIN_64: x 64
- ADC_GAIN_128: x 128
enum:
- "ADC_GAIN_1_6"
- "ADC_GAIN_1_5"
- "ADC_GAIN_1_4"
- "ADC_GAIN_1_3"
- "ADC_GAIN_2_5"
- "ADC_GAIN_1_2"
- "ADC_GAIN_2_3"
- "ADC_GAIN_4_5"
- "ADC_GAIN_1"
- "ADC_GAIN_2"
- "ADC_GAIN_3"
- "ADC_GAIN_4"
- "ADC_GAIN_6"
- "ADC_GAIN_8"
- "ADC_GAIN_12"
- "ADC_GAIN_16"
- "ADC_GAIN_24"
- "ADC_GAIN_32"
- "ADC_GAIN_64"
- "ADC_GAIN_128"
zephyr,reference:
type: string
required: true
description: |
Reference selection:
- ADC_REF_VDD_1: VDD
- ADC_REF_VDD_1_2: VDD/2
- ADC_REF_VDD_1_3: VDD/3
- ADC_REF_VDD_1_4: VDD/4
- ADC_REF_INTERNAL: Internal
- ADC_REF_EXTERNAL0: External, input 0
- ADC_REF_EXTERNAL1: External, input 1
enum:
- "ADC_REF_VDD_1"
- "ADC_REF_VDD_1_2"
- "ADC_REF_VDD_1_3"
- "ADC_REF_VDD_1_4"
- "ADC_REF_INTERNAL"
- "ADC_REF_EXTERNAL0"
- "ADC_REF_EXTERNAL1"
zephyr,reference:
type: string
required: true
description: |
Reference selection:
- ADC_REF_VDD_1: VDD
- ADC_REF_VDD_1_2: VDD/2
- ADC_REF_VDD_1_3: VDD/3
- ADC_REF_VDD_1_4: VDD/4
- ADC_REF_INTERNAL: Internal
- ADC_REF_EXTERNAL0: External, input 0
- ADC_REF_EXTERNAL1: External, input 1
enum:
- "ADC_REF_VDD_1"
- "ADC_REF_VDD_1_2"
- "ADC_REF_VDD_1_3"
- "ADC_REF_VDD_1_4"
- "ADC_REF_INTERNAL"
- "ADC_REF_EXTERNAL0"
- "ADC_REF_EXTERNAL1"
zephyr,vref-mv:
type: int
description: |
This property can be used to specify the voltage (in millivolts)
of the reference selected for this channel, so that applications
can get that value if needed for some calculations.
For the internal reference, the voltage can be usually obtained with
a dedicated ADC API call, so there is no need to use this property
in that case, but for other references this property can be useful.
zephyr,vref-mv:
type: int
description: |
This property can be used to specify the voltage (in millivolts)
of the reference selected for this channel, so that applications
can get that value if needed for some calculations.
For the internal reference, the voltage can be usually obtained with
a dedicated ADC API call, so there is no need to use this property
in that case, but for other references this property can be useful.
zephyr,acquisition-time:
type: int
required: true
description: |
Acquisition time.
Use the ADC_ACQ_TIME macro to compose the value for this property
or pass ADC_ACQ_TIME_DEFAULT to use the default setting for a given
hardware (e.g. when the hardware does not allow to configure the
acquisition time).
zephyr,acquisition-time:
type: int
required: true
description: |
Acquisition time.
Use the ADC_ACQ_TIME macro to compose the value for this property
or pass ADC_ACQ_TIME_DEFAULT to use the default setting for a given
hardware (e.g. when the hardware does not allow to configure the
acquisition time).
zephyr,input-positive:
type: int
description: |
Positive ADC input. Used only for drivers that select
the ADC_CONFIGURABLE_INPUTS Kconfig option.
zephyr,input-positive:
type: int
description: |
Positive ADC input. Used only for drivers that select
the ADC_CONFIGURABLE_INPUTS Kconfig option.
zephyr,input-negative:
type: int
description: |
Negative ADC input. Used only for drivers that select
the ADC_CONFIGURABLE_INPUTS Kconfig option.
When specified, the channel is to be used in differential input mode,
otherwise, single-ended mode is used.
zephyr,input-negative:
type: int
description: |
Negative ADC input. Used only for drivers that select
the ADC_CONFIGURABLE_INPUTS Kconfig option.
When specified, the channel is to be used in differential input mode,
otherwise, single-ended mode is used.
zephyr,resolution:
type: int
description: |
ADC resolution to be used for the channel.
zephyr,resolution:
type: int
description: |
ADC resolution to be used for the channel.
zephyr,oversampling:
type: int
description: |
Oversampling setting to be used for the channel.
When specified, each sample is averaged from 2^N conversion results
(where N is the provided value).
zephyr,oversampling:
type: int
description: |
Oversampling setting to be used for the channel.
When specified, each sample is averaged from 2^N conversion results
(where N is the provided value).

View file

@ -16,17 +16,17 @@ compatible: "arduino,uno-adc"
include: base.yaml
properties:
io-channel-map:
type: compound
required: true
io-channel-map:
type: compound
required: true
io-channel-map-mask:
type: compound
io-channel-map-mask:
type: compound
io-channel-map-pass-thru:
type: compound
io-channel-map-pass-thru:
type: compound
"#io-channel-cells":
type: int
required: true
description: Number of items to expect in an ADC specifier
"#io-channel-cells":
type: int
required: true
description: Number of items to expect in an ADC specifier

View file

@ -3,23 +3,23 @@ description: Atmel SAM family AFEC
compatible: "atmel,sam-afec"
include:
- name: adc-controller.yaml
- name: pinctrl-device.yaml
- name: adc-controller.yaml
- name: pinctrl-device.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -6,44 +6,44 @@ description: Atmel SAM0 family ADC
compatible: "atmel,sam0-adc"
include:
- name: adc-controller.yaml
- name: pinctrl-device.yaml
- name: adc-controller.yaml
- name: pinctrl-device.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clocks:
required: true
clocks:
required: true
clock-names:
required: true
clock-names:
required: true
gclk:
type: int
required: true
description: generic clock generator source
gclk:
type: int
required: true
description: generic clock generator source
prescaler:
type: int
required: true
description: clock prescaler divisor applied to the generic clock
prescaler:
type: int
required: true
description: clock prescaler divisor applied to the generic clock
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
calib-offset:
type: int
description: |
bit position offset in NVM SW Calib for start of ADC0 BIASCOMP field.
This property is expected to be set on SAM{D,E}5x family of SoCs.
For ADC0 this should be 0, and for ADC1 this should be 14.
enum:
- 0
- 14
calib-offset:
type: int
description: |
bit position offset in NVM SW Calib for start of ADC0 BIASCOMP field.
This property is expected to be set on SAM{D,E}5x family of SoCs.
For ADC0 this should be 0, and for ADC1 this should be 14.
enum:
- 0
- 14
io-channel-cells:
- input
- input

View file

@ -19,38 +19,38 @@ compatible: "gd,gd32-adc"
include: [adc-controller.yaml, reset-device.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
resets:
required: true
resets:
required: true
clocks:
required: true
clocks:
required: true
rcu-clock-source:
type: int
description: |
Some GD32 ADC have additional clock source, like IRC14M or IRC28M.
This property used to select the clock and related prescaler, valid
values defined at 'dts-bindings/adc/gd32xxx.h' headers.
rcu-clock-source:
type: int
description: |
Some GD32 ADC have additional clock source, like IRC14M or IRC28M.
This property used to select the clock and related prescaler, valid
values defined at 'dts-bindings/adc/gd32xxx.h' headers.
channels:
type: int
description: Number of external channels
required: true
channels:
type: int
description: Number of external channels
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
pinctrl-0:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
pinctrl-names:
required: true
io-channel-cells:
- input
- input

View file

@ -13,20 +13,20 @@ compatible: "infineon,xmc4xxx-adc"
include: adc-controller.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
vref-internal-mv:
type: int
required: true
description: |
This property sets the internal reference voltage (in millivolts).
vref-internal-mv:
type: int
required: true
description: |
This property sets the internal reference voltage (in millivolts).
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -8,14 +8,14 @@ compatible: "ite,it8xxx2-adc"
include: [adc-controller.yaml, pinctrl-device.yaml]
properties:
interrupts:
required: true
interrupts:
required: true
pinctrl-0:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
pinctrl-names:
required: true
io-channel-cells:
- input
- input

View file

@ -3,8 +3,8 @@
include: [adc-controller.yaml, spi-device.yaml]
properties:
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- channel
- channel

View file

@ -9,30 +9,30 @@ compatible: "microchip,xec-adc-v2"
include: [adc-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
girqs:
type: array
required: true
description: Array of pairs of GIRQ number and bit position
girqs:
type: array
required: true
description: Array of pairs of GIRQ number and bit position
pcrs:
type: array
required: true
description: ADC PCR register index and bit position
pcrs:
type: array
required: true
description: ADC PCR register index and bit position
pinctrl-0:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
pinctrl-names:
required: true
io-channel-cells:
- input
- input

View file

@ -8,25 +8,25 @@ compatible: "microchip,xec-adc"
include: [adc-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
clktime:
type: int
required: true
description: ADC clock high & low time count value <1:255>
clktime:
type: int
required: true
description: ADC clock high & low time count value <1:255>
pinctrl-0:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
pinctrl-names:
required: true
io-channel-cells:
- input
- input

View file

@ -8,14 +8,14 @@ compatible: "nordic,nrf-adc"
include: adc-controller.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -8,16 +8,16 @@ compatible: "nordic,nrf-comp"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
type: int
const: 1
required: true
"#io-channel-cells":
type: int
const: 1
required: true
io-channel-cells:
- input
- input

View file

@ -8,16 +8,16 @@ compatible: "nordic,nrf-lpcomp"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
type: int
const: 1
required: true
"#io-channel-cells":
type: int
const: 1
required: true
io-channel-cells:
- input
- input

View file

@ -8,14 +8,14 @@ compatible: "nordic,nrf-saadc"
include: adc-controller.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -8,33 +8,33 @@ compatible: "nxp,kinetis-adc12"
include: [adc-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clk-source:
type: int
required: true
description: converter clock source
clk-source:
type: int
required: true
description: converter clock source
clk-divider:
type: int
required: true
description: clock divider for the converter
clk-divider:
type: int
required: true
description: clock divider for the converter
alternate-voltage-reference:
type: boolean
description: use alternate voltage reference source
alternate-voltage-reference:
type: boolean
description: use alternate voltage reference source
sample-time:
type: int
required: true
description: sample time in clock cycles
sample-time:
type: int
required: true
description: sample time in clock cycles
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -8,49 +8,49 @@ compatible: "nxp,kinetis-adc16"
include: ["adc-controller.yaml", "pinctrl-device.yaml"]
properties:
reg:
required: true
reg:
required: true
channel-mux-b:
type: boolean
description: |
Use alternate set (b instead of a) of ADC channels
channel-mux-b:
type: boolean
description: |
Use alternate set (b instead of a) of ADC channels
interrupts:
required: true
interrupts:
required: true
periodic-trigger:
type: boolean
description: if periodic trigger enabled
periodic-trigger:
type: boolean
description: if periodic trigger enabled
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
clk-source:
type: int
description: use alternate clock reference source
clk-source:
type: int
description: use alternate clock reference source
long-sample:
type: int
enum:
- 0
- 1
- 2
- 3
- 4
description: long sample mode
long-sample:
type: int
enum:
- 0
- 1
- 2
- 3
- 4
description: long sample mode
continuous-convert:
type: boolean
description: If use continuous convert
continuous-convert:
type: boolean
description: If use continuous convert
high-speed:
type: boolean
description: If use high speed
high-speed:
type: boolean
description: If use high speed
hw-trigger-src:
type: int
description: hardware trigger source (See ADCxTRGSEL field in user manual for more details)
hw-trigger-src:
type: int
description: hardware trigger source (See ADCxTRGSEL field in user manual for more details)
io-channel-cells:
- input
- input

View file

@ -8,20 +8,20 @@ compatible: "raspberrypi,pico-adc"
include: [adc-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
properties:
reg:
required: true
reg:
required: true
vref-mv:
type: int
default: 3300
description: |
Indicate the reference voltage of the ADC in mV.
Raspberry Pi has one voltage reference.
And it is usually connected to VDD.
In such case, set this property to the VDD (in mV) value.
vref-mv:
type: int
default: 3300
description: |
Indicate the reference voltage of the ADC in mV.
Raspberry Pi has one voltage reference.
And it is usually connected to VDD.
In such case, set this property to the VDD (in mV) value.
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -9,40 +9,40 @@ compatible: "st,stm32-adc"
include: [adc-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
clocks:
required: true
clocks:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
pinctrl-0:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
pinctrl-names:
required: true
vref-mv:
type: int
default: 3300
description: Indicates the reference voltage of the ADC in mV (on the target board).
vref-mv:
type: int
default: 3300
description: Indicates the reference voltage of the ADC in mV (on the target board).
has-temp-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal temperature sensor channel.
has-temp-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal temperature sensor channel.
has-vref-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal voltage reference channel.
has-vref-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal voltage reference channel.
has-vbat-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal vbat monitoring channel.
has-vbat-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal vbat monitoring channel.
io-channel-cells:
- input
- input

View file

@ -8,31 +8,31 @@ compatible: "telink,b91-adc"
include: adc-controller.yaml
properties:
reg:
required: true
reg:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
sample-freq:
type: int
required: true
enum:
- 23000
- 48000
- 96000
description: |
This property selects the ADC source frequency: 23 kHz, 48 kHz, or 96 kHz.
sample-freq:
type: int
required: true
enum:
- 23000
- 48000
- 96000
description: |
This property selects the ADC source frequency: 23 kHz, 48 kHz, or 96 kHz.
vref-internal-mv:
type: int
required: true
enum:
- 900
- 1200
description: |
This property selects the internal reference voltage source (in millivolts).
The external reference source is not supported.
vref-internal-mv:
type: int
required: true
enum:
- 900
- 1200
description: |
This property selects the internal reference voltage source (in millivolts).
The external reference source is not supported.
io-channel-cells:
- input
- input

View file

@ -8,5 +8,5 @@ compatible: "ti,ads1119"
include: [adc-controller.yaml, i2c-device.yaml]
properties:
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1

View file

@ -3,8 +3,8 @@
include: [adc-controller.yaml, i2c-device.yaml]
properties:
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -8,14 +8,14 @@ compatible: "ti,cc13xx-cc26xx-adc"
include: [adc-controller.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -8,14 +8,14 @@ compatible: "ti,cc32xx-adc"
include: adc-controller.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
"#io-channel-cells":
const: 1
io-channel-cells:
- input
- input

View file

@ -5,13 +5,13 @@ include: [adc-controller.yaml, spi-device.yaml]
bus: lmp90xxx
properties:
drdyb-gpios:
type: phandle-array
description: Data Ready Bar
drdyb-gpios:
type: phandle-array
description: Data Ready Bar
"#io-channel-cells":
const: 2
"#io-channel-cells":
const: 2
io-channel-cells:
- positive
- negative
- positive
- negative

View file

@ -3,6 +3,6 @@
include: ti,lmp90xxx-base.yaml
properties:
rtd-current:
type: int
description: RTD current in microampere
rtd-current:
type: int
description: RTD current in microampere

View file

@ -10,29 +10,29 @@ compatible: "voltage-divider"
include: base.yaml
properties:
io-channels:
required: true
description: |
Channels available with this divider configuration.
io-channels:
required: true
description: |
Channels available with this divider configuration.
output-ohms:
type: int
required: true
description: |
Resistance of the lower leg of the voltage divider
output-ohms:
type: int
required: true
description: |
Resistance of the lower leg of the voltage divider
full-ohms:
type: int
description: |
Resistance of the full path through the voltage divider.
full-ohms:
type: int
description: |
Resistance of the full path through the voltage divider.
If absent or zero the driver assumes that the upper leg is a
resistance-based sensor.
If absent or zero the driver assumes that the upper leg is a
resistance-based sensor.
power-gpios:
type: phandle-array
description: |
Control power to the voltage divider inputs.
power-gpios:
type: phandle-array
description: |
Control power to the voltage divider inputs.
If present the corresponding GPIO must be set to an active level
to enable the divider input.
If present the corresponding GPIO must be set to an active level
to enable the divider input.

View file

@ -8,38 +8,38 @@ compatible: "zephyr,adc-emul"
include: adc-controller.yaml
properties:
nchannels:
type: int
required: true
description: Number of emulated ADC channels. Should be in 1-32 range.
nchannels:
type: int
required: true
description: Number of emulated ADC channels. Should be in 1-32 range.
ref-internal-mv:
type: int
default: 0
description:
Internal reference voltage in mV. If not provided or set to zero,
channel setup with ADC_REF_INTERNAL will fail.
ref-internal-mv:
type: int
default: 0
description:
Internal reference voltage in mV. If not provided or set to zero,
channel setup with ADC_REF_INTERNAL will fail.
ref-vdd-mv:
type: int
default: 0
description:
VDD reference voltage in mV. If not provided or set to zero,
channel setup with ADC_REF_VDD_X will fail.
ref-vdd-mv:
type: int
default: 0
description:
VDD reference voltage in mV. If not provided or set to zero,
channel setup with ADC_REF_VDD_X will fail.
ref-external0-mv:
type: int
default: 0
description:
External 0 reference voltage in mV. If not provided or set to zero,
channel setup with ADC_REF_EXTERNAL0 will fail.
ref-external0-mv:
type: int
default: 0
description:
External 0 reference voltage in mV. If not provided or set to zero,
channel setup with ADC_REF_EXTERNAL0 will fail.
ref-external1-mv:
type: int
default: 0
description:
External 1 reference voltage in mV. If not provided or set to zero,
channel setup with ADC_REF_EXTERNAL1 will fail.
ref-external1-mv:
type: int
default: 0
description:
External 1 reference voltage in mV. If not provided or set to zero,
channel setup with ADC_REF_EXTERNAL1 will fail.
io-channel-cells:
- input
- input

View file

@ -9,5 +9,5 @@ compatible: "intel,alh-dai"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "arc,dccm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "arc,iccm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -10,5 +10,5 @@ compatible: "arc,xccm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -10,5 +10,5 @@ compatible: "arc,yccm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,9 +8,9 @@ compatible: "arm,beetle-syscon"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
required: true
const: 0
"#clock-cells":
required: true
const: 0

View file

@ -7,5 +7,5 @@ compatible: "arm,dtcm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -17,16 +17,16 @@ compatible: "arm,ethos-u"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
secure-enable:
type: boolean
description: Configure Ethos-U NPU to operate in secure- or non-secure mode
secure-enable:
type: boolean
description: Configure Ethos-U NPU to operate in secure- or non-secure mode
privilege-enable:
type: boolean
description: Configure Ethos-U NPU to operate in privileged- or non-privileged mode
privilege-enable:
type: boolean
description: Configure Ethos-U NPU to operate in privileged- or non-privileged mode

View file

@ -7,5 +7,5 @@ compatible: "arm,itcm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "arm,scc"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -6,35 +6,35 @@ description: Atmel SAM SSC (Synchronous Serial Controller) controller
compatible: "atmel,sam-ssc"
include:
- name: base.yaml
- name: pinctrl-device.yaml
- name: base.yaml
- name: pinctrl-device.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
dmas:
required: true
description: |
TX & RX dma specifiers. Each specifier will have a phandle
reference to the dma controller, the channel number, and peripheral
trigger source.
dmas:
required: true
description: |
TX & RX dma specifiers. Each specifier will have a phandle
reference to the dma controller, the channel number, and peripheral
trigger source.
For example dmas for TX, RX would look like
dmas = <&xdmac 22 DMA_PERID_SSC_TX>, <&xdmac 23 DMA_PERID_SSC_RX>;
For example dmas for TX, RX would look like
dmas = <&xdmac 22 DMA_PERID_SSC_TX>, <&xdmac 23 DMA_PERID_SSC_RX>;
dma-names:
required: true
description: |
This should be "tx" and "rx" to match the dmas property.
dma-names:
required: true
description: |
This should be "tx" and "rx" to match the dmas property.
For example
dma-names = "tx", "rx";
For example
dma-names = "tx", "rx";

View file

@ -6,5 +6,5 @@ compatible: "atmel,sam0-id"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -5,11 +5,11 @@ compatible: "atmel,sam0-sercom"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clocks:
required: true
clocks:
required: true

View file

@ -8,11 +8,11 @@ compatible: "atmel,samd2x-pm"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
const: 2
"#clock-cells":
const: 2
clock-cells:
- offset

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-acl"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-bprot"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-ctrlapperi"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-dcnf"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -9,5 +9,5 @@ compatible: "nordic,nrf-dppic"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,8 +8,8 @@ compatible: "nordic,nrf-egu"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true

View file

@ -5,5 +5,5 @@ compatible: "nordic,nrf-ficr"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,8 +8,8 @@ compatible: "nordic,nrf-kmu"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-mpu"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-mutex"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-mwu"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-ppi"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nordic,nrf-reset"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -5,8 +5,8 @@ compatible: "nordic,nrf-spu"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true

View file

@ -8,8 +8,8 @@ compatible: "nordic,nrf-swi"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true

View file

@ -5,5 +5,5 @@ compatible: "nordic,nrf-uicr"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,5 +8,5 @@ compatible: "nxp,imx-dtcm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -9,17 +9,17 @@ include: base.yaml
properties:
reg:
required: true
required: true
interrupts:
required: true
required: true
prescaler:
type: int
required: true
description: Set the EPIT prescaler between 0 and 4095
type: int
required: true
description: Set the EPIT prescaler between 0 and 4095
rdc:
type: int
required: true
description: Set the RDC permission for this peripheral
type: int
required: true
description: Set the RDC permission for this peripheral

View file

@ -8,5 +8,5 @@ compatible: "nxp,imx-itcm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -9,12 +9,12 @@ include: base.yaml
properties:
reg:
required: true
required: true
interrupts:
required: true
required: true
rdc:
type: int
required: true
description: Set the RDC permission for this peripheral
type: int
required: true
description: Set the RDC permission for this peripheral

View file

@ -9,12 +9,12 @@ include: base.yaml
properties:
reg:
required: true
required: true
interrupts:
required: true
required: true
rdc:
type: int
required: true
description: Set the RDC permission for this peripheral
type: int
required: true
description: Set the RDC permission for this peripheral

View file

@ -8,22 +8,22 @@ compatible: "nxp,kinetis-ftm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
prescaler:
type: int
required: true
enum:
- 1
- 2
- 4
- 8
- 16
- 32
- 64
- 128
description: Input clock prescaler
prescaler:
type: int
required: true
enum:
- 1
- 2
- 4
- 8
- 16
- 32
- 64
- 128
description: Input clock prescaler

View file

@ -8,8 +8,8 @@ compatible: "nxp,lpc-flexcomm"
include: [base.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true

View file

@ -7,5 +7,5 @@ compatible: "st,stm32-ccm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -7,5 +7,5 @@ compatible: "xlnx,zynq-ocm"
include: base.yaml
properties:
reg:
required: true
reg:
required: true

View file

@ -8,62 +8,62 @@ compatible: "nordic,nrf-pdm"
include: [base.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clk-pin:
type: int
deprecated: true
description: |
IMPORTANT: This option will only be used if the new pin control driver
is not enabled.
clk-pin:
type: int
deprecated: true
description: |
IMPORTANT: This option will only be used if the new pin control driver
is not enabled.
The CLK pin to use.
The CLK pin to use.
For pins P0.0 through P0.31, use the pin number. For example,
to use P0.16 for CLK, set:
For pins P0.0 through P0.31, use the pin number. For example,
to use P0.16 for CLK, set:
clk-pin = <16>;
clk-pin = <16>;
For pins P1.0 through P1.31, add 32 to the pin number. For
example, to use P1.2 for CLK, set:
For pins P1.0 through P1.31, add 32 to the pin number. For
example, to use P1.2 for CLK, set:
clk-pin = <34>; /* 32 + 2 */
clk-pin = <34>; /* 32 + 2 */
din-pin:
type: int
deprecated: true
description: |
IMPORTANT: This option will only be used if the new pin control driver
is not enabled.
din-pin:
type: int
deprecated: true
description: |
IMPORTANT: This option will only be used if the new pin control driver
is not enabled.
The DIN pin to use. The pin numbering scheme is the same as
the clk-pin property's.
The DIN pin to use. The pin numbering scheme is the same as
the clk-pin property's.
clock-source:
type: string
default: "PCLK32M_HFXO"
description: |
Clock source to be used by the PDM peripheral. The following options
are available:
- "PCLK32M": 32 MHz peripheral clock, synchronous to HFCLK
- "PCLK32M_HFXO": PCLK32M running off the 32 MHz crystal oscillator
(HFXO) for better clock accuracy and jitter performance
- "ACLK": Audio PLL clock with configurable frequency (frequency for
this clock must be set via the "hfclkaudio-frequency" property
in the "nordic,nrf-clock" node); this clock source is only available
in the nRF53 Series SoCs and it requires the use of HFXO
enum:
- "PCLK32M"
- "PCLK32M_HFXO"
- "ACLK"
clock-source:
type: string
default: "PCLK32M_HFXO"
description: |
Clock source to be used by the PDM peripheral. The following options
are available:
- "PCLK32M": 32 MHz peripheral clock, synchronous to HFCLK
- "PCLK32M_HFXO": PCLK32M running off the 32 MHz crystal oscillator
(HFXO) for better clock accuracy and jitter performance
- "ACLK": Audio PLL clock with configurable frequency (frequency for
this clock must be set via the "hfclkaudio-frequency" property
in the "nordic,nrf-clock" node); this clock source is only available
in the nRF53 Series SoCs and it requires the use of HFXO
enum:
- "PCLK32M"
- "PCLK32M_HFXO"
- "ACLK"
queue-size:
type: int
default: 4
description: |
Size of the queue of received audio data blocks to be used
by the driver.
queue-size:
type: int
default: 4
description: |
Size of the queue of received audio data blocks to be used
by the driver.

View file

@ -8,6 +8,6 @@ compatible: "ti,tlv320dac"
include: i2c-device.yaml
properties:
reset-gpios:
type: phandle-array
required: true
reset-gpios:
type: phandle-array
required: true

View file

@ -3,92 +3,92 @@
include: [pm.yaml]
properties:
status:
type: string
description: indicates the operational status of a device
enum:
- "ok" # Deprecated form
- "okay"
- "disabled"
- "reserved"
- "fail"
- "fail-sss"
status:
type: string
description: indicates the operational status of a device
enum:
- "ok" # Deprecated form
- "okay"
- "disabled"
- "reserved"
- "fail"
- "fail-sss"
compatible:
type: string-array
required: true
description: compatible strings
compatible:
type: string-array
required: true
description: compatible strings
reg:
type: array
description: register space
reg:
type: array
description: register space
reg-names:
type: string-array
description: name of each register space
reg-names:
type: string-array
description: name of each register space
interrupts:
type: array
description: interrupts for device
interrupts:
type: array
description: interrupts for device
# Does not follow the 'type: phandle-array' scheme, but gets type-checked
# by the code. Declare it here just so that other bindings can make it
# 'required: true' easily if they want to.
interrupts-extended:
type: compound
description: extended interrupt specifier for device
# Does not follow the 'type: phandle-array' scheme, but gets type-checked
# by the code. Declare it here just so that other bindings can make it
# 'required: true' easily if they want to.
interrupts-extended:
type: compound
description: extended interrupt specifier for device
interrupt-names:
type: string-array
description: name of each interrupt
interrupt-names:
type: string-array
description: name of each interrupt
interrupt-parent:
type: phandle
description: phandle to interrupt controller node
interrupt-parent:
type: phandle
description: phandle to interrupt controller node
label:
type: string
deprecated: true
description: |
Human readable string describing the device (used as device_get_binding() argument)
label:
type: string
deprecated: true
description: |
Human readable string describing the device (used as device_get_binding() argument)
clocks:
type: phandle-array
description: Clock gate information
clocks:
type: phandle-array
description: Clock gate information
clock-names:
type: string-array
description: name of each clock
clock-names:
type: string-array
description: name of each clock
"#address-cells":
type: int
description: number of address cells in reg property
"#address-cells":
type: int
description: number of address cells in reg property
"#size-cells":
type: int
description: number of size cells in reg property
"#size-cells":
type: int
description: number of size cells in reg property
dmas:
type: phandle-array
description: DMA channels specifiers
dmas:
type: phandle-array
description: DMA channels specifiers
dma-names:
type: string-array
description: Provided names of DMA channel specifiers
dma-names:
type: string-array
description: Provided names of DMA channel specifiers
io-channels:
type: phandle-array
description: IO channels specifiers
io-channels:
type: phandle-array
description: IO channels specifiers
io-channel-names:
type: string-array
description: Provided names of IO channel specifiers
io-channel-names:
type: string-array
description: Provided names of IO channel specifiers
mboxes:
type: phandle-array
description: mailbox / IPM channels specifiers
specifier-space: mbox
mboxes:
type: phandle-array
description: mailbox / IPM channels specifiers
specifier-space: mbox
mbox-names:
type: string-array
description: Provided names of mailbox / IPM channel specifiers
mbox-names:
type: string-array
description: Provided names of mailbox / IPM channel specifiers

View file

@ -4,25 +4,25 @@
# Properties for Power Management (PM)
properties:
wakeup-source:
required: false
type: boolean
description: |
Property to identify that a device can be used as wake up source.
wakeup-source:
required: false
type: boolean
description: |
Property to identify that a device can be used as wake up source.
When this property is provided a specific flag is set into the
device that tells the system that the device is capable of
wake up the system.
When this property is provided a specific flag is set into the
device that tells the system that the device is capable of
wake up the system.
Wake up capable devices are disabled (interruptions will not wake up
the system) by default but they can be enabled at runtime if necessary.
Wake up capable devices are disabled (interruptions will not wake up
the system) by default but they can be enabled at runtime if necessary.
power-domain:
required: false
type: phandle
description: |
power-domain:
required: false
type: phandle
description: |
Power domain the device belongs to.
Power domain the device belongs to.
The device will be notified when the power domain it belongs to is either
suspended or resumed.
The device will be notified when the power domain it belongs to is either
suspended or resumed.

View file

@ -4,30 +4,30 @@
# Properties for nodes with controllable power supplies.
properties:
supply-gpios:
type: phandle-array
required: false
description: |
GPIO specifier that controls power to the device.
supply-gpios:
type: phandle-array
required: false
description: |
GPIO specifier that controls power to the device.
This property should be provided when the device has a dedicated
switch that controls power to the device. The supply state is
entirely the responsibility of the device driver.
This property should be provided when the device has a dedicated
switch that controls power to the device. The supply state is
entirely the responsibility of the device driver.
Contrast with vin-supply.
Contrast with vin-supply.
vin-supply:
type: phandle
required: false
description: |
Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.
vin-supply:
type: phandle
required: false
description: |
Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.
This property should be provided when device power is supplied
by a shared regulator. The supply state is dependent on the
request status of all devices fed by the regulator.
This property should be provided when device power is supplied
by a shared regulator. The supply state is dependent on the
request status of all devices fed by the regulator.
Contrast with supply-gpios. If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.
Contrast with supply-gpios. If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.

View file

@ -29,6 +29,6 @@ include: base.yaml
on-bus: spi
properties:
irq-gpios:
type: phandle-array
required: true
irq-gpios:
type: phandle-array
required: true

View file

@ -10,16 +10,16 @@ compatible: "zephyr,bt-hci-spi"
include: spi-device.yaml
properties:
irq-gpios:
type: phandle-array
required: true
irq-gpios:
type: phandle-array
required: true
reset-gpios:
type: phandle-array
required: true
reset-gpios:
type: phandle-array
required: true
reset-assert-duration-ms:
type: int
description:
Minimum duration to hold the reset-gpios pin low for.
If not specified no delay beyond the code path execution time is guaranteed.
reset-assert-duration-ms:
type: int
description:
Minimum duration to hold the reset-gpios pin low for.
If not specified no delay beyond the code path execution time is guaranteed.

View file

@ -3,26 +3,26 @@ description: Specialization of Bosch m_can CAN-FD controller for Atmel SAM
compatible: "atmel,sam-can"
include:
- name: can-fd-controller.yaml
- name: pinctrl-device.yaml
- name: can-fd-controller.yaml
- name: pinctrl-device.yaml
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
peripheral-id:
type: int
required: true
description: peripheral ID
peripheral-id:
type: int
required: true
description: peripheral ID
divider:
type: int
required: true
enum:
- 6
- 12
- 24
description: Clock divider for the CAN core clock
divider:
type: int
required: true
enum:
- 6
- 12
- 24
description: Clock divider for the CAN core clock

View file

@ -3,26 +3,26 @@ description: Bosch M_CAN CAN-FD controller base
compatible: "bosch,m_can-base"
properties:
std-filter-elements:
type: int
required: true
std-filter-elements:
type: int
required: true
ext-filter-elements:
type: int
required: true
ext-filter-elements:
type: int
required: true
rx-fifo0-elements:
type: int
required: true
rx-fifo0-elements:
type: int
required: true
rx-fifo1-elements:
type: int
required: true
rx-fifo1-elements:
type: int
required: true
rx-buffer-elements:
type: int
required: true
rx-buffer-elements:
type: int
required: true
tx-buffer-elements:
type: int
required: true
tx-buffer-elements:
type: int
required: true

View file

@ -3,64 +3,64 @@
include: base.yaml
properties:
bus-speed:
type: int
required: true
description: bus speed in Baud/s
sjw:
type: int
required: true
description: Resynchronization jump width (ISO 11898-1)
prop-seg:
type: int
description: Time quantums of propagation segment (ISO 11898-1)
phase-seg1:
type: int
description: Time quantums of phase buffer 1 segment (ISO 11898-1)
phase-seg2:
type: int
description: Time quantums of phase buffer 2 segment (ISO 11898-1)
sample-point:
type: int
description: >
Sample point in permille.
This param is required if segments are not given.
If the sample point is given, the segments are ignored.
phys:
type: phandle
description: |
Actively controlled CAN transceiver.
Example:
transceiver0: can-phy0 {
compatible = "nxp,tja1040", "can-transceiver-gpio";
standby-gpios = <gpioa 0 GPIO_ACTIVE_HIGH>;
max-bitrate = <1000000>;
#phy-cells = <0>;
};
&can0 {
status = "okay";
phys = <&transceiver0>;
};
child-binding:
bus-speed:
type: int
required: true
description: bus speed in Baud/s
sjw:
type: int
required: true
description: Resynchronization jump width (ISO 11898-1)
prop-seg:
type: int
description: Time quantums of propagation segment (ISO 11898-1)
phase-seg1:
type: int
description: Time quantums of phase buffer 1 segment (ISO 11898-1)
phase-seg2:
type: int
description: Time quantums of phase buffer 2 segment (ISO 11898-1)
sample-point:
type: int
description: >
Sample point in permille.
This param is required if segments are not given.
If the sample point is given, the segments are ignored.
phys:
type: phandle
description: |
Passive CAN transceiver. The child node must be named "can-transceiver".
Actively controlled CAN transceiver.
Example:
transceiver0: can-phy0 {
compatible = "nxp,tja1040", "can-transceiver-gpio";
standby-gpios = <gpioa 0 GPIO_ACTIVE_HIGH>;
max-bitrate = <1000000>;
#phy-cells = <0>;
};
&can0 {
status = "okay";
can-transceiver {
max-bitrate = <1000000>;
};
phys = <&transceiver0>;
};
properties:
max-bitrate:
type: int
required: true
description: |
The maximum bitrate supported by the CAN transceiver in bits/s.
child-binding:
description: |
Passive CAN transceiver. The child node must be named "can-transceiver".
Example:
&can0 {
status = "okay";
can-transceiver {
max-bitrate = <1000000>;
};
};
properties:
max-bitrate:
type: int
required: true
description: |
The maximum bitrate supported by the CAN transceiver in bits/s.

View file

@ -3,29 +3,29 @@
include: can-controller.yaml
properties:
bus-speed-data:
type: int
required: true
description: data phase bus speed in Baud/s
sjw-data:
type: int
required: true
description: Resynchronization jump width for the data phase. (ISO11898-1:2015)
prop-seg-data:
type: int
description: Time quantums of propagation segment for the data phase. (ISO11898-1:2015)
phase-seg1-data:
type: int
description: Time quantums of phase buffer 1 segment for the data phase. (ISO11898-1:2015)
phase-seg2-data:
type: int
description: Time quantums of phase buffer 2 segment for the data phase. (ISO11898-1:2015)
sample-point-data:
type: int
description: >
Sample point in permille for the data phase.
This param is required if segments are not given.
If the sample point is given, the segments are ignored.
tx-delay-comp-offset:
type: int
default: 0
bus-speed-data:
type: int
required: true
description: data phase bus speed in Baud/s
sjw-data:
type: int
required: true
description: Resynchronization jump width for the data phase. (ISO11898-1:2015)
prop-seg-data:
type: int
description: Time quantums of propagation segment for the data phase. (ISO11898-1:2015)
phase-seg1-data:
type: int
description: Time quantums of phase buffer 1 segment for the data phase. (ISO11898-1:2015)
phase-seg2-data:
type: int
description: Time quantums of phase buffer 2 segment for the data phase. (ISO11898-1:2015)
sample-point-data:
type: int
description: >
Sample point in permille for the data phase.
This param is required if segments are not given.
If the sample point is given, the segments are ignored.
tx-delay-comp-offset:
type: int
default: 0

View file

@ -8,25 +8,25 @@ compatible: "espressif,esp32-twai"
include: [can-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clocks:
required: true
clocks:
required: true
pinctrl-0:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
pinctrl-names:
required: true
clkout-divider:
type: int
description: |
Clock divider for the CLKOUT signal. If not set, the CLKOUT signal is turned off.
clkout-divider:
type: int
description: |
Clock divider for the CLKOUT signal. If not set, the CLKOUT signal is turned off.
Valid values are 1 or any even number from 2 to 14 for ESP32 and 2 to 490 for newer
Espressif MCUs like ESP32-C3.
Valid values are 1 or any even number from 2 to 14 for ESP32 and 2 to 490 for newer
Espressif MCUs like ESP32-C3.

View file

@ -8,5 +8,5 @@ compatible: "kvaser,pcican"
include: [can-controller.yaml, pcie-device.yaml]
properties:
interrupts:
required: true
interrupts:
required: true

View file

@ -8,19 +8,19 @@ compatible: "microchip,mcp2515"
include: [spi-device.yaml, can-controller.yaml]
properties:
osc-freq:
type: int
required: true
description: Frequency of the external oscillator
int-gpios:
type: phandle-array
required: true
description: |
Interrupt pin.
osc-freq:
type: int
required: true
description: Frequency of the external oscillator
int-gpios:
type: phandle-array
required: true
description: |
Interrupt pin.
This pin signals active low when produced by the controller. The
property value should ensure the flags properly describe the signal
that is presented to the driver.
reg:
type: array
required: true
This pin signals active low when produced by the controller. The
property value should ensure the flags properly describe the signal
that is presented to the driver.
reg:
type: array
required: true

View file

@ -8,16 +8,16 @@ compatible: "nxp,kinetis-flexcan"
include: ["can-controller.yaml", "pinctrl-device.yaml"]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clocks:
required: true
clocks:
required: true
clk-source:
type: int
required: true
description: CAN engine clock source
clk-source:
type: int
required: true
description: CAN engine clock source

View file

@ -5,11 +5,11 @@ compatible: "nxp,lpc-mcan"
include: [can-fd-controller.yaml, "bosch,m_can-base.yaml", pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clocks:
required: true
clocks:
required: true

View file

@ -5,11 +5,11 @@ compatible: "renesas,rcar-can"
include: [can-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clocks:
required: true
clocks:
required: true

View file

@ -5,21 +5,21 @@ compatible: "st,stm32-can"
include: [can-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clocks:
required: true
clocks:
required: true
pinctrl-0:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
pinctrl-names:
required: true
master-can-reg:
type: int
description: master can reg when different from current instance
master-can-reg:
type: int
description: master can reg when different from current instance

View file

@ -5,38 +5,38 @@ compatible: "st,stm32-fdcan"
include: ["can-fd-controller.yaml", "pinctrl-device.yaml"]
properties:
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true
clocks:
required: true
clocks:
required: true
clk-divider:
type: int
enum:
- 1
- 2
- 4
- 6
- 8
- 10
- 12
- 14
- 16
- 18
- 20
- 22
- 24
- 26
- 28
- 30
clk-divider:
type: int
enum:
- 1
- 2
- 4
- 6
- 8
- 10
- 12
- 14
- 16
- 18
- 20
- 22
- 24
- 26
- 28
- 30
description: |
Divides the kernel clock giving the time quanta clock that is fed to the
CAN core(FDCAN_CKDIV).
Note that the divisor is common to all 'st,stm32-fdcan' instances.
Divide by 1 is the peripherals reset value and remains set unless
this property is configured.
description: |
Divides the kernel clock giving the time quanta clock that is fed to the
CAN core(FDCAN_CKDIV).
Note that the divisor is common to all 'st,stm32-fdcan' instances.
Divide by 1 is the peripherals reset value and remains set unless
this property is configured.

View file

@ -5,11 +5,11 @@ compatible: "st,stm32h7-fdcan"
include: ["can-fd-controller.yaml", "pinctrl-device.yaml"]
properties:
clocks:
required: true
clocks:
required: true
reg:
required: true
reg:
required: true
interrupts:
required: true
interrupts:
required: true

View file

@ -8,7 +8,7 @@ compatible: "zephyr,native-posix-linux-can"
include: can-controller.yaml
properties:
host-interface:
type: string
required: true
description: Linux host interface name (e.g. zcan0, vcan0, can0, ...)
host-interface:
type: string
required: true
description: Linux host interface name (e.g. zcan0, vcan0, can0, ...)

View file

@ -8,8 +8,8 @@ compatible: "aspeed,ast10x0-clock"
include: [clock-controller.yaml, base.yaml]
properties:
"#clock-cells":
const: 1
"#clock-cells":
const: 1
clock-cells:
- clk_id

View file

@ -8,11 +8,11 @@ compatible: "atmel,samc2x-gclk"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
const: 1
"#clock-cells":
const: 1
clock-cells:
- periph_ch

View file

@ -8,11 +8,11 @@ compatible: "atmel,samc2x-mclk"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
const: 2
"#clock-cells":
const: 2
clock-cells:
- offset

View file

@ -8,11 +8,11 @@ compatible: "atmel,samd2x-gclk"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
const: 1
"#clock-cells":
const: 1
clock-cells:
- clkctrl_id

View file

@ -8,11 +8,11 @@ compatible: "atmel,samd5x-gclk"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
const: 1
"#clock-cells":
const: 1
clock-cells:
- periph_ch

View file

@ -8,11 +8,11 @@ compatible: "atmel,samd5x-mclk"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
const: 2
"#clock-cells":
const: 2
clock-cells:
- offset

View file

@ -8,11 +8,11 @@ compatible: "atmel,saml2x-gclk"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
const: 1
"#clock-cells":
const: 1
clock-cells:
- periph_ch

View file

@ -8,11 +8,11 @@ compatible: "atmel,saml2x-mclk"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
"#clock-cells":
const: 2
"#clock-cells":
const: 2
clock-cells:
- offset

View file

@ -4,7 +4,7 @@
# Common fields for clock controllers
properties:
"#clock-cells":
type: int
required: true
description: Number of items to expect in a Clock specifier
"#clock-cells":
type: int
required: true
description: Number of items to expect in a Clock specifier

View file

@ -8,20 +8,20 @@ compatible: "espressif,esp32-rtc"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
reg:
required: true
xtal-freq:
type: int
required: true
description: Value of the external XTAL connected to ESP32.
xtal-freq:
type: int
required: true
description: Value of the external XTAL connected to ESP32.
xtal-div:
type: int
description: Divisor value for XTAL Clock, CPU_CLK = XTAL_FREQ / xtal-div
xtal-div:
type: int
description: Divisor value for XTAL Clock, CPU_CLK = XTAL_FREQ / xtal-div
"#clock-cells":
const: 1
"#clock-cells":
const: 1
clock-cells:
- offset # Index of the peripheral in esp32 modules list (Check esp32_clock.h)

View file

@ -8,14 +8,14 @@ compatible: "fixed-clock"
include: clock-controller.yaml
properties:
clock-frequency:
type: int
description: output clock frequency (Hz)
required: true
clock-frequency:
type: int
description: output clock frequency (Hz)
required: true
clocks:
type: array
description: input clock source
clocks:
type: array
description: input clock source
"#clock-cells":
const: 0
"#clock-cells":
const: 0

View file

@ -8,17 +8,17 @@ compatible: "fixed-factor-clock"
include: clock-controller.yaml
properties:
clock-div:
type: int
description: fixed clock divider
clock-div:
type: int
description: fixed clock divider
clock-mult:
type: int
description: fixed clock multiplier
clock-mult:
type: int
description: fixed clock multiplier
clocks:
type: phandle-array
description: input clock source
clocks:
type: phandle-array
description: input clock source
"#clock-cells":
const: 0
"#clock-cells":
const: 0

View file

@ -25,8 +25,8 @@ compatible: "gd,gd32-cctl"
include: [clock-controller.yaml, base.yaml]
properties:
"#clock-cells":
const: 1
"#clock-cells":
const: 1
clock-cells:
- id

Some files were not shown because too many files have changed in this diff Show more