linux/drivers/pinctrl/sh-pfc
Wolfram Sang 95c2d0efa0 pinctrl: sh-pfc: r8a7790: Initialize TDSEL register for ES1.0
Documentation for ES1.0 says that some bits in TDSEL must be set (ch
5.3.39 in R-Car H2 v0.91). However, the reset value of the register is
0, so software has to do it. Add this to the kernel driver to ensure
this is really done independent of firmware versions and use
whitelisting for ES versions known to need this.

This is needed for some SD cards supporting SDR104 transfer mode. For
me, TDSEL was not initialized by the firmware and I had problems with
the card when re-inserting it.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2019-01-21 13:24:52 +01:00
..
core.c pinctrl: sh-pfc: Print actual field width for variable-width fields 2018-12-18 11:25:56 +01:00
core.h pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
gpio.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
Kconfig pinctrl: sh-pfc: r8a77990: Add R8A774C0 PFC support 2018-09-19 17:29:00 +02:00
Makefile pinctrl: sh-pfc: r8a77990: Add R8A774C0 PFC support 2018-09-19 17:29:00 +02:00
pfc-emev2.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-r8a73a4.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-r8a7740.c pinctrl: sh-pfc: r8a7740: Add missing LCD0 marks to lcd0_data24_1 group 2018-12-18 11:25:56 +01:00
pfc-r8a7778.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-r8a7779.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-r8a7790.c pinctrl: sh-pfc: r8a7790: Initialize TDSEL register for ES1.0 2019-01-21 13:24:52 +01:00
pfc-r8a7791.c pinctrl: sh-pfc: r8a7791: Remove bogus marks from vin1_b_data18 group 2018-12-18 11:25:56 +01:00
pfc-r8a7792.c pinctrl: sh-pfc: r8a7792: Fix VIN versioned groups 2018-11-13 10:52:22 +01:00
pfc-r8a7794.c pinctrl: sh-pfc: r8a7794: Remove bogus IPSR9 field 2018-12-18 11:25:56 +01:00
pfc-r8a7795-es1.c pinctrl: sh-pfc: r8a7795-es1: Add I2C{0,3,5} pins, groups and functions 2018-11-19 11:56:35 +01:00
pfc-r8a7795.c pinctrl: sh-pfc: r8a7795: Add I2C{0,3,5} pins, groups and functions 2018-11-19 11:56:35 +01:00
pfc-r8a7796.c pinctrl: sh-pfc: r8a7796: Add I2C{0,3,5} pins, groups and functions 2018-11-19 11:56:35 +01:00
pfc-r8a77470.c pinctrl: sh-pfc: r8a77470: Add SDHI support 2018-11-06 09:20:26 +01:00
pfc-r8a77965.c pinctrl: sh-pfc: r8a77965: Add CAN FD pins, groups and functions 2018-11-19 11:56:35 +01:00
pfc-r8a77970.c pinctrl: sh-pfc: r8a77970: Add missing MOD_SEL0 field 2018-12-18 11:25:56 +01:00
pfc-r8a77980.c pinctrl: sh-pfc: r8a77980: Add missing MOD_SEL0 field 2018-12-18 11:25:56 +01:00
pfc-r8a77990.c Revert "pinctrl: sh-pfc: r8a77990: Add support for pull-up only pins" 2019-01-21 13:24:52 +01:00
pfc-r8a77995.c pinctrl: sh-pfc: r8a77995: Fix MOD_SEL bit numbering 2019-01-21 13:24:52 +01:00
pfc-sh73a0.c pinctrl: sh-pfc: sh73a0: Add missing TO pin to tpu4_to3 group 2018-12-18 11:25:56 +01:00
pfc-sh7203.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-sh7264.c pinctrl: sh-pfc: sh7264: Fix PFCR3 and PFCR0 register configuration 2018-12-18 11:25:56 +01:00
pfc-sh7269.c pinctrl: sh-pfc: sh7269: Add missing PCIOR0 field 2018-12-18 11:25:56 +01:00
pfc-sh7720.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-sh7722.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pfc-sh7723.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-sh7724.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-sh7734.c pinctrl: sh-pfc: sh7734: Fix shifted values in IPSR10 2018-12-18 11:25:56 +01:00
pfc-sh7757.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-sh7785.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-sh7786.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pfc-shx3.c pinctrl: sh-pfc: Convert to SPDX identifiers 2018-09-11 12:25:32 +02:00
pinctrl.c pinctrl: sh-pfc: Print pin group when debugging 2019-01-21 13:24:52 +01:00
sh_pfc.h pinctrl: sh-pfc: Make pinmux_cfg_reg.var_field_width[] variable-length 2018-12-18 11:25:56 +01:00