From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756492AbdJJSeC (ORCPT ); Tue, 10 Oct 2017 14:34:02 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:35979 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755836AbdJJSeA (ORCPT ); Tue, 10 Oct 2017 14:34:00 -0400 X-Google-Smtp-Source: AOwi7QCz45+cSCRRx3UVxnohSlUKqXIZMrY+floJtsi1NT8catGkeUoZ3rQoUG6ygZKhy9I1xE3k9g== Date: Tue, 10 Oct 2017 13:33:58 -0500 From: Rob Herring To: Quentin Schulz Cc: linus.walleij@linaro.org, mark.rutland@arm.com, wens@csie.org, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, lee.jones@linaro.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@free-electrons.com, linux-sunxi@googlegroups.com Subject: Re: [PATCH v3 05/12] pinctrl: axp209: add support for AXP813 GPIOs Message-ID: <20171010183358.e33h2lopppwdhncv@rob-hp-laptop> References: <20171002120854.5212-1-quentin.schulz@free-electrons.com> <20171002120854.5212-6-quentin.schulz@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171002120854.5212-6-quentin.schulz@free-electrons.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 02, 2017 at 02:08:47PM +0200, Quentin Schulz wrote: > The AXP813 has only two GPIOs. GPIO0 can either be used as a GPIO, an > LDO regulator or an ADC. GPIO1 can be used either as a GPIO or an LDO > regulator. > > Moreover, the status bit of the GPIOs when in input mode is not offset > by 4 unlike the AXP209. > > Signed-off-by: Quentin Schulz > --- > .../devicetree/bindings/pinctrl/pinctrl-axp209.txt | 13 ++++++++- Acked-by: Rob Herring > drivers/pinctrl/pinctrl-axp209.c | 32 ++++++++++++++++------ > 2 files changed, 36 insertions(+), 9 deletions(-)