All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Hans Ole Hatzel <hohatzel@jusst.de>
Cc: devicetree@vger.kernel.org, Julian Scheel <jscheel@jusst.de>,
	linux-arm-kernel@lists.infradead.org, fabio.estevam@nxp.com,
	ilya@compulab.co.il, linux-imx@nxp.com
Subject: Re: [PATCH 3/4] ARM: dts: imx7d: sbc imx7: add uart2
Date: Thu, 6 Dec 2018 11:13:02 +0800	[thread overview]
Message-ID: <20181206031301.GD3987@dragon> (raw)
In-Reply-To: <20181204110741.6943-4-hohatzel@jusst.de>

On Tue, Dec 04, 2018 at 12:07:40PM +0100, Hans Ole Hatzel wrote:
> Adds uart2 connections as used on the sbc. This uart is connected via
> the soc's pins 3 (TX) and 5 (RX). On the sbc it is pinned out on P4
> using pins 31 (RX) and 33 (TX).
> 
> Signed-off-by: Hans Ole Hatzel <hohatzel@jusst.de>
> Signed-off-by: Julian Scheel <jscheel@jusst.de>
> ---
>  arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 16 ++++++++++++++++
>  arch/arm/boot/dts/imx7d-sbc-imx7.dts    |  4 ++++
>  2 files changed, 20 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
> index e77e0cc7de39..6c2c844dc052 100644
> --- a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
> +++ b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
> @@ -214,6 +214,15 @@
>  	status = "okay";
>  };
>  
> +&uart2 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_uart2>;
> +	assigned-clocks = <&clks IMX7D_UART2_ROOT_SRC>;
> +	assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
> +	status = "disabled";
> +	fsl;

What is this?

Shawn

> +};
> +
>  &usbotg1 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_usbotg1>;
> @@ -314,6 +323,13 @@
>  		>;
>  	};
>  
> +	pinctrl_uart2: uart2grp {
> +		fsl,pins = <
> +			MX7D_PAD_LCD_ENABLE__UART2_DCE_TX		0x79
> +			MX7D_PAD_LCD_CLK__UART2_DCE_RX		0x79
> +		>;
> +	};
> +
>  	pinctrl_usdhc2: usdhc2grp {
>  		fsl,pins = <
>  			MX7D_PAD_SD2_CMD__SD2_CMD			0x59
> diff --git a/arch/arm/boot/dts/imx7d-sbc-imx7.dts b/arch/arm/boot/dts/imx7d-sbc-imx7.dts
> index f8a868552707..74904127fbc6 100644
> --- a/arch/arm/boot/dts/imx7d-sbc-imx7.dts
> +++ b/arch/arm/boot/dts/imx7d-sbc-imx7.dts
> @@ -26,6 +26,10 @@
>  	status = "okay";
>  };
>  
> +&uart2 {
> +	status = "okay";
> +};
> +
>  &iomuxc {
>  	pinctrl_usdhc1: usdhc1grp {
>  		fsl,pins = <
> -- 
> 2.19.2
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Hans Ole Hatzel <hohatzel@jusst.de>
Cc: devicetree@vger.kernel.org, Julian Scheel <jscheel@jusst.de>,
	linux-arm-kernel@lists.infradead.org, fabio.estevam@nxp.com,
	ilya@compulab.co.il, linux-imx@nxp.com
Subject: Re: [PATCH 3/4] ARM: dts: imx7d: sbc imx7: add uart2
Date: Thu, 6 Dec 2018 11:13:02 +0800	[thread overview]
Message-ID: <20181206031301.GD3987@dragon> (raw)
In-Reply-To: <20181204110741.6943-4-hohatzel@jusst.de>

On Tue, Dec 04, 2018 at 12:07:40PM +0100, Hans Ole Hatzel wrote:
> Adds uart2 connections as used on the sbc. This uart is connected via
> the soc's pins 3 (TX) and 5 (RX). On the sbc it is pinned out on P4
> using pins 31 (RX) and 33 (TX).
> 
> Signed-off-by: Hans Ole Hatzel <hohatzel@jusst.de>
> Signed-off-by: Julian Scheel <jscheel@jusst.de>
> ---
>  arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 16 ++++++++++++++++
>  arch/arm/boot/dts/imx7d-sbc-imx7.dts    |  4 ++++
>  2 files changed, 20 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
> index e77e0cc7de39..6c2c844dc052 100644
> --- a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
> +++ b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
> @@ -214,6 +214,15 @@
>  	status = "okay";
>  };
>  
> +&uart2 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_uart2>;
> +	assigned-clocks = <&clks IMX7D_UART2_ROOT_SRC>;
> +	assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
> +	status = "disabled";
> +	fsl;

What is this?

Shawn

> +};
> +
>  &usbotg1 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_usbotg1>;
> @@ -314,6 +323,13 @@
>  		>;
>  	};
>  
> +	pinctrl_uart2: uart2grp {
> +		fsl,pins = <
> +			MX7D_PAD_LCD_ENABLE__UART2_DCE_TX		0x79
> +			MX7D_PAD_LCD_CLK__UART2_DCE_RX		0x79
> +		>;
> +	};
> +
>  	pinctrl_usdhc2: usdhc2grp {
>  		fsl,pins = <
>  			MX7D_PAD_SD2_CMD__SD2_CMD			0x59
> diff --git a/arch/arm/boot/dts/imx7d-sbc-imx7.dts b/arch/arm/boot/dts/imx7d-sbc-imx7.dts
> index f8a868552707..74904127fbc6 100644
> --- a/arch/arm/boot/dts/imx7d-sbc-imx7.dts
> +++ b/arch/arm/boot/dts/imx7d-sbc-imx7.dts
> @@ -26,6 +26,10 @@
>  	status = "okay";
>  };
>  
> +&uart2 {
> +	status = "okay";
> +};
> +
>  &iomuxc {
>  	pinctrl_usdhc1: usdhc1grp {
>  		fsl,pins = <
> -- 
> 2.19.2
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2018-12-06  3:14 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 11:07 [PATCH 0/4] imx7 sbc board support extensions Hans Ole Hatzel
2018-12-04 11:07 ` Hans Ole Hatzel
2018-12-04 11:07 ` [PATCH 1/4] ARM: dts: imx7d: cl-som-imx7: fix pinctrl for i2c2 Hans Ole Hatzel
2018-12-04 11:07   ` Hans Ole Hatzel
2018-12-04 11:07 ` [PATCH 2/4] ARM: dts: imx7d: cl-som-imx7: WiLink8 WLAN support Hans Ole Hatzel
2018-12-04 11:07   ` Hans Ole Hatzel
2018-12-06  3:11   ` Shawn Guo
2018-12-06  3:11     ` Shawn Guo
2018-12-04 11:07 ` [PATCH 3/4] ARM: dts: imx7d: sbc imx7: add uart2 Hans Ole Hatzel
2018-12-04 11:07   ` Hans Ole Hatzel
2018-12-06  3:13   ` Shawn Guo [this message]
2018-12-06  3:13     ` Shawn Guo
2018-12-04 11:07 ` [PATCH 4/4] ARM: dts: imx7d: sbc imx7: add uart5 Hans Ole Hatzel
2018-12-04 11:07   ` Hans Ole Hatzel
2018-12-06  3:15   ` Shawn Guo
2018-12-06  3:15     ` Shawn Guo
2018-12-10 10:51     ` Hans Ole Hatzel
2018-12-10 10:51       ` Hans Ole Hatzel
2018-12-10 11:43       ` Fabio Estevam
2018-12-10 11:43         ` Fabio Estevam
2018-12-11  2:06         ` Shawn Guo
2018-12-11  2:06           ` Shawn Guo
2018-12-11  2:35           ` Fabio Estevam
2018-12-11  2:35             ` Fabio Estevam
2018-12-06  3:01 ` [PATCH 0/4] imx7 sbc board support extensions Shawn Guo
2018-12-06  3:01   ` Shawn Guo
2018-12-06  4:36 ` Shawn Guo
2018-12-06  4:36   ` Shawn Guo

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=20181206031301.GD3987@dragon \
    --to=shawnguo@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=hohatzel@jusst.de \
    --cc=ilya@compulab.co.il \
    --cc=jscheel@jusst.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.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.