mfd: axp20x: Add support for AXP192
Subsystems (3)
PATCH v2 1/2 mfd: axp20x: Add support for AXP192
The AXP192 PMIC is similar to the AXP202/AXP209, but with different regulators, additional GPIOs, and a different IRQ register layout.
---v1->v2: No changes
https://lore.kernel.org/all/[email protected]
drivers/mfd/axp20x-i2c.c | 2 + drivers/mfd/axp20x.c | 141 +++++++++++++++++++++++++++++++++++++ include/linux/mfd/axp20x.h | 84 ++++++++++++++++++++++ 3 files changed, 227 insertions(+)
drivers/mfd/axp20x-i2c.c +2 -0
@@ -59,6 +59,7 @@ static void axp20x_i2c_remove(struct i2c_client *i2c)#ifdef CONFIG_OF static const struct of_device_id axp20x_i2c_of_match[] = { { .compatible ="x-powers,axp152" , .data = (void *)AXP152_ID }, + { .compatible ="x-powers,axp192" , .data = (void *)AXP192_ID }, { .compatible ="x-powers,axp202" , .data = (void *)AXP202_ID }, { .compatible ="x-powers,axp209" , .data = (void *)AXP209_ID }, { .compatible = "x-powers,axp221", .data = (void *)AXP221_ID },
@@ -73,6 +74,7 @@ MODULE_DEVICE_TABLE(of, axp20x_i2c_of_match);static const struct i2c_device_id axp20x_i2c_id[] = { {"axp152" ,0 }, + {"axp192" ,0 }, {"axp202" ,0 }, {"axp209" ,0 }, {"axp221" ,0 },
drivers/mfd/axp20x.c +141 -0
189 lines not on this page · raw message
include/linux/mfd/axp20x.h +84 -0
138 lines not on this page · raw message
Signature · 1 line
2.39.2
PATCH v2 2/2 dt-bindings: mfd: add bindings for AXP192 MFD device
The AXP192 PMIC is similar to the AXP202/AXP209, but with different regulators, additional GPIOs, and a different IRQ register layout, so it needs a new compatible string.
---v1->v2: Update commit message
https://lore.kernel.org/all/[email protected]/
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml +1 -0
@@ -90,6 +90,7 @@ properties: oneOf: - enum: - x-powers,axp152 + - x-powers,axp192 - x-powers,axp202 - x-powers,axp209 - x-powers,axp221
Signature · 1 line
2.39.2
Re: [PATCH v2 2/2] dt-bindings: mfd: add bindings for AXP192 MFD device
Quoted 4 lines · Aidan MacDonald
The AXP192 PMIC is similar to the AXP202/AXP209, but with different regulators, additional GPIOs, and a different IRQ register layout, so it needs a new compatible string.
Quoted 8 lines
Acked-by Conor Dooley <[email protected]>Signed-off-by Aidan MacDonald <[email protected]>---
v1->v2: Update commit messagehttps://lore.kernel.org/all/[email protected]/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
Signature · 1 line
Lee Jones [李琼斯]
Quoted 4 lines · Aidan MacDonald
The AXP192 PMIC is similar to the AXP202/AXP209, but with different regulators, additional GPIOs, and a different IRQ register layout.
Signed-off-by Aidan MacDonald <[email protected]>
Quoted 8 lines
---
v1->v2: No changeshttps://lore.kernel.org/all/[email protected]drivers/mfd/axp20x-i2c.c | 2 + drivers/mfd/axp20x.c | 141 +++++++++++++++++++++++++++++++++++++ include/linux/mfd/axp20x.h | 84 ++++++++++++++++++++++ 3 files changed, 227 insertions(+)
Applied, thanks
Signature · 1 line
Lee Jones [李琼斯]