02 May, 2019
1 commit
-
Convert HiSilicon hi6xxx PMIC drivers to SPDX identifier.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
11 Apr, 2019
1 commit
-
Use regulator core's simplified DT parsing code to simply the driver
implementation.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
08 Jun, 2017
1 commit
-
The hi6421-regulator driver consumes a similarly named platform device.
Adding that to the module device table, allows modprobe to locate this
driver once the device is created.Signed-off-by: Guodong Xu
Signed-off-by: Mark Brown
02 Sep, 2016
1 commit
-
We get 1 warning when building kernel with W=1:
drivers/regulator/hi6421-regulator.c:480:14: warning: no previous prototype for
'hi6421_regulator_ldo_get_optimum_mode' [-Wmissing-prototypes]In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
So this patch marks it 'static'.Signed-off-by: Baoyou Xie
Acked-by: Arnd Bergmann
Signed-off-by: Mark Brown
20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
06 Sep, 2014
1 commit
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
05 Sep, 2014
1 commit
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
21 Aug, 2014
1 commit
-
The valid_modes_mask and *dev are not used in this driver, remove them.
Current code uses devm_regulator_register, so we don't need *regulator in
hi6421_regulator_info. Use a local variable instead.Also removes a few unnecessary inclusion of header files.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
19 Aug, 2014
1 commit
-
style fix for warnings. 'else' with a single 'return' is usually not
required.Signed-off-by: Guodong Xu
Signed-off-by: Mark Brown
17 Aug, 2014
1 commit
-
Add driver support for HiSilicon Hi6421 voltage regulators.
Two rules for regulator enabling are defined in hi6421 spec:
1) Between disable and enable of each regulator (LDOs or BUCKs), there must
be a protection gap. Use @off_on_delay of regulator core to implement this.
2) No two regulators can be enabled at the same time. Use mutex in
hi6421_regulator_pdata to ensure this. A protection gap of 100us is added
into each LDO/BUCK's .enable_time.Signed-off-by: Guodong Xu
Signed-off-by: Mark Brown