On 4/26/23 15:26, Oleksii Moisieiev wrote:
Add new SCMI v3.2 pinctrl protocol bindings definitions and example.
Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@xxxxxxxx>
---
.../bindings/firmware/arm,scmi.yaml | 77 +++++++++++++++++++
1 file changed, 77 insertions(+)
diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
index 2f7c51c75e85..41ba5b8d8151 100644
--- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
+++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
@@ -212,6 +212,63 @@ properties:
reg:
const: 0x18
+ protocol@19:
+ $ref: '#/$defs/protocol-node'
+
+ properties:
+ reg:
+ const: 0x19
+
+ '#pinctrl-cells':
+ const: 0
+
As I said. pinctrl has also gpio part and based on discussion with SCMI guys
this protocol can be also used for simple gpio. That's why here should be also
listed #gpio-cells to be able to use this functionality.
And for complete implementation it should be also added to driver it but of
course this can be added later by separate patch.
Thanks,
Michal