LS3 has a selectable current limit.
Change units to microamp in the example.
Signed-off-by: Christian Hohnstaedt
---
Documentation/devicetree/bindings/regulator/tps65218.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator
Add support for the LS2 regulator in the tps65218 device
Christian Hohnstaedt (2):
dt-bindings: regulator: Add LS2 load switch documentation
regulator: tps65218: Add support for LS2
.../devicetree/bindings/regulator/tps65218.txt | 4 ++--
drivers/regulator/tps65218-regulator.c
Re-use the "tps65218_pmic_*_current_limit()" functions of LS3
and calculate the different required bit-shift by counting the
trailing 0s in "struct regulator_desc.csel_mask"
Signed-off-by: Christian Hohnstaedt
---
drivers/regulator/tps65218-regulator.c | 18 +
Document device-tree settings of the load-switch LS2
in the tps65218 device.
Signed-off-by: Christian Hohnstaedt
---
Documentation/devicetree/bindings/regulator/tps65218.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt
b
Re-use the "tps65218_pmic_*_current_limit()" functions of LS3
and calculate the different required bit-shift by counting the
trailing 0s in "struct regulator_desc.csel_mask"
Signed-off-by: Christian Hohnstaedt
---
Somehow the header changes got lost in the first pat
- Fix list of valid LS3 currents from mA to µA
- Fix selection of min/max microAmps of LS3.
Selecting one of the configured values as max value now really
selects it instead of the next lower one
Signed-off-by: Christian Hohnstaedt
---
drivers/regulator/tps65218-regulator.c | 5 +++--
1
and change units of LS3 example from microvolt to microamp
Signed-off-by: Christian Hohnstaedt
---
Documentation/devicetree/bindings/regulator/tps65218.txt | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt
b
Re-use the "tps65218_pmic_*_current_limit()" functions of LS3
and calculate the different required bit-shift by counting the
trailing 0s in "struct regulator_desc.csel_mask"
Signed-off-by: Christian Hohnstaedt
---
drivers/regulator/tps65218-regulator.c | 18 +-
The patch-series fixes issues in the LS3 configuration
and adds support for the LS2 regulator in the tps65218
Christian Hohnstaedt (3):
regulator: tps65218.c: fix LS3 issues
dt-bindings: regulator: Add LS2 load switch
regulator: tps65218: Add support for LS2
.../devicetree/bindings
On Wed, Jan 16, 2019 at 02:13:36PM +, Lee Jones wrote:
> On Mon, 14 Jan 2019, Christian Hohnstaedt wrote:
>
> > These options apply to all regulators in this chip.
> >
> > ti,strict-supply-voltage-supervision:
> > Set STRICT flag in CONFIG1
> &
- add "ti," prefix and "-microvolt" postfix
- remove debug prints
- abort with an error in case of invalid values.
- extend documentation of the options (taken from the datasheet)
Christian Hohnstaedt (2):
dt-bindings: regulator: extend tps65218 bindings
mfd: tps6521
Add input voltage configuration options
Signed-off-by: Christian Hohnstaedt
Reviewed-by: Rob Herring
---
.../devicetree/bindings/regulator/tps65218.txt | 22 ++
1 file changed, 22 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt
b
: Christian Hohnstaedt
Tested-by: Keerthy
Reviewed-by: Keerthy
---
drivers/mfd/tps65218.c | 89
include/linux/mfd/tps65218.h | 4 ++
2 files changed, 93 insertions(+)
diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c
index 8bcdecf
Add input voltage configuration options
Signed-off-by: Christian Hohnstaedt
---
.../devicetree/bindings/regulator/tps65218.txt | 22 ++
1 file changed, 22 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt
b/Documentation/devicetree
id values.
- extend documentation of the options (taken from the datasheet)
Christian Hohnstaedt (2):
dt-bindings: regulator: extend tps65218 bindings
mfd: tps65218.c: Add input voltage options
.../devicetree/bindings/regulator/tps65218.txt | 22 ++
drivers/mfd/tps65218.c
: Christian Hohnstaedt
---
drivers/mfd/tps65218.c | 87
include/linux/mfd/tps65218.h | 4 ++
2 files changed, 91 insertions(+)
diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c
index 8bcdecf..b5e0f3a 100644
--- a/drivers/mfd/tps65218.c
Add input voltage configuration options
Signed-off-by: Christian Hohnstaedt
---
Documentation/devicetree/bindings/regulator/tps65218.txt | 10 ++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt
b/Documentation/devicetree/bindings
This patch allows to configure input-voltage settings
of the TPS65218 regulator via device tree.
Christian Hohnstaedt (2):
dt-bindings: regulator: extend tps65218 bindings
mfd: tps65218.c: Add input voltage options
.../devicetree/bindings/regulator/tps65218.txt | 10 +
drivers/mfd
These options apply to all regulators in this chip.
strict-supply-voltage:
Set STRICT flag in CONFIG1
under-voltage-limit:
Select 2.75, 2.95, 3.25 or 3.35 V UVLO in CONFIG1
under-voltage-hysteresis:
Select 200mV or 400mV UVLOHYS in CONFIG2
Signed-off-by: Christian Hohnstaedt
---
drivers
Free allocated IRQ if reading the device ID fails.
Signed-off-by: Christian Hohnstaedt
---
drivers/mfd/tps65218.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c
index 910f569..19270bc 100644
--- a/drivers/mfd/tps65218.c
+++ b
used on IXP23xx, too. So the drivers for
both CPU familys only differ in the way they exchange
network packets between the NPE and the kernel.
>
> drivers/net/arm would probably make (some) sense if it was
> a single (or not so single) Ethernet driver.
If Queue Manager & NPE move
21 matches
Mail list logo