From: Patrick DELAUNAY <patrick.delaunay@foss.st.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Cc: <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH] dt-bindings: nvmem: add new stm32mp13 compatible for stm32-romem
Date: Wed, 19 Oct 2022 19:23:34 +0200 [thread overview]
Message-ID: <4d113cfd-4c22-780e-2a13-48ca0e2b28ab@foss.st.com> (raw)
In-Reply-To: <7ada410d-8d13-b29a-869c-3f5d032528bf@linaro.org>
Hi,
On 10/18/22 03:56, Krzysztof Kozlowski wrote:
> On 14/10/2022 11:23, Patrick Delaunay wrote:
>> Add a new compatible for stm32mp13 support.
>>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> ---
>>
>> Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
>> index 448a2678dc62..16f4cad2fa55 100644
>> --- a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
>> +++ b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
>> @@ -22,6 +22,7 @@ properties:
>> compatible:
>> enum:
>> - st,stm32f4-otp
>> + - st,stm32mp13-bsec
>> - st,stm32mp15-bsec
> According to usage in DTS (separate patch for some reason), the devices
> are compatible, so please describe them like that.
I push the separate patch "ARM: dts: stm32mp13: fix compatible for BSEC"
It is a advice of my colleagues: send an update of device tree
only when the binding modification is acked.
Sorry for disturbance, I can sent a V2 with the 2 patches.
The STM32MP15 and STM32MP13 don't use the same version of the BSEC device,
and the driver need to handle it.
In these 2 patches:
- [PATCH] dt-bindings: nvmem: add new stm32mp13 compatible for stm32-romem
- [PATCH] ARM: dts: stm32mp13: fix compatible for BSEC
I fix a error for BSEC node in the initial patch to support STM32MP13x,
the DTS "stm32mp131.dtsi" should not used/accepted with the a BSEC node
using
the compatible "st,stm32mp15-bsec" in commit 1da8779c0029 ("ARM: dts:
stm32: add STM32MP13 SoCs support")
It is a preliminary step to add support of STM32MP13x in STM32 ROMEM driver.
I don't indicate these patches as "Fixes:" to avoid a dts check issue
if only the DTS patch was backported.
Today it not blocking for STM32MP13x users because this SoC is not yet
available for customers
and it is only used internally on the ST Microelectronics board
STM32MP135F-DK.
Nobody (except STMicroelectronics) use this SoC STM32MP13x with the
current DTS / Linux version.
Moreover, by default, the STM32 ROMEM driver in not activated in any
defconfig,
I prepare a other patch to activated it by default in arm_multiv7_defconfig.
but I am waiting this DTS correction to avoid to probe the stm32 romen
driver with STM32MP15
configuration on STM32MP13x SoC.
I think is a good time to update this DTS error before the SoC availability,
agreed with SoC Maintainer, Alexandre Torgue, even if this patch breaks
surrent users
of STM32MP13x DTS (but it is only internals user STMicroelectronics
until now).
but perhaps you prefer a other solution ?
add Fixes in the DTS patch ?
+ Fixes: 1da8779c0029 ("ARM: dts: stm32: add STM32MP13 SoCs support")
or
bsec: efuse@5c005000 {
compatible = "st,stm32mp13-bsec", "st,stm32mp15-bsec";
sorry, I misses to share this context.
>
> Best regards,
> Krzysztof
Regards
Patrick
next prev parent reply other threads:[~2022-10-19 17:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-14 15:23 [PATCH] dt-bindings: nvmem: add new stm32mp13 compatible for stm32-romem Patrick Delaunay
2022-10-14 21:32 ` Rob Herring
2022-10-18 1:56 ` Krzysztof Kozlowski
2022-10-19 17:23 ` Patrick DELAUNAY [this message]
2022-10-20 12:48 ` Krzysztof Kozlowski
2022-10-27 15:10 ` Patrick DELAUNAY
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4d113cfd-4c22-780e-2a13-48ca0e2b28ab@foss.st.com \
--to=patrick.delaunay@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=devicetree@vger.kernel.org \
--cc=fabrice.gasnier@foss.st.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh+dt@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).