[PATCH] dt-bindings: regulator: tps65218: rectify units of LS3

2019-02-24 Thread Christian Hohnstaedt
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

[PATCH v2 0/2] regulator: tps65218: support LS2

2019-02-24 Thread Christian Hohnstaedt
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

[PATCH v2 2/2] regulator: tps65218: add support for LS2

2019-02-24 Thread Christian Hohnstaedt
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 +

[PATCH v2 1/2] dt-bindings: regulator: add LS2 load switch documentation

2019-02-24 Thread Christian Hohnstaedt
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

[PATCH v2] regulator: tps65218: Add support for LS2

2019-02-22 Thread Christian Hohnstaedt
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

[PATCH 1/3] regulator: tps65218.c: fix LS3 issues

2019-02-20 Thread Christian Hohnstaedt
- 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

[PATCH 2/3] dt-bindings: regulator: Add LS2 load switch

2019-02-20 Thread Christian Hohnstaedt
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

[PATCH 3/3] regulator: tps65218: Add support for LS2

2019-02-20 Thread Christian Hohnstaedt
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 +-

[PATCH 0/3] regulator: tps65218: Fix LS3 and add LS2

2019-02-20 Thread Christian Hohnstaedt
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

Re: [PATCH v3 2/2] mfd: tps65218.c: Add input voltage options

2019-01-16 Thread Christian Hohnstaedt
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 > &

[PATCH v3 0/2] Add input voltage configuration for TPS65218

2019-01-14 Thread Christian Hohnstaedt
- 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

[PATCH v3 1/2] dt-bindings: regulator: extend tps65218 bindings

2019-01-14 Thread Christian Hohnstaedt
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

[PATCH v3 2/2] mfd: tps65218.c: Add input voltage options

2019-01-14 Thread Christian Hohnstaedt
: 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

[PATCH v2 1/2] dt-bindings: regulator: extend tps65218 bindings

2019-01-03 Thread Christian Hohnstaedt
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

[PATCH v2 0/2] Add input voltage configuration for TPS65218

2019-01-03 Thread Christian Hohnstaedt
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

[PATCH v2 2/2] mfd: tps65218.c: Add input voltage options

2019-01-03 Thread Christian Hohnstaedt
: 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

[PATCH 1/2] dt-bindings: regulator: extend tps65218 bindings

2018-12-18 Thread Christian Hohnstaedt
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

[PATCH 0/2] Add input voltage configuration for TPS65218

2018-12-18 Thread Christian Hohnstaedt
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

[PATCH 2/2] mfd: tps65218.c: Add input voltage options

2018-12-18 Thread Christian Hohnstaedt
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

[PATCH] tps65218.c: fix IRQ resource leak in tps65218_probe()

2018-12-06 Thread Christian Hohnstaedt
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

Re: [PATCH 3/3] Intel IXP4xx network drivers

2007-05-07 Thread Christian Hohnstaedt
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