linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string
@ 2023-04-24 10:52 Baruch Siach
  2023-04-24 10:52 ` [PATCH v2 2/2] docs: zh_CN/devicetree: sync usage-model fix Baruch Siach
  2023-04-25  8:31 ` [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string Baruch Siach
  0 siblings, 2 replies; 9+ messages in thread
From: Baruch Siach @ 2023-04-24 10:52 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski
  Cc: Alex Shi, Yanteng Si, devicetree, linux-doc, Baruch Siach

Only arm,primecell is documented as compatible string for Primecell
peripherals. Current code agrees with that.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v2:

  Split the translation update to a separate patch
---
 Documentation/devicetree/usage-model.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/usage-model.rst b/Documentation/devicetree/usage-model.rst
index b6a287955ee5..0717426856b2 100644
--- a/Documentation/devicetree/usage-model.rst
+++ b/Documentation/devicetree/usage-model.rst
@@ -415,6 +415,6 @@ When using the DT, this creates problems for of_platform_populate()
 because it must decide whether to register each node as either a
 platform_device or an amba_device.  This unfortunately complicates the
 device creation model a little bit, but the solution turns out not to
-be too invasive.  If a node is compatible with "arm,amba-primecell", then
+be too invasive.  If a node is compatible with "arm,primecell", then
 of_platform_populate() will register it as an amba_device instead of a
 platform_device.
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 2/2] docs: zh_CN/devicetree: sync usage-model fix
  2023-04-24 10:52 [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string Baruch Siach
@ 2023-04-24 10:52 ` Baruch Siach
  2023-04-27 13:28   ` Yanteng Si
  2023-04-25  8:31 ` [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string Baruch Siach
  1 sibling, 1 reply; 9+ messages in thread
From: Baruch Siach @ 2023-04-24 10:52 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski
  Cc: Alex Shi, Yanteng Si, devicetree, linux-doc, Baruch Siach

Sync compatibly string fix from the English document.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v2:

  New separate patch for translation
---
 Documentation/translations/zh_CN/devicetree/usage-model.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/translations/zh_CN/devicetree/usage-model.rst b/Documentation/translations/zh_CN/devicetree/usage-model.rst
index c6aee82c7e6e..19ba4ae0cd81 100644
--- a/Documentation/translations/zh_CN/devicetree/usage-model.rst
+++ b/Documentation/translations/zh_CN/devicetree/usage-model.rst
@@ -325,6 +325,6 @@ Primecell设备。然而,棘手的一点是,AMBA总线上的所有设备并
 
 当使用DT时,这给of_platform_populate()带来了问题,因为它必须决定是否将
 每个节点注册为platform_device或amba_device。不幸的是,这使设备创建模型
-变得有点复杂,但解决方案原来并不是太具有侵略性。如果一个节点与“arm,amba-primecell”
+变得有点复杂,但解决方案原来并不是太具有侵略性。如果一个节点与“arm,primecell”
 兼容,那么of_platform_populate()将把它注册为amba_device而不是
 platform_device。
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string
  2023-04-24 10:52 [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string Baruch Siach
  2023-04-24 10:52 ` [PATCH v2 2/2] docs: zh_CN/devicetree: sync usage-model fix Baruch Siach
@ 2023-04-25  8:31 ` Baruch Siach
  2023-05-01  9:53   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 9+ messages in thread
From: Baruch Siach @ 2023-04-25  8:31 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski
  Cc: Alex Shi, Yanteng Si, devicetree, linux-doc

Hi Rob, Krzysztof,

On Mon, Apr 24 2023, Baruch Siach wrote:
> Only arm,primecell is documented as compatible string for Primecell
> peripherals. Current code agrees with that.

Once again my patches do not show up in patchwork. But they do show in
lore:

  https://lore.kernel.org/linux-devicetree/9e137548c4e76e0d8deef6d49460cb37897934ca.1682333574.git.baruch@tkos.co.il/

FYI,
baruch

> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2:
>
>   Split the translation update to a separate patch
> ---
>  Documentation/devicetree/usage-model.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/usage-model.rst b/Documentation/devicetree/usage-model.rst
> index b6a287955ee5..0717426856b2 100644
> --- a/Documentation/devicetree/usage-model.rst
> +++ b/Documentation/devicetree/usage-model.rst
> @@ -415,6 +415,6 @@ When using the DT, this creates problems for of_platform_populate()
>  because it must decide whether to register each node as either a
>  platform_device or an amba_device.  This unfortunately complicates the
>  device creation model a little bit, but the solution turns out not to
> -be too invasive.  If a node is compatible with "arm,amba-primecell", then
> +be too invasive.  If a node is compatible with "arm,primecell", then
>  of_platform_populate() will register it as an amba_device instead of a
>  platform_device.

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 2/2] docs: zh_CN/devicetree: sync usage-model fix
  2023-04-24 10:52 ` [PATCH v2 2/2] docs: zh_CN/devicetree: sync usage-model fix Baruch Siach
@ 2023-04-27 13:28   ` Yanteng Si
  0 siblings, 0 replies; 9+ messages in thread
From: Yanteng Si @ 2023-04-27 13:28 UTC (permalink / raw)
  To: Baruch Siach, Rob Herring, Krzysztof Kozlowski
  Cc: Alex Shi, devicetree, linux-doc


在 4/24/23 18:52, Baruch Siach 写道:
> Sync compatibly string fix from the English document.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Reviewed-by: Yanteng Si <siyanteng@loongson.cn>


Thanks,

Yanteng

> ---
> v2:
>
>    New separate patch for translation
> ---
>   Documentation/translations/zh_CN/devicetree/usage-model.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/translations/zh_CN/devicetree/usage-model.rst b/Documentation/translations/zh_CN/devicetree/usage-model.rst
> index c6aee82c7e6e..19ba4ae0cd81 100644
> --- a/Documentation/translations/zh_CN/devicetree/usage-model.rst
> +++ b/Documentation/translations/zh_CN/devicetree/usage-model.rst
> @@ -325,6 +325,6 @@ Primecell设备。然而,棘手的一点是,AMBA总线上的所有设备并
>   
>   当使用DT时,这给of_platform_populate()带来了问题,因为它必须决定是否将
>   每个节点注册为platform_device或amba_device。不幸的是,这使设备创建模型
> -变得有点复杂,但解决方案原来并不是太具有侵略性。如果一个节点与“arm,amba-primecell”
> +变得有点复杂,但解决方案原来并不是太具有侵略性。如果一个节点与“arm,primecell”
>   兼容,那么of_platform_populate()将把它注册为amba_device而不是
>   platform_device。


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string
  2023-04-25  8:31 ` [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string Baruch Siach
@ 2023-05-01  9:53   ` Krzysztof Kozlowski
  2023-05-01 10:01     ` Baruch Siach
  0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-01  9:53 UTC (permalink / raw)
  To: Baruch Siach, Rob Herring, Krzysztof Kozlowski
  Cc: Alex Shi, Yanteng Si, devicetree, linux-doc

On 25/04/2023 10:31, Baruch Siach wrote:
> Hi Rob, Krzysztof,
> 
> On Mon, Apr 24 2023, Baruch Siach wrote:
>> Only arm,primecell is documented as compatible string for Primecell
>> peripherals. Current code agrees with that.
> 
> Once again my patches do not show up in patchwork. But they do show in
> lore:
> 
>   https://lore.kernel.org/linux-devicetree/9e137548c4e76e0d8deef6d49460cb37897934ca.1682333574.git.baruch@tkos.co.il/
> 

You used subject prefix which targets Doc subsystem, but did not Cc Doc
maintainers (get_maintainers do not print them). If you target Rob's
Patchwork, probably you need to fix subject prefix. There is no "dt" prefix.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string
  2023-05-01  9:53   ` Krzysztof Kozlowski
@ 2023-05-01 10:01     ` Baruch Siach
  2023-05-01 12:09       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 9+ messages in thread
From: Baruch Siach @ 2023-05-01 10:01 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Krzysztof Kozlowski, Alex Shi, Yanteng Si,
	devicetree, linux-doc

Hi Krzysztof,

On Mon, May 01 2023, Krzysztof Kozlowski wrote:
> On 25/04/2023 10:31, Baruch Siach wrote:
>> On Mon, Apr 24 2023, Baruch Siach wrote:
>>> Only arm,primecell is documented as compatible string for Primecell
>>> peripherals. Current code agrees with that.
>> 
>> Once again my patches do not show up in patchwork. But they do show in
>> lore:
>> 
>>   https://lore.kernel.org/linux-devicetree/9e137548c4e76e0d8deef6d49460cb37897934ca.1682333574.git.baruch@tkos.co.il/
>
> You used subject prefix which targets Doc subsystem, but did not Cc Doc
> maintainers (get_maintainers do not print them). If you target Rob's
> Patchwork, probably you need to fix subject prefix. There is no "dt" prefix.

Thanks for the tip.

All previous commits touching Documentation/devicetree/usage-model.rst
use 'docs' for subject prefix, including one from Rob. I followed this
example.

As for patchwork, I believe you refer to this one

  http://patchwork.ozlabs.org/project/devicetree-bindings/list/

Not all patches on the list use dt-bindings for subject prefix. For
example

  http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230317053415.2254616-2-frowand.list@gmail.com/

The DT submitting-patches document
(Documentation/devicetree/bindings/submitting-patches.rst) mentions the
dt-bindings subject prefix rule. But this patch does not touch binding
documentation.

Is there anything I should do differently to get this patch applied?

Thanks,
baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string
  2023-05-01 10:01     ` Baruch Siach
@ 2023-05-01 12:09       ` Krzysztof Kozlowski
  2023-05-09  8:36         ` Baruch Siach
  0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-01 12:09 UTC (permalink / raw)
  To: Baruch Siach
  Cc: Rob Herring, Krzysztof Kozlowski, Alex Shi, Yanteng Si,
	devicetree, linux-doc

On 01/05/2023 12:01, Baruch Siach wrote:
> Hi Krzysztof,
> 
> On Mon, May 01 2023, Krzysztof Kozlowski wrote:
>> On 25/04/2023 10:31, Baruch Siach wrote:
>>> On Mon, Apr 24 2023, Baruch Siach wrote:
>>>> Only arm,primecell is documented as compatible string for Primecell
>>>> peripherals. Current code agrees with that.
>>>
>>> Once again my patches do not show up in patchwork. But they do show in
>>> lore:
>>>
>>>   https://lore.kernel.org/linux-devicetree/9e137548c4e76e0d8deef6d49460cb37897934ca.1682333574.git.baruch@tkos.co.il/
>>
>> You used subject prefix which targets Doc subsystem, but did not Cc Doc
>> maintainers (get_maintainers do not print them). If you target Rob's
>> Patchwork, probably you need to fix subject prefix. There is no "dt" prefix.
> 
> Thanks for the tip.
> 
> All previous commits touching Documentation/devicetree/usage-model.rst
> use 'docs' for subject prefix, including one from Rob. I followed this
> example.

Hm, I see Rob and others indeed used "dt:". I guess Rob's filters might
need some updates?


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string
  2023-05-01 12:09       ` Krzysztof Kozlowski
@ 2023-05-09  8:36         ` Baruch Siach
  2023-06-08 13:31           ` Rob Herring
  0 siblings, 1 reply; 9+ messages in thread
From: Baruch Siach @ 2023-05-09  8:36 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alex Shi,
	Yanteng Si, devicetree, linux-doc

Hi Krzysztof,

On Mon, May 01 2023, Krzysztof Kozlowski wrote:
> On 01/05/2023 12:01, Baruch Siach wrote:
>> On Mon, May 01 2023, Krzysztof Kozlowski wrote:
>>> On 25/04/2023 10:31, Baruch Siach wrote:
>>>> On Mon, Apr 24 2023, Baruch Siach wrote:
>>>>> Only arm,primecell is documented as compatible string for Primecell
>>>>> peripherals. Current code agrees with that.
>>>>
>>>> Once again my patches do not show up in patchwork. But they do show in
>>>> lore:
>>>>
>>>>   https://lore.kernel.org/linux-devicetree/9e137548c4e76e0d8deef6d49460cb37897934ca.1682333574.git.baruch@tkos.co.il/
>>>
>>> You used subject prefix which targets Doc subsystem, but did not Cc Doc
>>> maintainers (get_maintainers do not print them). If you target Rob's
>>> Patchwork, probably you need to fix subject prefix. There is no "dt" prefix.
>> 
>> Thanks for the tip.
>> 
>> All previous commits touching Documentation/devicetree/usage-model.rst
>> use 'docs' for subject prefix, including one from Rob. I followed this
>> example.
>
> Hm, I see Rob and others indeed used "dt:". I guess Rob's filters might
> need some updates?

With the merge window behind us, is there anything more I need to do to
get these trivial patches applied?

Thanks,
baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string
  2023-05-09  8:36         ` Baruch Siach
@ 2023-06-08 13:31           ` Rob Herring
  0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2023-06-08 13:31 UTC (permalink / raw)
  To: Baruch Siach
  Cc: Krzysztof Kozlowski, Krzysztof Kozlowski, Conor Dooley, Alex Shi,
	Yanteng Si, devicetree, linux-doc

On Tue, May 09, 2023 at 11:36:18AM +0300, Baruch Siach wrote:
> Hi Krzysztof,
> 
> On Mon, May 01 2023, Krzysztof Kozlowski wrote:
> > On 01/05/2023 12:01, Baruch Siach wrote:
> >> On Mon, May 01 2023, Krzysztof Kozlowski wrote:
> >>> On 25/04/2023 10:31, Baruch Siach wrote:
> >>>> On Mon, Apr 24 2023, Baruch Siach wrote:
> >>>>> Only arm,primecell is documented as compatible string for Primecell
> >>>>> peripherals. Current code agrees with that.
> >>>>
> >>>> Once again my patches do not show up in patchwork. But they do show in
> >>>> lore:
> >>>>
> >>>>   https://lore.kernel.org/linux-devicetree/9e137548c4e76e0d8deef6d49460cb37897934ca.1682333574.git.baruch@tkos.co.il/
> >>>
> >>> You used subject prefix which targets Doc subsystem, but did not Cc Doc
> >>> maintainers (get_maintainers do not print them). If you target Rob's
> >>> Patchwork, probably you need to fix subject prefix. There is no "dt" prefix.
> >> 
> >> Thanks for the tip.
> >> 
> >> All previous commits touching Documentation/devicetree/usage-model.rst
> >> use 'docs' for subject prefix, including one from Rob. I followed this
> >> example.
> >
> > Hm, I see Rob and others indeed used "dt:". I guess Rob's filters might
> > need some updates?
> 
> With the merge window behind us, is there anything more I need to do to
> get these trivial patches applied?

Sorry about this. There's a few things that PW doesn't capture and this 
is one of them. And then I've been out the last month.

Both applied now.

Rob

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-08 13:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 10:52 [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string Baruch Siach
2023-04-24 10:52 ` [PATCH v2 2/2] docs: zh_CN/devicetree: sync usage-model fix Baruch Siach
2023-04-27 13:28   ` Yanteng Si
2023-04-25  8:31 ` [PATCH v2 1/2] docs: dt: fix documented Primecell compatible string Baruch Siach
2023-05-01  9:53   ` Krzysztof Kozlowski
2023-05-01 10:01     ` Baruch Siach
2023-05-01 12:09       ` Krzysztof Kozlowski
2023-05-09  8:36         ` Baruch Siach
2023-06-08 13:31           ` Rob Herring

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).