03 Jul, 2019
1 commit
-
The variable ret is being initialized with a value that is never
read and it is being updated later with a new value. The
initialization is redundant and can be removed.Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King
Link: https://lore.kernel.org/r/20190703082009.18779-1-colin.king@canonical.com
Signed-off-by: Mark Brown
19 Jun, 2019
1 commit
-
Linux 5.2-rc4
05 Jun, 2019
1 commit
-
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms and conditions of the gnu general public license
version 2 as published by the free software foundationextracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 101 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Allison Randal
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190531190113.822954939@linutronix.de
Signed-off-by: Greg Kroah-Hartman
28 May, 2019
1 commit
-
Add support for Maxim 77663.
Signed-off-by: Dmitry Osipenko
Signed-off-by: Mark Brown
26 Apr, 2019
1 commit
-
Current code always set pmic->rinfo[id] = &max77620_regs_info[id];
It should set to either max77620_regs_info or max20024_regs_info
depends on the chip_id.Signed-off-by: Axel Lin
Reviewed-by: Dmitry Osipenko
Tested-by: Dmitry Osipenko
Signed-off-by: Mark Brown
21 Feb, 2019
1 commit
-
Add missing .owner field in regulator_desc, which is used for refcounting.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
10 Jan, 2019
1 commit
-
If regulator DT node doesn't exist, its of_parse_cb callback
function isn't called. Then all values for DT properties are
filled with zero. This leads to wrong register update for
FPS and POK settings.Signed-off-by: Jinyoung Park
Signed-off-by: Mark Zhang
Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org
01 Feb, 2017
1 commit
-
Declare regulator_ops structure as const as it is only stored in the ops
field of a regulator_desc structure. This field is of type const, so
regulator_ops structures having this property can be made const too.File size before: drivers/regulator/max77620-regulator.o
text data bss dec hex filename
4811 6992 0 11803 2e1b regulator/max77620-regulator.oFile size after: drivers/regulator/max77620-regulator.o
text data bss dec hex filename
5075 6720 0 11795 2e13 regulator/max77620-regulator.oSigned-off-by: Bhumika Goyal
Signed-off-by: Mark Brown
24 Nov, 2016
1 commit
-
Adding support to configure regulator POK mapping bit
to control nRST_IO and GPIO1 POK function.
In tegra based platform which uses MAX20024 pmic, when
some of regulators are configured FPS_NONE(flexible power sequencer)
causes PMIC GPIO1 to go low which lead to various other rails turning off,
to avoid this MPOK bit of those regulators need to be set to 0
so that PMIC GPIO1 will not go low.Signed-off-by: Venkat Reddy Talla
Acked-by: Lee Jones
Signed-off-by: Mark Brown
16 Nov, 2016
1 commit
-
max77620_reuglator_pdata structure variable reg_idata
is not used anywhere in the regulator driver, so removing it.Signed-off-by: Venkat Reddy Talla
Signed-off-by: Mark Brown
30 Jun, 2016
1 commit
-
SD4 regulator is not registered with regulator core
framework in probe as there is no support in MAX77620 PMIC,
removing SD4 entry from MAX77620 regulator information list
and checking for valid regulator information data before
configuring FPS source and FPS power up/down period to avoid
NULL pointer exception if regulator not registered with core.Signed-off-by: Venkat Reddy Talla
Signed-off-by: Mark Brown
22 Apr, 2016
1 commit
-
Maxim advertised the ramp rate of the rail with some recommended
design specification like output capacitance of rail should be
2.2uF. This make sure that current change in the rail is within
maximum current limit and hence meet the advertised ramp rate.If there is variation in design which causes the rail current to
change more that maximum current limit then device applies the
current limit. In this case, ramp rate is different than advertised
ramp rate.Add device specific settings for ramp rate which need to be configure
on device register when measure ramp rate on platform is deviated from
advertised ramp rate. In this case, all delay time calculation for
voltage change is done with measured ramp rate and device ramp rate
is used for configuring the device register.If measured ramp rate in the platform is same as advertised ramp rate
then regulator-ramp-delay is used for the device register configuration
and ramp time calculation for voltage change.Signed-off-by: Laxman Dewangan
Signed-off-by: Mark Brown
02 Mar, 2016
1 commit
-
Add regulator ops callback for configuration of active-discharge
and provide necessarily information via regulator descriptor.Signed-off-by: Laxman Dewangan
Signed-off-by: Mark Brown
26 Feb, 2016
3 commits
-
The same alias is already in .id_table.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
These fields are never used and not required at all, remove them.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
20 Feb, 2016
1 commit
-
MAXIM Semiconductor's PMIC, MAX77620 and MAX20024 have the
multiple DCDC and LDOs. This supplies the power to different
components of the system.
Also these rails has configuration for ramp time, flexible
power sequence, slew rate etc.Add regulator driver to access these rails via regulator APIs.
Signed-off-by: Laxman Dewangan
Signed-off-by: Mallikarjun Kasoju
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Mark Brown