2023-01-24 09:16:16

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 00/12] dt-bindings: serial: cleanup and improvements

Hi,

Changes since v1:
1. Drop "dt-bindings: serial: restrict possible child node names"
patch from this series, because it requires more discussion.
I don't know yet how to solve the errors.
2. Add tags.
v1: https://lore.kernel.org/linux-devicetree/[email protected]/T/#t

Best regards,
Krzysztof

Krzysztof Kozlowski (12):
dt-bindings: serial: amlogic,meson-uart: allow other serial properties
dt-bindings: serial: 8250: correct Nuvoton NPCM850 compatible
dt-bindings: serial: pl011: allow ARM Primecell properties
dt-bindings: serial: correct ref to serial.yaml
dt-bindings: serial: cdsn,uart: add power-domains
dt-bindings: serial: 8250_omap: drop rs485 properties
dt-bindings: serial: fsl-imx-uart: drop common properties
dt-bindings: serial: fsl-lpuart: drop rs485 properties
dt-bindings: serial: fsl-lpuart: allow other serial properties
dt-bindings: serial: st,stm32-uart: drop common properties
dt-bindings: serial: drop unneeded quotes
dt-bindings: serial: example cleanup

.../devicetree/bindings/serial/8250.yaml | 9 ++++---
.../devicetree/bindings/serial/8250_omap.yaml | 23 +++++++---------
.../bindings/serial/amlogic,meson-uart.yaml | 15 ++++++-----
.../devicetree/bindings/serial/cdns,uart.yaml | 19 +++++++++++---
.../bindings/serial/fsl,s32-linflexuart.yaml | 2 +-
.../bindings/serial/fsl-imx-uart.yaml | 11 ++------
.../bindings/serial/fsl-lpuart.yaml | 6 ++---
.../bindings/serial/fsl-mxs-auart.yaml | 2 +-
.../devicetree/bindings/serial/pl011.yaml | 1 +
.../bindings/serial/renesas,em-uart.yaml | 10 +++----
.../bindings/serial/renesas,hscif.yaml | 26 +++++++++----------
.../bindings/serial/renesas,sci.yaml | 24 ++++++++---------
.../bindings/serial/renesas,scif.yaml | 24 ++++++++---------
.../bindings/serial/renesas,scifa.yaml | 22 ++++++++--------
.../bindings/serial/renesas,scifb.yaml | 12 ++++-----
.../devicetree/bindings/serial/serial.yaml | 18 ++++++-------
.../bindings/serial/sifive-serial.yaml | 6 ++---
.../bindings/serial/st,stm32-uart.yaml | 7 -----
.../bindings/serial/xlnx,opb-uartlite.yaml | 6 ++---
19 files changed, 120 insertions(+), 123 deletions(-)

--
2.34.1



2023-01-24 09:16:20

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 01/12] dt-bindings: serial: amlogic,meson-uart: allow other serial properties

Reference common serial properties bindings to allow typical serial
properties:

meson-axg-jethome-jethub-j100.dtb: serial@23000: 'bluetooth', 'uart-has-rtscts' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>

---

Changes since v1:
1. Add tag
2. Use local path (not absolute to /schemas/serial/serial.yaml)
---
.../devicetree/bindings/serial/amlogic,meson-uart.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
index 7822705ad16c..44cb3cf22bfb 100644
--- a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
@@ -19,6 +19,9 @@ description: |
is active since power-on and does not need any clock gating and is usable
as very early serial console.

+allOf:
+ - $ref: serial.yaml#
+
properties:
compatible:
oneOf:
@@ -69,7 +72,7 @@ required:
- clocks
- clock-names

-additionalProperties: false
+unevaluatedProperties: false

examples:
- |
--
2.34.1


2023-01-24 09:16:30

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 02/12] dt-bindings: serial: 8250: correct Nuvoton NPCM850 compatible

Nuvoton NPCM850 UART is compatible with NPCM750, so add proper fallback
to match existing DTS and Linux driver.

