linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/5] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller.
@ 2014-12-12 18:25 VishnuPatekar
  2014-12-12 18:25 ` [PATCHv3 1/5] sunxi:dts-bindings:input:ps2 bindings for A10/A20 ps2 VishnuPatekar
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: VishnuPatekar @ 2014-12-12 18:25 UTC (permalink / raw)
  To: linux-input, maxime.ripard, dmitry.torokhov, hdegoede
  Cc: devicetree, linux-arm-kernel, linux-kernel, robh+dt, pawel.moll,
	mark.rutland, ijc+devicetree, galak, linux, grant.likely, benh,
	msalter, ralf, jdelvare, VishnuPatekar

v2 --> v3
1. changed config to SERIO_SUN4I_PS2 from SERIO_SUNXI_PS2
2. changed driver name to sun4i-ps2 from sunxi-ps2.
3. changed the function names to sun4i_ps2_*.
4. added locking in sun4i_ps2_open.
5. kept compatible "sun4i-a10-ps2" for A10 and A20, as A10 is earlier SOC.
6. corrected the style errors.
7. separated the dts patches.
8. removed commented ps2 notes from lime2 dts.
9. added note that ps2 pins confilt with hdmi.
10. corrected the interrupt property for A10.
11. moved dt-bindings to Documentation/devicetree/bindings/serio

v1 --> v2: 
1. added default n depends on ARCH_SUNXI || COMPILE_TEST in Kconfig. 
2. handled errors and free resources on errors. 
3. used BIT(x), DIV_ROUND_UP macros. 
4. corrected style errors. 
5. added support for A10 also, A10 and A2 have same properties of PS2 controller. 
6. by default commented ps20 and ps21 nodes,as ps20 pins conflict with HDMI.
7. added compatible as allwinner,sun4i-a10-ps2. 
8. corrected the possible race condition. 


VishnuPatekar (5):
  sunxi:dts-bindings:input:ps2 bindings for A10/A20 ps2.
  ARM:sunxi:drivers:input Add support for A10/A20 PS2
  ARM: sunxi: dts: Add PS2 nodes to dtsi for A10 and A20
  ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options
  ARM: sunxi: dts: Add note ps2 pins conflict with hdmi

 .../bindings/serio/allwinner,sun4i-ps2.txt         |   23 ++
 arch/arm/boot/dts/sun4i-a10.dtsi                   |   31 ++
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts    |    6 +-
 arch/arm/boot/dts/sun7i-a20.dtsi                   |   32 ++
 drivers/input/serio/Kconfig                        |   11 +
 drivers/input/serio/Makefile                       |    1 +
 drivers/input/serio/sun4i-ps2.c                    |  362 ++++++++++++++++++++
 7 files changed, 465 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt
 create mode 100644 drivers/input/serio/sun4i-ps2.c

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-12-23 22:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12 18:25 [PATCHv3 0/5] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller VishnuPatekar
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-14 20:37   ` Dmitry Torokhov
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-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 ` [PATCHv3 5/5] ARM: sunxi: dts: Add note ps2 pins conflict with hdmi VishnuPatekar
2014-12-13  2:06   ` Chen-Yu Tsai
     [not found]     ` <CAEzqOZtOycU5LT8b3SHOymMpMOMExGC9PHiZ9wHtAjxR2R5+Ew@mail.gmail.com>
     [not found]       ` <CAEzqOZtOycU5LT8b3SHOymMpMOMExGC9PHiZ9wHtAjxR2R5+Ew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
     [not found]   ` <548C1E7D.1000005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-12-13 20:01     ` Vishnu Patekar
2014-12-14  9:01       ` Hans de Goede
     [not found]         ` <548D5207.8030004-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-12-15 14:13           ` Vishnu Patekar
2014-12-15 15:13             ` Hans de Goede
2014-12-15 15:41               ` Chen-Yu Tsai
2014-12-22  3:30                 ` Vishnu Patekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).