linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] add ACPI support for syscon
@ 2015-12-02  9:09 Kefeng Wang
  2015-12-02  9:09 ` [RFC PATCH 1/4] acpi: property: Introduce helper acpi_dev_get_reference_device() Kefeng Wang
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Kefeng Wang @ 2015-12-02  9:09 UTC (permalink / raw)
  To: linux-arm-kernel

Lots of drivers begin to support both OF and ACPI now, but some drivers depend on syscon,
so syscon need to support ACPI firstly.

Add ACPI support for syscon, and introduce syscon_regmap_lookup_by_dev_property()
helper when the driver need to get a regmap handle from syscon, it can used in
both OF and ACPI.

Kefeng Wang (4):
  acpi: property: Introduce helper acpi_dev_get_reference_device()
  device property: Introduce helper device_get_reference_node()
  ACPI/platform: Introduce helper acpi_dev_find_plat_dev()
  mfd: syscon: add ACPI support

 drivers/acpi/acpi_platform.c | 25 ++++++++++++++++++++++
 drivers/acpi/property.c      | 23 ++++++++++++++++++++
 drivers/base/property.c      | 40 +++++++++++++++++++++++++++++++++++
 drivers/mfd/syscon.c         | 50 ++++++++++++++++++++++++++++++++++++++++++++
 include/linux/acpi.h         | 13 ++++++++++++
 include/linux/mfd/syscon.h   |  8 +++++++
 include/linux/property.h     |  6 ++++++
 7 files changed, 165 insertions(+)

-- 
1.7.12.4

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

end of thread, other threads:[~2015-12-11 12:35 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-02  9:09 [RFC PATCH 0/4] add ACPI support for syscon Kefeng Wang
2015-12-02  9:09 ` [RFC PATCH 1/4] acpi: property: Introduce helper acpi_dev_get_reference_device() Kefeng Wang
2015-12-02  9:20   ` Mika Westerberg
2015-12-02  9:09 ` [RFC PATCH 2/4] device property: Introduce helper device_get_reference_node() Kefeng Wang
2015-12-03 15:28   ` Russell King - ARM Linux
2015-12-03 23:29     ` Rafael J. Wysocki
2015-12-04  1:02       ` Rafael J. Wysocki
2015-12-11 12:35     ` Lorenzo Pieralisi
2015-12-02  9:09 ` [RFC PATCH 3/4] ACPI/platform: Introduce helper acpi_dev_find_plat_dev() Kefeng Wang
2015-12-02  9:09 ` [RFC PATCH 4/4] mfd: syscon: add ACPI support Kefeng Wang
2015-12-02 10:44   ` Arnd Bergmann
2015-12-03 10:41     ` Graeme Gregory
2015-12-03 13:01       ` Kefeng Wang
2015-12-03 15:56         ` Lorenzo Pieralisi
2015-12-07  6:15           ` Kefeng Wang
2015-12-07  8:47             ` Arnd Bergmann
2015-12-11 10:35     ` Zhangfei Gao
2015-12-11 10:51       ` Arnd Bergmann
2015-12-11 10:59         ` Graeme Gregory
2015-12-11 12:23         ` Hanjun Guo
2015-12-02 10:50 ` [RFC PATCH 0/4] add ACPI support for syscon Lorenzo Pieralisi

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).