diff options
author | Marek Vasut <[email protected]> | 2021-01-24 18:02:56 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-02-01 12:02:34 +0100 |
commit | 6351cac92a8c598115d74a700f1720861d57ef20 (patch) | |
tree | 6380c4fb77b04f7b4806c43f76c0c37e2a8e6260 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bbaa298f57cbcd214a4bffc4d877579686ee709e (diff) |
mmc: mmci: Add support for probing bus voltage level translator
Add support for testing whether bus voltage level translator is present
and operational. This is useful on systems where the bus voltage level
translator is optional, as the translator can be auto-detected by the
driver and the feedback clock functionality can be disabled if it is
not present.
This requires additional pinmux state, "init", where the CMD, CK, CKIN
lines are not configured, so they can be claimed as GPIOs early on in
probe(). The translator test sets CMD high to avoid interfering with a
card, and then verifies whether signal set on CK is detected on CKIN.
If the signal is detected, translator is present, otherwise the CKIN
feedback clock are disabled.
Cc: Alexandre Torgue <[email protected]>
Cc: Ludovic Barre <[email protected]>
Tested-by: Yann Gautier <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions