Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1553937

[PATCH 0/3] pinctrl: sunxi: Support variants

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] pinctrl: sunxi: Support variants
Date 2017-01-08 22:40 +0100
Message-ID <sXtm2-3x8-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

This serie aims at bringing in a mechanism that allow to support both
multiple SoCs based on the same pin and functions table, and to restrict
those pins and functions only to a subset of the SoCs supported.

As the diffstat shows, it allows to reduce greatly the number of lines of
code (and hence the size of the kernel image) by reducing the duplication
on family of the similar SoCs.

Let me know what you think,
Maxime

Maxime Ripard (3):
  pinctrl: sunxi: Add pinctrl variants
  pinctrl: sunxi: Add common sun5i pinctrl driver
  pinctrl: sunxi: Remove old sun5i pinctrl drivers

 drivers/pinctrl/sunxi/Kconfig              |  10 +-
 drivers/pinctrl/sunxi/Makefile             |   4 +-
 drivers/pinctrl/sunxi/pinctrl-gr8.c        | 536 +----------------
 drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c | 685 +--------------------
 drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c  | 403 +------------
 drivers/pinctrl/sunxi/pinctrl-sun5i.c      | 756 ++++++++++++++++++++++-
 drivers/pinctrl/sunxi/pinctrl-sunxi.c      |  77 +-
 drivers/pinctrl/sunxi/pinctrl-sunxi.h      |  30 +-
 8 files changed, 843 insertions(+), 1658 deletions(-)
 delete mode 100644 drivers/pinctrl/sunxi/pinctrl-gr8.c
 delete mode 100644 drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c
 delete mode 100644 drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c
 create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun5i.c

base-commit: 7ce7d89f48834cefece7804d38fc5d85382edf77
-- 
git-series 0.8.11

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] pinctrl: sunxi: Support variants Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-08 22:40 +0100
  [PATCH 1/3] pinctrl: sunxi: Add pinctrl variants Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-08 22:50 +0100
    Re: [PATCH 1/3] pinctrl: sunxi: Add pinctrl variants Linus Walleij <linus.walleij@linaro.org> - 2017-01-09 15:50 +0100
  [PATCH 2/3] pinctrl: sunxi: Add common sun5i pinctrl driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-08 23:00 +0100
    Re: [PATCH 2/3] pinctrl: sunxi: Add common sun5i pinctrl driver Linus Walleij <linus.walleij@linaro.org> - 2017-01-09 16:50 +0100
  Re: [PATCH 3/3] pinctrl: sunxi: Remove old sun5i pinctrl drivers Linus Walleij <linus.walleij@linaro.org> - 2017-01-09 16:00 +0100

csiph-web