diff options
author | Martin Sperl <kernel@martin.sperl.org> | 2019-03-30 09:31:04 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-03 11:32:13 +0700 |
commit | ccd978b708b03b18196205b3baee83b5047ee453 (patch) | |
tree | c7727fffed9b5a58baa4329bf417d433ec663828 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 519f2c22a6c71a9fefed1166c36d48246e010514 (diff) |
spi: bcm2835aux: setup gpio-cs to output and correct level during setup
Setup gpio-cs to the correct levels during setup and also make the
gpio definitely an output GPIO.
This is transparently fixing some badly configured DTs in the process
where cs-gpio is set but the gpios are still configured with native cs.
It also makes 100% sure that the initial CS levels are as expected -
especially on systems with devices on a bus with mixed CS_HIGH/CS_LOW
settings.
Fixes: 1ea29b39f4c812ec ("spi: bcm2835aux: add bcm2835 auxiliary spi device...")
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions