[PATCH v2 0/3] regulator: init_data handling update

From: Jerome Brunet
Date: Tue Oct 08 2024 - 12:07:54 EST


This patchset groups the regulator patches around the init_data topic
discussed on pmbus write protect patchset [1]

[1]: https://lore.kernel.org/r/20240920-pmbus-wp-v1-0-d679ef31c483@xxxxxxxxxxxx

Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
---
Changes in v2:
- Add warning if both init_data and of_match are set.
- Add init_data patches discussed on pmbus patchset
- Link to v1: https://lore.kernel.org/r/20240920-regulator-ignored-data-v1-1-7ea4abfe1b0a@xxxxxxxxxxxx

---
Jerome Brunet (3):
regulator: core: do not silently ignore provided init_data
regulator: core: add callback to perform runtime init
regulator: core: remove machine init callback from config

drivers/regulator/core.c | 70 ++++++++++++++++++++++-----------------
include/linux/regulator/driver.h | 2 ++
include/linux/regulator/machine.h | 3 +-
3 files changed, 43 insertions(+), 32 deletions(-)
---
base-commit: 206f8bf25befe4b591a47868937ef888d916d8ba
change-id: 20240920-regulator-ignored-data-78e7a855643e

Best regards,
--
Jerome