|
|
Subscribe / Log in / New account

Renesas R9A06G032 PINCTRL Driver

From:  Phil Edworthy <phil.edworthy-AT-renesas.com>
To:  Geert Uytterhoeven <geert-AT-linux-m68k.org>, Laurent Pinchart <laurent.pinchart-AT-ideasonboard.com>, Rob Herring <robh+dt-AT-kernel.org>, Mark Rutland <mark.rutland-AT-arm.com>
Subject:  [PATCH v3 0/3] Renesas R9A06G032 PINCTRL Driver
Date:  Mon, 17 Sep 2018 17:36:06 +0100
Message-ID:  <20180917163609.30457-1-phil.edworthy@renesas.com>
Cc:  Jacopo Mondi <jacopo-AT-jmondi.org>, Linus Walleij <linus.walleij-AT-linaro.org>, Simon Horman <horms-AT-verge.net.au>, linux-gpio-AT-vger.kernel.org, linux-renesas-soc-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Phil Edworthy <phil.edworthy-AT-renesas.com>
Archive-link:  Article

This implements the pinctrl driver for the RZ/N1 family of devices, including
the R9A06G032 (RZ/N1D) device.

This series was originally written by Michel Pollet whilst at Renesas, and I
have taken over this work.

Main changes:
v3:
 - Use standard DT props instead of proprietary ones.
 - Replace virtual pins used for MDIO muxing with extra funcs.
 - Use pinctrl_utils funcs to handle the maps.
 - Remove the dbg functions to keep things simple.
 - Change the way the functions are defined so it is easy to check
   against the hardware numbering.

v2:
 - Change to generic rzn1 family driver, instead of device specific.
 - Review comments fixed.
 - Fix error handling during probe

Phil Edworthy (3):
  dt-bindings: pinctrl: renesas,rzn1-pinctrl: documentation
  pinctrl: renesas: Renesas RZ/N1 pinctrl driver
  ARM: dts: r9a06g032: Add pinctrl node

 .../bindings/pinctrl/renesas,rzn1-pinctrl.txt | 129 +++
 arch/arm/boot/dts/r9a06g032.dtsi              |   8 +
 drivers/pinctrl/Kconfig                       |  10 +
 drivers/pinctrl/Makefile                      |   1 +
 drivers/pinctrl/pinctrl-rzn1.c                | 926 ++++++++++++++++++
 include/dt-bindings/pinctrl/rzn1-pinctrl.h    | 141 +++
 6 files changed, 1215 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.txt
 create mode 100644 drivers/pinctrl/pinctrl-rzn1.c
 create mode 100644 include/dt-bindings/pinctrl/rzn1-pinctrl.h

-- 
2.17.1



Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds