From: VishnuPatekar <vishnupatekar0510@gmail.com> To: linux-input@vger.kernel.org, maxime.ripard@free-electrons.com, dmitry.torokhov@gmail.com, hdegoede@redhat.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, grant.likely@linaro.org, benh@kernel.crashing.org, msalter@redhat.com, ralf@linux-mips.org, jdelvare@suse.de, VishnuPatekar <vishnupatekar0510@gmail.com> Subject: [PATCHv3 1/5] sunxi:dts-bindings:input:ps2 bindings for A10/A20 ps2. Date: Fri, 12 Dec 2014 23:55:44 +0530 [thread overview] Message-ID: <1418408748-9797-2-git-send-email-vishnupatekar0510@gmail.com> (raw) In-Reply-To: <1418408748-9797-1-git-send-email-vishnupatekar0510@gmail.com> 1. dt bindings should use the compat string for the earliest version of the hardware which has the relevant hardware block, unless there are differences, the A10 and A20 ps2 controllers are identical, so for both sun4i-a10-ps2 should be used as compat string. 2. ps2 / serio bindings belong under Documentation/devicetree/bindings/serio Signed-off-by: VishnuPatekar <vishnupatekar0510@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- .../bindings/serio/allwinner,sun4i-ps2.txt | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt diff --git a/Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt b/Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt new file mode 100644 index 0000000..0c30440 --- /dev/null +++ b/Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt @@ -0,0 +1,23 @@ +* Device tree bindings for Allwinner A10, A20 PS2 host controller + +A20 PS2 is dual role controller(PS2 host and PS2 device). These bindings are +for PS2 A10/A20 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 be as of the following: + - "allwinner,sun4i-a10-ps2" + - interrupts : The interrupt line connected to the PS2. + - clocks : The gate clk connected to the PS2. + + +Example: + ps20: ps2@0x01c2a000 { + compatible = "allwinner,sun4i-a10-ps2"; + reg = <0x01c2a000 0x400>; + interrupts = <0 62 4>; + clocks = <&apb1_gates 6>; + status = "disabled"; + }; -- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: vishnupatekar0510@gmail.com (VishnuPatekar) To: linux-arm-kernel@lists.infradead.org Subject: [PATCHv3 1/5] sunxi:dts-bindings:input:ps2 bindings for A10/A20 ps2. Date: Fri, 12 Dec 2014 23:55:44 +0530 [thread overview] Message-ID: <1418408748-9797-2-git-send-email-vishnupatekar0510@gmail.com> (raw) In-Reply-To: <1418408748-9797-1-git-send-email-vishnupatekar0510@gmail.com> 1. dt bindings should use the compat string for the earliest version of the hardware which has the relevant hardware block, unless there are differences, the A10 and A20 ps2 controllers are identical, so for both sun4i-a10-ps2 should be used as compat string. 2. ps2 / serio bindings belong under Documentation/devicetree/bindings/serio Signed-off-by: VishnuPatekar <vishnupatekar0510@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- .../bindings/serio/allwinner,sun4i-ps2.txt | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt diff --git a/Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt b/Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt new file mode 100644 index 0000000..0c30440 --- /dev/null +++ b/Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt @@ -0,0 +1,23 @@ +* Device tree bindings for Allwinner A10, A20 PS2 host controller + +A20 PS2 is dual role controller(PS2 host and PS2 device). These bindings are +for PS2 A10/A20 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 be as of the following: + - "allwinner,sun4i-a10-ps2" + - interrupts : The interrupt line connected to the PS2. + - clocks : The gate clk connected to the PS2. + + +Example: + ps20: ps2 at 0x01c2a000 { + compatible = "allwinner,sun4i-a10-ps2"; + reg = <0x01c2a000 0x400>; + interrupts = <0 62 4>; + clocks = <&apb1_gates 6>; + status = "disabled"; + }; -- 1.7.9.5
next prev parent reply other threads:[~2014-12-12 18:31 UTC|newest] Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-12-12 18:25 [PATCHv3 0/5] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller VishnuPatekar 2014-12-12 18:25 ` VishnuPatekar 2014-12-12 18:25 ` VishnuPatekar [this message] 2014-12-12 18:25 ` [PATCHv3 1/5] sunxi:dts-bindings:input:ps2 bindings for A10/A20 ps2 VishnuPatekar 2014-12-12 18:25 ` [PATCHv3 2/5] ARM:sunxi:drivers:input Add support for A10/A20 PS2 VishnuPatekar 2014-12-12 18:25 ` VishnuPatekar 2014-12-14 20:37 ` Dmitry Torokhov 2014-12-14 20:37 ` Dmitry Torokhov 2014-12-23 22:28 ` Vishnu Patekar 2014-12-23 22:28 ` Vishnu Patekar 2014-12-23 22:28 ` Vishnu Patekar 2014-12-12 18:25 ` [PATCHv3 3/5] ARM: sunxi: dts: Add PS2 nodes to dtsi for A10 and A20 VishnuPatekar 2014-12-12 18:25 ` VishnuPatekar 2014-12-16 9:32 ` Maxime Ripard 2014-12-16 9:32 ` Maxime Ripard 2014-12-12 18:25 ` [PATCHv3 4/5] ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options VishnuPatekar 2014-12-12 18:25 ` VishnuPatekar 2014-12-12 18:25 ` [PATCHv3 5/5] ARM: sunxi: dts: Add note ps2 pins conflict with hdmi VishnuPatekar 2014-12-12 18:25 ` VishnuPatekar 2014-12-13 2:06 ` Chen-Yu Tsai 2014-12-13 2:06 ` Chen-Yu Tsai 2014-12-13 3:18 ` Vishnu Patekar 2014-12-16 15:21 ` Chen-Yu Tsai 2014-12-16 15:21 ` Chen-Yu Tsai 2014-12-16 15:21 ` Chen-Yu Tsai 2014-12-13 11:09 ` [PATCHv3 0/5] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller Hans de Goede 2014-12-13 11:09 ` Hans de Goede 2014-12-13 20:01 ` Vishnu Patekar 2014-12-13 20:01 ` Vishnu Patekar 2014-12-13 20:01 ` Vishnu Patekar 2014-12-14 9:01 ` Hans de Goede 2014-12-14 9:01 ` Hans de Goede 2014-12-15 14:13 ` Vishnu Patekar 2014-12-15 14:13 ` Vishnu Patekar 2014-12-15 14:13 ` Vishnu Patekar 2014-12-15 15:13 ` Hans de Goede 2014-12-15 15:13 ` Hans de Goede 2014-12-15 15:13 ` Hans de Goede 2014-12-15 15:41 ` Chen-Yu Tsai 2014-12-15 15:41 ` Chen-Yu Tsai 2014-12-15 15:41 ` Chen-Yu Tsai 2014-12-22 3:30 ` Vishnu Patekar 2014-12-22 3:30 ` Vishnu Patekar 2014-12-22 3:30 ` Vishnu Patekar
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1418408748-9797-2-git-send-email-vishnupatekar0510@gmail.com \ --to=vishnupatekar0510@gmail.com \ --cc=benh@kernel.crashing.org \ --cc=devicetree@vger.kernel.org \ --cc=dmitry.torokhov@gmail.com \ --cc=galak@codeaurora.org \ --cc=grant.likely@linaro.org \ --cc=hdegoede@redhat.com \ --cc=ijc+devicetree@hellion.org.uk \ --cc=jdelvare@suse.de \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-input@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@arm.linux.org.uk \ --cc=mark.rutland@arm.com \ --cc=maxime.ripard@free-electrons.com \ --cc=msalter@redhat.com \ --cc=pawel.moll@arm.com \ --cc=ralf@linux-mips.org \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.