[PATCH v4 0/4] media: i2c: ds90ub953: Add back channel GPIO support

From: Guoniu Zhou

Date: Fri Feb 27 2026 - 06:22:04 EST


Add back channel GPIO support.
dt-bindings: media: ti,ds90ub953: Add new range for remote GPIO data
media: i2c: ds90ub953: Add back channel GPIO support

Use helper macro to simplify code.
media: i2c: ds90ub953: use devm_mutex_init() to simplify code
media: i2c: ds90ub953: use guard() to simplify code

Signed-off-by: Guoniu Zhou <guoniu.zhou@xxxxxxx>
---
Changes in v4:
- Rebase to 7.0-rc1
- Use folder block instead of literal block for #gpio-cell property description.
- Only log GPIO 0-3 stats since remote GPIO 4-7 reuse GPIO 0-3 pins.
- Link to v3: https://lore.kernel.org/r/20250916-ds90ub953-v3-0-bb7bc6545da7@xxxxxxx

Changes in v3:
- Make GPIO range from 0-3 to 0-7 to support GPIO data from remote
compatible deserializer suggested by Rob instead of adding third
cell for GPIO controller.
- Update driver to expand GPIO range.
- Link to v2: https://lore.kernel.org/r/20250911-ds90ub953-v2-0-03ee76eb6b59@xxxxxxx

Changes in v2:
- Remove new property ti,gpio-data added in patch 1.
- Add third cell for GPIO controller to select GPIO output source.
- Move PTR_ERR() in dev_err_probe();
- Link to v1: https://lore.kernel.org/r/20250910-ds90ub953-v1-0-a7813ffbdf11@xxxxxxx

---
Guoniu Zhou (4):
dt-bindings: media: ti,ds90ub953: Add new range for remote GPIO data
media: i2c: ds90ub953: Add back channel GPIO support
media: i2c: ds90ub953: use devm_mutex_init() to simplify code
media: i2c: ds90ub953: use guard() to simplify code

.../bindings/media/i2c/ti,ds90ub953.yaml | 8 +-
drivers/media/i2c/ds90ub953.c | 109 ++++++++++++---------
2 files changed, 66 insertions(+), 51 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20250901-ds90ub953-168628c53a00

Best regards,
--
Guoniu Zhou <guoniu.zhou@xxxxxxx>