RFC pinctrl: imx: add support for dt-overlays
Get series with b4
b4 am [email protected]Versions newest first
- v2 RFC Latest3 patches 8 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | pinctrl: imx: remove const qualifier of imx_pinctrl_soc_infodrivers/ | +17 | 2 replies | |
| 2/3 | pinctrl: imx: use radix trees for groups and functionsdrivers/ drivers/ | +141 | 6 replies | |
| 3/3 | pinctrl: imx: add of_notifier for dynamic pinctrl changesdrivers/ | +103 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Fabio Estevam |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC v2 0/3] pinctrl: imx: add support for dt-overlays
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(-)
Signature · 1 line
2.9.3