All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pinctrl: sh-pfc: gen2: initialize TDSEL register
@ 2018-10-28 21:24 Wolfram Sang
  2018-10-28 21:24 ` [PATCH 1/2] pinctrl: sh-pfc: r8a7790: " Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Wolfram Sang @ 2018-10-28 21:24 UTC (permalink / raw)
  To: linux-gpio; +Cc: linux-renesas-soc, Geert Uytterhoeven, Wolfram Sang

During our SDHI hackathon, we found that Lager was the only Gen2 board
having issues with a stubborn SD card. The issue went away when setting
TDSEL to the expected value mentioned in the H2 documentation which is
sadly not the default value. M2-W, M2-N, and V2H have an expected value
of 0 for TDSEL, so this is why they likely work out of the box (V2H has
non-zero drive strength bit, though). I can't verify those SoCs here, no
boards. E2 has a non-zero expected value as well, so we fix it in this
patch series as well (although on my board the bootloader prepares TDSEL
correctly, but let's not rely on that).

Based on an RFC patch for H2 sent two years ago.


Wolfram Sang (2):
  pinctrl: sh-pfc: r8a7790: initialize TDSEL register
  pinctrl: sh-pfc: r8a7794: initialize TDSEL register

 drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 10 ++++++++++
 drivers/pinctrl/sh-pfc/pfc-r8a7794.c |  9 +++++++++
 2 files changed, 19 insertions(+)

-- 
2.19.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-11-09  5:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-28 21:24 [PATCH 0/2] pinctrl: sh-pfc: gen2: initialize TDSEL register Wolfram Sang
2018-10-28 21:24 ` [PATCH 1/2] pinctrl: sh-pfc: r8a7790: " Wolfram Sang
2018-10-30 13:55   ` Simon Horman
2018-10-31  1:19   ` Marek Vasut
2018-11-08 19:44   ` Geert Uytterhoeven
2018-10-28 21:24 ` [PATCH 2/2] pinctrl: sh-pfc: r8a7794: " Wolfram Sang
2018-10-30 13:55   ` Simon Horman
2018-10-31  1:19   ` Marek Vasut
2018-11-08 19:46   ` Geert Uytterhoeven
2018-11-08 20:00 ` [PATCH 0/2] pinctrl: sh-pfc: gen2: " Geert Uytterhoeven

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.