lkml.org 
[lkml]   [2016]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC v2 0/3] pinctrl: imx: add support for dt-overlays
Date
Hi all,

This RFC series is a follow-up to my previous RFC patch [1].

This time the series includes one possible of_notifier implementation
for people to understand the need of radix_tree (or similar mechanism)
as suggested by Fabio.

However, if you wish to try this on, you'll need a tree with patches
from the renesas-drivers tree to have configfs support [2].

To ease that process, my testing tree was pushed to github [3] which
is based on today's linux-next tree.

Finally, the device tree overlay was also pushed to github [4]. This
last repo also contains what is needed to build the overlay out of
tree plus some helper script to load the overlay.

With this tree and overlay, two spidev devices can be added from
user-space with the proper pinctrl being applied.

The patches of this series include some comment on their purpose /
implementation.

Regards,
Gary

[1] http://www.spinics.net/lists/kernel/msg2391326.html
[2] http://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/overlays
[3] https://github.com/gibsson/linux-next/tree/for-next-20161202
[4] https://github.com/gibsson/dt-overlays/tree/dt-overlays-next/overlays

Gary Bisson (3):
pinctrl: imx: remove const qualifier of imx_pinctrl_soc_info
pinctrl: imx: use radix trees for groups and functions
pinctrl: imx: add of_notifier for dynamic pinctrl changes

drivers/pinctrl/freescale/pinctrl-imx.c | 301 +++++++++++++++++++++++++++-----
drivers/pinctrl/freescale/pinctrl-imx.h | 5 +-
2 files changed, 261 insertions(+), 45 deletions(-)

--
2.9.3

\
 
 \ /
  Last update: 2016-12-02 17:36    [W:0.113 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site