[PATCH V1 04/11] ARM: dts: imx6qdl-sabrelite: add comments for pinctrl_hog
Shawn Guo
shawn.guo at linaro.org
Sat Dec 14 08:54:24 EST 2013
On Thu, Dec 12, 2013 at 06:49:08PM -0700, Troy Kisky wrote:
> Add a comment to tell the purpose of each pin. This
> makes it easy to tell if it should go somewhere else.
> i.e. the spi-nor cs could be put with pinctrl_ecspi1.
>
> Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
> ---
> arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
> index c4aa504..be899d3 100644
> --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
> @@ -114,13 +114,13 @@
> imx6q-sabrelite {
> pinctrl_hog: hoggrp {
> fsl,pins = <
> - MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x80000000
> - MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000
> - MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000
> - MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
> - MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x80000000
> - MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0
> - MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x80000000
> +/* uSDHC4 CD */ MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x80000000
After we move to board specific pingrp, it might be easier to move the
device related pin into corresponding pingrp and limit the hoggrp to
hold those truly non-owner pins. For this uSDHC4 CD example, it will be
something like below.
pinctrl_usdhc4: usdhc4grp {
fsl,pins = <
MX6QDL_USDHC4_PINGRP_D4
MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x80000000 /* CD */
>;
};
Shawn
> +/* spi-nor CS */ MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000
> +/* otg power en */ MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000
> +/* ethernet phy reset */ MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
> +/* USDHC3 CD */ MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x80000000
> +/* USDHC3 WP */ MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0
> +/* SGTL5000 sys_mclk */ MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x80000000
> >;
> };
>
> --
> 1.8.1.2
>
More information about the linux-arm-kernel
mailing list