[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250718-01-k1-uart-binding-v1-1-a92e1e14c836@gentoo.org>
Date: Fri, 18 Jul 2025 23:04:37 +0800
From: Yixun Lan <dlan@...too.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Lubomir Rintel <lkundrak@...sk>,
devicetree@...r.kernel.org, Alex Elder <elder@...cstar.com>
Cc: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
linux-riscv@...ts.infradead.org, spacemit@...ts.linux.dev,
Yixun Lan <dlan@...too.org>
Subject: [PATCH] dt-bindings: serial: 8250: spacemit: set clocks property
as required
In SpacemiT's K1 SoC, the clocks for UART are mandatory needed, so
for DT, both clocks and clock-names property should be set as required.
Fixes: 2c0594f9f062 ("dt-bindings: serial: 8250: support an optional second clock")
Signed-off-by: Yixun Lan <dlan@...too.org>
---
Documentation/devicetree/bindings/serial/8250.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml
index 33d2016b65090d0df257f9780ad8d5e05f7ce798..2c7604ed2a41d029276d3ebe9a3960a8dd44a9d9 100644
--- a/Documentation/devicetree/bindings/serial/8250.yaml
+++ b/Documentation/devicetree/bindings/serial/8250.yaml
@@ -239,7 +239,9 @@ if:
contains:
const: spacemit,k1-uart
then:
- required: [clock-names]
+ required:
+ - clocks
+ - clock-names
properties:
clocks:
minItems: 2
---
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
change-id: 20250718-01-k1-uart-binding-6a996b6e2ff2
Best regards,
--
Yixun Lan
Powered by blists - more mailing lists