[RFC v2 3/3] dt-bindings: firmware: arm,scmi: Add support for pinctrl protocol
Michal Simek
michal.simek at amd.com
Thu Apr 27 00:07:20 PDT 2023
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 at epam.com>
> ---
> .../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 at 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
More information about the linux-arm-kernel
mailing list