dts: bindings: device labels are now optional
All in tree device drivers use some form of DEVICE_DT_GET so we no longer need to require label properties. Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
f400c94adf
commit
9680483c3d
|
@ -7,9 +7,6 @@
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -15,6 +15,3 @@ properties:
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
Width of the panel driven by the controller, with the units in pixels.
|
Width of the panel driven by the controller, with the units in pixels.
|
||||||
|
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
|
@ -10,8 +10,6 @@ properties:
|
||||||
type: uint8-array
|
type: uint8-array
|
||||||
required: false
|
required: false
|
||||||
description: Specifies the MAC address that was assigned to the network device
|
description: Specifies the MAC address that was assigned to the network device
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
zephyr,random-mac-address:
|
zephyr,random-mac-address:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
|
|
|
@ -3,8 +3,5 @@
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -11,5 +11,3 @@ properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
description: device address on i2c bus
|
description: device address on i2c bus
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
|
@ -10,5 +10,3 @@ on-bus: i2s
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
|
@ -7,6 +7,3 @@ include: [interrupt-controller.yaml, base.yaml]
|
||||||
properties:
|
properties:
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
|
|
||||||
# Common fields for LED controllers and child LEDs
|
# Common fields for LED controllers and child LEDs
|
||||||
|
|
||||||
properties:
|
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
child-binding:
|
child-binding:
|
||||||
description: LED child node
|
description: LED child node
|
||||||
properties:
|
properties:
|
||||||
|
|
|
@ -9,14 +9,6 @@ include:
|
||||||
- name: base.yaml
|
- name: base.yaml
|
||||||
property-allowlist: [label]
|
property-allowlist: [label]
|
||||||
|
|
||||||
properties:
|
|
||||||
label:
|
|
||||||
description: |
|
|
||||||
Human readable string describing the device and used to set the device
|
|
||||||
name. It can be passed as argument to device_get_binding() to retrieve
|
|
||||||
the device. If this property is omitted, then the device name is set
|
|
||||||
from the node full name.
|
|
||||||
|
|
||||||
child-binding:
|
child-binding:
|
||||||
description: PWM LED child node
|
description: PWM LED child node
|
||||||
properties:
|
properties:
|
||||||
|
|
|
@ -14,5 +14,3 @@ properties:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
description: Disable writes to the EEPROM
|
description: Disable writes to the EEPROM
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
# Common fields for PWM controllers
|
# Common fields for PWM controllers
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
"#pwm-cells":
|
"#pwm-cells":
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -18,9 +18,6 @@ include: regulator.yaml
|
||||||
compatible: "regulator-fixed"
|
compatible: "regulator-fixed"
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
regulator-name:
|
regulator-name:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -10,8 +10,6 @@ properties:
|
||||||
type: int
|
type: int
|
||||||
required: false
|
required: false
|
||||||
description: Clock frequency information for RTC operation
|
description: Clock frequency information for RTC operation
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,3 @@
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
on-bus: uart
|
on-bus: uart
|
||||||
|
|
||||||
properties:
|
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
|
@ -14,8 +14,6 @@ properties:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Maximum clock frequency of device's SPI interface in Hz
|
description: Maximum clock frequency of device's SPI interface in Hz
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
duplex:
|
duplex:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
|
|
Loading…
Reference in a new issue