[linux-sunxi] Re: [PATCH v2 29/52] dt-bindings: mfd: Convert X-Powers AXP binding to a schema

2021-09-06 Thread Lee Jones
he device > > tree bindings for that driver over to a YAML schema. > > > > Cc: Chen-Yu Tsai > > Cc: Lee Jones > > Signed-off-by: Maxime Ripard > > > > --- > > > > Changes from v1: > > - Add GPIO example > > - Remove the limita

[linux-sunxi] Re: [PATCH v8 01/11] dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ)

2021-08-16 Thread Lee Jones
nnected to the CPU, so make the "interrupts" property optional. > > Signed-off-by: Andre Przywara > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/mfd/axp20x.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied, thanks. -- Lee

[linux-sunxi] Re: [PATCH v9 01/11] dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ)

2021-08-02 Thread Lee Jones
nnected to the CPU, so make the "interrupts" property optional. > > Signed-off-by: Andre Przywara > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/mfd/axp20x.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied, thanks. -- Lee

[linux-sunxi] Re: [PATCH v6 02/17] mfd: axp20x: Allow AXP 806 chips without interrupt lines

2021-05-19 Thread Lee Jones
n, to avoid the driver to bail out completely. > Also we need to skip the power key functionality, as this relies on > a valid IRQ as well. > > Signed-off-by: Andre Przywara > --- > drivers/mfd/axp20x.c | 24 +--- > 1 file changed, 17 insertions(+), 7

[linux-sunxi] Re: [PATCH v5 06/20] mfd: axp20x: Allow AXP chips without interrupt lines

2021-02-02 Thread Lee Jones
n, to avoid the driver to bail out completely. > > Signed-off-by: Andre Przywara > --- > drivers/mfd/axp20x.c | 17 +++-- > 1 file changed, 11 insertions(+), 6 deletions(-) For my own reference (apply this as-is to your sign-off block): Acked-for-MFD-by: Lee Jone

[linux-sunxi] Re: [PATCH v2 1/9] mfd: axp20x: Mark AXP20X_VBUS_IPSOUT_MGMT as volatile

2020-01-06 Thread Lee Jones
; --- > drivers/mfd/axp20x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- You received this message because you are

[linux-sunxi] Re: [PATCH v3 7/9] mfd: axp20x: add USB power supply mfd cell to AXP813

2019-04-01 Thread Lee Jones
sage] > Acked-for-MFD-by: Lee Jones > Signed-off-by: Chen-Yu Tsai This patch looks orthogonal. Unless anyone screams, I'm going to apply it. > --- > > Changes since v1: > - Made axp803_usb_power_supply_resources[] constant > - Added Lee's acked-by > --- >

[linux-sunxi] Re: [RFT PATCH 7/9] mfd: axp20x: add USB power supply mfd cell to AXP813

2019-02-08 Thread Lee Jones
On Thu, 07 Feb 2019, Chen-Yu Tsai wrote: > On Thu, Feb 7, 2019 at 7:02 PM Lee Jones wrote: > > > > On Thu, 07 Feb 2019, Chen-Yu Tsai wrote: > > > > > From: Quentin Schulz > > > > > > The AXP813 has a VBUS power input. Now that the axp20x_usb_powe

[linux-sunxi] Re: [RFT PATCH 7/9] mfd: axp20x: add USB power supply mfd cell to AXP813

2019-02-07 Thread Lee Jones
t resource axp803_usb_power_supply_resources[] = { > + DEFINE_RES_IRQ_NAMED(AXP803_IRQ_VBUS_PLUGIN, "VBUS_PLUGIN"), > + DEFINE_RES_IRQ_NAMED(AXP803_IRQ_VBUS_REMOVAL, "VBUS_REMOVAL"), Nit: Why 2 spaces here? ^ With that fixed, you can add my:

Re: [linux-sunxi] Re: [PATCH v2 1/8] mfd: axp20x: name voltage ramping define properly

2018-12-21 Thread Lee Jones
On Fri, 21 Dec 2018, Priit Laes wrote: > On Fri, Dec 21, 2018 at 09:26:58AM +0000, Lee Jones wrote: > > On Fri, 21 Dec 2018, Priit Laes wrote: > > > > > On Fri, Dec 21, 2018 at 08:39:27AM +, Lee Jones wrote: > > > > On Tue, 11 Dec 2018, Priit Laes wro

Re: [linux-sunxi] Re: [PATCH v2 1/8] mfd: axp20x: name voltage ramping define properly

2018-12-21 Thread Lee Jones
On Fri, 21 Dec 2018, Priit Laes wrote: > On Fri, Dec 21, 2018 at 08:39:27AM +0000, Lee Jones wrote: > > On Tue, 11 Dec 2018, Priit Laes wrote: > > > > > From: Olliver Schinagl > > > > > > The current axp20x names the ramping register 'scal'

[linux-sunxi] Re: [PATCH 1/8] mfd: axp20x: name voltage ramping define properly

2018-12-13 Thread Lee Jones
On Thu, 13 Dec 2018, Mark Brown wrote: > On Mon, Dec 10, 2018 at 08:42:12PM +0200, Priit Laes wrote: > > > Signed-off-by: Olliver Schinagl > > Signed-off-by: Priit Laes > > Acked-for-MFD-by: Lee Jones > > What's going on with this patch? Will you be a

Re: [linux-sunxi] [PATCH 0/8] This is a second edition of a series that implements voltage

2018-12-10 Thread Lee Jones
| 2 +- > > drivers/mfd/axp20x.c | 13 +- > > drivers/regulator/axp20x-regulator.c | 142 +++- > > include/linux/mfd/axp20x.h | 4 +- > > 5 files changed, 161 insertions(+), 9 deletions(-) &

[linux-sunxi] Re: [PATCH v5 6/6] mfd: axp20x: add battery power supply cell for AXP813

2018-03-07 Thread Lee Jones
On Wed, 28 Feb 2018, Quentin Schulz wrote: > As axp20x-battery-power-supply now supports AXP813, add a cell for it. > > Signed-off-by: Quentin Schulz <quentin.sch...@bootlin.com> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > Reviewed-by: Chen-Yu Tsai <w...@

[linux-sunxi] Re: [PATCH v5 2/6] mfd: axp20x: probe axp20x_adc driver for AXP813

2018-03-07 Thread Lee Jones
On Wed, 28 Feb 2018, Quentin Schulz wrote: > This makes the axp20x_adc driver probe with platform device id > "axp813-adc". > > Signed-off-by: Quentin Schulz <quentin.sch...@bootlin.com> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> &g

[linux-sunxi] Re: [PATCH v5 1/6] mfd: axp20x: make AXP209/22x cells probe their ADC via DT

2018-03-07 Thread Lee Jones
On Wed, 28 Feb 2018, Quentin Schulz wrote: > This makes AXP209 and AXP22x ADCs probe first via DT and then by > fallback via platform. > > Signed-off-by: Quentin Schulz <quentin.sch...@bootlin.com> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > Acked-b

[linux-sunxi] Re: [PATCH v3 06/16] mfd: axp20x: make AXP209/22x cells probe their ADC via DT

2018-01-23 Thread Lee Jones
4 insertions(+), 1 deletion(-) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- You received this message because you are subscr

[linux-sunxi] Re: [PATCH v3 09/16] mfd: axp20x: probe axp20x_adc driver for AXP813

2018-01-23 Thread Lee Jones
ertions(+), 1 deletion(-) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- You received this message because you are subscribe

[linux-sunxi] Re: [PATCH 1/3] dt-bindings: mfd: axp20x: Document backup battery charging property

2018-01-02 Thread Lee Jones
Default: Current hardware setting > @@ -256,4 +261,6 @@ axp209: pmic@34 { > /* unused but preferred to be managed by OS */ > }; > }; > + > + backup = <3000 200>; It's unlikely that this will become a generic p

[linux-sunxi] Re: [PATCH 2/3] mfd: axp20x: Add support for backup battery charging

