aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pci
diff options
context:
space:
mode:
authorGravatar Rob Herring <robh@kernel.org> 2023-01-25 16:14:32 -0600
committerGravatar Rob Herring <robh@kernel.org> 2023-01-31 19:22:34 -0600
commit92ec34fecc5d0f652f5adeb0c19e051981c15b42 (patch)
treedd09903ff7c854c772bbe9cd8ae80f232283e104 /Documentation/devicetree/bindings/pci
parentdt-bindings: interrupt-controller: brcm,bcm7120-l2-intc: Fix 'brcm,int-fwd-ma... (diff)
downloadlinux-92ec34fecc5d0f652f5adeb0c19e051981c15b42.tar.gz
linux-92ec34fecc5d0f652f5adeb0c19e051981c15b42.tar.bz2
linux-92ec34fecc5d0f652f5adeb0c19e051981c15b42.zip
dt-bindings: PCI: ti,j721e-pci-host: Simplify 'device-id' schema
'device-id' is just a scalar value, so just 'enum' is sufficient. Link: https://lore.kernel.org/r/20230125221432.3058405-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pci')
-rw-r--r--Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml14
1 files changed, 5 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
index b0513b197d08..3d7aee97353a 100644
--- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
+++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
@@ -66,15 +66,11 @@ properties:
const: 0x104c
device-id:
- oneOf:
- - items:
- - const: 0xb00d
- - items:
- - const: 0xb00f
- - items:
- - const: 0xb010
- - items:
- - const: 0xb013
+ enum:
+ - 0xb00d
+ - 0xb00f
+ - 0xb010
+ - 0xb013
msi-map: true