Fixes: c8177f90b7c6 ("dt-bindings: serial: 8250: Add npcm845 compatible string")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/serial/8250.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml
index 34b8e59aa9d4..badaf6d5b6fe 100644
--- a/Documentation/devicetree/bindings/serial/8250.yaml
+++ b/Documentation/devicetree/bindings/serial/8250.yaml
@@ -62,7 +62,6 @@ properties:
- const: mrvl,pxa-uart
- const: nuvoton,wpcm450-uart
- const: nuvoton,npcm750-uart
- - const: nuvoton,npcm845-uart
- const: nvidia,tegra20-uart
- const: nxp,lpc3220-uart
- items:
@@ -92,6 +91,10 @@ properties:
- enum:
- ns16550 # Deprecated, unless the FIFO really is broken
- ns16550a
+ - items:
+ - enum:
+ - nuvoton,npcm845-uart
+ - const: nuvoton,npcm750-uart
- items:
- enum:
- ralink,mt7620a-uart
--
2.34.1


2023-01-24 09:19:28

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 03/12] dt-bindings: serial: pl011: allow ARM Primecell properties

Reference ARM Primecell bindings to allow typical Primecell device node properties:

broadcom/bcm2711-rpi-400.dtb: serial@7e201000: Unevaluated properties are not allowed ('arm,primecell-periphid' was unexpected)

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/serial/pl011.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/serial/pl011.yaml b/Documentation/devicetree/bindings/serial/pl011.yaml
index 80af72859876..9571041030b7 100644
--- a/Documentation/devicetree/bindings/serial/pl011.yaml
+++ b/Documentation/devicetree/bindings/serial/pl011.yaml
@@ -10,6 +10,7 @@ maintainers:
- Rob Herring <[email protected]>

allOf:
+ - $ref: /schemas/arm/primecell.yaml#
- $ref: serial.yaml#

# Need a custom select here or 'arm,primecell' will match on lots of nodes
--
2.34.1


2023-01-24 09:19:52

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 04/12] dt-bindings: serial: correct ref to serial.yaml

The serial bindings should reference the local (in kernel) serial.yaml,
not the /schemas/serial.yaml. The latter comes from dtschema package
and is a small subset of serial bindings.

Usage of the local serial.yaml allows typical properties and children:

xilinx/avnet-ultra96-rev1.dtb: serial@ff000000: Unevaluated properties are not allowed ('bluetooth' were unexpected)

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Michal Simek <[email protected]>
---
Documentation/devicetree/bindings/serial/cdns,uart.yaml | 2 +-
Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
index 876b8cf1cafb..0c118d5336cc 100644
--- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
@@ -10,7 +10,7 @@ maintainers:
- Michal Simek <[email protected]>

allOf:
- - $ref: /schemas/serial.yaml#
+ - $ref: serial.yaml#

properties:
compatible:
diff --git a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
index 2f4390e8d4e8..6f65e9a81c29 100644
--- a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
+++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
@@ -63,7 +63,7 @@ required:
- xlnx,use-parity

allOf:
- - $ref: /schemas/serial.yaml#
+ - $ref: serial.yaml#
- if:
properties:
xlnx,use-parity:
--
2.34.1


2023-01-24 09:19:57

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 05/12] dt-bindings: serial: cdsn,uart: add power-domains

Few Xilinx DTS have power domains in serial node:

zynqmp-zc1232-revA.dtb: serial@ff000000: Unevaluated properties are not allowed ('power-domains' was unexpected)

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Michal Simek <[email protected]>
---
.../devicetree/bindings/serial/cdns,uart.yaml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
index 0c118d5336cc..38925b79cb38 100644
--- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
@@ -9,9 +9,6 @@ title: Cadence UART Controller
maintainers:
- Michal Simek <[email protected]>

-allOf:
- - $ref: serial.yaml#
-
properties:
compatible:
oneOf:
@@ -46,6 +43,9 @@ properties:
port does not use this pin.
type: boolean

+ power-domains:
+ maxItems: 1
+
required:
- compatible
- reg
@@ -53,6 +53,17 @@ required:
- clocks
- clock-names

+allOf:
+ - $ref: serial.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: cdns,uart-r1p8
+ then:
+ properties:
+ power-domains: false
+
unevaluatedProperties: false

examples:
--
2.34.1


2023-01-24 09:20:05

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 06/12] dt-bindings: serial: 8250_omap: drop rs485 properties

The binding references rs485 schema, so there is no need to list its
properties. Simplify a bit by removing unneeded entries.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/serial/8250_omap.yaml | 5 -----
1 file changed, 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/8250_omap.yaml b/Documentation/devicetree/bindings/serial/8250_omap.yaml
index 53dc1212ad2e..7db8e5477b03 100644
--- a/Documentation/devicetree/bindings/serial/8250_omap.yaml
+++ b/Documentation/devicetree/bindings/serial/8250_omap.yaml
@@ -70,11 +70,6 @@ properties:
dsr-gpios: true
rng-gpios: true
dcd-gpios: true
- rs485-rts-delay: true
- rs485-rts-active-low: true
- rs485-rx-during-tx: true
- rs485-rts-active-high: true
- linux,rs485-enabled-at-boot-time: true
rts-gpio: true
power-domains: true
clock-frequency: true
--
2.34.1


