[PATCH] ARM: imx6sl: add imx6sl iomux-gpr field define

Shawn Guo shawn.guo at linaro.org
Thu Aug 29 07:45:55 EDT 2013


On Thu, Aug 22, 2013 at 06:50:37PM +0800, Fugang Duan wrote:
> Add imx6sl iomux-gpr register field define in "imx6q-iomuxc-gpr.h" header
> file, which is not fully define all iomux-gpr registers and fields, only
> add fec related macro define.

I would suggest we have imx6sl-iomuxc-gpr.h if there is not so many
things in common between imx6q and imx6sl iomuxc-gpr definitions.

Shawn

> 
> Signed-off-by: Fugang Duan  <B38611 at freescale.com>
> ---
>  include/linux/mfd/syscon/imx6q-iomuxc-gpr.h |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
> index b6bdcd6..7086b22 100644
> --- a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
> +++ b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
> @@ -363,4 +363,9 @@
>  #define IMX6Q_GPR13_SATA_TX_LVL_1_240_V		(0x1f << 2)
>  #define IMX6Q_GPR13_SATA_MPLL_CLK_EN		BIT(1)
>  #define IMX6Q_GPR13_SATA_TX_EDGE_RATE		BIT(0)
> +
> +/* For imx6sl iomux gpr register field define */
> +#define IMX6SL_GPR1_FEC_CLOCK_MUX1_SEL_MASK    (0x3 << 17)
> +#define IMX6SL_GPR1_FEC_CLOCK_MUX2_SEL_MASK    (0x1 << 14)
> +
>  #endif /* __LINUX_IMX6Q_IOMUXC_GPR_H */
> -- 
> 1.7.1
> 
> 




More information about the linux-arm-kernel mailing list