From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [linux-sunxi] [PATCH v4 5/5] ARM: sunxi: dts: Add PS2 nodes for A20 lime2 board
Date: Wed, 21 Jan 2015 13:23:29 +0100 [thread overview]
Message-ID: <20150121122329.GG4367@lukather> (raw)
In-Reply-To: <CAEzqOZsWYQ+Aep6HBZXVtKGEJgKYAKJU2b0=nGvP0jPKECxn7g@mail.gmail.com>
On Wed, Jan 21, 2015 at 04:34:45PM +0530, Vishnu Patekar wrote:
> Hello,
>
> On Wed, Jan 21, 2015 at 1:37 AM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> >
> > On Tue, Jan 20, 2015 at 05:02:06PM +0000, Iain Paton wrote:
> > > On 16/01/15 14:03, Vishnu Patekar wrote:
> > > > Signed-off-by: VishnuPatekar <vishnupatekar0510@gmail.com>
> > > > ---
> > > > arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 12 ++++++++++++
> > > > 1 file changed, 12 insertions(+)
> > > >
> > > > diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
> > > > index ed364d5..3365f12 100644
> > > > --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
> > > > +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
> > > > @@ -113,6 +113,18 @@
> > > > status = "okay";
> > > > };
> > > >
> > > > + ps20: ps2 at 01c2a000 {
> > > > + pinctrl-names = "default";
> > > > + pinctrl-0 = <&ps20_pins_a>;
> > > > + status = "okay";
> > > > + };
> > > > +
> > > > + ps21: ps2 at 01c2a400 {
> > > > + pinctrl-names = "default";
> > > > + pinctrl-0 = <&ps21_pins_a>;
> > > > + status = "okay";
> > > > + };
> > > > +
> > > > i2c0: i2c at 01c2ac00 {
> > > > pinctrl-names = "default";
> > > > pinctrl-0 = <&i2c0_pins_a>;
> > > >
> > >
> > > As the Lime2 doesn't actually have any PS2 connectors on the board,
> > > I'd prefer that these are not enabled unconditionally. Doing so
> > > only makes it more difficult for people who want to use these pins
> > > for other functions.
> > >
> > > Device tree overlays seem to be close to being merged, perhaps we
> > > could leave enabling this to an overlay?
> >
> > I already had the exact same reasoning, and this was even removed at
> > some point. For some reason, it was added back, and I don't really
> > know why.
> This was removed in consideration that these pins conflict with HDMI,
> however, these is not conflict.
>
> It was kept there as an example. But, as there is no ps2 connector on
> board, I've no problem to remove these nodes from Lime2 dts file.
Yet, probing a driver for a device connected to floating lines sounds
like a pretty bad idea.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150121/8417c5ae/attachment.sig>
prev parent reply other threads:[~2015-01-21 12:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 14:03 [PATCH v4 0/5] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller Vishnu Patekar
2015-01-16 14:03 ` [PATCH v4 1/5] sunxi:dts-bindings:input: bindings for A10/A20 ps2 Vishnu Patekar
2015-01-16 14:03 ` [PATCH v4 2/5] ARM:sunxi:drivers:input Add support for A10/A20 PS2 Vishnu Patekar
2015-01-17 22:25 ` Dmitry Torokhov
2015-01-19 6:07 ` Vishnu Patekar
2015-01-20 0:35 ` Dmitry Torokhov
2015-01-21 11:22 ` [linux-sunxi] " Vishnu Patekar
2015-01-22 20:07 ` Dmitry Torokhov
2015-01-16 14:03 ` [PATCH v4 3/5] ARM: sunxi: dts: Add PS2 nodes to dtsi for A10 and A20 Vishnu Patekar
2015-01-20 20:02 ` Maxime Ripard
2015-01-21 11:10 ` Vishnu Patekar
2015-01-22 15:50 ` Maxime Ripard
2015-01-16 14:03 ` [PATCH v4 4/5] ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options Vishnu Patekar
2015-01-20 20:03 ` Maxime Ripard
2015-01-16 14:03 ` [PATCH v4 5/5] ARM: sunxi: dts: Add PS2 nodes for A20 lime2 board Vishnu Patekar
2015-01-20 17:02 ` [linux-sunxi] " Iain Paton
2015-01-20 20:07 ` Maxime Ripard
2015-01-21 11:04 ` Vishnu Patekar
2015-01-21 12:23 ` Maxime Ripard [this message]
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=20150121122329.GG4367@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox