dts: bindings: bus labels are now optional
All in tree device drivers on a bus 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
55c073297c
commit
b200b9a9e0
17 changed files with 0 additions and 47 deletions
|
@ -8,9 +8,6 @@ include: base.yaml
|
|||
bus: dma
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
|
||||
"#dma-cells":
|
||||
type: int
|
||||
required: true
|
||||
|
|
|
@ -8,9 +8,6 @@ include: base.yaml
|
|||
bus: dmamux
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
|
||||
"#dma-cells":
|
||||
type: int
|
||||
required: true
|
||||
|
|
|
@ -6,7 +6,3 @@
|
|||
include: base.yaml
|
||||
|
||||
bus: espi
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
|
|
|
@ -7,9 +7,6 @@ include: [gpio-controller.yaml, base.yaml]
|
|||
on-bus: xlnx,xps-gpio-1.00.a
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
|
||||
"#gpio-cells":
|
||||
const: 2
|
||||
|
||||
|
|
|
@ -18,5 +18,3 @@ properties:
|
|||
type: int
|
||||
required: false
|
||||
description: Initial clock frequency in Hz
|
||||
label:
|
||||
required: true
|
||||
|
|
|
@ -14,5 +14,3 @@ properties:
|
|||
"#size-cells":
|
||||
required: true
|
||||
const: 0
|
||||
label:
|
||||
required: true
|
||||
|
|
|
@ -6,7 +6,3 @@
|
|||
include: base.yaml
|
||||
|
||||
bus: kscan
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
|
|
|
@ -8,8 +8,6 @@ include: base.yaml
|
|||
bus: mdio
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
protocol:
|
||||
required: false
|
||||
type: string
|
||||
|
|
|
@ -11,9 +11,6 @@ properties:
|
|||
reg:
|
||||
required: true
|
||||
|
||||
label:
|
||||
required: true
|
||||
|
||||
data-lanes:
|
||||
type: array
|
||||
required: true
|
||||
|
|
|
@ -8,9 +8,6 @@ include: base.yaml
|
|||
bus: mipi-dsi
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
|
||||
"#address-cells":
|
||||
required: true
|
||||
const: 1
|
||||
|
|
|
@ -16,5 +16,3 @@ properties:
|
|||
type: int
|
||||
required: true
|
||||
const: 0
|
||||
label:
|
||||
required: true
|
||||
|
|
|
@ -16,5 +16,3 @@ properties:
|
|||
type: int
|
||||
required: true
|
||||
const: 0
|
||||
label:
|
||||
required: true
|
||||
|
|
|
@ -13,8 +13,6 @@ properties:
|
|||
type: int
|
||||
required: false
|
||||
description: Initial baud rate setting for UART
|
||||
label:
|
||||
required: true
|
||||
hw-flow-control:
|
||||
type: boolean
|
||||
required: false
|
||||
|
|
|
@ -19,8 +19,6 @@ properties:
|
|||
"#size-cells":
|
||||
required: true
|
||||
const: 0
|
||||
label:
|
||||
required: true
|
||||
cs-gpios:
|
||||
type: phandle-array
|
||||
required: false
|
||||
|
|
|
@ -6,7 +6,3 @@
|
|||
include: base.yaml
|
||||
|
||||
bus: tach
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
||||
|
|
|
@ -22,9 +22,6 @@ properties:
|
|||
- "high-speed"
|
||||
- "super-speed"
|
||||
|
||||
label:
|
||||
required: true
|
||||
|
||||
vbus-gpios:
|
||||
type: phandle-array
|
||||
required: false
|
||||
|
|
|
@ -352,9 +352,6 @@ def write_bus(node):
|
|||
if not bus:
|
||||
return
|
||||
|
||||
if not bus.label:
|
||||
err(f"missing 'label' property on bus node {bus!r}")
|
||||
|
||||
out_comment(f"Bus info (controller: '{bus.path}', type: '{node.on_bus}')")
|
||||
out_dt_define(f"{node.z_path_id}_BUS_{str2ident(node.on_bus)}", 1)
|
||||
out_dt_define(f"{node.z_path_id}_BUS", f"DT_{bus.z_path_id}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue