Robert Marko
a8280a5dd5
regulator: mp5416: remove kernel.h include
...
Driver does not seem to utilize anything from the kernel.h, compiles
and works fine for me without it.
So remove kernel.h include as it pulls in a lot of unused stuff.
Signed-off-by: Robert Marko <[email protected] >
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected] >
2022-06-07 17:21:36 +01:00
Robert Marko
fcdaf74a0a
regulator: mp5416: add support for MP5496
...
MP5496 is the updated version of MP5416 with the only difference being
that now all Buck regulators have the same 0.6-2.1875V range with a 12.5mV
step.
Signed-off-by: Robert Marko <[email protected] >
Acked-by: Saravanan Sekar <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected] >
2022-06-06 12:39:09 +01:00
Robert Marko
df43c245dd
regulator: mp5416: use OF match data
...
In preparation for adding support for MP5496 which slightly differs from
MP5416 convert the driver to use OF match data instead of always using the
MP5416 regulator_desc for regulator registration.
Signed-off-by: Robert Marko <[email protected] >
Acked-by: Saravanan Sekar <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected] >
2022-06-06 12:39:08 +01:00
Robert Marko
b9dea0184b
regulator: mp5416: alphabetically sort header includes
...
Sort the header include list alphabetically.
Signed-off-by: Robert Marko <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected] >
2022-06-06 12:39:07 +01:00
Axel Lin
15413ce566
regulator: mp5416: Convert to use regulator_set_ramp_delay_regmap
...
Use regulator_set_ramp_delay_regmap instead of open-coded.
Signed-off-by: Axel Lin <[email protected] >
Message-Id: <[email protected] >
Signed-off-by: Mark Brown <[email protected] >
2021-05-25 16:45:10 +01:00
Axel Lin
502cdd605e
regulator: mp5416: Fix output discharge enable bit for LDOs
...
The .active_discharge_on/.active_discharge_mask settings does not match
the datasheet, fix it.
Signed-off-by: Axel Lin <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected] >
2020-02-17 19:13:26 +00:00
Saravanan Sekar
a273188b87
regulator: mp5416: add mp5416 regulator driver
...
Adding regulator driver for the device mp5416.
The MP5416 PMIC device contains four DC-DC buck converters and
five regulators, accessed over I2C.
Signed-off-by: Saravanan Sekar <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected] >
2020-02-11 11:34:34 +00:00