summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2026-09-16 09:12:18 +0300
committerLee Jones <lee@kernel.org>2026-09-23 11:32:12 +0100
commit03888668ce533f948a1de975523e2663d723bbe8 (patch)
treebae2f9a521a62c9c42d846101908786e27c19cb4 /tools/perf/scripts/python/export-to-sqlite.py
parent9dd502dde33c60274e1b4962f05194bc16006d7d (diff)
downloadlinux-next-03888668ce533f948a1de975523e2663d723bbe8.tar.gz
linux-next-03888668ce533f948a1de975523e2663d723bbe8.zip
gpio: bd73800: Support ROHM BD73800 PMIC GPIOs
The ROHM BD73800 PMIC has 4 pins (named GPIO1, CLKOUT, FAULT_B and EXTEN_OUT) which might have been set to operate as a GPI or GPO when OTP (One Time Programmable memory) is written at device manufacturing. Support the GPI/GPO use-case via GPIO framework. The default OTP for these pins is to not use any of them as GPI or GPO. (The GPIO1 defaults as an ADC input regardless the naming). Hence the driver assumes none of these pins is a GPI/GPO unless explicitly pointed as GPI or GPO via device tree. Furthermore, pin's direction can't be changed after OTP configuration is done. Also the default drive type for a GPO (CMOS / Open Drain) is set by the OTP configuration. The BD73800 has a set of undocumented test registers which should allow changing the drive type. Access to the test register area or the test registers aren't documented and so this driver does not support configuring the drive type even though it might be doable. Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Reviewed-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/e3e6ac712519326cc25fcdd0a0c8e3cc42ef55ab.1789538455.git.mazziesaccount@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions