Skip to contentSkip to conversation

dt-bindings: serial: Convert Samsung UART bindings to json-schema

PATCH Applied Krzysztof Kozlowski 2 participants 2 messages Nov 3, 2019 – Nov 5, 2019

Subsystems (4)

v2 of 5 Applied Latest is v5 →

lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: serial: Convert Samsung UART bindings to json-schema

Convert Samsung S3C/S5P/Exynos Serial/UART bindings to DT schema format using json-schema.

---

Changes since v1:
1. Simplify 'clock-names' patters after Rob's suggestions,
2. Add description to 'interrupts',
3. Remove 'uniqueItems' where not needed,
4. Remove aliases from example.

---
 .../bindings/mfd/samsung,exynos5433-lpass.txt |   2 +-
 .../bindings/serial/samsung_uart.txt          |  58 ---------
 .../bindings/serial/samsung_uart.yaml         | 118 ++++++++++++++++++
 3 files changed, 119 insertions(+), 59 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/serial/samsung_uart.txt
 create mode 100644 Documentation/devicetree/bindings/serial/samsung_uart.yaml
Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.txt +1 -1
index d759da606f75..30ea27c3936d 100644
@@ -18,7 +18,7 @@ an optional sub-node. For "samsung,exynos5433-lpass" compatible this includes:
 UART, SLIMBUS, PCM, I2S, DMAC, Timers 0...4, VIC, WDT 0...1 devices.
 
 Bindings of the sub-nodes are described in:
-  ../serial/samsung_uart.txt
+  ../serial/samsung_uart.yaml
   ../sound/samsung-i2s.txt
   ../dma/arm-pl330.txt
 
Documentation/devicetree/bindings/serial/samsung_uart.txt deleted +0 -58

58 lines not on this page · raw message

Documentation/devicetree/bindings/serial/samsung_uart.yaml new file +118 -0

118 lines not on this page · raw message

Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 12 lines · Krzysztof Kozlowski

Convert Samsung S3C/S5P/Exynos Serial/UART bindings to DT schema format using json-schema.

---

Changes since v1:
1. Simplify 'clock-names' patters after Rob's suggestions,
2. Add description to 'interrupts',
3. Remove 'uniqueItems' where not needed,
4. Remove aliases from example.

Quoted 8 lines
---
 .../bindings/mfd/samsung,exynos5433-lpass.txt |   2 +-
 .../bindings/serial/samsung_uart.txt          |  58 ---------
 .../bindings/serial/samsung_uart.yaml         | 118 ++++++++++++++++++
 3 files changed, 119 insertions(+), 59 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/serial/samsung_uart.txt
 create mode 100644 Documentation/devicetree/bindings/serial/samsung_uart.yaml

Applied, thanks.

Rob