public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 05/10] pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.
Date: Thu, 14 May 2015 08:22:28 +0100	[thread overview]
Message-ID: <20150514072228.GB20358@x1> (raw)
In-Reply-To: <1431567346-33780-6-git-send-email-hongzhou.yang@mediatek.com>

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@mediatek.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

       reply	other threads:[~2015-05-14  7:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1431567346-33780-1-git-send-email-hongzhou.yang@mediatek.com>
     [not found] ` <1431567346-33780-6-git-send-email-hongzhou.yang@mediatek.com>
2015-05-14  7:22   ` Lee Jones [this message]
2015-05-15  3:12     ` [PATCH 05/10] pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397 Hongzhou Yang
2015-05-15 15:09 ` Mediatek pinctrl driver optimize and add Mediatek SoC Pinctrl/GPIO/EINT driver for mt6397/mt8127 Yingjoe Chen
     [not found] ` <1431567346-33780-2-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  8:49   ` [PATCH 01/10] pinctrl: mediatek: data struct optimize and remove unused member Linus Walleij
     [not found] ` <1431567346-33780-3-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  8:50   ` [PATCH 02/10] pinctrl: mediatek: add mtk_pctrl_spec_pull_set_samereg common code Linus Walleij
     [not found] ` <1431567346-33780-4-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  8:51   ` [PATCH 03/10] pinctrl: mediatek: add ies/smt control to " Linus Walleij
     [not found] ` <1431567346-33780-5-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  8:53   ` [PATCH 04/10] dt-bindings: mediatek: Modify pinctrl bindings for mt6397 Linus Walleij
     [not found] ` <1431567346-33780-7-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  8:55   ` [PATCH 06/10] pinctrl: dt bindings: mt6397: Add pinfunc header file " Linus Walleij
     [not found] ` <1431567346-33780-8-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  8:57   ` [PATCH 07/10] arm64: dts: mt8173-evb: Add pinctrl/GPIO node " Linus Walleij
     [not found] ` <1431567346-33780-9-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  8:57   ` [PATCH 08/10] ARM: dts: mt8135-evbp1: " Linus Walleij
2015-05-21  7:53     ` Matthias Brugger
2015-05-21  8:02       ` Matthias Brugger
     [not found] ` <1431567346-33780-10-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  9:01   ` [PATCH 09/10] pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127 Linus Walleij
     [not found] ` <1431567346-33780-11-git-send-email-hongzhou.yang@mediatek.com>
2015-05-19  9:02   ` [PATCH 10/10] ARM: dts: mt8127: add pinctrl/GPIO/EINT node " Linus Walleij
2015-05-21  7:54     ` Matthias Brugger
2015-05-21  8:02       ` Matthias Brugger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150514072228.GB20358@x1 \
    --to=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox