aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJonathan Albrieux <[email protected]>2020-05-28 17:01:05 +0200
committerJonathan Cameron <[email protected]>2020-06-14 11:49:31 +0100
commit9604ed758dd807e749326ae8735f483567d1c35f (patch)
tree100148be0f624b1003ce8dd92f47b20e0859ca48 /tools/perf/scripts/python/export-to-postgresql.py
parentc2ea1d0cadde4e8e818b9f0bb13d9c457b7f0334 (diff)
iio: magnetometer: ak8975: Add gpio reset support
According to AK09911 datasheet, if reset gpio is provided then deassert reset on ak8975_power_on() and assert reset on ak8975_power_off(). Without reset's deassertion during ak8975_power_on(), driver's probe fails on ak8975_who_i_am() while checking for device identity for AK09911 chip. AK09911 has an active low reset gpio to handle register's reset. AK09911 datasheet says that, if not used, reset pin should be connected to VID. This patch emulates this situation. Signed-off-by: Jonathan Albrieux <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Stephan Gerhold <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions