2024-02-12 19:12:46

by Danila Tikhonov

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: pinctrl: qcom,sm8450-tlmm: Add compatible for SM8475

Add a dt-bindings compatible string for the SM8475 SoC that uses SM8450
tlmm.

Signed-off-by: Danila Tikhonov <[email protected]>
---
.../devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml
index 16fd2c5e2339..590de2d8a1c6 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml
@@ -17,7 +17,12 @@ allOf:

properties:
compatible:
- const: qcom,sm8450-tlmm
+ oneOf:
+ - items:
+ - enum:
+ - qcom,sm8475-tlmm
+ - const: qcom,sm8450-tlmm
+ - const: qcom,sm8450-tlmm

reg:
maxItems: 1
--
2.43.0