All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] add support of pinctrl to MT7622 SoC
@ 2017-11-28  3:49 ` sean.wang
  0 siblings, 0 replies; 25+ messages in thread
From: sean.wang @ 2017-11-28  3:49 UTC (permalink / raw)
  To: robh+dt, mark.rutland, linus.walleij, matthias.bgg, devicetree,
	linux-mediatek
  Cc: linux-arm-kernel, linux-gpio, linux-kernel, Sean Wang

From: Sean Wang <sean.wang@mediatek.com>

The patchset adds support for pinctrl on MT7622 SoC.

patch 1: describe the hardware, also including the defintion for pins,
	 groups and function.
patch 2: add cleanup for keep drivers inside the independent menu.
patch 3/4: add support for mt7622 SoC.

The IO core found on the SoC has the registers for pinctrl, pinconf and
gpio mixed up in the same register range.

However, the IO core for the MT7622 SoC is completely distinct from
anyone of previous MediaTek SoCs which already had support, such as the
hardware internal, register address map and register detailed definition
for each pin.

Therefore, instead, the driver is being newly implemented by reusing
generic methods provided from the core layer with GENERIC_PINCONF,
GENERIC_PINCTRL_GROUPS, and GENERIC_PINMUX_FUNCTIONS for the sake of code
simplicity and avoiding superfluous code. Where the function of pins
determined by groups is utilized in this driver which can help developers
less confused with what combinations of pins effective on the SoC and
even reducing the mistakes during the integration of those relevant
boards.

As the gpio_chip handling is also only a few lines, the driver also
implements the gpio functionality directly through GPIOLIB.

Sean Wang (4):
  dt-bindings: pinctrl: add bindings for MediaTek MT7622 SoC
  pinctrl: mediatek: cleanup for placing all drivers under the menu
  pinctrl: mediatek: add pinctrl driver for MT7622 SoC
  pinctrl: mediatek: update MAINTAINERS entry with MediaTek pinctrl
    driver

 .../devicetree/bindings/pinctrl/pinctrl-mt7622.txt |  330 +++++
 MAINTAINERS                                        |   10 +
 drivers/pinctrl/Makefile                           |    2 +-
 drivers/pinctrl/mediatek/Kconfig                   |   15 +-
 drivers/pinctrl/mediatek/Makefile                  |    3 +-
 drivers/pinctrl/mediatek/pinctrl-mt7622.c          | 1536 ++++++++++++++++++++
 6 files changed, 1892 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt
 create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7622.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2017-12-06  6:19 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-28  3:49 [PATCH 0/4] add support of pinctrl to MT7622 SoC sean.wang
2017-11-28  3:49 ` sean.wang at mediatek.com
2017-11-28  3:49 ` sean.wang
     [not found] ` <cover.1511840374.git.sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-11-28  3:49   ` [PATCH 1/4] dt-bindings: pinctrl: add bindings for MediaTek " sean.wang-NuS5LvNUpcJWk0Htik3J/w
2017-11-28  3:49     ` sean.wang at mediatek.com
2017-11-28  3:49     ` sean.wang
2017-11-28 15:20     ` Rob Herring
2017-11-28 15:20       ` Rob Herring
2017-11-29  9:14       ` Sean Wang
2017-11-29  9:14         ` Sean Wang
2017-11-29  9:14         ` Sean Wang
2017-11-28  3:50 ` [PATCH 2/4] pinctrl: mediatek: cleanup for placing all drivers under the menu sean.wang
2017-11-28  3:50   ` sean.wang at mediatek.com
2017-11-28  3:50   ` sean.wang
2017-11-28  3:50 ` [PATCH 3/4] pinctrl: mediatek: add pinctrl driver for MT7622 SoC sean.wang
2017-11-28  3:50   ` sean.wang at mediatek.com
2017-11-28  3:50   ` sean.wang
2017-11-28  3:50 ` [PATCH 4/4] pinctrl: mediatek: update MAINTAINERS entry with MediaTek pinctrl driver sean.wang
2017-11-28  3:50   ` sean.wang at mediatek.com
2017-11-28  3:50   ` sean.wang
2017-12-01 19:50 ` [PATCH 0/4] add support of pinctrl to MT7622 SoC Linus Walleij
2017-12-01 19:50   ` Linus Walleij
2017-12-01 19:50   ` Linus Walleij
     [not found]   ` <CACRpkdaL5W5r_4PoYwVK6mcO583Cep5t-ePWqccKx2YDz9=iyA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-06  6:19     ` biao huang
2017-12-06  6:19       ` biao huang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.