2023-01-24 09:20:13

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 07/12] dt-bindings: serial: fsl-imx-uart: drop common properties

The binding references serial and rs485 schemas, so there is no need to
list their properties. Simplify a bit by removing unneeded entries.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml | 7 -------
1 file changed, 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
index 9d949296a142..b431a0d1cd6b 100644
--- a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
@@ -83,13 +83,6 @@ properties:
are sensible for most use cases. If you need low latency processing on
slow connections this needs to be configured appropriately.

- uart-has-rtscts: true
-
- rs485-rts-delay: true
- rs485-rts-active-low: true
- rs485-rx-during-tx: true
- linux,rs485-enabled-at-boot-time: true
-
required:
- compatible
- reg
--
2.34.1


2023-01-24 09:20:17

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 08/12] dt-bindings: serial: fsl-lpuart: drop rs485 properties

The binding references rs485 schema, so there is no need to list its
properties. Simplify a bit by removing unneeded entries.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 3 ---
1 file changed, 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
index 74f75f669e77..b1e81a6451a6 100644
--- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
@@ -64,9 +64,6 @@ properties:
- const: rx
- const: tx

- rs485-rts-active-low: true
- linux,rs485-enabled-at-boot-time: true
-
required:
- compatible
- reg
--
2.34.1


2023-01-24 09:20:35

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 09/12] dt-bindings: serial: fsl-lpuart: allow other serial properties

Reference common serial properties bindings to allow typical serial
properties:

imx8qxp-ai_ml.dtb: serial@5a060000: Unevaluated properties are not allowed ('uart-has-rtscts' were unexpected)

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
index b1e81a6451a6..26c3593fa98b 100644
--- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
@@ -11,6 +11,7 @@ maintainers:

allOf:
- $ref: "rs485.yaml"
+ - $ref: serial.yaml#

properties:
compatible:
--
2.34.1


2023-01-24 09:20:40

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 10/12] dt-bindings: serial: st,stm32-uart: drop common properties

The binding references serial and rs485 schemas, so there is no need to
list their properties. Simplify a bit by removing unneeded entries.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
.../devicetree/bindings/serial/st,stm32-uart.yaml | 7 -------
1 file changed, 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
index 85876c668f6d..1df8ffe95fc6 100644
--- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
@@ -35,8 +35,6 @@ properties:
description: enable hardware flow control (deprecated)
$ref: /schemas/types.yaml#/definitions/flag

- uart-has-rtscts: true
-
rx-tx-swap: true

dmas:
@@ -60,11 +58,6 @@ properties:

wakeup-source: true

- rs485-rts-delay: true
- rs485-rts-active-low: true
- linux,rs485-enabled-at-boot-time: true
- rs485-rx-during-tx: true
-
rx-threshold:
description:
If value is set to 1, RX FIFO threshold is disabled.
--
2.34.1


2023-01-24 09:20:48

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 11/12] dt-bindings: serial: drop unneeded quotes

Cleanup by removing unneeded quotes from refs. No functional impact
except adjusting to preferred coding style.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/serial/8250.yaml | 4 ++--
.../devicetree/bindings/serial/fsl,s32-linflexuart.yaml | 2 +-
Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml | 4 ++--
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 2 +-
Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml
index badaf6d5b6fe..2d0cac642427 100644
--- a/Documentation/devicetree/bindings/serial/8250.yaml
+++ b/Documentation/devicetree/bindings/serial/8250.yaml
@@ -203,12 +203,12 @@ properties:
deprecated: true

aspeed,lpc-io-reg:
- $ref: '/schemas/types.yaml#/definitions/uint32'
+ $ref: /schemas/types.yaml#/definitions/uint32
description: |
The VUART LPC address. Only applicable to aspeed,ast2500-vuart.

aspeed,lpc-interrupts:
- $ref: "/schemas/types.yaml#/definitions/uint32-array"
+ $ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 2
maxItems: 2
description: |
diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
index 8b643bae3c7b..920539926d7e 100644
--- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
@@ -16,7 +16,7 @@ maintainers:
- Chester Lin <[email protected]>

allOf:
- - $ref: "serial.yaml"
+ - $ref: serial.yaml#

properties:
compatible:
diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
index b431a0d1cd6b..4cbe76e1715b 100644
--- a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
@@ -10,8 +10,8 @@ maintainers:
- Fabio Estevam <[email protected]>

allOf:
- - $ref: "serial.yaml"
- - $ref: "rs485.yaml"
+ - $ref: serial.yaml#
+ - $ref: rs485.yaml#

properties:
compatible:
diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
index 26c3593fa98b..ab81722293d3 100644
--- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
@@ -10,7 +10,7 @@ maintainers:
- Fugang Duan <[email protected]>

allOf:
- - $ref: "rs485.yaml"
+ - $ref: rs485.yaml#
- $ref: serial.yaml#

properties:
diff --git a/Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml b/Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml
index 14c7594c88c6..6a400a5e6fc7 100644
--- a/Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml
@@ -10,7 +10,7 @@ maintainers:
- Fabio Estevam <[email protected]>

allOf:
- - $ref: "serial.yaml"
+ - $ref: serial.yaml#

properties:
compatible:
--
2.34.1


2023-01-24 09:21:00

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 12/12] dt-bindings: serial: example cleanup

Adjust example DTS indentation to match recommended style of 4-spaces
and use lower-case hex for address in reg. No functional change.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
.../devicetree/bindings/serial/8250_omap.yaml | 18 ++++++-------
.../bindings/serial/amlogic,meson-uart.yaml | 10 +++----
.../devicetree/bindings/serial/cdns,uart.yaml | 10 +++----
.../bindings/serial/renesas,em-uart.yaml | 10 +++----
.../bindings/serial/renesas,hscif.yaml | 26 +++++++++----------
.../bindings/serial/renesas,sci.yaml | 24 ++++++++---------
.../bindings/serial/renesas,scif.yaml | 24 ++++++++---------
.../bindings/serial/renesas,scifa.yaml | 22 ++++++++--------
.../bindings/serial/renesas,scifb.yaml | 12 ++++-----
.../devicetree/bindings/serial/serial.yaml | 18 ++++++-------
.../bindings/serial/sifive-serial.yaml | 6 ++---
.../bindings/serial/xlnx,opb-uartlite.yaml | 4 +--
12 files changed, 92 insertions(+), 92 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/8250_omap.yaml b/Documentation/devicetree/bindings/serial/8250_omap.yaml
index 7db8e5477b03..eb3488d8f9ee 100644
--- a/Documentation/devicetree/bindings/serial/8250_omap.yaml
+++ b/Documentation/devicetree/bindings/serial/8250_omap.yaml
@@ -104,12 +104,12 @@ else:

examples:
- |
- serial@49042000 {
- compatible = "ti,omap3-uart";
- reg = <0x49042000 0x400>;
- interrupts = <80>;
- dmas = <&sdma 81 &sdma 82>;
- dma-names = "tx", "rx";
- ti,hwmods = "uart4";
- clock-frequency = <48000000>;
- };
+ serial@49042000 {
+ compatible = "ti,omap3-uart";
+ reg = <0x49042000 0x400>;
+ interrupts = <80>;
+ dmas = <&sdma 81 &sdma 82>;
+ dma-names = "tx", "rx";
+ ti,hwmods = "uart4";
+ clock-frequency = <48000000>;
+ };
diff --git a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
index 44cb3cf22bfb..3cbdde85ed71 100644
--- a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
@@ -77,9 +77,9 @@ unevaluatedProperties: false
examples:
- |
serial@84c0 {
- compatible = "amlogic,meson-gx-uart";
- reg = <0x84c0 0x14>;
- interrupts = <26>;
- clocks = <&xtal>, <&pclk>, <&xtal>;
- clock-names = "xtal", "pclk", "baud";
+ compatible = "amlogic,meson-gx-uart";
+ reg = <0x84c0 0x14>;
+ interrupts = <26>;
+ clocks = <&xtal>, <&pclk>, <&xtal>;
+ clock-names = "xtal", "pclk", "baud";
};
diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
index 38925b79cb38..a8b323d7bf94 100644
--- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
@@ -69,9 +69,9 @@ unevaluatedProperties: false
examples:
- |
uart0: serial@e0000000 {
- compatible = "xlnx,xuartps", "cdns,uart-r1p8";
- clocks = <&clkc 23>, <&clkc 40>;
- clock-names = "uart_clk", "pclk";
- reg = <0xE0000000 0x1000>;
- interrupts = <0 27 4>;
+ compatible = "xlnx,xuartps", "cdns,uart-r1p8";
+ clocks = <&clkc 23>, <&clkc 40>;
+ clock-names = "uart_clk", "pclk";
+ reg = <0xe0000000 0x1000>;
+ interrupts = <0 27 4>;
};
diff --git a/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml b/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
index b25aca733b72..12d0fa34f9f9 100644
--- a/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
@@ -66,9 +66,9 @@ examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
uart0: serial@e1020000 {
- compatible = "renesas,em-uart";
- reg = <0xe1020000 0x38>;
- interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&usia_u0_sclk>;
- clock-names = "sclk";
+ compatible = "renesas,em-uart";
+ reg = <0xe1020000 0x38>;
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&usia_u0_sclk>;
+ clock-names = "sclk";
};
diff --git a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
index 1957b9d782e8..afedb6edfc34 100644
--- a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
@@ -131,20 +131,20 @@ examples:
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
aliases {
- serial1 = &hscif1;
+ serial1 = &hscif1;
};

hscif1: serial@e6550000 {
- compatible = "renesas,hscif-r8a7795", "renesas,rcar-gen3-hscif",
- "renesas,hscif";
- reg = <0xe6550000 96>;
- interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cpg CPG_MOD 519>, <&cpg CPG_CORE R8A7795_CLK_S3D1>,
- <&scif_clk>;
- clock-names = "fck", "brg_int", "scif_clk";
- dmas = <&dmac1 0x33>, <&dmac1 0x32>, <&dmac2 0x33>, <&dmac2 0x32>;
- dma-names = "tx", "rx", "tx", "rx";
- power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
- resets = <&cpg 519>;
- uart-has-rtscts;
+ compatible = "renesas,hscif-r8a7795", "renesas,rcar-gen3-hscif",
+ "renesas,hscif";
+ reg = <0xe6550000 96>;
+ interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 519>, <&cpg CPG_CORE R8A7795_CLK_S3D1>,
+ <&scif_clk>;
+ clock-names = "fck", "brg_int", "scif_clk";
+ dmas = <&dmac1 0x33>, <&dmac1 0x32>, <&dmac2 0x33>, <&dmac2 0x32>;
+ dma-names = "tx", "rx", "tx", "rx";
+ power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+ resets = <&cpg 519>;
+ uart-has-rtscts;
};
diff --git a/Documentation/devicetree/bindings/serial/renesas,sci.yaml b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
index bf7708a7a2c0..dc445b327e0b 100644
--- a/Documentation/devicetree/bindings/serial/renesas,sci.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
@@ -91,19 +91,19 @@ examples:
#include <dt-bindings/interrupt-controller/arm-gic.h>

aliases {
- serial0 = &sci0;
+ serial0 = &sci0;
};

sci0: serial@1004d000 {
- compatible = "renesas,r9a07g044-sci", "renesas,sci";
- reg = <0x1004d000 0x400>;
- interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "eri", "rxi", "txi", "tei";
- clocks = <&cpg CPG_MOD R9A07G044_SCI0_CLKP>;
- clock-names = "fck";
- power-domains = <&cpg>;
- resets = <&cpg R9A07G044_SCI0_RST>;
+ compatible = "renesas,r9a07g044-sci", "renesas,sci";
+ reg = <0x1004d000 0x400>;
+ interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "eri", "rxi", "txi", "tei";
+ clocks = <&cpg CPG_MOD R9A07G044_SCI0_CLKP>;
+ clock-names = "fck";
+ power-domains = <&cpg>;
+ resets = <&cpg R9A07G044_SCI0_RST>;
};
diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
index f81f2d67a1ed..1989bd67d04e 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
@@ -180,19 +180,19 @@ examples:
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7791-sysc.h>
aliases {
- serial0 = &scif0;
+ serial0 = &scif0;
};

