[PATCH] spi: dt-bindings: xilinx: Drop type reference on *-bits properties

Rob Herring robh at kernel.org
Fri Sep 10 09:59:45 PDT 2021


Properties with standard unit suffixes such as '-bits' don't need a
type.

Cc: Mark Brown <broonie at kernel.org>
Cc: Michal Simek <michal.simek at xilinx.com>
Cc: linux-spi at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Rob Herring <robh at kernel.org>
---
Mark, Please ack and I will send to Linus for rc1. After this, I can 
enable checking these automatically.

 Documentation/devicetree/bindings/spi/spi-xilinx.yaml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/spi-xilinx.yaml b/Documentation/devicetree/bindings/spi/spi-xilinx.yaml
index 593f7693bace..03e5dca7e933 100644
--- a/Documentation/devicetree/bindings/spi/spi-xilinx.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-xilinx.yaml
@@ -27,13 +27,11 @@ properties:
 
   xlnx,num-ss-bits:
     description: Number of chip selects used.
-    $ref: /schemas/types.yaml#/definitions/uint32
     minimum: 1
     maximum: 32
 
   xlnx,num-transfer-bits:
     description: Number of bits per transfer. This will be 8 if not specified.
-    $ref: /schemas/types.yaml#/definitions/uint32
     enum: [8, 16, 32]
     default: 8
 
-- 
2.30.2




More information about the linux-arm-kernel mailing list