From: Chris Paterson <Chris.Paterson2@renesas.com>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
Cc: "linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: RE: [PATCH v2 0/2] pinctrl: sh-pfc: gen2: initialize TDSEL register for ES1.0
Date: Tue, 8 Jan 2019 11:18:55 +0000 [thread overview]
Message-ID: <TYAPR01MB2285DCB1EA42F6B4FE33E1C3B78A0@TYAPR01MB2285.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <20190107221320.14930-1-wsa+renesas@sang-engineering.com>
Hello Wolfram,
Thank you for the heads up.
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Sent: 07 January 2019 22:13
>
> 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).
>
> Changes since V1:
>
> * we discussed this with the HW team internally and concluded this is only
> needed for ES1.0 versions of these SoCs. So, setting TDSEL is now
> whitelisted using soc_device_match.
>
> * Chris added to CC
> For two reasons: first, to give him a chance to test this so we don't
> break the RZ series.
Neither RZ/G1[HE] devices are based on ES1.0 so these patches shouldn't have an effect.
According to the RZ/G1 H/W manuals, all RZ/G1[HMNE] devices are expecting 0 for TDSEL.
> Second, according to Geert, R-Car E2X and RZ/G1C
> might have the same 'non-zero default value of TDSEL' problem and maybe
> need fixing, too. But we don't have HW to check/test this.
Geert is correct. We'll have to look into it.
Kind regards, Chris
>
> Looking forward to comments!
>
> Thanks,
>
> Wolfram
>
>
> Wolfram Sang (2):
> pinctrl: sh-pfc: r8a7790: initialize TDSEL register for ES1.0
> pinctrl: sh-pfc: r8a7794: initialize TDSEL register for ES1.0
>
> drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 17 +++++++++++++++++
> drivers/pinctrl/sh-pfc/pfc-r8a7794.c | 16 ++++++++++++++++
> 2 files changed, 33 insertions(+)
>
> --
> 2.11.0
prev parent reply other threads:[~2019-01-08 11:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-07 22:13 [PATCH v2 0/2] pinctrl: sh-pfc: gen2: initialize TDSEL register for ES1.0 Wolfram Sang
2019-01-07 22:13 ` [PATCH v2 1/2] pinctrl: sh-pfc: r8a7790: " Wolfram Sang
2019-01-08 15:07 ` Simon Horman
2019-01-09 8:34 ` Geert Uytterhoeven
2019-01-07 22:13 ` [PATCH v2 2/2] pinctrl: sh-pfc: r8a7794: " Wolfram Sang
2019-01-08 15:07 ` Simon Horman
2019-01-09 8:35 ` Geert Uytterhoeven
2019-01-08 11:18 ` Chris Paterson [this message]
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=TYAPR01MB2285DCB1EA42F6B4FE33E1C3B78A0@TYAPR01MB2285.jpnprd01.prod.outlook.com \
--to=chris.paterson2@renesas.com \
--cc=geert@linux-m68k.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=wsa+renesas@sang-engineering.com \
/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).