scif0: serial@e6e60000 {
- compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
- "renesas,scif";
- reg = <0xe6e60000 64>;
- interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cpg CPG_MOD 721>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
- <&scif_clk>;
- clock-names = "fck", "brg_int", "scif_clk";
- dmas = <&dmac0 0x29>, <&dmac0 0x2a>, <&dmac1 0x29>, <&dmac1 0x2a>;
- dma-names = "tx", "rx", "tx", "rx";
- power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
- resets = <&cpg 721>;
+ compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
+ "renesas,scif";
+ reg = <0xe6e60000 64>;
+ interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 721>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
+ <&scif_clk>;
+ clock-names = "fck", "brg_int", "scif_clk";
+ dmas = <&dmac0 0x29>, <&dmac0 0x2a>, <&dmac1 0x29>, <&dmac1 0x2a>;
+ dma-names = "tx", "rx", "tx", "rx";
+ power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
+ resets = <&cpg 721>;
};
diff --git a/Documentation/devicetree/bindings/serial/renesas,scifa.yaml b/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
index 3c67d3202e1b..4c3b5e7270da 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
@@ -95,18 +95,18 @@ examples:
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7790-sysc.h>
aliases {
- serial0 = &scifa0;
+ serial0 = &scifa0;
};

scifa0: serial@e6c40000 {
- compatible = "renesas,scifa-r8a7790", "renesas,rcar-gen2-scifa",
- "renesas,scifa";
- reg = <0xe6c40000 64>;
- interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cpg CPG_MOD 204>;
- clock-names = "fck";
- power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
- resets = <&cpg 204>;
- dmas = <&dmac0 0x21>, <&dmac0 0x22>, <&dmac1 0x21>, <&dmac1 0x22>;
- dma-names = "tx", "rx", "tx", "rx";
+ compatible = "renesas,scifa-r8a7790", "renesas,rcar-gen2-scifa",
+ "renesas,scifa";
+ reg = <0xe6c40000 64>;
+ interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 204>;
+ clock-names = "fck";
+ power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
+ resets = <&cpg 204>;
+ dmas = <&dmac0 0x21>, <&dmac0 0x22>, <&dmac1 0x21>, <&dmac1 0x22>;
+ dma-names = "tx", "rx", "tx", "rx";
};
diff --git a/Documentation/devicetree/bindings/serial/renesas,scifb.yaml b/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
index d5571c7a4424..2f7cbbb48960 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
@@ -94,10 +94,10 @@ examples:
#include <dt-bindings/clock/r8a7740-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
scifb: serial@e6c30000 {
- compatible = "renesas,scifb-r8a7740", "renesas,scifb";
- reg = <0xe6c30000 0x100>;
- interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&mstp2_clks R8A7740_CLK_SCIFB>;
- clock-names = "fck";
- power-domains = <&pd_a3sp>;
+ compatible = "renesas,scifb-r8a7740", "renesas,scifb";
+ reg = <0xe6c30000 0x100>;
+ interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks R8A7740_CLK_SCIFB>;
+ clock-names = "fck";
+ power-domains = <&pd_a3sp>;
};
diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index 11e822bf09e2..e05ad3ac2abc 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -141,13 +141,13 @@ additionalProperties: true
examples:
- |
serial@1234 {
- compatible = "ns16550a";
- reg = <0x1234 0x20>;
- interrupts = <1>;
-
- bluetooth {
- compatible = "brcm,bcm4330-bt";
- interrupt-parent = <&gpio>;
- interrupts = <10>;
- };
+ compatible = "ns16550a";
+ reg = <0x1234 0x20>;
+ interrupts = <1>;
+
+ bluetooth {
+ compatible = "brcm,bcm4330-bt";
+ interrupt-parent = <&gpio>;
+ interrupts = <10>;
+ };
};
diff --git a/Documentation/devicetree/bindings/serial/sifive-serial.yaml b/Documentation/devicetree/bindings/serial/sifive-serial.yaml
index b0a8871e3641..b0df1cac4968 100644
--- a/Documentation/devicetree/bindings/serial/sifive-serial.yaml
+++ b/Documentation/devicetree/bindings/serial/sifive-serial.yaml
@@ -53,13 +53,13 @@ unevaluatedProperties: false

examples:
- |
- #include <dt-bindings/clock/sifive-fu540-prci.h>
- serial@10010000 {
+ #include <dt-bindings/clock/sifive-fu540-prci.h>
+ serial@10010000 {
compatible = "sifive,fu540-c000-uart", "sifive,uart0";
interrupt-parent = <&plic0>;
interrupts = <80>;
reg = <0x10010000 0x1000>;
clocks = <&prci FU540_PRCI_CLK_TLCLK>;
- };
+ };

...
diff --git a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
index 6f65e9a81c29..08dcb275d8e2 100644
--- a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
+++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
@@ -76,7 +76,7 @@ unevaluatedProperties: false

