dt-bindings: serial: document LiteUART bindings
Subsystems (3)
Mateusz Holenko
maintainerPATCH 2/3 dt-bindings: serial: document LiteUART bindings
From: Filip Kokosinski <[email protected]>
Add documentation for LiteUART devicetree bindings.
--- .../devicetree/bindings/serial/litex,liteuart.txt | 12 ++++++++++++ MAINTAINERS | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/litex,liteuart.txt
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +12 -0
@@ -0,0 +1,12 @@ +LiteUART serial controller + +Required properties: +- compatible: should be "litex,liteuart" +- reg: base address and length of the register set for this device + +Example: + +uart0: serial@f0001000 { + compatible = "litex,liteuart"; + reg = <0xe0001800 0x100>; +};
MAINTAINERS +6 -0
@@ -9462,6 +9462,12 @@ F: Documentation/misc-devices/lis3lv02d.rst F: drivers/misc/lis3lv02d/ F: drivers/platform/x86/hp_accel.c +LITEX PLATFORM +M: Karol Gugala <[email protected]> +M: Mateusz Holenko <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/serial/litex,liteuart.txt + LIVE PATCHING M: Josh Poimboeuf <[email protected]> M: Jiri Kosina <[email protected]>
Signature · 1 line
2.23.0
Quoted 5 lines · Mateusz Holenko
From: Filip Kokosinski <[email protected]>
Add documentation for LiteUART devicetree bindings.
Quoted 7 lines
Signed-off-by Filip Kokosinski <[email protected]>Signed-off-by Mateusz Holenko <[email protected]>--- .../devicetree/bindings/serial/litex,liteuart.txt | 12 ++++++++++++ MAINTAINERS | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/litex,liteuart.txt
Please make this a schema. See Documentation/devicetree/writing-schema.rst (or .md before 5.4).
Documentation/devicetree/bindings/serial/litex,liteuart.txt line 4
Quoted 11 lines
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +4
-0@@ -0,0 +1,12 @@ +LiteUART serial controller + +Required properties: +- compatible: should be "litex,liteuart"
Only 1 version?
Documentation/devicetree/bindings/serial/litex,liteuart.txt line 5
Quoted 1 line
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +1
-0+- reg: base address and length of the register set for this device
Is there really no interrupt line? That should be added if there's h/w support even if the driver doesn't yet support it.
Documentation/devicetree/bindings/serial/litex,liteuart.txt line 9
Quoted 4 lines
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +4
-0+ +Example: + +uart0: serial@f0001000 {
Wrong unit address. Should be "@e0001800".
Quoted 23 lines
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +3
-0+ compatible = "litex,liteuart"; + reg = <0xe0001800 0x100>; +};MAINTAINERS +6
-1@@ -9462,6 +9462,12 @@ F: Documentation/misc-devices/lis3lv02d.rst F: drivers/misc/lis3lv02d/ F: drivers/platform/x86/hp_accel.c +LITEX PLATFORM +M: Karol Gugala <[email protected]> +M: Mateusz Holenko <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/serial/litex,liteuart.txt + LIVE PATCHING M: Josh Poimboeuf <[email protected]> M: Jiri Kosina <[email protected]> --2.23.0
Mateusz Holenko
maintainerpon., 30 wrz 2019 o 23:32 Rob Herring <[email protected]> napisał(a):
Quoted 15 lines · Mateusz Holenko
Quoted 5 lines
From: Filip Kokosinski <[email protected]>
Add documentation for LiteUART devicetree bindings.
Quoted 7 lines
Signed-off-by Filip Kokosinski <[email protected]>Signed-off-by Mateusz Holenko <[email protected]>--- .../devicetree/bindings/serial/litex,liteuart.txt | 12 ++++++++++++ MAINTAINERS | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/litex,liteuart.txt
Quoted 2 lines
Please make this a schema. See
Documentation/devicetree/writing-schema.rst(or .md before 5.4).
Ok. We will rewrite it.
Quoted 13 lines
Documentation/devicetree/bindings/serial/litex,liteuart.txt line 4
Quoted 11 lines
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +4
-0@@ -0,0 +1,12 @@ +LiteUART serial controller + +Required properties: +- compatible: should be "litex,liteuart"Only 1 version?
For the time being there is only one flavor.
Quoted 11 lines
Documentation/devicetree/bindings/serial/litex,liteuart.txt line 5
Quoted 1 line
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +1
-0+- reg: base address and length of the register set for this deviceIs there really no interrupt line? That should be added if there's h/w support even if the driver doesn't yet support it.
Documentation/devicetree/bindings/serial/litex,liteuart.txt line 9
Quoted 4 lines
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +4
-0+ +Example: + +uart0: serial@f0001000 {Wrong unit address. Should be "@e0001800".
Right, address should be consistent with the one in 'reg'.
Quoted 12 lines
Quoted 12 lines
Documentation/devicetree/bindings/serial/litex,liteuart.txt new file +3
-0+ compatible = "litex,liteuart"; + reg = <0xe0001800 0x100>; +};MAINTAINERS +0
-0@@ -9462,6 +9462,12 @@ F: Documentation/misc-devices/lis3lv02d.rst F: drivers/misc/lis3lv02d/ F: drivers/platform/x86/hp_accel.c
Quoted 12 lines
Quoted 10 lines
MAINTAINERS +6
-1+LITEX PLATFORM +M: Karol Gugala <[email protected]> +M: Mateusz Holenko <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/serial/litex,liteuart.txt + LIVE PATCHING M: Josh Poimboeuf <[email protected]> M: Jiri Kosina <[email protected]> --Quoted 2 lines
2.23.0
Thanks for your comments.
I'll address the remarks in V2 of the patchset after receiving a response on the rest of the patches.
--
Mateusz Holenko
mobile: +48 606 791 789
Antmicro Ltd | www.antmicro.com
Zwierzyniecka 3, 60-813 Poznan, Poland