2018-01-02 Thread Lee Jones
egmap, AXP20X_CHRG_BAK_CTRL, reg); > + break; > + } > +} > + > int axp20x_match_device(struct axp20x_dev *axp20x) > { > struct device *dev = axp20x->dev; > @@ -1023,6 +1090,9 @@ int axp20x_device_probe(struct axp20x_dev *axp20x) >

[linux-sunxi] Re: [PATCH v5 9/9] mfd: axp20x: add pinctrl cell for AXP813

2017-12-07 Thread Lee Jones
j <linus.wall...@linaro.org> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > --- > drivers/mfd/axp20x.c | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks. -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow

[linux-sunxi] Re: [PATCH v4 08/10] mfd: axp20x: add pinctrl cell for AXP813

2017-12-04 Thread Lee Jones
o wait for the other patches in the set to be applied. In the mean time: For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter

[linux-sunxi] Re: [PATCH v2 1/8] mfd: axp20x: Add axp20x-regulator cell for AXP813

2017-11-01 Thread Lee Jones
;maxime.rip...@free-electrons.com> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > --- > drivers/mfd/axp20x.c | 2 ++ > 1 file changed, 2 insertions(+) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM

[linux-sunxi] Re: [PATCH v2 1/8] mfd: axp20x: Add axp20x-regulator cell for AXP813

2017-10-31 Thread Lee Jones
d-by: Maxime Ripard <maxime.rip...@free-electrons.com> > > Acked-by: Maxime Ripard <maxime.rip...@free-electrons.com> > > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > > Is there any chance this gets merged for 4.15? Can it go in by itself? -- Lee

[linux-sunxi] Re: [PATCH 3/7] mfd: axp20x: Add axp20x-regulator cell for AXP813

2017-10-04 Thread Lee Jones
20x.c | 2 ++ > 1 file changed, 2 insertions(+) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- You receiv

[linux-sunxi] Re: [PATCH 2/7] regulator: axp20x: Add support for AXP813 regulators

2017-10-04 Thread Lee Jones
rence designs nor actually > produced boards available. > > Signed-off-by: Chen-Yu Tsai <w...@csie.org> > Tested-by: Maxime Ripard <maxime.rip...@free-electrons.com> > --- > drivers/regulator/axp20x-regulator.c | 102 > +++++++++-- > inclu

[linux-sunxi] Re: [PATCH v2 07/10] mfd: axp20x: add pinctrl cell for AXP813

2017-09-28 Thread Lee Jones
> + .name = "axp20x-gpio", > > + .of_compatible = "x-powers,axp813-pctl", > > This was probably introduced in the previous driver, but why are you > using the pctl suffix? Can't we just use the GPIO one to remain >

[linux-sunxi] Re: [PATCH v4 2/6] iio: adc: sun4i-gpadc-iio: rename A33-specified registers to contain A33

2017-09-18 Thread Lee Jones
gt; > --- > Changes in v4: > - Change A23 to A33, as the driver never supports A23. > > drivers/iio/adc/sun4i-gpadc-iio.c | 2 +- > include/linux/mfd/sun4i-gpadc.h | 6 +++--- Acked-by: Lee Jones <lee.jo...@linaro.org> -- Lee Jones Linaro STMicroelectronics Landing

[linux-sunxi] Re: [PATCH v3 1/5] dt-bindings: update the Allwinner GPADC device tree binding for H3

2017-08-08 Thread Lee Jones
> -- > 1 file changed, 23 insertions(+), 2 deletions(-) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook

[linux-sunxi] Re: [PATCH v2 3/9] mfd: axp20x: Add support for AXP813 PMIC

2017-08-07 Thread Lee Jones
AXP803, rather than the AXP288. > > This patch adds basic mfd support for it, with only the power button > enabled. > > Signed-off-by: Chen-Yu Tsai <w...@csie.org> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > --- > drivers/mfd/axp20x-rsb.c | 1 + &g

[linux-sunxi] Re: [PATCH v2 4/9] mfd: axp20x: use correct platform device id for many PEK

2017-08-07 Thread Lee Jones
he platform device id with the correct values. > > Signed-off-by: Quentin Schulz <quentin.sch...@free-electrons.com> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > Signed-off-by: Chen-Yu Tsai <w...@csie.org> > --- > drivers/mfd/axp20x.c | 12 ++-- &g

[linux-sunxi] Re: [PATCH v2 2/9] dt-bindings: mfd: axp20x: Introduce bindings for AXP813

2017-08-07 Thread Lee Jones
troduces the basic mfd and regulator bindings for the > AXP813. > > Signed-off-by: Chen-Yu Tsai <w...@csie.org> > Acked-by: Rob Herring <r...@kernel.org> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > --- > Documentation/devicetree/bindings/mfd/axp20x.t

[linux-sunxi] Re: [PATCH v2 1/9] dt-bindings: mfd: axp20x: Add AXP806 to supported list of chips

2017-08-07 Thread Lee Jones
gt; Signed-off-by: Chen-Yu Tsai <w...@csie.org> > Acked-by: Rob Herring <r...@kernel.org> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > --- > Documentation/devicetree/bindings/mfd/axp20x.txt | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. >

[linux-sunxi] Re: [PATCH 2/6] dt-bindings: mfd: axp20x: Introduce bindings for AXP813

2017-07-17 Thread Lee Jones
eparate entities. The other half is an AC100 RTC/codec > +combo chip. Please see ac100.txt for its bindings. Please indicate where this lives using standard Linux syntax. ./ac100.txt ..//ac100.txt etc. Once that's been fixed, you may apply my: For my own reference: Acked-for-MFD-by:

[linux-sunxi] Re: [PATCH 1/6] dt-bindings: mfd: axp20x: Add AXP806 to supported list of chips

2017-07-17 Thread Lee Jones
gt; Signed-off-by: Chen-Yu Tsai <w...@csie.org> > --- > Documentation/devicetree/bindings/mfd/axp20x.txt | 1 + > 1 file changed, 1 insertion(+) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > diff --git a/Documentation/devicetree/bindings/mf

[linux-sunxi] Re: [PATCH 3/6] mfd: axp20x: Add support for AXP813 PMIC

2017-07-17 Thread Lee Jones
22 ++ > include/linux/mfd/axp20x.h | 29 + > 3 files changed, 52 insertions(+) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > diff --git a/drivers/mfd/axp20x-rsb.c b/drivers/mfd/axp20x-rsb.c > index fd5c7267b136..7ddbd9e8dd03 10064

[linux-sunxi] Re: [PATCH v6 6/9] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-05-22 Thread Lee Jones
num_resources = ARRAY_SIZE(axp803_pek_resources), > .resources = axp803_pek_resources, > - } > + }, > + { .name = "axp20x-regulator" }, > }; > > static struct mfd_cell axp806_cells[] = { -- Lee Jones Linaro S

[linux-sunxi] Re: [PATCH v4 07/10] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-04-25 Thread Lee Jones
quot;, "ips", 700, 3300, 100, > + AXP_DESC_IO(AXP803, LDO_IO1, "ldo-io1", "ips", 700, 3300, 100, > AXP22X_LDO_IO1_V_OUT, 0x1f, AXP20X_GPIO1_CTRL, 0x07, > AXP22X_IO_ENABLED, AXP22X_IO_DISABLED), > - AXP_DESC_FIXED(AXP803, RTC_LDO, &quo

[linux-sunxi] Re: [PATCH v3 07/12] dt-bindings: add AXP803's regulator info

2017-04-24 Thread Lee Jones
: GPIO 0 > +LDO_IO1 : LDO : ips-supply: GPIO 1 > +RTC_LDO : LDO : ips-supply: always on > + > AXP806 regulators, type, and corresponding input supply names: > > Regulator TypeSupply Name

[linux-sunxi] Re: [PATCH v3 05/12] mfd: axp20x: support AXP803 variant

2017-04-24 Thread Lee Jones
rently only power key function is supported. > > Signed-off-by: Icenowy Zheng <icen...@aosc.io> > --- > This patch is said to be applied by Lee Jones, however, I didn't see it > in the linux-next, so I included it in the patchset now. > > Changes in v2: > - Share regma

[linux-sunxi] Re: [PATCH v3 04/12] dt-bindings: add device tree binding for X-Powers AXP803 PMIC

2017-04-24 Thread Lee Jones
-powers,axp221" > * "x-powers,axp223" > + * "x-powers,axp803" > * "x-powers,axp806" > * "x-powers,axp809" > - reg: The I2C slave address or RSB hardware address for the AXP chip -- Lee Jones Linaro STMicroelectronics Landin

[linux-sunxi] Re: [PATCH v3 03/12] dt-bindings: make AXP20X compatible strings one per line

2017-04-24 Thread Lee Jones
rs,axp209" > +* "x-powers,axp221" > +* "x-powers,axp223" > +* "x-powers,axp806" > + * "x-powers,axp809" > - reg: The I2C slave address or RSB hardware address for the AXP chip > - interrupt-parent: The parent interrupt controll

[linux-sunxi] Re: [GIT PULL] Immutable branch between MFD and IIO due for the v4.12 merge window

2017-04-24 Thread Lee Jones
On Fri, 14 Apr 2017, Jonathan Cameron wrote: > On 11/04/17 11:05, Lee Jones wrote: > > Enjoy! > > > > The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: > > > > Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) > > > > are avail

Re: [linux-sunxi] Re: [PATCH v2 03/11] dt-bindings: add device tree binding for X-Powers AXP803 PMIC

2017-04-12 Thread Lee Jones
On Wed, 12 Apr 2017, Icenowy Zheng wrote: > > 2017年4月12日 上午12:29于 Lee Jones <lee.jo...@linaro.org>写道: > > > > On Tue, 11 Apr 2017, Chen-Yu Tsai wrote: > > > > > Hi, > > > > > > On Tue, Apr 11, 2017 at 11:00 PM, Icenowy Zheng <icen...

Re: [linux-sunxi] Re: [PATCH v2 03/11] dt-bindings: add device tree binding for X-Powers AXP803 PMIC

2017-04-11 Thread Lee Jones
On Tue, 11 Apr 2017, Chen-Yu Tsai wrote: > Hi, > > On Tue, Apr 11, 2017 at 11:00 PM, Icenowy Zheng <icen...@aosc.io> wrote: > > > > > > On Tue, 11 Apr 2017, Lee Jones wrote: > > > >> On Sat, 08 Apr 2017, Icenowy Zheng wrote: > >> > >

[linux-sunxi] Re: [PATCH v2 03/11] dt-bindings: add device tree binding for X-Powers AXP803 PMIC

2017-04-11 Thread Lee Jones
Changes in v2: > - Place AXP803 before AXP806/809. > - Added Chen-Yu's ACK. > > Documentation/devicetree/bindings/mfd/axp20x.txt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > dif

[linux-sunxi] Re: [PATCH v2 04/11] mfd: axp20x: support AXP803 variant

2017-04-11 Thread Lee Jones
US_REMOVAL, > + AXP803_IRQ_BATT_PLUGIN, > + AXP803_IRQ_BATT_REMOVAL, > + AXP803_IRQ_BATT_ENT_ACT_MODE, > + AXP803_IRQ_BATT_EXIT_ACT_MODE, > + AXP803_IRQ_CHARG, > + AXP803_IRQ_CHARG_DONE, > + AXP803_IRQ_BATT_CHG_TEMP_HIGH, > + AXP803_IRQ_BATT_CHG_TEMP_HIG

[linux-sunxi] Re: [PATCH v2 07/11] regulator: axp20x-regulator: add support for AXP803

2017-04-11 Thread Lee Jones
+++ > 2 files changed, 168 insertions(+), 22 deletions(-) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > diff --git a/drivers/regulator/axp20x-regulator.c > b/drivers/regulator/axp20x-regulator.c > index 0b9d4e3e52c7..2ed15e4a7a82 100644 >

[linux-sunxi] Re: [PATCH v2 06/11] dt-bindings: add AXP803's regulator info

2017-04-11 Thread Lee Jones
ulators before AXP806/809 ones. > > Documentation/devicetree/bindings/mfd/axp20x.txt | 27 > > 1 file changed, 27 insertions(+) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > diff --git a/Documentation/devicetree/bi

[linux-sunxi] Re: [PATCH v2 08/11] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-04-11 Thread Lee Jones
.num_resources = ARRAY_SIZE(axp803_pek_resources), > .resources = axp803_pek_resources, > + }, { > + .name = "axp20x-regulator", I'd prefer it if you placed single lined entries on one line. Like this:

[linux-sunxi] [GIT PULL] Immutable branch between MFD and IIO due for the v4.12 merge window

2017-04-11 Thread Lee Jones
insertions(+) create mode 100644 drivers/iio/adc/axp20x_adc.c -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- You received this message because you are subscribed to the Google Groups "linux-sunxi&q

[linux-sunxi] Re: [RESEND PATCH v4] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-04-11 Thread Lee Jones
On Tue, 11 Apr 2017, Lee Jones wrote: > On Tue, 04 Apr 2017, Quentin Schulz wrote: > > > The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the > > battery voltage, battery charge and discharge currents, AC-in and VBUS > > voltages and currents, 2 G

[linux-sunxi] Re: [RESEND PATCH v4] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-04-11 Thread Lee Jones
ap = axp20x_dev->regmap; > + indio_dev->dev.parent = >dev; > + indio_dev->dev.of_node = pdev->dev.of_node; > + indio_dev->modes = INDIO_DIRECT_MODE; > + > + info->data = (struct axp_data > *)platform_get_device_id(pdev)->driver_data; > + > +

[linux-sunxi] Re: [RESEND PATCH v4] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-04-11 Thread Lee Jones
On Tue, 11 Apr 2017, Quentin Schulz wrote: > On 10/04/2017 16:54, Lee Jones wrote: > > On Mon, 10 Apr 2017, Quentin Schulz wrote: > > > >> Hi Lee, > >> > >> Just to make sure you didn't miss that patch (can't find it in > >> for-mfd-next and

[linux-sunxi] Re: [RESEND PATCH v4] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-04-10 Thread Lee Jones
rate); > > + bool adc_en2; > > + struct iio_map *maps; > > +}; > > + > > +static const struct axp_data axp20x_data = { > > + .iio_info = _adc_iio_info, > > + .num_channels = ARRAY_SIZE(axp20x_adc_channels)

[linux-sunxi] Re: [RFC PATCH v2 1/4] dt-bindings: update the Allwinner GPADC device tree binding for H3

2017-04-06 Thread Lee Jones
sor@1c25000 Can you fix your broken email client please? You need to set it up to reply to mails to they stay threaded. Your mailer is currently sending all of your replies as their own, independent messages. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source

[linux-sunxi] Re: [PATCH v4 2/8] dt-bindings: input: touschcreen: remove sun4i documentation

2017-04-05 Thread Lee Jones
compatible = "allwinner,sun4i-a10-ts"; > - reg = <0x01c25000 0x100>; > - interrupts = <29>; > - allwinner,ts-attached; > - #thermal-sensor-cells = <0>; > - /* sensitive/noisy

[linux-sunxi] Re: [PATCH v4 1/8] dt-bindings: mfd: add A33 GPADC binding

2017-04-05 Thread Lee Jones
compatible = "allwinner,sun4i-a10-ts"; > + reg = <0x01c25000 0x100>; > + interrupts = <29>; > + allwinner,ts-attached; > + #thermal-sensor-cells = <0>; > + /* sensitive/noisy touch panel */ > +

[linux-sunxi] Re: [PATCH v3 00/11] add thermal throttling to Allwinner A33 SoC

2017-04-05 Thread Lee Jones
On Wed, 05 Apr 2017, Quentin Schulz wrote: > On 04/04/2017 10:31, Lee Jones wrote: > > On Tue, 21 Mar 2017, Quentin Schulz wrote: > >> v3: > >> - fixed compatible name in DT and in documentation, > >> - fixed DT node name and label, > >> - adde

[linux-sunxi] Re: [PATCH v3 00/11] add thermal throttling to Allwinner A33 SoC

2017-04-04 Thread Lee Jones
io/adc/sun4i-gpadc-iio.c | 170 > + > include/linux/mfd/sun4i-gpadc.h | 4 + > 7 files changed, 324 insertions(+), 33 deletions(-) > rename Documentation/devicetree/bindings/{input/touchscreen/sun4i.txt => > mfd/sun4i-gpadc.t

[linux-sunxi] Re: [RFC PATCH v2 2/4] iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to contain A23

2017-04-03 Thread Lee Jones
t; drivers/iio/adc/sun4i-gpadc-iio.c | 2 +- > include/linux/mfd/sun4i-gpadc.h | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) For my own reference: Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > diff --git a/drivers/iio/adc/sun4i-gpadc-iio.c > b/drivers/

[linux-sunxi] Re: [PATCH v3 05/11] Documentation: DT: bindings: input: touschcreen: remove sun4i documentation

2017-03-29 Thread Lee Jones
t;; > - reg = <0x01c25000 0x100>; > - interrupts = <29>; > - allwinner,ts-attached; > - #thermal-sensor-cells = <0>; > - /* sensitive/noisy touch panel */ > - allwinner,tp-sensitive-adjust = <

[linux-sunxi] Re: [RESEND PATCH v4 9/9] mfd: axp20x: add CHRG_CTRL1/2/3 to writeable regs for AXP20X/AXP22X

2017-03-20 Thread Lee Jones
ee-electrons.com> > Acked-by: Chen-Yu Tsai <w...@csie.org> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > --- > > v2: > - added AXP20X_CHRG_CTRL2 and AXP20X_CHRG_CTRL3 to the writeable > registers table, > - removed added reg range for ADC data in vo

[linux-sunxi] Re: [RESEND PATCH v4 4/9] mfd: axp20x: add AC power supply cells for AXP22X PMICs

2017-03-20 Thread Lee Jones
.com> > Acked-by: Maxime Ripard <maxime.rip...@free-electrons.com> > Acked-By: Sebastian Reichel <s...@kernel.org> > Acked-by: Chen-Yu Tsai <w...@csie.org> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > --- > drivers/mfd/axp20x.c | 10 +

[linux-sunxi] Re: [RESEND PATCH v4 3/9] mfd: axp20x: add ADC cells for AXP20X and AXP22X PMICs

2017-03-20 Thread Lee Jones
_resources), > @@ -623,6 +627,8 @@ static struct mfd_cell axp223_cells[] = { > .num_resources = ARRAY_SIZE(axp22x_pek_resources), > .resources = axp22x_pek_resources, > }, { > + .name = "axp22x-adc", > + }, { >

[linux-sunxi] Re: [RESEND PATCH v4 1/9] mfd: axp20x: correct name of temperature data ADC registers

2017-03-20 Thread Lee Jones
> > Signed-off-by: Quentin Schulz <quentin.sch...@free-electrons.com> > Acked-by: Chen-Yu Tsai <w...@csie.org> > Acked-by: Maxime Ripard <maxime.rip...@free-electrons.com> > Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> > --- > > added in

[linux-sunxi] Re: [PATCH v2 08/11] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor

2017-03-15 Thread Lee Jones
renamed use_dt boolean in no_irq as it reflects better why we need it, > - removed spurious/unneeded modifications done in v1, > > drivers/iio/adc/Kconfig | 2 +- > drivers/iio/adc/sun4i-gpadc-iio.c | 100 > -- > include/linux

[linux-sunxi] Re: [PATCH v3] mfd: axp20x: Fix AXP806 access errors on cold boot

2017-01-05 Thread Lee Jones
regmap_write(axp20x->regmap, AXP806_REG_ADDR_EXT, > + AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE); > + > ret = regmap_add_irq_chip(axp20x->regmap, axp20x->irq, > IRQF_ONESHOT | IRQF_SHARED, -1, >

[linux-sunxi] Re: [PATCH v2 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-12-09 Thread Lee Jones
/ > + regcache_sync_region(axp20x->regmap, AXP806_REG_ADDR_EXT, > + AXP806_REG_ADDR_EXT); > + > + /* > + * Reinitialize the regmap cache in case the device didn't > + * properly respond to our reads before.

[linux-sunxi] Re: [PATCH v2 1/2] mfd: axp20x: Add address extension registers for AXP806 regmap

2016-12-09 Thread Lee Jones
06_VREF_TEMP_WARN_L 0xf3 > +#define AXP806_BUS_ADDR_EXT 0xfe > +#define AXP806_REG_ADDR_EXT 0xff > > /* Interrupt */ > #define AXP152_IRQ1_EN 0x40 -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for

[linux-sunxi] Re: [PATCH 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-11-18 Thread Lee Jones
regmap, AXP806_REG_ADDR_EXT, > + AXP806_REG_ADDR_EXT); > + > + /* > + * Reinitialize the regmap cache in case the device didn't > + * properly respond to our reads before. > + */ > + regma

[linux-sunxi] Re: [PATCH 1/2] mfd: axp20x: Add address extension registers for AXP806 regmap

2016-11-18 Thread Lee Jones
0xf3 > +#define AXP806_BUS_ADDR_EXT 0xfe > +#define AXP806_REG_ADDR_EXT 0xff > > /* Interrupt */ > #define AXP152_IRQ1_EN 0x40 -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs

[linux-sunxi] Re: [PATCH 05/14] mfd: sun6i-prcm: Add sun8i analog codec as subnode

2016-10-26 Thread Lee Jones
pb0_rstc_res), > .resources = sun6i_a31_apb0_rstc_res, > }, > + { > + .name = "sun8i-codec-analog", > + .of_compatible = "allwinner,sun8i-codec-analog", > + .num_resources = ARRAY_SIZE(sun8i_adda_res), >

[linux-sunxi] Re: [PATCH 1/1] power: axp20x_ac: Add support for ac power-supply on axp20x and axp22x pmics

2016-10-26 Thread Lee Jones
_cfg.drv_data = power; > + > + power->supply = devm_power_supply_register(>dev, ac_power_desc, > +_cfg); > + if (IS_ERR(power->supply)) > + return PTR_ERR(power->supply); > + > + /* Request irqs after r

[linux-sunxi] Re: [GIT PULL] Immutable branch between MFD and Regulator due for the v4.9 merge window

2016-09-13 Thread Lee Jones
| 1 + drivers/mfd/axp20x.c | 72 ++ drivers/regulator/axp20x-regulator.c | 118 +-- include/linux/mfd/axp20x.h | 60 5 files changed, 270 insertions(+), 9 deletions(-) -- Lee Jones

[linux-sunxi] Re: [GIT PULL] Immutable branch between MFD and Regulator due for the v4.9 merge window

2016-09-13 Thread Lee Jones
Hold off on pulling this please Mark. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- You received this message because you are subscribed to the Google Groups "linux-sunxi&q

[linux-sunxi] [GIT PULL] Immutable branch between MFD and Regulator due for the v4.9 merge window

2016-09-13 Thread Lee Jones
Chen-Yu Tsai (1): regulator: axp20x: Support AXP806 variant drivers/regulator/axp20x-regulator.c | 118 --- 1 file changed, 111 insertions(+), 7 deletions(-) -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source

[linux-sunxi] Re: [PATCH v2 1/8] mfd: axp20x: Add bindings for AXP806 PMIC

2016-08-31 Thread Lee Jones
: shared supply > +CLDO2: LDO : cldoin-supply : shared supply > +CLDO3: LDO : cldoin-supply : shared supply > +SW : On/Off Switch : swin-supply > + > +Additionally, the AXP806 DC-DC regulators su

[linux-sunxi] Re: [PATCH v2 2/8] mfd: axp20x: Add support for AXP806 PMIC

2016-08-31 Thread Lee Jones
+ AXP806_BLDO1, > + AXP806_BLDO2, > + AXP806_BLDO3, > + AXP806_BLDO4, > + AXP806_CLDO1, > + AXP806_CLDO2, > + AXP806_CLDO3, > + AXP806_SW, > + AXP806_REG_ID_MAX, > +}; > + > +enum { > AXP809_DCDC1 = 0, > AXP809_DCDC2, >

[linux-sunxi] Re: [PATCH 1/4] mfd: axp20x: add adc volatile ranges for axp22x

2016-08-05 Thread Lee Jones
20X_OCV_MAX 0xf > > /* AXP22X specific registers */ > +#define AXP22X_PMIC_ADC_H0x56 > +#define AXP22X_PMIC_ADC_L0x57 > +#define AXP22X_TS_ADC_H 0x58 > +#define AXP22X_TS_ADC_L 0x59 > #define AXP22

[linux-sunxi] Re: [PATCH 2/3] mfd: axp20x: Extend axp22x_volatile_ranges

2016-06-08 Thread Lee Jones
egmap_reg_range(AXP20X_FG_RES, AXP20X_FG_RES), > }; > > static const struct regmap_access_table axp22x_writeable_table = { -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- You received

[linux-sunxi] Re: PATH[1/3] ARM: axp20x_usb_power.c add device tree configuration options for REG 30H: VBUS-IPSOUT

2016-05-18 Thread Lee Jones
pply { >compatible = "x-powers,axp202-usb-power-supply"; >status = "disabled"; > + vhold-enable = <0x01>; > + vhold-set = <0x04>; > + ibus-

[linux-sunxi] Re: [PATCH v4 2/4] mfd: axp20x: Add a cell for the ac power_supply part of the axp20x PMICs

2016-05-09 Thread Lee Jones
quot;axp20x-ac-power-supply", > + .of_compatible = "x-powers,axp202-ac-power-supply", > + .num_resources = ARRAY_SIZE(axp20x_ac_power_supply_resources), > + .resources = axp20x_ac_power_supply_resources, > + }, { > .name

[linux-sunxi] Re: [PATCH resend v2 1/9] MAINTAINERS: Add entry for X-Powers AXP family PMIC drivers

2016-04-25 Thread Lee Jones
Documentation/workqueue.txt > > +X-POWERS MULTIFUNCTION PMIC DEVICE DRIVERS > +M: Chen-Yu Tsai <w...@csie.org> > +L: linux-ker...@vger.kernel.org > +S: Maintained > +N: axp[128] > + > X.25 NETWORK LAYER > M: Andrew Hendry <andrew.hen...@gmail.com> >

[linux-sunxi] Re: [PATCH v5 03/46] backlight: lm3630a_bl: stop messing with the pwm->period field

2016-04-13 Thread Lee Jones
On Wed, 13 Apr 2016, Lee Jones wrote: > On Tue, 12 Apr 2016, Thierry Reding wrote: > > > On Tue, Apr 12, 2016 at 03:16:13PM +0100, Lee Jones wrote: > > > On Tue, 12 Apr 2016, Thierry Reding wrote: > > > > > > > On Wed, Mar 30, 2016 at 10:03:26PM +

[linux-sunxi] Re: [PATCH v5 03/46] backlight: lm3630a_bl: stop messing with the pwm->period field

2016-04-13 Thread Lee Jones
On Tue, 12 Apr 2016, Thierry Reding wrote: > On Tue, Apr 12, 2016 at 03:16:13PM +0100, Lee Jones wrote: > > On Tue, 12 Apr 2016, Thierry Reding wrote: > > > > > On Wed, Mar 30, 2016 at 10:03:26PM +0200, Boris Brezillon wrote: > > > > pwm->period field is

[linux-sunxi] Re: [PATCH v5 03/46] backlight: lm3630a_bl: stop messing with the pwm->period field

2016-04-12 Thread Lee Jones
Signed-off-by: Boris Brezillon <boris.brezil...@free-electrons.com> > > --- > > drivers/video/backlight/lm3630a_bl.c | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > Applied, thanks. Applied? -- Lee Jones Linaro STMicroelectronics Landing Team Lead

[linux-sunxi] Re: [PATCH v5 02/46] backlight: pwm_bl: remove useless call to pwm_set_period()

2016-04-12 Thread Lee Jones
; > Signed-off-by: Boris Brezillon <boris.brezil...@free-electrons.com> > > Acked-by: Lee Jones <lee.jo...@linaro.org> > > --- > > drivers/video/backlight/pwm_bl.c | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > Applied, thanks. Applied?

[linux-sunxi] Re: [PATCH resend v2 2/9] mfd: axp20x: Add bindings for AXP809 PMIC

2016-04-11 Thread Lee Jones
: shared supply > +LDO_IO0 : LDO : ips-supply: GPIO 0 > +LDO_IO1 : LDO : ips-supply: GPIO 1 > +RTC_LDO : LDO : ips-supply: always on > +SW : On/Off Switch : swin-supply > +

[linux-sunxi] Re: [PATCH resend v2 3/9] mfd: axp20x: Add support for AXP809 PMIC

2016-04-11 Thread Lee Jones
OVAL, > + AXP809_IRQ_VBUS_V_LOW, > + AXP809_IRQ_BATT_PLUGIN, > + AXP809_IRQ_BATT_REMOVAL, > + AXP809_IRQ_BATT_ENT_ACT_MODE, > + AXP809_IRQ_BATT_EXIT_ACT_MODE, > + AXP809_IRQ_CHARG, > + AXP809_IRQ_CHARG_DONE, > + AXP809_IRQ_BATT_CHG_TEMP_HIGH, > + AXP809_IRQ_BATT_C

[linux-sunxi] Re: [PATCH resend v2 0/9] mfd: axp20x: Add support for AXP809 PMIC

2016-04-11 Thread Lee Jones
t; > - > > arch/arm/boot/dts/sun9i-a80-optimus.dts| 143 > > - > > drivers/mfd/axp20x-rsb.c | 1 + > > drivers/mfd/axp20x.c | 79 > > drivers/re

[linux-sunxi] Re: [PATCH 2/4] mfd: axp20x: Add AXP209 GPIO driver to the mfd

2016-03-29 Thread Lee Jones
On Tue, 29 Mar 2016, Maxime Ripard wrote: > Hi Lee, > > On Mon, Mar 21, 2016 at 11:54:10AM +0000, Lee Jones wrote: > > On Wed, 09 Mar 2016, Maxime Ripard wrote: > > > > > Now that we have a GPIO driver for the AXP209, we can add it to our MFD. > > &

[linux-sunxi] Re: [PATCH 2/4] mfd: axp20x: Add AXP209 GPIO driver to the mfd

2016-03-21 Thread Lee Jones
> > static struct mfd_cell axp20x_cells[] = { > { > + .name = "axp20x-gpio", > + .of_compatible = "x-powers,axp209-gpio", > + }, { > .name = "axp20x-pek", > .num_resources = ARRAY_SIZE(axp2

[linux-sunxi] [GIT PULL] Immutable branch between MFD and Regulator

2016-02-12 Thread Lee Jones
axp20x-rsb.c -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from thi

[linux-sunxi] Re: [PATCH v8 00/10] mfd: axp20x: Add support for RSB based AXP223

2016-02-12 Thread Lee Jones
h | 34 +++- > 10 files changed, 425 insertions(+), 94 deletions(-) > create mode 100644 drivers/mfd/axp20x-i2c.c > create mode 100644 drivers/mfd/axp20x-rsb.c Right, I've applied the MFD and Regulator patches and sent out the required pull-request. You just n

[linux-sunxi] Re: [PATCH v7 04/10] mfd: axp20x: Add missing copyright notice

2016-02-11 Thread Lee Jones
On Mon, 25 Jan 2016, Lee Jones wrote: > On Wed, 13 Jan 2016, Chen-Yu Tsai wrote: > > > When the driver was merged, the original author did not include a proper > > copyright notice. This patch adds the notice, backdated to when the > > driver was merged. > > Thi

[linux-sunxi] Re: [PATCH v7 04/10] mfd: axp20x: Add missing copyright notice

2016-02-10 Thread Lee Jones
On Mon, 25 Jan 2016, Maxime Ripard wrote: > On Mon, Jan 25, 2016 at 02:39:57PM +0000, Lee Jones wrote: > > On Wed, 13 Jan 2016, Chen-Yu Tsai wrote: > > > > > When the driver was merged, the original author did not include a proper > > > copyright notice. This

[linux-sunxi] Re: [PATCH 02/11] mfd: axp20x: Add bindings for AXP809 PMIC

2016-02-09 Thread Lee Jones
nel.org> No idea what's going on here. Somehow I must have been in the Reply-To, but never actually sent the patches initially. So I have people's replies, but not the original submission. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Fo

[linux-sunxi] Re: [PATCH v7 04/10] mfd: axp20x: Add missing copyright notice

2016-01-26 Thread Lee Jones
On Tue, 26 Jan 2016, Chen-Yu Tsai wrote: > On Mon, Jan 25, 2016 at 10:39 PM, Lee Jones <lee.jo...@linaro.org> wrote: > > On Wed, 13 Jan 2016, Chen-Yu Tsai wrote: > > > >> When the driver was merged, the original author did not include a proper > >> copyr

[linux-sunxi] Re: [PATCH v7 04/10] mfd: axp20x: Add missing copyright notice

2016-01-25 Thread Lee Jones
; Cc: Carlo Caione <ca...@caione.org> > Signed-off-by: Chen-Yu Tsai <w...@csie.org> > --- > > New patch in v7. > > --- > drivers/mfd/axp20x.c | 2 ++ > 1 file changed, 2 insertions(+) Patch looks fine though: Acked-by: Lee Jones <lee.jo...@linaro.org> &g

  1   2   >