All of lore.kernel.org
 help / color / mirror / Atom feed
From: khilman@baylibre.com (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: da850: Add missing pin muxing for the UARTs
Date: Thu, 04 Aug 2016 12:04:36 -0700	[thread overview]
Message-ID: <m27fbwqrsr.fsf@baylibre.com> (raw)
In-Reply-To: <20160804110656.25318-1-kbeldan@baylibre.com> (Karl Beldan's message of "Thu, 4 Aug 2016 11:06:56 +0000")

+Sekhar

Karl Beldan <kbeldan@baylibre.com> writes:

> This adds 2 pinctrl groups (rtscts, rxtx) for each of the 3 UARTs.
>
> Signed-off-by: Karl Beldan <kbeldan@baylibre.com>
> ---
>  arch/arm/boot/dts/da850.dtsi | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> index 25f0f8e..bc10e7e 100644
> --- a/arch/arm/boot/dts/da850.dtsi
> +++ b/arch/arm/boot/dts/da850.dtsi
> @@ -41,6 +41,42 @@
>  			pinctrl-single,function-mask = <0xf>;
>  			status = "disabled";
>  
> +			serial0_rtscts_pins: pinmux_serial0_rtscts_pins {
> +				pinctrl-single,bits = <
> +					/* UART0_RTS UART0_CTS */
> +					0x0c 0x22000000 0xff000000
> +				>;
> +			};
> +			serial0_rxtx_pins: pinmux_serial0_rxtx_pins {
> +				pinctrl-single,bits = <
> +					/* UART0_TXD UART0_RXD */
> +					0x0c 0x00220000 0x00ff0000
> +				>;
> +			};
> +			serial1_rtscts_pins: pinmux_serial1_rtscts_pins {
> +				pinctrl-single,bits = <
> +					/* UART1_CTS UART1_RTS */
> +					0x00 0x00440000 0x00ff0000
> +				>;
> +			};
> +			serial1_rxtx_pins: pinmux_serial1_rxtx_pins {
> +				pinctrl-single,bits = <
> +					/* UART1_TXD UART1_RXD */
> +					0x10 0x22000000 0xff000000
> +				>;
> +			};
> +			serial2_rtscts_pins: pinmux_serial2_rtscts_pins {
> +				pinctrl-single,bits = <
> +					/* UART2_CTS UART2_RTS */
> +					0x00 0x44000000 0xff000000
> +				>;
> +			};
> +			serial2_rxtx_pins: pinmux_serial2_rxtx_pins {
> +				pinctrl-single,bits = <
> +					/* UART2_TXD UART2_RXD */
> +					0x10 0x00220000 0x00ff0000
> +				>;
> +			};
>  			nand_cs3_pins: pinmux_nand_pins {
>  				pinctrl-single,bits = <
>  					/* EMA_OE, EMA_WE */

WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
To: Karl Beldan <kbeldan-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
	Sekhar Nori <nsekhar-l0cyMroinI0@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Russell King <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>,
	karl.beldan+oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] ARM: dts: da850: Add missing pin muxing for the UARTs
Date: Thu, 04 Aug 2016 12:04:36 -0700	[thread overview]
Message-ID: <m27fbwqrsr.fsf@baylibre.com> (raw)
In-Reply-To: <20160804110656.25318-1-kbeldan-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> (Karl Beldan's message of "Thu, 4 Aug 2016 11:06:56 +0000")

+Sekhar

Karl Beldan <kbeldan-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> writes:

> This adds 2 pinctrl groups (rtscts, rxtx) for each of the 3 UARTs.
>
> Signed-off-by: Karl Beldan <kbeldan-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
> ---
>  arch/arm/boot/dts/da850.dtsi | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> index 25f0f8e..bc10e7e 100644
> --- a/arch/arm/boot/dts/da850.dtsi
> +++ b/arch/arm/boot/dts/da850.dtsi
> @@ -41,6 +41,42 @@
>  			pinctrl-single,function-mask = <0xf>;
>  			status = "disabled";
>  
> +			serial0_rtscts_pins: pinmux_serial0_rtscts_pins {
> +				pinctrl-single,bits = <
> +					/* UART0_RTS UART0_CTS */
> +					0x0c 0x22000000 0xff000000
> +				>;
> +			};
> +			serial0_rxtx_pins: pinmux_serial0_rxtx_pins {
> +				pinctrl-single,bits = <
> +					/* UART0_TXD UART0_RXD */
> +					0x0c 0x00220000 0x00ff0000
> +				>;
> +			};
> +			serial1_rtscts_pins: pinmux_serial1_rtscts_pins {
> +				pinctrl-single,bits = <
> +					/* UART1_CTS UART1_RTS */
> +					0x00 0x00440000 0x00ff0000
> +				>;
> +			};
> +			serial1_rxtx_pins: pinmux_serial1_rxtx_pins {
> +				pinctrl-single,bits = <
> +					/* UART1_TXD UART1_RXD */
> +					0x10 0x22000000 0xff000000
> +				>;
> +			};
> +			serial2_rtscts_pins: pinmux_serial2_rtscts_pins {
> +				pinctrl-single,bits = <
> +					/* UART2_CTS UART2_RTS */
> +					0x00 0x44000000 0xff000000
> +				>;
> +			};
> +			serial2_rxtx_pins: pinmux_serial2_rxtx_pins {
> +				pinctrl-single,bits = <
> +					/* UART2_TXD UART2_RXD */
> +					0x10 0x00220000 0x00ff0000
> +				>;
> +			};
>  			nand_cs3_pins: pinmux_nand_pins {
>  				pinctrl-single,bits = <
>  					/* EMA_OE, EMA_WE */
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2016-08-04 19:04 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 11:06 [PATCH] ARM: dts: da850: Add missing pin muxing for the UARTs Karl Beldan
2016-08-04 11:06 ` Karl Beldan
2016-08-04 19:04 ` Kevin Hilman [this message]
2016-08-04 19:04   ` Kevin Hilman
2016-08-04 19:20 ` Kevin Hilman
2016-08-04 19:20   ` Kevin Hilman
2016-08-04 19:40   ` Karl Beldan
2016-08-04 21:00   ` Karl Beldan
2016-08-04 21:00     ` Karl Beldan
2016-08-04 23:00     ` Kevin Hilman
2016-08-04 23:00       ` Kevin Hilman
2016-08-23 11:09       ` Sekhar Nori
2016-08-23 11:09         ` Sekhar Nori
2016-08-23 11:16         ` Sekhar Nori
2016-08-23 11:16           ` Sekhar Nori
2016-08-24  8:38           ` Karl Beldan
2016-08-24  8:38             ` Karl Beldan
2016-08-25 13:42             ` Sekhar Nori
2016-08-25 13:42               ` Sekhar Nori
2016-08-25 14:15               ` Karl Beldan
2016-08-25 14:15                 ` Karl Beldan
2016-08-26 11:42                 ` Sekhar Nori
2016-08-26 11:42                   ` Sekhar Nori
2016-08-26 12:25             ` Sekhar Nori
2016-08-26 12:25               ` Sekhar Nori
2016-08-26 17:17               ` Karl Beldan
2016-08-26 17:17                 ` Karl Beldan
2016-08-30  8:54                 ` Sekhar Nori
2016-08-30  8:54                   ` Sekhar Nori
2016-08-09 10:19 ` Sekhar Nori
2016-08-09 10:19   ` Sekhar Nori

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=m27fbwqrsr.fsf@baylibre.com \
    --to=khilman@baylibre.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.