[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5bf0e975-d314-171f-b6a8-c1c1c7198cd3@amd.com>
Date: Thu, 27 Apr 2023 09:07:20 +0200
From: Michal Simek <michal.simek@....com>
To: Oleksii Moisieiev <Oleksii_Moisieiev@...m.com>,
"sudeep.holla@....com" <sudeep.holla@....com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Cristian Marussi <cristian.marussi@....com>,
Peng Fan <peng.fan@....nxp.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>
Subject: Re: [RFC v2 3/3] dt-bindings: firmware: arm,scmi: Add support for
pinctrl protocol
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@...m.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@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
Powered by blists - more mailing lists