All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kever Yang <kever.yang@rock-chips.com>
To: heiko@sntech.de
Cc: linux-rockchip@lists.infradead.org, u-boot@lists.denx.de
Subject: [PATCH v2 4/5] rockchip: rk322x: pinctrl: fix IO MASK error on sdcard pin
Date: Thu, 17 Aug 2017 15:17:36 +0800	[thread overview]
Message-ID: <1502954257-7256-5-git-send-email-kever.yang@rock-chips.com> (raw)
In-Reply-To: <1502954257-7256-1-git-send-email-kever.yang@rock-chips.com>

Fix the IOMUX setting for SDcard CMD pin at the same time.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

Changes in v2: None

 drivers/pinctrl/rockchip/pinctrl_rk322x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/rockchip/pinctrl_rk322x.c b/drivers/pinctrl/rockchip/pinctrl_rk322x.c
index d9f8614..576b037 100644
--- a/drivers/pinctrl/rockchip/pinctrl_rk322x.c
+++ b/drivers/pinctrl/rockchip/pinctrl_rk322x.c
@@ -168,7 +168,7 @@ static void pinctrl_rk322x_sdmmc_config(struct rk322x_grf *grf, int mmc_id)
 		rk_clrsetreg(&grf->gpio1b_iomux,
 			     GPIO1B6_MASK | GPIO1B7_MASK,
 			     GPIO1B6_SDMMC_PWREN << GPIO1B6_SHIFT |
-			     GPIO1B7_SDMMC_CMD << GPIO1B6_SHIFT);
+			     GPIO1B7_SDMMC_CMD << GPIO1B7_SHIFT);
 		rk_clrsetreg(&grf->gpio1c_iomux, 0xfff,
 			     GPIO1C5_SDMMC_D3 << GPIO1C5_SHIFT |
 			     GPIO1C4_SDMMC_D2 << GPIO1C4_SHIFT |
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

WARNING: multiple messages have this Message-ID (diff)
From: Kever Yang <kever.yang@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/5] rockchip: rk322x: pinctrl: fix IO MASK error on sdcard pin
Date: Thu, 17 Aug 2017 15:17:36 +0800	[thread overview]
Message-ID: <1502954257-7256-5-git-send-email-kever.yang@rock-chips.com> (raw)
In-Reply-To: <1502954257-7256-1-git-send-email-kever.yang@rock-chips.com>

Fix the IOMUX setting for SDcard CMD pin at the same time.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

Changes in v2: None

 drivers/pinctrl/rockchip/pinctrl_rk322x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/rockchip/pinctrl_rk322x.c b/drivers/pinctrl/rockchip/pinctrl_rk322x.c
index d9f8614..576b037 100644
--- a/drivers/pinctrl/rockchip/pinctrl_rk322x.c
+++ b/drivers/pinctrl/rockchip/pinctrl_rk322x.c
@@ -168,7 +168,7 @@ static void pinctrl_rk322x_sdmmc_config(struct rk322x_grf *grf, int mmc_id)
 		rk_clrsetreg(&grf->gpio1b_iomux,
 			     GPIO1B6_MASK | GPIO1B7_MASK,
 			     GPIO1B6_SDMMC_PWREN << GPIO1B6_SHIFT |
-			     GPIO1B7_SDMMC_CMD << GPIO1B6_SHIFT);
+			     GPIO1B7_SDMMC_CMD << GPIO1B7_SHIFT);
 		rk_clrsetreg(&grf->gpio1c_iomux, 0xfff,
 			     GPIO1C5_SDMMC_D3 << GPIO1C5_SHIFT |
 			     GPIO1C4_SDMMC_D2 << GPIO1C4_SHIFT |
-- 
1.9.1

  parent reply	other threads:[~2017-08-17  7:17 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17  7:17 [PATCH v2 0/5] rockchip: rk3229: add sdram and sd support Kever Yang
2017-08-17  7:17 ` [U-Boot] " Kever Yang
2017-08-17  7:17 ` [PATCH v2 1/5] rockchip: rk322x: update dram bank size Kever Yang
2017-08-17  7:17   ` [U-Boot] " Kever Yang
2017-09-06  9:39   ` Kever Yang
2017-09-06 10:24     ` Dr. Philipp Tomsich
2017-08-17  7:17 ` [PATCH v2 2/5] rockchip: rk322x: add sdram driver Kever Yang
2017-08-17  7:17   ` [U-Boot] " Kever Yang
2017-09-05  9:51   ` [U-Boot,v2,2/5] " Philipp Tomsich
2017-09-05  9:51     ` [U-Boot] " Philipp Tomsich
     [not found]     ` <alpine.OSX.2.21.1709051140140.20553-P6fm21zUGUcV4DTK6cx7e366tl449arB@public.gmane.org>
2017-09-09  4:54       ` Simon Glass
2017-09-09  4:54         ` [U-Boot] " Simon Glass
2017-08-17  7:17 ` Kever Yang [this message]
2017-08-17  7:17   ` [U-Boot] [PATCH v2 4/5] rockchip: rk322x: pinctrl: fix IO MASK error on sdcard pin Kever Yang
2017-08-18 16:04   ` [U-Boot, v2, " Philipp Tomsich
2017-08-18 16:04     ` [U-Boot] " Philipp Tomsich
     [not found]   ` <1502954257-7256-5-git-send-email-kever.yang-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-08-18 13:01     ` Philipp Tomsich
2017-08-18 13:01       ` [U-Boot] " Philipp Tomsich
2017-08-18 17:06     ` Philipp Tomsich
2017-08-18 17:06       ` [U-Boot] " Philipp Tomsich
     [not found] ` <1502954257-7256-1-git-send-email-kever.yang-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-08-17  7:17   ` [PATCH v2 3/5] rockchip: rk322x: pinctrl: using compatible name same with dts Kever Yang
2017-08-17  7:17     ` [U-Boot] " Kever Yang
     [not found]     ` <1502954257-7256-4-git-send-email-kever.yang-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-08-18 13:01       ` [U-Boot, v2, " Philipp Tomsich
2017-08-18 13:01         ` [U-Boot] " Philipp Tomsich
2017-08-18 17:06       ` Philipp Tomsich
2017-08-18 17:06         ` [U-Boot] " Philipp Tomsich
2017-08-18 16:04     ` Philipp Tomsich
2017-08-18 16:04       ` [U-Boot] " Philipp Tomsich
2017-08-17  7:17   ` [PATCH v2 5/5] rockchip: dts: rk3229: remove dram channel info Kever Yang
2017-08-17  7:17     ` [U-Boot] " Kever Yang
2017-08-17  8:34 ` [PATCH v2 0/5] rockchip: rk3229: add sdram and sd support Dr. Philipp Tomsich
2017-08-17  8:34   ` [U-Boot] " Dr. Philipp Tomsich
2017-08-18  6:26   ` Kever Yang
2017-08-18  6:26     ` [U-Boot] " Kever Yang
2017-08-18  7:36     ` Dr. Philipp Tomsich
2017-08-18  7:36       ` [U-Boot] " Dr. Philipp Tomsich
2017-08-18 11:24       ` Kever Yang
2017-08-18 11:24         ` [U-Boot] " Kever Yang

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=1502954257-7256-5-git-send-email-kever.yang@rock-chips.com \
    --to=kever.yang@rock-chips.com \
    --cc=heiko@sntech.de \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.