From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH v3 6/9] pinctrl: mvebu: add driver for Armada CP110 pinctrl Date: Fri, 16 Jun 2017 11:26:08 +0200 Message-ID: References: <2d71d93a22ed24c45b7ce7b52fa066cc0a14a69f.1497281623.git-series.gregory.clement@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <2d71d93a22ed24c45b7ce7b52fa066cc0a14a69f.1497281623.git-series.gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Gregory CLEMENT Cc: "linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Rob Herring , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Russell King , Nadav Haklai , Kostya Porotchkin , Neta Zur Hershkovits , Marcin Wojtas , Omri Itach , Shadi Ammouri , Hanna Hawa List-Id: devicetree@vger.kernel.org On Mon, Jun 12, 2017 at 5:34 PM, Gregory CLEMENT wrote: > From: Hanna Hawa > > This commit adds a pinctrl driver for the CP110 part of the Marvell > Armada 7K and 8K SoCs. The Armada 7K has a single CP110, where almost all > the MPP pins are available. On the other side, the Armada 8K has two > CP110, and the available MPPs are split between the master CP110 (MPPs 32 > to 62) and the slave CP110 (MPPs 0 to 31). > > The register interface to control the MPPs is however the same as all > other mvebu SoCs, so we can reuse the common pinctrl-mvebu.c logic. > > Signed-off-by: Hanna Hawa > Reviewed-by: Shadi Ammouri > > [updated for mvebu pinctrl and 4.9 changes: > - converted to simple_mmio > - converted to syscon/regmap > - removed unimplemented .remove function > - dropped DTS changes > - defered gpio ranges to DT > - fixed warning > - properly set soc->nmodes > -- rmk] > Signed-off-by: Russell King > > [ add missing MPP[61:56] function 14 (SDIO) > -- Konstantin Porotchkin] > Signed-off-by: Konstantin Porotchkin > > [ allow to properly register more then one instance of this driver > -- Grzegorz Jaszczyk] > Signed-off-by: Grzegorz Jaszczyk > > [ - rebased on 4.12-rc1 > - fixed the 80 character limit for mvebu_mpp_mode array > - aligned the compatible name on the ones already used > - fixed the MPP table for CP110: some MPP are not available on Armada 7K > -- Gregory CLEMENT] > Signed-off-by: Gregory CLEMENT > > Tested-by: Thomas Petazzoni Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html