pinctrl: common handling of generic pinconfig props in dt

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Sun, 9 Jun 2013 01:18:28 +0200

Hi Linus, following your suggestions for a common handling of things like pulls in dt, I've come up with the following solution - hopefully I've gotten the correct meaning of your explanaitions. It handles all the pinconfigs that either ignore the argument, or have very simple one, like PIN_CONFIG_OUTPUT does. I've also attached my current rockchip pinctrl driver to show how it is using this currently. Heiko Stuebner (2): pinctrl: add devicetree constants for simple generic pnconfig options pinctrl: add function to separate combined pinconfig values .../bindings/pinctrl/pinctrl-bindings.txt | 9 +++ drivers/pinctrl/pinconf-generic.c | 61 ++++++++++++++++++++ drivers/pinctrl/pinconf.h | 6 ++ include/dt-bindings/pinctrl/pinconfig.h | 37 ++++++++++++ 4 files changed, 113 insertions(+), 0 deletions(-) create mode 100644 include/dt-bindings/pinctrl/pinconfig.h -- 1.7.2.3

Patches in this set

Statistics

  • 2 individual patches
  • 113 lines added
  • 0 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...