mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Patrice CHOTARD <patrice.chotard@foss.st.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Christophe Roullier <christophe.roullier@foss.st.com>,
	Srinivas Kandagatla <srini@kernel.org>,
	Simeon Marijon <simeon.marijon@foss.st.com>,
	<linux-stm32@st-md-mailman.stormreply.com>,
	<devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 2/3] dt-bindings: arm: stm32: allow TAMP nvram child node for syscon
Date: Thu, 5 Nov 2026 11:31:07 +0100	[thread overview]
Message-ID: <6103ddea-9ef4-4d02-b41e-ed0b4701250e@foss.st.com> (raw)
In-Reply-To: <b81b8404-572b-4ea4-91ab-6e201f0352b9@kernel.org>



On 11/5/26 09:17, Krzysztof Kozlowski wrote:
> On 04/11/2026 14:43, Patrice CHOTARD wrote:
>>
>>
>> On 10/17/26 19:52, Krzysztof Kozlowski wrote:
>>> On Fri, Oct 16, 2026 at 05:26:04PM +0200, Patrice Chotard wrote:
>>>> The STM32 TAMP node (compatible "st,stm32-tamp", "syscon", "simple-mfd")
>>>> exposes its backup registers through an nvram child node described by
>>>> nvmem/st,stm32-tamp-nvram.yaml. That requires the TAMP node to carry
>>>> "#address-cells", "#size-cells", "ranges" and an "nvram@..." child.
>>>>
>>>> st,stm32-syscon.yaml uses "additionalProperties: false" and only allowed
>>>> reg/clocks/#clock-cells, so wiring the nvram provider into the DTSI made
>>>> "make dtbs_check" fail on every STM32MP TAMP node:
>>>>
>>>>   tamp@5c00a000 (st,stm32-tamp): '#address-cells', '#size-cells',
>>>>   'nvram@5c00a100', 'ranges' do not match any of the regexes:
>>>>   '^pinctrl-[0-9]+$'
>>>
>>> There are no children of tamp@5c00a000 in
>>> arch/arm/boot/dts/st/stm32mp151.dtsi. How is it possible to reproduce
>>> this warning?
>>>
>>> Are you using some other patches bugs as a reason of change in bindings?
>>
>> Hi Krzysztof
>>
>> yes, in this patch [1] arch/arm/boot/dts/st/stm32mp151.dtsi is updated
>> that's why bindings need this change.
> 
> You cannot use future code as a bug being fixed.

Ok, so i will merge this series with https://patchwork.kernel.org/series/1176665/

Thanks
Patrice

> 
> 
> Best regards,
> Krzysztof


  reply	other threads:[~2026-11-05 10:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-16 15:26 [PATCH v3 0/3] Add STM32 TAMP nvram driver support Patrice Chotard
2026-10-16 15:26 ` [PATCH v3 1/3] dt-bindings: nvmem: add STM32MPX TAMP backup registers Patrice Chotard
2026-10-16 15:26 ` [PATCH v3 2/3] dt-bindings: arm: stm32: allow TAMP nvram child node for syscon Patrice Chotard
2026-10-17 17:52   ` Krzysztof Kozlowski
2026-11-04 13:43     ` Patrice CHOTARD
2026-11-05  8:17       ` Krzysztof Kozlowski
2026-11-05 10:31         ` Patrice CHOTARD [this message]
2026-11-05 11:38           ` [Linux-stm32] " Patrice CHOTARD
2026-10-16 15:26 ` [PATCH v3 3/3] nvmem: stm32: add TAMP nvmem driver Patrice Chotard
2026-10-17 17:57   ` Krzysztof Kozlowski
2026-11-04 13:43     ` Patrice CHOTARD

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=6103ddea-9ef4-4d02-b41e-ed0b4701250e@foss.st.com \
    --to=patrice.chotard@foss.st.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=christophe.roullier@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.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@kernel.org \
    --cc=simeon.marijon@foss.st.com \
    --cc=srini@kernel.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

all inboxes | Powered by JetHome®