[PATCH 1/2] dt-bindings: gpio: spacemit: add compatible name for K3 SoC

Yixun Lan posted 2 patches 1 month, 1 week ago
There is a newer version of this series
[PATCH 1/2] dt-bindings: gpio: spacemit: add compatible name for K3 SoC
Posted by Yixun Lan 1 month, 1 week ago
Add new compatible string for SpacemiT K3 SoC's GPIO controller.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
---
 Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml b/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
index 83e0b2d14c9f..24d22d95665f 100644
--- a/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
@@ -19,7 +19,9 @@ properties:
     pattern: "^gpio@[0-9a-f]+$"
 
   compatible:
-    const: spacemit,k1-gpio
+    enum:
+      - spacemit,k1-gpio
+      - spacemit,k3-gpio
 
   reg:
     maxItems: 1

-- 
2.52.0
Re: [PATCH 1/2] dt-bindings: gpio: spacemit: add compatible name for K3 SoC
Posted by Krzysztof Kozlowski 1 month, 1 week ago
On Mon, Dec 29, 2025 at 08:46:38PM +0800, Yixun Lan wrote:
> Add new compatible string for SpacemiT K3 SoC's GPIO controller.
> 
> Signed-off-by: Yixun Lan <dlan@gentoo.org>
> ---
>  Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof