Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string

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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>

authored by

Fabrizio Castro and committed by
Wolfram Sang
0a4eecf9 78a4471f

+2 -2
+2 -2
Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml
··· 16 16 compatible: 17 17 items: 18 18 - enum: 19 - - renesas,i2c-r9a09g011 # RZ/V2M 19 + - renesas,r9a09g011-i2c # RZ/V2M 20 20 - const: renesas,rzv2m-i2c 21 21 22 22 reg: ··· 66 66 #include <dt-bindings/interrupt-controller/arm-gic.h> 67 67 68 68 i2c0: i2c@a4030000 { 69 - compatible = "renesas,i2c-r9a09g011", "renesas,rzv2m-i2c"; 69 + compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; 70 70 reg = <0xa4030000 0x80>; 71 71 interrupts = <GIC_SPI 232 IRQ_TYPE_EDGE_RISING>, 72 72 <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>;