summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTroy Mitchell <troy.mitchell@linux.spacemit.com>2026-01-08 14:42:39 +0800
committerLinus Walleij <linusw@kernel.org>2026-01-20 00:50:34 +0100
commit450e2487d5a28260f70ad7fbf3060e7f8304203d (patch)
tree3c5c4c60424fb27de0254e97e1d214015ca48dcc /tools/perf/scripts/python
parente817f0223d78818cd6c0e3480355c9a9cfbc0096 (diff)
downloadlinux-450e2487d5a28260f70ad7fbf3060e7f8304203d.tar.gz
linux-450e2487d5a28260f70ad7fbf3060e7f8304203d.zip
pinctrl: spacemit: support I/O power domain configuration
Dual-voltage GPIO banks default to 3.3V operation. Even when a bank is externally supplied with 1.8V, the internal logic remains in the 3.3V domain, leading to functional failures. Add support for programming the IO domain power control registers to allow explicit configuration for 1.8V operation. These registers are secure due to hardware safety constraints. Specifically, configuring the domain for 1.8V while externally supplying 3.3V causes back-powering and potential pin damage. Consequently, access requires unlocking the AIB Secure Access Register (ASAR) in the APBC block before any read or write operation. Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions