Hi,

Interesting patch-set. I knew the A10 / A20 had ps/2 but I did not expect anyone
to use it :)

I'll try to make some time to give this a try an A10, guess I need to desolder 
a ps2
female connector from some old board :)

On 12/03/2014 11:47 PM, vishnupatekar wrote:
---
  .../bindings/input/allwinner,sun7i-a20-ps2.txt     |   22 ++++++++++++++++++++
  1 file changed, 22 insertions(+)
  create mode 100644 
Documentation/devicetree/bindings/input/allwinner,sun7i-a20-ps2.txt

diff --git 
a/Documentation/devicetree/bindings/input/allwinner,sun7i-a20-ps2.txt 
b/Documentation/devicetree/bindings/input/allwinner,sun7i-a20-ps2.txt
new file mode 100644
index 0000000..63b6214
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/allwinner,sun7i-a20-ps2.txt
@@ -0,0 +1,22 @@
+* Device tree bindings for Allwinner A20 PS2 host controller
+
+A20 PS2 is dual role controller(PS2 host and PS2 device). These bindings are 
for PS2 host controller.
+IBM compliant IBM PS2 and AT-compatible keyboard and mouse can be connected.
+
+Required properties:
+
+ - reg             : Offset and length of the register set for the device.
+ - compatible      : Should one of the following:
+                     - "allwinner,sun7i-a20-ps2"

This very like should be allwinner,sun4i-a10-ps2 as the A10 has the ps/2 
controller
too. I'll try to test this coming Tuesday (when I'm at my local hackerspace).

+ - interrupts      : The interrupt line connected to the P2WI peripheral.
+ - clocks          : The gate clk connected to the P2WI peripheral.

Copy paste error, I'm pretty sure you don't want P2WI here.


+
+
+Example:
+       ps20: ps2@0x01c2a000 {
+               compatible = "allwinner,sun7i-a20-ps2";
+               reg = <0x01c2a000 0x400>;
+               interrupts = <0 62 4>;
+               clocks = <&apb1_gates 6>;
+               status = "disabled";
+       };


Regards,

Hans

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to