[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150514072228.GB20358@x1>
Date: Thu, 14 May 2015 08:22:28 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Hongzhou Yang <hongzhou.yang@...iatek.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Russell King <linux@....linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Samuel Ortiz <sameo@...ux.intel.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Eddie Huang <eddie.huang@...iatek.com>,
Howard Chen <ibanezchen@...il.com>,
Ashwin Chaugule <ashwin.chaugule@...aro.org>,
"Joe.C" <yingjoe.chen@...iatek.com>,
Chaotian Jing <chaotian.jing@...iatek.com>,
Fabian Frederick <fabf@...net.be>,
Maoguang Meng <maoguang.meng@...iatek.com>,
Axel Lin <axel.lin@...ics.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-gpio@...r.kernel.org,
srv_heupstream@...iatek.com, Sascha Hauer <kernel@...gutronix.de>,
dandan.he@...iatek.com
Subject: Re: [PATCH 05/10] pinctrl: mediatek: Add Pinctrl/GPIO driver for
mt6397.
On Wed, 13 May 2015, Hongzhou Yang wrote:
> Add mt6397 support using mediatek common pinctrl driver.
>
> mt6397 is a PMIC, and pinctrl/GPIO is part of 6397 chip.
> Pinctrl/GPIO driver should obtain regmap from PMIC,
> so adding this support to common code.
>
> Also, mt6397 is no need to support interrupt controller,
> so changing common code to skip it.
>
> Signed-off-by: Hongzhou Yang <hongzhou.yang@...iatek.com>
> ---
> drivers/mfd/mt6397-core.c | 3 +
Please break this out into a separate patch that I can take through my
tree. There is no need for you to bind up changes in multiple
subsystems here.
> drivers/pinctrl/mediatek/Kconfig | 6 +
> drivers/pinctrl/mediatek/Makefile | 1 +
> drivers/pinctrl/mediatek/pinctrl-mt6397.c | 78 +++++
> drivers/pinctrl/mediatek/pinctrl-mt8135.c | 2 +-
> drivers/pinctrl/mediatek/pinctrl-mt8173.c | 2 +-
> drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 13 +-
> drivers/pinctrl/mediatek/pinctrl-mtk-common.h | 3 +-
> drivers/pinctrl/mediatek/pinctrl-mtk-mt6397.h | 424 +++++++++++++++++++++++++
> 9 files changed, 527 insertions(+), 5 deletions(-)
> create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt6397.c
> create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt6397.h
>
> diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
> index 09bc780..012c620 100644
> --- a/drivers/mfd/mt6397-core.c
> +++ b/drivers/mfd/mt6397-core.c
> @@ -34,6 +34,9 @@ static const struct mfd_cell mt6397_devs[] = {
> }, {
> .name = "mt6397-clk",
> .of_compatible = "mediatek,mt6397-clk",
> + }, {
> + .name = "mediatek-mt6397-pinctrl",
> + .of_compatible = "mediatek,mt6397-pinctrl",
> },
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists