From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/7] dts: sun8i-h3: add UART1-3 to Orange Pi Plus
Date: Mon, 5 Sep 2016 21:31:11 +0200 [thread overview]
Message-ID: <20160905193111.GC4728@lukather> (raw)
In-Reply-To: <20160903120932.GA6289@carbon.kippendief.biz>
Hi Jorik,
On Sat, Sep 03, 2016 at 02:09:32PM +0200, Jorik Jonker wrote:
> On Fri, Sep 02, 2016 at 09:04:25AM +0200, Maxime Ripard wrote:
> >Unfortunately, these pins can be used for other purposes as well, so
> >we cannot make force that decision down to our users.
>
> Yes, but since the associated peripheral is disabled, the users are free to
> configure other functions/peripherals, right? I mean something like this in
> pseudo-DT:
>
> /soc/pio: pinctrl at 01c20800/uart1_pins:
> allwinner,pins = "PG6, PG7";
> /soc/pio: pinctrl at 01c20800/foo0_pins:
> allwinner,pins = "PG6, PG7";
> ..
> /soc/uart1: serial at serial@01c28400:
> pinctrl-0 = <&uart1_pins>;
> status = "disabled";
> /soc/bar:
> pinctrl-0 = <&uart1_pins>;
> status = "disabled";
>
> Assuming Linux/DT allows this, this would force nothing, only offer choice
> and ease of use.
Hmm, sorry, I went over your patches too quickly...
That's a great compromise I think. Chen-Yu, any opinion on this?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160905/5dfc6f12/attachment.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: wens-jdAy2FN1RRM@public.gmane.org,
Jorik Jonker <jorik-U9/BOH3cVv3CLqq/8VZgpA@public.gmane.org>
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2 4/7] dts: sun8i-h3: add UART1-3 to Orange Pi Plus
Date: Mon, 5 Sep 2016 21:31:11 +0200 [thread overview]
Message-ID: <20160905193111.GC4728@lukather> (raw)
In-Reply-To: <20160903120932.GA6289-fYCmWnekAjb2kgGZbG0gbwQM7Ykfvd1G@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]
Hi Jorik,
On Sat, Sep 03, 2016 at 02:09:32PM +0200, Jorik Jonker wrote:
> On Fri, Sep 02, 2016 at 09:04:25AM +0200, Maxime Ripard wrote:
> >Unfortunately, these pins can be used for other purposes as well, so
> >we cannot make force that decision down to our users.
>
> Yes, but since the associated peripheral is disabled, the users are free to
> configure other functions/peripherals, right? I mean something like this in
> pseudo-DT:
>
> /soc/pio: pinctrl@01c20800/uart1_pins:
> allwinner,pins = "PG6, PG7";
> /soc/pio: pinctrl@01c20800/foo0_pins:
> allwinner,pins = "PG6, PG7";
> ..
> /soc/uart1: serial@serial@01c28400:
> pinctrl-0 = <&uart1_pins>;
> status = "disabled";
> /soc/bar:
> pinctrl-0 = <&uart1_pins>;
> status = "disabled";
>
> Assuming Linux/DT allows this, this would force nothing, only offer choice
> and ease of use.
Hmm, sorry, I went over your patches too quickly...
That's a great compromise I think. Chen-Yu, any opinion on this?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: wens@csie.org, Jorik Jonker <jorik@kippendief.biz>
Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 4/7] dts: sun8i-h3: add UART1-3 to Orange Pi Plus
Date: Mon, 5 Sep 2016 21:31:11 +0200 [thread overview]
Message-ID: <20160905193111.GC4728@lukather> (raw)
In-Reply-To: <20160903120932.GA6289@carbon.kippendief.biz>
[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]
Hi Jorik,
On Sat, Sep 03, 2016 at 02:09:32PM +0200, Jorik Jonker wrote:
> On Fri, Sep 02, 2016 at 09:04:25AM +0200, Maxime Ripard wrote:
> >Unfortunately, these pins can be used for other purposes as well, so
> >we cannot make force that decision down to our users.
>
> Yes, but since the associated peripheral is disabled, the users are free to
> configure other functions/peripherals, right? I mean something like this in
> pseudo-DT:
>
> /soc/pio: pinctrl@01c20800/uart1_pins:
> allwinner,pins = "PG6, PG7";
> /soc/pio: pinctrl@01c20800/foo0_pins:
> allwinner,pins = "PG6, PG7";
> ..
> /soc/uart1: serial@serial@01c28400:
> pinctrl-0 = <&uart1_pins>;
> status = "disabled";
> /soc/bar:
> pinctrl-0 = <&uart1_pins>;
> status = "disabled";
>
> Assuming Linux/DT allows this, this would force nothing, only offer choice
> and ease of use.
Hmm, sorry, I went over your patches too quickly...
That's a great compromise I think. Chen-Yu, any opinion on this?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-09-05 19:31 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-31 19:30 [PATCH v2 0/7] dts: sun8i: add extra uart/i2c to H3 jorik at kippendief.biz
2016-08-31 19:30 ` jorik
2016-08-31 19:30 ` jorik-U9/BOH3cVv3CLqq/8VZgpA
2016-08-31 19:30 ` [PATCH v2 1/7] dts: sun8i-h3: add pinmux definitions for uart2/uart3 jorik at kippendief.biz
2016-08-31 19:30 ` jorik
2016-08-31 19:30 ` [PATCH v2 2/7] dts: sun8i-h3: add pinmux definitions for i2c0/i2c1 jorik at kippendief.biz
2016-08-31 19:30 ` jorik
2016-09-01 2:45 ` Chen-Yu Tsai
2016-09-01 2:45 ` Chen-Yu Tsai
2016-09-01 2:45 ` Chen-Yu Tsai
2016-08-31 19:30 ` [PATCH v2 3/7] dts: sun8i-h3: add i2c0/i2c1 SoC peripherals jorik at kippendief.biz
2016-08-31 19:30 ` jorik
2016-08-31 19:30 ` jorik-U9/BOH3cVv3CLqq/8VZgpA
2016-09-01 2:42 ` Chen-Yu Tsai
2016-09-01 2:42 ` Chen-Yu Tsai
2016-09-01 2:42 ` Chen-Yu Tsai
2016-09-01 6:31 ` Jorik Jonker
2016-09-01 6:42 ` Chen-Yu Tsai
2016-09-01 6:42 ` Chen-Yu Tsai
2016-09-01 6:42 ` Chen-Yu Tsai
2016-09-01 6:34 ` Jorik Jonker
2016-09-01 6:34 ` Jorik Jonker
2016-09-01 6:34 ` Jorik Jonker
2016-08-31 19:30 ` [PATCH v2 4/7] dts: sun8i-h3: add UART1-3 to Orange Pi Plus jorik at kippendief.biz
2016-08-31 19:30 ` jorik
2016-09-02 7:04 ` Maxime Ripard
2016-09-02 7:04 ` Maxime Ripard
2016-09-02 7:04 ` Maxime Ripard
2016-09-03 12:09 ` Jorik Jonker
2016-09-03 12:09 ` Jorik Jonker
2016-09-03 12:09 ` Jorik Jonker
2016-09-05 19:31 ` Maxime Ripard [this message]
2016-09-05 19:31 ` Maxime Ripard
2016-09-05 19:31 ` Maxime Ripard
2016-09-06 3:04 ` Chen-Yu Tsai
2016-09-06 3:04 ` Chen-Yu Tsai
2016-09-06 3:04 ` Chen-Yu Tsai
2016-09-06 8:52 ` Jorik Jonker
2016-09-06 8:52 ` Jorik Jonker
2016-09-06 20:01 ` Maxime Ripard
2016-09-06 20:01 ` Maxime Ripard
2016-09-06 20:02 ` Maxime Ripard
2016-09-06 20:02 ` Maxime Ripard
2016-09-06 20:02 ` Maxime Ripard
2016-08-31 19:30 ` [PATCH v2 5/7] dts: sun8i-h3: add UART1-3 to Orange Pi PC jorik at kippendief.biz
2016-08-31 19:30 ` jorik
2016-08-31 19:30 ` [PATCH v2 6/7] dts: sun8i-h3: add I2C0-1 to Orange Pi Plus jorik at kippendief.biz
2016-08-31 19:30 ` jorik
2016-08-31 19:30 ` [PATCH v2 7/7] dts: sun8i-h3: add I2C0-1 to Orange Pi PC jorik at kippendief.biz
2016-08-31 19:30 ` jorik
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=20160905193111.GC4728@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 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.