[PATCH v2 0/1] drm/tyr: make SRAM supply optional like panthor

From: Onur Özkan

Date: Thu Feb 12 2026 - 05:07:53 EST


Changes in v2:
- Add rust_helper_regulator_get_optional() to fix CONFIG_REGULATOR=n
builds where `regulator_get_optional()` may be only a static inline.
- Update Regulator invariants documentation to mention both regulator_get()
and regulator_get_optional().

Onur Özkan (1):
drm/tyr: make SRAM supply optional like panthor

drivers/gpu/drm/tyr/driver.rs | 5 ++--
rust/helpers/regulator.c | 5 ++++
rust/kernel/regulator.rs | 45 +++++++++++++++++++++++++++++++++--
3 files changed, 51 insertions(+), 4 deletions(-)

--
2.51.2