linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add syscon name and #cells support
@ 2019-11-14 11:45 Orson Zhai
  2019-11-14 11:45 ` [PATCH 1/2] dt-bindings: Add syscon-names support Orson Zhai
  2019-11-14 11:45 ` [PATCH 2/2] mfd: syscon: Add syscon-names and phandle args support Orson Zhai
  0 siblings, 2 replies; 8+ messages in thread
From: Orson Zhai @ 2019-11-14 11:45 UTC (permalink / raw)
  To: Lee Jones, Rob Herring, Mark Rutland, Arnd Bergmann
  Cc: devicetree, linux-kernel, steven.tang, Orson Zhai


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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-20 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 11:45 [PATCH 0/2] Add syscon name and #cells support Orson Zhai
2019-11-14 11:45 ` [PATCH 1/2] dt-bindings: Add syscon-names support Orson Zhai
2019-11-15  9:33   ` Arnd Bergmann
2019-11-18  8:39     ` Orson Zhai
2019-11-19 14:20       ` Arnd Bergmann
2019-11-19 14:46       ` Arnd Bergmann
2019-11-20 15:49         ` Orson Zhai
2019-11-14 11:45 ` [PATCH 2/2] mfd: syscon: Add syscon-names and phandle args support Orson Zhai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).