lkml.org 
[lkml]   [2019]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Add syscon name and #cells support
Date

Our SoCs have a lot of glabal registers which is hard to be managed in
current syscon structure.

Same register's offset is different in different SoCs. We used chip
config macro to manage them which prevents driver to be compiled in
all-in-one image.

After talking with Arnd and Rob at Linaro Connect 2017, I got the
idea to extend syscon with #cells support. And furthe, I added syscon
names support to help access multiple syscon nodes more easier.

These patches has been tested in our internal tree about 2 years.

They have no side effect to current syscon consumer.

Thanks,
Orson

--------------------
Orson Zhai (2):
dt-bindings: Add syscon-names support
mfd: syscon: Add syscon-names and phandle args support

.../devicetree/bindings/mfd/syscon.txt | 36 ++++++++++
drivers/mfd/syscon.c | 65 +++++++++++++++++++
include/linux/mfd/syscon.h | 22 +++++++
3 files changed, 123 insertions(+)

--
2.18.0


\
 
 \ /
  Last update: 2019-11-14 13:24    [W:0.064 / U:4.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site