* [PATCH] dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem
@ 2024-05-27 8:53 Michal Simek
2024-06-03 14:52 ` Rob Herring
0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2024-05-27 8:53 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Kalyani Akula, Krzysztof Kozlowski,
Praveen Teja Kundanala, Rob Herring, Srinivas Kandagatla,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Based on commit d8764d347bd7 ("dt-bindings: firmware: xilinx: Describe
soc-nvmem subnode") soc-nvmem should be used instead of simple nvmem that's
why also update example to have it described correctly everywhere.
Fixes: a0cfd5e99782 ("dt-bindings: nvmem: Convert xlnx,zynqmp-nvmem.txt to yaml")
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
index 917c40d5c382..1cbe44ab23b1 100644
--- a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
+++ b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
@@ -28,7 +28,7 @@ unevaluatedProperties: false
examples:
- |
- nvmem {
+ soc-nvmem {
compatible = "xlnx,zynqmp-nvmem-fw";
nvmem-layout {
compatible = "fixed-layout";
--
2.40.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem
2024-05-27 8:53 [PATCH] dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem Michal Simek
@ 2024-06-03 14:52 ` Rob Herring
2024-06-03 15:12 ` Michal Simek
0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2024-06-03 14:52 UTC (permalink / raw)
To: Michal Simek
Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
Kalyani Akula, Krzysztof Kozlowski, Praveen Teja Kundanala,
Srinivas Kandagatla,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
On Mon, May 27, 2024 at 10:53:50AM +0200, Michal Simek wrote:
> Based on commit d8764d347bd7 ("dt-bindings: firmware: xilinx: Describe
> soc-nvmem subnode") soc-nvmem should be used instead of simple nvmem that's
> why also update example to have it described correctly everywhere.
>
> Fixes: a0cfd5e99782 ("dt-bindings: nvmem: Convert xlnx,zynqmp-nvmem.txt to yaml")
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
> index 917c40d5c382..1cbe44ab23b1 100644
> --- a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
> @@ -28,7 +28,7 @@ unevaluatedProperties: false
>
> examples:
> - |
> - nvmem {
> + soc-nvmem {
This doesn't seem like an improvement. Is there another nvmem node at
this level? I would fix the binding instead if not.
> compatible = "xlnx,zynqmp-nvmem-fw";
> nvmem-layout {
> compatible = "fixed-layout";
> --
> 2.40.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem
2024-06-03 14:52 ` Rob Herring
@ 2024-06-03 15:12 ` Michal Simek
2024-06-17 6:36 ` Michal Simek
0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2024-06-03 15:12 UTC (permalink / raw)
To: Rob Herring
Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
Kalyani Akula, Krzysztof Kozlowski, Praveen Teja Kundanala,
Srinivas Kandagatla,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
On 6/3/24 16:52, Rob Herring wrote:
> On Mon, May 27, 2024 at 10:53:50AM +0200, Michal Simek wrote:
>> Based on commit d8764d347bd7 ("dt-bindings: firmware: xilinx: Describe
>> soc-nvmem subnode") soc-nvmem should be used instead of simple nvmem that's
>> why also update example to have it described correctly everywhere.
>>
>> Fixes: a0cfd5e99782 ("dt-bindings: nvmem: Convert xlnx,zynqmp-nvmem.txt to yaml")
>> Signed-off-by: Michal Simek <michal.simek@amd.com>
>> ---
>>
>> Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
>> index 917c40d5c382..1cbe44ab23b1 100644
>> --- a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
>> +++ b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
>> @@ -28,7 +28,7 @@ unevaluatedProperties: false
>>
>> examples:
>> - |
>> - nvmem {
>> + soc-nvmem {
>
> This doesn't seem like an improvement. Is there another nvmem node at
> this level? I would fix the binding instead if not.
That name came from discussion with Conor. None suggested to fix dt-schema
that's why soc-nvmem has been propagated to DT already and this patch is just
fixing last occurrence.
commit d8764d347bd737efec00fae81133ffad0ae084bb (tag: zynqmp-dt-for-6.9)
Author: Michal Simek <michal.simek@amd.com>
AuthorDate: Wed Jan 31 10:17:28 2024 +0100
dt-bindings: firmware: xilinx: Describe soc-nvmem subnode
Describe soc-nvmem subnode as the part of firmware node. The name can't be
pure nvmem because dt-schema already defines it as array property that's
why different name should be used.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link:
https://lore.kernel.org/r/24fe6adbf2424360618e8f5ca541ebfd8bb0723e.1706692641.git.michal.simek@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Thanks,
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem
2024-06-03 15:12 ` Michal Simek
@ 2024-06-17 6:36 ` Michal Simek
0 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2024-06-17 6:36 UTC (permalink / raw)
To: Rob Herring
Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
Kalyani Akula, Krzysztof Kozlowski, Praveen Teja Kundanala,
Srinivas Kandagatla,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Hi Rob,
On 6/3/24 17:12, Michal Simek wrote:
>
>
> On 6/3/24 16:52, Rob Herring wrote:
>> On Mon, May 27, 2024 at 10:53:50AM +0200, Michal Simek wrote:
>>> Based on commit d8764d347bd7 ("dt-bindings: firmware: xilinx: Describe
>>> soc-nvmem subnode") soc-nvmem should be used instead of simple nvmem that's
>>> why also update example to have it described correctly everywhere.
>>>
>>> Fixes: a0cfd5e99782 ("dt-bindings: nvmem: Convert xlnx,zynqmp-nvmem.txt to
>>> yaml")
>>> Signed-off-by: Michal Simek <michal.simek@amd.com>
>>> ---
>>>
>>> Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
>>> b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
>>> index 917c40d5c382..1cbe44ab23b1 100644
>>> --- a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
>>> +++ b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.yaml
>>> @@ -28,7 +28,7 @@ unevaluatedProperties: false
>>> examples:
>>> - |
>>> - nvmem {
>>> + soc-nvmem {
>>
>> This doesn't seem like an improvement. Is there another nvmem node at
>> this level? I would fix the binding instead if not.
>
> That name came from discussion with Conor. None suggested to fix dt-schema
> that's why soc-nvmem has been propagated to DT already and this patch is just
> fixing last occurrence.
>
> commit d8764d347bd737efec00fae81133ffad0ae084bb (tag: zynqmp-dt-for-6.9)
> Author: Michal Simek <michal.simek@amd.com>
> AuthorDate: Wed Jan 31 10:17:28 2024 +0100
>
> dt-bindings: firmware: xilinx: Describe soc-nvmem subnode
>
> Describe soc-nvmem subnode as the part of firmware node. The name can't be
> pure nvmem because dt-schema already defines it as array property that's
> why different name should be used.
>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> Link:
> https://lore.kernel.org/r/24fe6adbf2424360618e8f5ca541ebfd8bb0723e.1706692641.git.michal.simek@amd.com
> Signed-off-by: Michal Simek <michal.simek@amd.com>
Any comment on this one?
Thanks,
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-17 6:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27 8:53 [PATCH] dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem Michal Simek
2024-06-03 14:52 ` Rob Herring
2024-06-03 15:12 ` Michal Simek
2024-06-17 6:36 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox