Skip to content

Commit 0395a5e

Browse files
jonasjelonekAndi Shyti
authored andcommitted
dt-bindings: i2c: realtek,rtl9301-i2c: fix wording and typos
Fix wording of binding description to use plural because there is not only a single RTL9300 SoC. RTL9300 describes a whole family of Realtek SoCs. Add missing word 'of' in description of reg property. Change 'SDA pin' to 'SDA line number' because the property must contain the SDA (channel) number ranging from 0-7 instead of a real pin number. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # On RTL9302C based board Tested-by: Markus Stockhausen <markus.stockhausen@gmx.de> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20250927101931.71575-3-jelonek.jonas@gmail.com
1 parent 85f1c01 commit 0395a5e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Chris Packham <chris.packham@alliedtelesis.co.nz>
1111

1212
description:
13-
The RTL9300 SoC has two I2C controllers. Each of these has an SCL line (which
13+
RTL9300 SoCs have two I2C controllers. Each of these has an SCL line (which
1414
if not-used for SCL can be a GPIO). There are 8 common SDA lines that can be
1515
assigned to either I2C controller.
1616

@@ -27,7 +27,7 @@ properties:
2727

2828
reg:
2929
items:
30-
- description: Register offset and size this I2C controller.
30+
- description: Register offset and size of this I2C controller.
3131

3232
"#address-cells":
3333
const: 1
@@ -42,7 +42,7 @@ patternProperties:
4242

4343
properties:
4444
reg:
45-
description: The SDA pin associated with the I2C bus.
45+
description: The SDA line number associated with the I2C bus.
4646
maxItems: 1
4747

4848
required:

0 commit comments

Comments
 (0)