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:
Kumar Gala 2022-07-12 14:39:18 -05:00 committed by Marti Bolivar
commit b200b9a9e0
17 changed files with 0 additions and 47 deletions

View file

@ -8,9 +8,6 @@ include: base.yaml
bus: dma
properties:
label:
required: true
"#dma-cells":
type: int
required: true

View file

@ -8,9 +8,6 @@ include: base.yaml
bus: dmamux
properties:
label:
required: true
"#dma-cells":
type: int
required: true

View file

@ -6,7 +6,3 @@
include: base.yaml
bus: espi
properties:
label:
required: true

View file

@ -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

View file

@ -18,5 +18,3 @@ properties:
type: int
required: false
description: Initial clock frequency in Hz
label:
required: true

View file

@ -14,5 +14,3 @@ properties:
"#size-cells":
required: true
const: 0
label:
required: true

View file

@ -6,7 +6,3 @@
include: base.yaml
bus: kscan
properties:
label:
required: true

View file

@ -8,8 +8,6 @@ include: base.yaml
bus: mdio
properties:
label:
required: true
protocol:
required: false
type: string

View file

@ -11,9 +11,6 @@ properties:
reg:
required: true
label:
required: true
data-lanes:
type: array
required: true

View file

@ -8,9 +8,6 @@ include: base.yaml
bus: mipi-dsi
properties:
label:
required: true
"#address-cells":
required: true
const: 1

View file

@ -16,5 +16,3 @@ properties:
type: int
required: true
const: 0
label:
required: true

View file

@ -16,5 +16,3 @@ properties:
type: int
required: true
const: 0
label:
required: true

View file

@ -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

View file

@ -19,8 +19,6 @@ properties:
"#size-cells":
required: true
const: 0
label:
required: true
cs-gpios:
type: phandle-array
required: false

View file

@ -6,7 +6,3 @@
include: base.yaml
bus: tach
properties:
label:
required: true

View file

@ -22,9 +22,6 @@ properties:
- "high-speed"
- "super-speed"
label:
required: true
vbus-gpios:
type: phandle-array
required: false

View file

@ -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}")