[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <36aafe68-d313-692a-a551-4ff4147e584c@denx.de>
Date: Tue, 20 Apr 2021 20:30:20 +0200
From: Marek Vasut <marex@...x.de>
To: gabriel.fernandez@...s.st.com,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Etienne Carriere <etienne.carriere@...com>
Cc: linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Etienne Carriere <etienne.carriere@...s.st.com>
Subject: Re: [PATCH v3 10/11] dt-bindings: clock: stm32mp1 new compatible for
secure rcc
On 4/19/21 11:38 AM, gabriel.fernandez@...s.st.com wrote:
> From: Gabriel Fernandez <gabriel.fernandez@...s.st.com>
>
> Introduce new compatible string "st,stm32mp1-rcc-secure" for
> stm32mp1 clock driver when the device is configured with RCC
> security support hardened.
>
> Signed-off-by: Etienne Carriere <etienne.carriere@...s.st.com>
> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@...s.st.com>
> ---
> .../devicetree/bindings/clock/st,stm32mp1-rcc.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
> index 4e385508f516..8b1ecb2ecdd5 100644
> --- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
> +++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
> @@ -54,7 +54,9 @@ properties:
>
> compatible:
> items:
> - - const: st,stm32mp1-rcc
> + - enum:
> + - st,stm32mp1-rcc-secure
> + - st,stm32mp1-rcc
It is still the same IP and same SoC silicon, so shouldn't the
configuration be discerned via DT property instead of compatible string ?
Powered by blists - more mailing lists