diff options
| author | Linus Walleij <[email protected]> | 2018-12-02 09:43:20 +0100 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2018-12-17 08:26:24 +0100 |
| commit | d2951dfa070ddb3ae3c48ea8a5d7acb2fa8614bd (patch) | |
| tree | 47a8b78838d507a1657f6c7cffa721b694720eb7 /tools/perf/scripts/python/netdev-times.py | |
| parent | faed9303067a0bd9d8ddb09c0de3bc742334773a (diff) | |
mmc: s3cmci: Use the slot GPIO descriptor
Simplify things by making the S3CMCI driver just use
slot GPIO with descriptors instead of passing around the
global GPIO numbers that we want to get rid of.
Getting the names of the GPIO chips into the machine
descriptor tables was a bit of a challenge but I think
I have them right.
The platform data supports passing in inversion flags, but
no platform is using them, and it is highly unlikely
that we will add more, so drop them. The long term plan
is to let the inversion flags on the GPIO machine
descriptor do the job.
The lines are flagged as GPIO_ACTIVE_[LOW|HIGH] as that is
what they are, and since we can now rely on the descriptors
to have the right polarity, we set the
"override_active_level" to false in mmc_gpiod_request_cd()
and mmc_gpiod_request_ro().
Cc: Jaehoon Chung <[email protected]>
Cc: Sylwester Nawrocki <[email protected]>
Cc: Sergio Prado <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions