24 Jan, 2020
2 commits
-
ROHM BD71850 PMIC is almost identical to BD71847. Main difference is some
initial voltage values for regulators. The BD71850 can be handled by
BD71847 driver but adding own compatible makes it clearer for one who
creates the DT for board containing this PMIC and allows SW to be
differentiating PMICs if needed.Signed-off-by: Matti Vaittinen
Signed-off-by: Lee Jones -
Thanks to Stephen Boyd I today learned we can use platform_device_id
to do device and module matching for MFD sub-devices!Do device matching using the platform_device_id instead of using
explicit module_aliases to load modules and custom parent-data field
to do module loading and sub-device matching.Cc: Stephen Boyd
Signed-off-by: Matti Vaittinen
Acked-by: Mark Brown
Signed-off-by: Lee Jones
02 Jul, 2019
2 commits
-
Allow overwriting the values in BD718XX_REG_PWRONCONFIG0 and
BD718XX_REG_PWRONCONFIG1 via devicetree. Read values in milliseconds and
attempt to round them to something supported by the hardware.Keep existing values (from bootloader or OTP) if property is not
present.Signed-off-by: Leonard Crestez
Reviewed-By: Matti Vaittinen
[Lee: Fixed-up merge/API conflict]
Signed-off-by: Lee Jones -
The reset button on imx8mm-evk is tied to PWRON_B pin of bd71847 and the
long press duration is set to zero from OTP. The linux driver overrides
those values and breaks reset from button.Overwriting OTP or bootloader configuration with some hardcoded defaults
is not desirable, keep already programmed values instead.Signed-off-by: Leonard Crestez
Acked-By: Matti Vaittinen
Signed-off-by: Lee Jones
27 Jun, 2019
1 commit
-
Split the bd718x7.h to ROHM common and bd718x7 specific parts
so that we do not need to add same things in every new ROHM
PMIC header. Please note that this change requires changes also
in bd718x7 sub-device drivers for regulators and clk.Signed-off-by: Matti Vaittinen
Acked-by: Mark Brown
Acked-by: Stephen Boyd
Signed-off-by: Lee Jones
02 Oct, 2018
1 commit
-
Casting address to unsigned int causes a warning on some 64 bit
architectures. Fix the cast.Signed-off-by: Matti Vaittinen
Reported-by: Stephen Rothwell
Signed-off-by: Mark Brown
28 Sep, 2018
2 commits
-
Rename parts of code that support both BD71837 and BD71847 to BD718XX.
Signed-off-by: Matti Vaittinen
Acked-by: Lee Jones
Signed-off-by: Mark Brown -
BD71847 is reduced version of BD71837. DVS bucks 3 and 4 are
removed as is LDO7. Voltage ranges of some regulators are
expanded.Add initial support for BD71847 with BD71837 driver.
Signed-off-by: Matti Vaittinen
Acked-by: Lee Jones
Signed-off-by: Mark Brown
16 Aug, 2018
1 commit
-
ROHM BD71837 PMIC MFD driver providing interrupts and support
for three subsystems:
- clk
- Regulators
- input/power-keySigned-off-by: Matti Vaittinen
Reviewed-by: Enric Balletbo i Serra
Signed-off-by: Lee Jones