[PATCH v3 1/2] Document: dt: binding: imx: update pinctrl doc for imx6sll

Fabio Estevam festevam at gmail.com
Tue Feb 6 18:58:32 PST 2018


On Wed, Feb 7, 2018 at 12:07 AM, Bai Ping <ping.bai at nxp.com> wrote:

> +Examples:
> +#include "imx7ulp-pinfunc.h"

No need for including a imx7ulp header file here :-)

> +
> +/* Pin Controller Node */
> +
> +iomuxc: iomuxc at 020e0000 {
> +               compatible = "fsl,imx6sll-iomuxc";
> +               reg = <0x020e0000 0x4000>;
> +
> +       /* Pin configuration Node */
> +       pinctrl_uart1: uart1grp {
> +               pinmux = <
> +                       MX6SLL_PAD_UART1_TXD__UART1_DCE_TX
> +                       MX6SLL_PAD_UART1_RXD__UART1_DCE_RX
> +               >;
> +               slew-rate = <0x1>;
> +               drive-strength = <0x6>;
> +               fsl,pin-speed = <0x2>;
> +               bias-pull-up = <0x2>;
> +               input-schmitt-enable;
> +       };
> +};
> diff --git a/arch/arm/boot/dts/imx6sll-pinfunc.h b/arch/arm/boot/dts/imx6sll-pinfunc.h
> new file mode 100644
> index 0000000..5a3700b
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx6sll-pinfunc.h
> @@ -0,0 +1,882 @@
> +/*
> + * Copyright 2016 Freescale Semiconductor, Inc.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.

You could use SPDX line instead.



More information about the linux-arm-kernel mailing list