* [PATCH v2 0/2] Fix r9a09g011 specific I2C compatible string @ 2022-11-07 16:50 Fabrizio Castro 2022-11-07 16:50 ` [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string Fabrizio Castro 2022-11-07 16:50 ` [PATCH v2 2/2] arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings Fabrizio Castro 0 siblings, 2 replies; 8+ messages in thread From: Fabrizio Castro @ 2022-11-07 16:50 UTC (permalink / raw) To: Rob Herring, Krzysztof Kozlowski, Geert Uytterhoeven Cc: Fabrizio Castro, Magnus Damm, Biju Das, Wolfram Sang, devicetree, linux-kernel, linux-renesas-soc, Chris Paterson, Biju Das, Laurent Pinchart, Jacopo Mondi Dear All, The preferred form for Renesas' compatible strings is: "<vendor>,<family>-<module>" Somehow the compatible string for the r9a09g011 I2C IP was upstreamed as renesas,i2c-r9a09g011 instead of renesas,r9a09g011-i2c, which is really confusing, especially considering the generic fallback is renesas,rzv2m-i2c. Since it's early days for r9a09g011.dtsi, and compatible renesas,i2c-r9a09g011 isn't being actively used at the moment, I think it's safe to change to make compatible strings less confusing. v2 - Improved changelogs Thanks, Fab Fabrizio Castro (2): dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml | 4 ++-- arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.34.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string 2022-11-07 16:50 [PATCH v2 0/2] Fix r9a09g011 specific I2C compatible string Fabrizio Castro @ 2022-11-07 16:50 ` Fabrizio Castro 2022-11-07 18:39 ` Krzysztof Kozlowski 2022-11-07 16:50 ` [PATCH v2 2/2] arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings Fabrizio Castro 1 sibling, 1 reply; 8+ messages in thread From: Fabrizio Castro @ 2022-11-07 16:50 UTC (permalink / raw) To: Rob Herring, Krzysztof Kozlowski, Geert Uytterhoeven Cc: Fabrizio Castro, Magnus Damm, Biju Das, Wolfram Sang, devicetree, linux-kernel, linux-renesas-soc, Chris Paterson, Biju Das, Laurent Pinchart, Jacopo Mondi The preferred form for Renesas' compatible strings is: "<vendor>,<family>-<module>" Somehow the compatible string for the r9a09g011 I2C IP was upstreamed as renesas,i2c-r9a09g011 instead of renesas,r9a09g011-i2c, which is really confusing, especially considering the generic fallback is renesas,rzv2m-i2c. The first user of renesas,i2c-r9a09g011 in the kernel is not yet in a kernel release, it will be in v6.1, therefore it can still be fixed in v6.1. Even if we don't fix it before v6.2, I don't think there is any harm in making such a change. s/renesas,i2c-r9a09g011/renesas,r9a09g011-i2c/g for consistency. Fixes: ba7a4d15e2c4 ("dt-bindings: i2c: Document RZ/V2M I2C controller") Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> --- v2 - Improved changelog, as suggested by Geert and Krzysztof Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml b/Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml index c46378efc123..92e899905ef8 100644 --- a/Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml +++ b/Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml @@ -16,7 +16,7 @@ properties: compatible: items: - enum: - - renesas,i2c-r9a09g011 # RZ/V2M + - renesas,r9a09g011-i2c # RZ/V2M - const: renesas,rzv2m-i2c reg: @@ -66,7 +66,7 @@ examples: #include <dt-bindings/interrupt-controller/arm-gic.h> i2c0: i2c@a4030000 { - compatible = "renesas,i2c-r9a09g011", "renesas,rzv2m-i2c"; + compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; reg = <0xa4030000 0x80>; interrupts = <GIC_SPI 232 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>; -- 2.34.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string 2022-11-07 16:50 ` [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string Fabrizio Castro @ 2022-11-07 18:39 ` Krzysztof Kozlowski 2023-01-16 16:16 ` Fabrizio Castro 0 siblings, 1 reply; 8+ messages in thread From: Krzysztof Kozlowski @ 2022-11-07 18:39 UTC (permalink / raw) To: Fabrizio Castro, Rob Herring, Krzysztof Kozlowski, Geert Uytterhoeven Cc: Magnus Damm, Biju Das, Wolfram Sang, devicetree, linux-kernel, linux-renesas-soc, Chris Paterson, Biju Das, Laurent Pinchart, Jacopo Mondi On 07/11/2022 17:50, Fabrizio Castro wrote: > The preferred form for Renesas' compatible strings is: > "<vendor>,<family>-<module>" > > Somehow the compatible string for the r9a09g011 I2C IP was upstreamed > as renesas,i2c-r9a09g011 instead of renesas,r9a09g011-i2c, which > is really confusing, especially considering the generic fallback > is renesas,rzv2m-i2c. > > The first user of renesas,i2c-r9a09g011 in the kernel is not yet in > a kernel release, it will be in v6.1, therefore it can still be > fixed in v6.1. > Even if we don't fix it before v6.2, I don't think there is any > harm in making such a change. > > s/renesas,i2c-r9a09g011/renesas,r9a09g011-i2c/g for consistency. > > Fixes: ba7a4d15e2c4 ("dt-bindings: i2c: Document RZ/V2M I2C controller") > Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string 2022-11-07 18:39 ` Krzysztof Kozlowski @ 2023-01-16 16:16 ` Fabrizio Castro 2023-01-16 21:41 ` Wolfram Sang 0 siblings, 1 reply; 8+ messages in thread From: Fabrizio Castro @ 2023-01-16 16:16 UTC (permalink / raw) To: Geert Uytterhoeven, Wolfram Sang Cc: Magnus Damm, Biju Das, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Paterson, Biju Das, Laurent Pinchart, Jacopo Mondi, Krzysztof Kozlowski, Krzysztof Kozlowski, Rob Herring Dear All, This patch has been reviewed by both Geert Uytterhoeven and Krzysztof Kozlowski. The corresponding device tree patch has already been taken, I was hoping this patch could be applied to v6.3? Thanks, Fab > > On 07/11/2022 17:50, Fabrizio Castro wrote: > > The preferred form for Renesas' compatible strings is: > > "<vendor>,<family>-<module>" > > > > Somehow the compatible string for the r9a09g011 I2C IP was upstreamed > > as renesas,i2c-r9a09g011 instead of renesas,r9a09g011-i2c, which > > is really confusing, especially considering the generic fallback > > is renesas,rzv2m-i2c. > > > > The first user of renesas,i2c-r9a09g011 in the kernel is not yet in > > a kernel release, it will be in v6.1, therefore it can still be > > fixed in v6.1. > > Even if we don't fix it before v6.2, I don't think there is any > > harm in making such a change. > > > > s/renesas,i2c-r9a09g011/renesas,r9a09g011-i2c/g for consistency. > > > > Fixes: ba7a4d15e2c4 ("dt-bindings: i2c: Document RZ/V2M I2C controller") > > Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Best regards, > Krzysztof ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string 2023-01-16 16:16 ` Fabrizio Castro @ 2023-01-16 21:41 ` Wolfram Sang 2023-01-17 17:48 ` Fabrizio Castro 0 siblings, 1 reply; 8+ messages in thread From: Wolfram Sang @ 2023-01-16 21:41 UTC (permalink / raw) To: Fabrizio Castro Cc: Geert Uytterhoeven, Magnus Damm, Biju Das, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Paterson, Biju Das, Laurent Pinchart, Jacopo Mondi, Krzysztof Kozlowski, Krzysztof Kozlowski, Rob Herring [-- Attachment #1: Type: text/plain, Size: 293 bytes --] > This patch has been reviewed by both Geert Uytterhoeven and Krzysztof > Kozlowski. The corresponding device tree patch has already been > taken, I was hoping this patch could be applied to v6.3? linux-i2c was not on CC, so the patch was not in I2C patchwork. Thus, it was not on my list. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string 2023-01-16 21:41 ` Wolfram Sang @ 2023-01-17 17:48 ` Fabrizio Castro 0 siblings, 0 replies; 8+ messages in thread From: Fabrizio Castro @ 2023-01-17 17:48 UTC (permalink / raw) To: Wolfram Sang Cc: Geert Uytterhoeven, Magnus Damm, Biju Das, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Paterson, Biju Das, Laurent Pinchart, Jacopo Mondi, Krzysztof Kozlowski, Krzysztof Kozlowski, Rob Herring Hi Wolfram, Thanks for your reply. > > > > This patch has been reviewed by both Geert Uytterhoeven and > Krzysztof > > Kozlowski. The corresponding device tree patch has already been > > taken, I was hoping this patch could be applied to v6.3? > > linux-i2c was not on CC, so the patch was not in I2C patchwork. Thus, > it > was not on my list. Apologies for that, I'll resend it with linux-i2c in copy this time. Thanks, Fab ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings 2022-11-07 16:50 [PATCH v2 0/2] Fix r9a09g011 specific I2C compatible string Fabrizio Castro 2022-11-07 16:50 ` [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string Fabrizio Castro @ 2022-11-07 16:50 ` Fabrizio Castro 2022-11-08 9:06 ` Geert Uytterhoeven 1 sibling, 1 reply; 8+ messages in thread From: Fabrizio Castro @ 2022-11-07 16:50 UTC (permalink / raw) To: Rob Herring, Krzysztof Kozlowski, Geert Uytterhoeven Cc: Fabrizio Castro, Magnus Damm, Biju Das, Wolfram Sang, devicetree, linux-kernel, linux-renesas-soc, Chris Paterson, Biju Das, Laurent Pinchart, Jacopo Mondi The preferred form for Renesas' compatible strings is: "<vendor>,<family>-<module>" Somehow the compatible string for the r9a09g011 I2C IP was upstreamed as renesas,i2c-r9a09g011 instead of renesas,r9a09g011-i2c, which is really confusing, especially considering the generic fallback is renesas,rzv2m-i2c. The first user of renesas,i2c-r9a09g011 in the kernel is not yet in a kernel release, it will be in v6.1, therefore it can still be fixed in v6.1. Even if we don't fix it before v6.2, I don't think there is any harm in making such a change. s/renesas,i2c-r9a09g011/renesas,r9a09g011-i2c/g for consistency. Fixes: 54ac6794df9d ("arm64: dts: renesas: r9a09g011: Add i2c nodes") Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> --- v2 - Improved changelog, as suggested by Geert and Krzysztof arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi index 1948d2e6bcae..2ccd48ee9880 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi @@ -126,7 +126,7 @@ cpg: clock-controller@a3500000 { i2c0: i2c@a4030000 { #address-cells = <1>; #size-cells = <0>; - compatible = "renesas,i2c-r9a09g011", "renesas,rzv2m-i2c"; + compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; reg = <0 0xa4030000 0 0x80>; interrupts = <GIC_SPI 232 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>; @@ -140,7 +140,7 @@ i2c0: i2c@a4030000 { i2c2: i2c@a4030100 { #address-cells = <1>; #size-cells = <0>; - compatible = "renesas,i2c-r9a09g011", "renesas,rzv2m-i2c"; + compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; reg = <0 0xa4030100 0 0x80>; interrupts = <GIC_SPI 234 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 238 IRQ_TYPE_EDGE_RISING>; -- 2.34.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings 2022-11-07 16:50 ` [PATCH v2 2/2] arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings Fabrizio Castro @ 2022-11-08 9:06 ` Geert Uytterhoeven 0 siblings, 0 replies; 8+ messages in thread From: Geert Uytterhoeven @ 2022-11-08 9:06 UTC (permalink / raw) To: Fabrizio Castro Cc: Rob Herring, Krzysztof Kozlowski, Magnus Damm, Biju Das, Wolfram Sang, devicetree, linux-kernel, linux-renesas-soc, Chris Paterson, Biju Das, Laurent Pinchart, Jacopo Mondi On Mon, Nov 7, 2022 at 5:50 PM Fabrizio Castro <fabrizio.castro.jz@renesas.com> wrote: > The preferred form for Renesas' compatible strings is: > "<vendor>,<family>-<module>" > > Somehow the compatible string for the r9a09g011 I2C IP was upstreamed > as renesas,i2c-r9a09g011 instead of renesas,r9a09g011-i2c, which > is really confusing, especially considering the generic fallback > is renesas,rzv2m-i2c. > > The first user of renesas,i2c-r9a09g011 in the kernel is not yet in > a kernel release, it will be in v6.1, therefore it can still be > fixed in v6.1. > Even if we don't fix it before v6.2, I don't think there is any > harm in making such a change. > > s/renesas,i2c-r9a09g011/renesas,r9a09g011-i2c/g for consistency. > > Fixes: 54ac6794df9d ("arm64: dts: renesas: r9a09g011: Add i2c nodes") > Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> > --- > > v2 - Improved changelog, as suggested by Geert and Krzysztof Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue in renesas-devel for v6.2. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-01-17 18:06 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-11-07 16:50 [PATCH v2 0/2] Fix r9a09g011 specific I2C compatible string Fabrizio Castro 2022-11-07 16:50 ` [PATCH v2 1/2] dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string Fabrizio Castro 2022-11-07 18:39 ` Krzysztof Kozlowski 2023-01-16 16:16 ` Fabrizio Castro 2023-01-16 21:41 ` Wolfram Sang 2023-01-17 17:48 ` Fabrizio Castro 2022-11-07 16:50 ` [PATCH v2 2/2] arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings Fabrizio Castro 2022-11-08 9:06 ` Geert Uytterhoeven
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).