From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org,
Mike Turquette <mturquette@linaro.org>,
Jason Cooper <jason@lakedaemon.net>,
Pawel Moll <pawel.moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Linus Walleij <linus.walleij@linaro.org>,
Stephen Boyd <sboyd@codeaurora.org>,
Nadav Haklai <nadavh@marvell.com>,
linux-gpio@vger.kernel.org, Lior Amsalem <alior@marvell.com>,
Rob Herring <robh+dt@kernel.org>,
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>,
Kumar Gala <galak@codeaurora.org>,
Gregory Clement <gregory.clement@free-electrons.com>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Tawfik Bayouk <tawfik@marvell.com>,
linux-arm-kernel@lists.infradead.org,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board
Date: Fri, 20 Feb 2015 15:14:55 +0100 [thread overview]
Message-ID: <20150220151455.461b97bb@free-electrons.com> (raw)
In-Reply-To: <20150206172153.GY25985@lunn.ch>
Dear Andrew Lunn,
On Fri, 6 Feb 2015 18:21:53 +0100, Andrew Lunn wrote:
> > + chosen {
> > + bootargs = "console=ttyS0,115200 earlyprintk";
> > + };
> > +
>
> Arnd has been encouraging people not use earlyprintk here. Also a
> stdout-path would be nice. We also seem to be missing aliases for the
> serial ports.
Right.
> > + internal-regs {
> > + i2c@11000 {
> > + pinctrl-0 = <&i2c0_pins>;
> > + pinctrl-names = "default";
> > + status = "okay";
> > + clock-frequency = <100000>;
> > + };
> > +
> > + serial@12000 {
> > + pinctrl-0 = <&uart0_pins>;
> > + pinctrl-names = "default";
> > + status = "okay";
> > + };
> > +
>
> Tab vs space issue here somewhere? Probably the i2c node.
Yes, fixed.
> > + pinctrl@18000 {
> > + uart0_pins: uart0-pins {
> > + marvell,pins = "mpp0", "mpp1";
> > + marvell,function = "ua0";
> > + };
> > +
> > + uart1_pins: uart1-pins {
> > + marvell,pins = "mpp19", "mpp20";
> > + marvell,function = "ua1";
> > + };
>
> Does it make sense to put there in the .dtsi file? I know there are
> other choices, but generally board manufacturers tend to follow the
> reference design.
I am not really convinced here: there are really many possible pin
muxing possibilities. Various pins for UART0 and UART1, whether you use
CTS/RTS or not, etc. I believe this is really the sort of pin mux
configuration that is best left at the board level.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board
Date: Fri, 20 Feb 2015 15:14:55 +0100 [thread overview]
Message-ID: <20150220151455.461b97bb@free-electrons.com> (raw)
In-Reply-To: <20150206172153.GY25985@lunn.ch>
Dear Andrew Lunn,
On Fri, 6 Feb 2015 18:21:53 +0100, Andrew Lunn wrote:
> > + chosen {
> > + bootargs = "console=ttyS0,115200 earlyprintk";
> > + };
> > +
>
> Arnd has been encouraging people not use earlyprintk here. Also a
> stdout-path would be nice. We also seem to be missing aliases for the
> serial ports.
Right.
> > + internal-regs {
> > + i2c at 11000 {
> > + pinctrl-0 = <&i2c0_pins>;
> > + pinctrl-names = "default";
> > + status = "okay";
> > + clock-frequency = <100000>;
> > + };
> > +
> > + serial at 12000 {
> > + pinctrl-0 = <&uart0_pins>;
> > + pinctrl-names = "default";
> > + status = "okay";
> > + };
> > +
>
> Tab vs space issue here somewhere? Probably the i2c node.
Yes, fixed.
> > + pinctrl at 18000 {
> > + uart0_pins: uart0-pins {
> > + marvell,pins = "mpp0", "mpp1";
> > + marvell,function = "ua0";
> > + };
> > +
> > + uart1_pins: uart1-pins {
> > + marvell,pins = "mpp19", "mpp20";
> > + marvell,function = "ua1";
> > + };
>
> Does it make sense to put there in the .dtsi file? I know there are
> other choices, but generally board manufacturers tend to follow the
> reference design.
I am not really convinced here: there are really many possible pin
muxing possibilities. Various pins for UART0 and UART1, whether you use
CTS/RTS or not, etc. I believe this is really the sort of pin mux
configuration that is best left at the board level.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-02-20 14:15 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-06 15:57 [PATCH 00/10] ARM: mvebu: add basic support for Armada 39x Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 15:57 ` [PATCH 01/10] devicetree: bindings: add DT binding for the Marvell Armada 39x SoC family Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 15:57 ` [PATCH 02/10] devicetree: bindings: update DT bindings for Marvell EBU clock support Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 15:57 ` [PATCH 03/10] devicetree: bindings: add Device Tree bindings for Armada 39x pin-muxing controller Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 17:05 ` Andrew Lunn
2015-02-06 17:05 ` Andrew Lunn
2015-02-20 11:11 ` Thomas Petazzoni
2015-02-20 11:11 ` Thomas Petazzoni
[not found] ` <20150220121134.25cb865c-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2015-02-20 14:18 ` Andrew Lunn
2015-02-20 14:18 ` Andrew Lunn
2015-02-06 15:57 ` [PATCH 05/10] clk: mvebu: extend common code to allow an optional refclk Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 15:57 ` [PATCH 06/10] clk: mvebu: add Marvell Armada 39x driver Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 15:57 ` [PATCH 07/10] pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-03-04 12:54 ` Linus Walleij
2015-03-04 12:54 ` Linus Walleij
2015-03-04 13:05 ` Thomas Petazzoni
2015-03-04 13:05 ` Thomas Petazzoni
2015-02-06 15:57 ` [PATCH 08/10] ARM: mvebu: add core support for " Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 19:57 ` Stephen Boyd
2015-02-06 19:57 ` Stephen Boyd
2015-02-20 13:05 ` Thomas Petazzoni
2015-02-20 13:05 ` Thomas Petazzoni
[not found] ` <1423238276-9206-9-git-send-email-thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2015-02-06 20:31 ` Maxime Ripard
2015-02-06 20:31 ` Maxime Ripard
[not found] ` <1423238276-9206-1-git-send-email-thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2015-02-06 15:57 ` [PATCH 04/10] devicetree: bindings: add new SMP enable method for Marvell " Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 15:57 ` [PATCH 09/10] ARM: mvebu: add Device Tree files for Armada 39x SoC and board Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
2015-02-06 17:21 ` Andrew Lunn
2015-02-06 17:21 ` Andrew Lunn
2015-02-20 14:14 ` Thomas Petazzoni [this message]
2015-02-20 14:14 ` Thomas Petazzoni
2015-02-20 14:45 ` Andrew Lunn
2015-02-20 14:45 ` Andrew Lunn
2015-02-20 15:46 ` Thomas Petazzoni
2015-02-20 15:46 ` Thomas Petazzoni
2015-02-06 20:39 ` Maxime Ripard
2015-02-06 20:39 ` Maxime Ripard
2015-02-06 15:57 ` [PATCH 10/10] Documentation: arm: update supported Marvell EBU processors Thomas Petazzoni
2015-02-06 15:57 ` Thomas Petazzoni
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=20150220151455.461b97bb@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=alior@marvell.com \
--cc=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=ezequiel.garcia@free-electrons.com \
--cc=galak@codeaurora.org \
--cc=gregory.clement@free-electrons.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jason@lakedaemon.net \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@free-electrons.com \
--cc=mturquette@linaro.org \
--cc=nadavh@marvell.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=tawfik@marvell.com \
/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.