diff mbox series

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

Message ID 20210910165945.2852999-1-robh@kernel.org
State Accepted
Commit 094b147c766289baa0f370d124609c3ac2b5a420
Headers show
Series spi: dt-bindings: xilinx: Drop type reference on *-bits properties | expand

Commit Message

Rob Herring Sept. 10, 2021, 4:59 p.m. UTC
Properties with standard unit suffixes such as '-bits' don't need a
type.

Cc: Mark Brown <broonie@kernel.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: linux-spi@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@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(-)

-- 
2.30.2

Comments

Mark Brown Sept. 10, 2021, 5:02 p.m. UTC | #1
On Fri, Sep 10, 2021 at 11:59:45AM -0500, Rob Herring wrote:
> Properties with standard unit suffixes such as '-bits' don't need a

> type.


Acked-by: Mark Brown <broonie@kernel.org>
Rob Herring Sept. 10, 2021, 7:53 p.m. UTC | #2
On Fri, 10 Sep 2021 11:59:45 -0500, Rob Herring wrote:
> Properties with standard unit suffixes such as '-bits' don't need a
> type.
> 
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Cc: linux-spi@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Rob Herring <robh@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(-)
> 

Applied, thanks!
diff mbox series

Patch

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