lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200411123325.30501-2-hyunki00.koo@gmail.com>
Date:   Sat, 11 Apr 2020 21:33:25 +0900
From:   Hyunki Koo <hyunki00.koo@...il.com>
To:     gregkh@...uxfoundation.org, robh+dt@...nel.org, krzk@...nel.org
Cc:     Hyunki Koo <hyunki00.koo@...sung.com>,
        linux-serial@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH v7 1/2] dt-bindings: serial: add reg-io-width compatible

From: Hyunki Koo <hyunki00.koo@...sung.com>

Add reg-io-width compatible

Signed-off-by: Hyunki Koo <hyunki00.koo@...sung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
---
v5: first added in this series
v6: clean description of reg-io-width
v7: correct build error on running 'make dt_binding_check' 
---
 .../devicetree/bindings/serial/samsung_uart.yaml          | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
index 9d2ce347875b..a57b1233c691 100644
--- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml
+++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
@@ -29,6 +29,14 @@ properties:
   reg:
     maxItems: 1
 
+  reg-io-width:
+    description: |
+      The size (in bytes) of the IO accesses that should be performed
+      on the device.
+    allOf:
+      - $ref: /schemas/types.yaml#/definitions/uint32
+      - enum: [ 1, 4 ]
+
   clocks:
     minItems: 2
     maxItems: 5
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