From: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Vishnu Patekar
<vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Iain Paton <ipaton0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org"
<linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>,
Dmitry Torokhov
<dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
"ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org"
<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [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-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2553 bytes --]
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-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > > > ---
> > > > 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@01c2a000 {
> > > > + pinctrl-names = "default";
> > > > + pinctrl-0 = <&ps20_pins_a>;
> > > > + status = "okay";
> > > > + };
> > > > +
> > > > + ps21: ps2@01c2a400 {
> > > > + pinctrl-names = "default";
> > > > + pinctrl-0 = <&ps21_pins_a>;
> > > > + status = "okay";
> > > > + };
> > > > +
> > > > i2c0: i2c@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
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
[not found] ` <1421417021-3247-1-git-send-email-vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
[not found] ` <1421417021-3247-3-git-send-email-vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-17 22:25 ` Dmitry Torokhov
2015-01-19 6:07 ` Vishnu Patekar
[not found] ` <CAEzqOZtOBOdpdUHvRqqf+d5GoR_8gpumZX9hfFntXDOzNog+mQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-20 0:35 ` Dmitry Torokhov
2015-01-21 11:22 ` [linux-sunxi] " Vishnu Patekar
[not found] ` <CAEzqOZtdhOf7xipW8MmojZn+F6i045+=2xC0TPqt3jonmEGL5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
[not found] ` <1421417021-3247-4-git-send-email-vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
[not found] ` <1421417021-3247-5-git-send-email-vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
[not found] ` <1421417021-3247-6-git-send-email-vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-20 17:02 ` Iain Paton
[not found] ` <54BE8A0E.30604-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-20 20:07 ` Maxime Ripard
2015-01-21 11:04 ` Vishnu Patekar
[not found] ` <CAEzqOZsWYQ+Aep6HBZXVtKGEJgKYAKJU2b0=nGvP0jPKECxn7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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-wi1+55scjutkeb57/3fjtnbpr1lh4cv8@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=ipaton0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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;
as well as URLs for NNTP newsgroup(s).