a94c02e3efb7da3e834ca8698a175525c376270d
[openwrt/openwrt.git] /
1 From 80f3e37d5e734bbfe891592bb669ceb5e8b314dc Mon Sep 17 00:00:00 2001
2 From: Jonas Jelonek <jelonek.jonas@gmail.com>
3 Date: Sat, 27 Sep 2025 10:19:24 +0000
4 Subject: [PATCH] dt-bindings: i2c: realtek,rtl9301-i2c: fix wording and typos
5
6 Fix wording of binding description to use plural because there is not
7 only a single RTL9300 SoC. RTL9300 describes a whole family of Realtek
8 SoCs.
9
10 Add missing word 'of' in description of reg property.
11
12 Change 'SDA pin' to 'SDA line number' because the property must contain
13 the SDA (channel) number ranging from 0-7 instead of a real pin number.
14
15 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
16 Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
17 Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
18 Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # On RTL9302C based board
19 Tested-by: Markus Stockhausen <markus.stockhausen@gmx.de>
20 Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
21 Link: https://lore.kernel.org/r/20250927101931.71575-3-jelonek.jonas@gmail.com
22
23 diff --git a/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml b/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml
24 index 69ac5db8b914..274e2ab8b612 100644
25 --- a/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml
26 +++ b/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml
27 @@ -10,7 +10,7 @@ maintainers:
28 - Chris Packham <chris.packham@alliedtelesis.co.nz>
29
30 description:
31 - The RTL9300 SoC has two I2C controllers. Each of these has an SCL line (which
32 + RTL9300 SoCs have two I2C controllers. Each of these has an SCL line (which
33 if not-used for SCL can be a GPIO). There are 8 common SDA lines that can be
34 assigned to either I2C controller.
35
36 @@ -27,7 +27,7 @@ properties:
37
38 reg:
39 items:
40 - - description: Register offset and size this I2C controller.
41 + - description: Register offset and size of this I2C controller.
42
43 "#address-cells":
44 const: 1
45 @@ -42,7 +42,7 @@ patternProperties:
46
47 properties:
48 reg:
49 - description: The SDA pin associated with the I2C bus.
50 + description: The SDA line number associated with the I2C bus.
51 maxItems: 1
52
53 required:
54 --
55 2.48.1
56