examples:
- |
- serial@800c0000 {
+ serial@800c0000 {
compatible = "xlnx,xps-uartlite-1.00.a";
reg = <0x800c0000 0x10000>;
interrupts = <0x0 0x6e 0x1>;
@@ -84,5 +84,5 @@ examples:
current-speed = <115200>;
xlnx,data-bits = <8>;
xlnx,use-parity = <0>;
- };
+ };
...
--
2.34.1


2023-01-24 10:07:15

by Stefan Wahren

[permalink] [raw]
Subject: Re: [PATCH v2 03/12] dt-bindings: serial: pl011: allow ARM Primecell properties

Am 24.01.23 um 10:19 schrieb Krzysztof Kozlowski:
> Reference ARM Primecell bindings to allow typical Primecell device node properties:
>
> broadcom/bcm2711-rpi-400.dtb: serial@7e201000: Unevaluated properties are not allowed ('arm,primecell-periphid' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Reviewed-by: Stefan Wahren <[email protected]>

Thanks


2023-01-25 20:06:20

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 01/12] dt-bindings: serial: amlogic,meson-uart: allow other serial properties


On Tue, 24 Jan 2023 10:15:51 +0100, Krzysztof Kozlowski wrote:
> Reference common serial properties bindings to allow typical serial
> properties:
>
> meson-axg-jethome-jethub-j100.dtb: serial@23000: 'bluetooth', 'uart-has-rtscts' do not match any of the regexes: 'pinctrl-[0-9]+'
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> Reviewed-by: Neil Armstrong <[email protected]>
>
> ---
>
> Changes since v1:
> 1. Add tag
> 2. Use local path (not absolute to /schemas/serial/serial.yaml)
> ---
> .../devicetree/bindings/serial/amlogic,meson-uart.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:06:33

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 02/12] dt-bindings: serial: 8250: correct Nuvoton NPCM850 compatible


On Tue, 24 Jan 2023 10:15:52 +0100, Krzysztof Kozlowski wrote:
> Nuvoton NPCM850 UART is compatible with NPCM750, so add proper fallback
> to match existing DTS and Linux driver.
>
> Fixes: c8177f90b7c6 ("dt-bindings: serial: 8250: Add npcm845 compatible string")
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/8250.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:06:53

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 03/12] dt-bindings: serial: pl011: allow ARM Primecell properties


On Tue, 24 Jan 2023 10:19:07 +0100, Krzysztof Kozlowski wrote:
> Reference ARM Primecell bindings to allow typical Primecell device node properties:
>
> broadcom/bcm2711-rpi-400.dtb: serial@7e201000: Unevaluated properties are not allowed ('arm,primecell-periphid' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/pl011.yaml | 1 +
> 1 file changed, 1 insertion(+)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:07:11

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 04/12] dt-bindings: serial: correct ref to serial.yaml


On Tue, 24 Jan 2023 10:19:08 +0100, Krzysztof Kozlowski wrote:
> The serial bindings should reference the local (in kernel) serial.yaml,
> not the /schemas/serial.yaml. The latter comes from dtschema package
> and is a small subset of serial bindings.
>
> Usage of the local serial.yaml allows typical properties and children:
>
> xilinx/avnet-ultra96-rev1.dtb: serial@ff000000: Unevaluated properties are not allowed ('bluetooth' were unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> Acked-by: Michal Simek <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/cdns,uart.yaml | 2 +-
> Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:07:33

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 05/12] dt-bindings: serial: cdsn,uart: add power-domains


