From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [RFT PATCH 7/9] mfd: axp20x: add USB power supply mfd cell to AXP813 Date: Fri, 8 Feb 2019 11:03:23 +0000 Message-ID: <20190208110323.GK20638@dell> References: <20190207064535.9226-1-wens@csie.org> <20190207064535.9226-8-wens@csie.org> <20190207110247.GE20638@dell> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Chen-Yu Tsai Cc: Maxime Ripard , Rob Herring , Mark Rutland , Sebastian Reichel , Quentin Schulz , devicetree , linux-arm-kernel , "open list:THERMAL" , linux-kernel , linux-sunxi , Hans de Goede List-Id: linux-pm@vger.kernel.org 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_power driver > > > supports this variant, we can add an mfd cell for it to use it. > > > > > > Signed-off-by: Quentin Schulz > > > [wens@csie.org: add commit message] > > > Signed-off-by: Chen-Yu Tsai > > > --- > > > drivers/mfd/axp20x.c | 11 +++++++++++ > > > 1 file changed, 11 insertions(+) > > > > > > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > > > index 3c97f2c0fdfe..17b115845993 100644 > > > --- a/drivers/mfd/axp20x.c > > > +++ b/drivers/mfd/axp20x.c > > > @@ -198,6 +198,12 @@ static const struct resource axp22x_usb_power_supply_resources[] = { > > > DEFINE_RES_IRQ_NAMED(AXP22X_IRQ_VBUS_REMOVAL, "VBUS_REMOVAL"), > > > }; > > > > > > +/* AXP803 and AXP813/AXP818 share the same interrupts */ > > > +static struct 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? ^ > > 2 spaces? I'm only seeing one. Eh, that's odd. My eyes must be failing me. Just add my Ack then. :) -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog