devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fugang Duan <B38611@freescale.com>
To: shawn.guo@linaro.org
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/4] ARM: imx6sl: add imx6sl iomux-gpr field define
Date: Tue, 3 Sep 2013 12:26:24 +0800	[thread overview]
Message-ID: <1378182385-9205-4-git-send-email-B38611@freescale.com> (raw)
In-Reply-To: <1378182385-9205-1-git-send-email-B38611@freescale.com>

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.

Signed-off-by: Fugang Duan  <B38611@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

  parent reply	other threads:[~2013-09-03  4:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03  4:26 [PATCH v2 0/4] *** ARM: imx6sl: add FEC support for imx6sl evk platform *** Fugang Duan
2013-09-03  4:26 ` [PATCH v2 1/4] ARM: dts: add iomuxc-gpr device node for imx6sl Fugang Duan
2013-09-04 13:23   ` Shawn Guo
2013-09-03  4:26 ` [PATCH v2 2/4] ARM: dts: add fec phy reset for imx6sl evk board Fugang Duan
2013-09-09 14:53   ` Shawn Guo
2013-09-09 15:00     ` Sascha Hauer
2013-09-10  1:26     ` Duan Fugang-B38611
2013-09-10  3:11       ` Shawn Guo
2013-09-10  3:23         ` Duan Fugang-B38611
2013-09-10  3:34           ` Shawn Guo
2013-09-03  4:26 ` Fugang Duan [this message]
2013-09-05  1:44   ` [PATCH v2 3/4] ARM: imx6sl: add imx6sl iomux-gpr field define Otavio Salvador
2013-09-05  2:01     ` Duan Fugang-B38611
2013-09-05  2:04       ` Otavio Salvador
2013-09-03  4:26 ` [PATCH v2 4/4] ARM: imx6sl: config iomux-gpr1 to select clock for fec Fugang Duan
2013-09-04 13:19 ` [PATCH v2 0/4] *** ARM: imx6sl: add FEC support for imx6sl evk platform *** Shawn Guo

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=1378182385-9205-4-git-send-email-B38611@freescale.com \
    --to=b38611@freescale.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=shawn.guo@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).