[PATCH 0/2] Add syscon name and #cells support

From: Orson Zhai
Date: Thu Nov 14 2019 - 07:23:30 EST



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