Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1685554 > unrolled thread

Re: [PATCH v1 1/1] ARM: dts: imx6: RIoTboard provide gpio-line-names

Started byShawn Guo <shawnguo@kernel.org>
First post2017-07-12 09:10 +0200
Last post2017-07-12 09:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v1 1/1] ARM: dts: imx6: RIoTboard provide gpio-line-names Shawn Guo <shawnguo@kernel.org> - 2017-07-12 09:10 +0200

#1685554 — Re: [PATCH v1 1/1] ARM: dts: imx6: RIoTboard provide gpio-line-names

FromShawn Guo <shawnguo@kernel.org>
Date2017-07-12 09:10 +0200
SubjectRe: [PATCH v1 1/1] ARM: dts: imx6: RIoTboard provide gpio-line-names
Message-ID<u2jWx-53w-5@gated-at.bofh.it>
On Tue, Jun 20, 2017 at 04:28:30PM +0200, Oleksij Rempel wrote:
> for each gpio controller

Please write up a complete sentence.  If you can explain a bit why these
names are useful would be better.

> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  arch/arm/boot/dts/imx6dl-riotboard.dts | 61 ++++++++++++++++++++++++++++++++++
>  1 file changed, 61 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts
> index 2cb72824e800..b9ecb3b3792a 100644
> --- a/arch/arm/boot/dts/imx6dl-riotboard.dts
> +++ b/arch/arm/boot/dts/imx6dl-riotboard.dts
> @@ -84,6 +84,67 @@
>  	};
>  };
>  
> +&gpio1 {
> +	gpio-line-names =
> +		"", "", "[SD2_WP]", "", "[SD2_CD]", "I2C3_SCL",
> +			"I2C3_SDA", "I2C4_SCL",
> +		"I2C4_SDA", "", "", "", "", "", "", "",
> +		"", "PWM3", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "";
> +};
> +
> +&gpio2 {
> +	gpio-line-names =
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "";
> +};
> +
> +&gpio3 {
> +	gpio-line-names =
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "[USB_OTG_VBUS]", "",
> +		"UART3_TXD", "UART3_RXD", "", "", "[EIM_D28]", "", "", "";
> +};
> +
> +&gpio4 {
> +	gpio-line-names =
> +		"", "", "", "", "", "", "UART4_TXD", "UART4_RXD",
> +		"UART5_TXD", "UART5_RXD", "", "", "", "", "", "",
> +		"GPIO4_16", "GPIO4_17", "GPIO4_18", "GPIO4_19", "",
> +			"CSPI3_CLK", "CSPI3_MOSI", "CSPI3_MISO",
> +		"CSPI3_CS0", "CSPI3_CS1", "GPIO4_26", "GPIO4_27",
> +			"CSPI3_RDY", "PWM1", "PWM2", "GPIO4_31";
> +};
> +
> +&gpio5 {
> +	gpio-line-names =
> +		"", "", "[EIM_A25]", "", "", "GPIO5_05", "GPIO5_06",
> +			"GPIO5_07",
> +		"GPIO5_08", "CSPI2_CS1", "CSPI2_MOSI", "CSPI2_MISO",
> +			"CSPI2_CS0", "CSPI2_CLK", "", "",
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "";
> +};
> +
> +&gpio6 {
> +	gpio-line-names =
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "";
> +};
> +
> +&gpio7 {
> +	gpio-line-names =
> +		"[SD3_CD]", "[SD3_WP]", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "",
> +		"", "", "", "", "", "", "", "";
> +};
> +
>  &audmux {

Please keep the new added nodes sorted alphabetically in label name.

Shawn

>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_audmux>;
> -- 
> 2.11.0
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web