linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: PCI: ti,j721e-pci-host: Simplify 'device-id' schema
@ 2023-01-25 22:14 Rob Herring
  2023-01-31 23:32 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2023-01-25 22:14 UTC (permalink / raw)
  To: Bjorn Helgaas, Lorenzo Pieralisi, Krzysztof Wilczyński,
	Krzysztof Kozlowski, Abraham I
  Cc: linux-pci, devicetree, linux-kernel

'device-id' is just a scalar value, so just 'enum' is sufficient.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/pci/ti,j721e-pci-host.yaml | 14 +++++---------
 1 file 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
 
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: PCI: ti,j721e-pci-host: Simplify 'device-id' schema
  2023-01-25 22:14 [PATCH] dt-bindings: PCI: ti,j721e-pci-host: Simplify 'device-id' schema Rob Herring
@ 2023-01-31 23:32 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2023-01-31 23:32 UTC (permalink / raw)
  To: Rob Herring
  Cc: Lorenzo Pieralisi, Krzysztof Kozlowski, linux-kernel, Abraham I,
	Krzysztof Wilczyński, devicetree, Bjorn Helgaas, linux-pci


On Wed, 25 Jan 2023 16:14:32 -0600, Rob Herring wrote:
> 'device-id' is just a scalar value, so just 'enum' is sufficient.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../devicetree/bindings/pci/ti,j721e-pci-host.yaml | 14 +++++---------
>  1 file changed, 5 insertions(+), 9 deletions(-)
> 

Applied, thanks!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-31 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-25 22:14 [PATCH] dt-bindings: PCI: ti,j721e-pci-host: Simplify 'device-id' schema Rob Herring
2023-01-31 23:32 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).