linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: l.stach@pengutronix.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: dts: imx6: Add support for Toradex Apalis SoM
Date: Mon, 30 Nov 2015 11:16:59 +0100	[thread overview]
Message-ID: <1448878619.8275.2.camel@pengutronix.de> (raw)
In-Reply-To: <ecfde8366160cb17f7b1e571f81488de@agner.ch>

Am Freitag, den 27.11.2015, 11:38 -0800 schrieb Stefan Agner:
> Hi Petr,
> 
> Thanks for pushing this! It is on my todo list, but never came around...
> [I do work for Toradex]
> 
> And thanks Lucas for reviewing it!
> 
> 
> On 2015-11-19 06:12, Lucas Stach wrote:
> > Hi Petr,
> > 
> > Am Donnerstag, den 19.11.2015, 13:24 +0100 schrieb Petr ?tetiar:
> >> Signed-off-by: Petr ?tetiar <ynezz@true.cz>
> >> ---
[...]
> >> +&uart1 {
> >> +	pinctrl-names = "default";
> >> +#ifndef USE_UART_IN_DCE_MODE
> >> +	pinctrl-0 = <&pinctrl_uart1_dte &pinctrl_uart1_ctrl>;
> >> +	fsl,dte-mode;
> >> +	fsl,uart-has-rtscts;
> >> +#else
> >> +	pinctrl-0 = <&pinctrl_uart1_dce>;
> >> +#endif
> >> +	status = "disabled";
> >> +};
> >> +
> >> +&uart2 {
> >> +	pinctrl-names = "default";
> >> +#ifndef USE_UART_IN_DCE_MODE
> >> +	pinctrl-0 = <&pinctrl_uart2_dte>;
> >> +	fsl,dte-mode;
> >> +	fsl,uart-has-rtscts;
> >> +#else
> >> +	pinctrl-0 = <&pinctrl_uart2_dce>;
> >> +#endif
> >> +	status = "disabled";
> >> +};
> >> +
> >> +&uart4 {
> >> +	pinctrl-names = "default";
> >> +#ifndef USE_UART_IN_DCE_MODE
> >> +	pinctrl-0 = <&pinctrl_uart4_dte>;
> >> +	fsl,dte-mode;
> >> +#else
> >> +	pinctrl-0 = <&pinctrl_uart4_dce>;
> >> +#endif
> >> +	status = "disabled";
> >> +};
> >> +
> >> +&uart5 {
> >> +	pinctrl-names = "default";
> >> +#ifndef USE_UART_IN_DCE_MODE
> >> +	pinctrl-0 = <&pinctrl_uart5_dte>;
> >> +	fsl,dte-mode;
> >> +#else
> >> +	pinctrl-0 = <&pinctrl_uart5_dce>;
> >> +#endif
> >> +	status = "disabled";
> >> +};
> > 
> > Urgh, those ifdefs are really ugly, but probably nothing you can do
> > about that. Maybe you can just override the pinctrl from the top level
> > DT...
> > 
> > Were v1.0 modules sold to customers? If not the value of having those
> > supported by mainline is really limited.
> 
> Some have been made it to customers as early samples, however not that
> many.
> 
> I am inclined to say lets not support them. They anyway lead to
> headaches since you need to use a different U-Boot binary too...
> 
> Petr, do you happen to have one of them?
> 
> Otherwise I like the approach by overriding the pinctrl property in a 
> arch/arm/boot/dts/imx6qdl-apalis_v1_0.dtsi...
> 
> Can we set fsl,dte-mode to false?

You can remove those bool properties by using /delete-property/ in the
overriding DT.

Regards,
Lucas

-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |

  parent reply	other threads:[~2015-11-30 10:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 12:24 [PATCH 0/2] ARM: dts: imx6: Add support for Toradex Apalis SoM/Ixora Petr Štetiar
2015-11-19 12:24 ` [PATCH 1/2] ARM: dts: imx6: Add support for Toradex Apalis SoM Petr Štetiar
2015-11-19 14:12   ` Lucas Stach
2015-11-19 16:59     ` Joshua Clayton
2015-11-19 17:03       ` Fabio Estevam
2015-11-20 10:40       ` Petr Štetiar
2015-11-20 17:09         ` Joshua Clayton
2015-11-26 10:17     ` Petr Štetiar
2015-11-27 20:02       ` Stefan Agner
2015-11-28 19:38         ` Petr Štetiar
2015-11-27 19:38     ` Stefan Agner
2015-11-28 19:47       ` Petr Štetiar
2015-11-30 10:16       ` Lucas Stach [this message]
2015-11-19 12:25 ` [PATCH 2/2] ARM: dts: imx6: Add support for Toradex Apalis Ixora board Petr Štetiar

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=1448878619.8275.2.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --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;
as well as URLs for NNTP newsgroup(s).