On Tue, 24 Jan 2023 10:19:09 +0100, Krzysztof Kozlowski wrote:
> Few Xilinx DTS have power domains in serial node:
>
> zynqmp-zc1232-revA.dtb: serial@ff000000: Unevaluated properties are not allowed ('power-domains' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> Reviewed-by: Michal Simek <[email protected]>
> ---
> .../devicetree/bindings/serial/cdns,uart.yaml | 17 ++++++++++++++---
> 1 file changed, 14 insertions(+), 3 deletions(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:08:11

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 06/12] dt-bindings: serial: 8250_omap: drop rs485 properties


On Tue, 24 Jan 2023 10:19:10 +0100, Krzysztof Kozlowski wrote:
> The binding references rs485 schema, so there is no need to list its
> properties. Simplify a bit by removing unneeded entries.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/8250_omap.yaml | 5 -----
> 1 file changed, 5 deletions(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:08:24

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 07/12] dt-bindings: serial: fsl-imx-uart: drop common properties


On Tue, 24 Jan 2023 10:19:11 +0100, Krzysztof Kozlowski wrote:
> The binding references serial and rs485 schemas, so there is no need to
> list their properties. Simplify a bit by removing unneeded entries.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml | 7 -------
> 1 file changed, 7 deletions(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:08:35

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 08/12] dt-bindings: serial: fsl-lpuart: drop rs485 properties


On Tue, 24 Jan 2023 10:19:12 +0100, Krzysztof Kozlowski wrote:
> The binding references rs485 schema, so there is no need to list its
> properties. Simplify a bit by removing unneeded entries.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 3 ---
> 1 file changed, 3 deletions(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:09:22

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 09/12] dt-bindings: serial: fsl-lpuart: allow other serial properties


On Tue, 24 Jan 2023 10:19:13 +0100, Krzysztof Kozlowski wrote:
> Reference common serial properties bindings to allow typical serial
> properties:
>
> imx8qxp-ai_ml.dtb: serial@5a060000: Unevaluated properties are not allowed ('uart-has-rtscts' were unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 1 +
> 1 file changed, 1 insertion(+)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:09:43

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 10/12] dt-bindings: serial: st,stm32-uart: drop common properties


On Tue, 24 Jan 2023 10:19:14 +0100, Krzysztof Kozlowski wrote:
> The binding references serial and rs485 schemas, so there is no need to
> list their properties. Simplify a bit by removing unneeded entries.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> .../devicetree/bindings/serial/st,stm32-uart.yaml | 7 -------
> 1 file changed, 7 deletions(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:10:11

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 11/12] dt-bindings: serial: drop unneeded quotes


On Tue, 24 Jan 2023 10:19:15 +0100, Krzysztof Kozlowski wrote:
> Cleanup by removing unneeded quotes from refs. No functional impact
> except adjusting to preferred coding style.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/serial/8250.yaml | 4 ++--
> .../devicetree/bindings/serial/fsl,s32-linflexuart.yaml | 2 +-
> Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml | 4 ++--
> Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 2 +-
> Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml | 2 +-
> 5 files changed, 7 insertions(+), 7 deletions(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-25 20:11:58

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 12/12] dt-bindings: serial: example cleanup


On Tue, 24 Jan 2023 10:19:16 +0100, Krzysztof Kozlowski wrote:
> Adjust example DTS indentation to match recommended style of 4-spaces
> and use lower-case hex for address in reg. No functional change.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> .../devicetree/bindings/serial/8250_omap.yaml | 18 ++++++-------
> .../bindings/serial/amlogic,meson-uart.yaml | 10 +++----
> .../devicetree/bindings/serial/cdns,uart.yaml | 10 +++----
> .../bindings/serial/renesas,em-uart.yaml | 10 +++----
> .../bindings/serial/renesas,hscif.yaml | 26 +++++++++----------
> .../bindings/serial/renesas,sci.yaml | 24 ++++++++---------
> .../bindings/serial/renesas,scif.yaml | 24 ++++++++---------
> .../bindings/serial/renesas,scifa.yaml | 22 ++++++++--------
> .../bindings/serial/renesas,scifb.yaml | 12 ++++-----
> .../devicetree/bindings/serial/serial.yaml | 18 ++++++-------
> .../bindings/serial/sifive-serial.yaml | 6 ++---
> .../bindings/serial/xlnx,opb-uartlite.yaml | 4 +--
> 12 files changed, 92 insertions(+), 92 deletions(-)
>

Acked-by: Rob Herring <[email protected]>

2023-01-26 08:51:05

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH v2 12/12] dt-bindings: serial: example cleanup

On Tue, Jan 24, 2023 at 10:20 AM Krzysztof Kozlowski
<[email protected]> wrote:
> Adjust example DTS indentation to match recommended style of 4-spaces
> and use lower-case hex for address in reg. No functional change.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

> .../bindings/serial/renesas,em-uart.yaml | 10 +++----
> .../bindings/serial/renesas,hscif.yaml | 26 +++++++++----------
> .../bindings/serial/renesas,sci.yaml | 24 ++++++++---------
> .../bindings/serial/renesas,scif.yaml | 24 ++++++++---------
> .../bindings/serial/renesas,scifa.yaml | 22 ++++++++--------
> .../bindings/serial/renesas,scifb.yaml | 12 ++++-----

Reviewed-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds