]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: tps65219: Update _IDX & _OFFSET macro prefix
authorShree Ramamoorthy <s-ramamoorthy@ti.com>
Tue, 22 Jul 2025 18:16:08 +0000 (13:16 -0500)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 23 Jul 2025 08:27:30 +0000 (10:27 +0200)
commit8206650c604687687bed5898b3bdb90e5d361ed4
tree85c34faa8e2bf68c004a65689a9980014fdc16e4
parent5607f5ed3c5f30f41e72ce09c8e616af0fc0d474
gpio: tps65219: Update _IDX & _OFFSET macro prefix

TPS65215 and TPS65219 are overlapping PMIC devices. While their regulator
features differe, the GPIO features are the same. In the TPS65219 MFD
driver, the 2 PMICs share the same "tps65219-gpio" compatible string to
limit support for TPS65215 in this GPIO driver to comments.

The TPS6521X_GPIO0_IDX and TPS6521X_GPIO0_OFFSET macro name prefixes are
updated to indicate these macros apply to both PMICs.

Reviewed-by: Roger Quadros <rogerq@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Jonathan Cormier <jcormier@criticallink.com>
Signed-off-by: Shree Ramamoorthy <s-ramamoorthy@ti.com>
Link: https://lore.kernel.org/r/20250722181609.1541739-2-s-ramamoorthy@ti.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tps65219.c