All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Implement SoC bus driver for Vybrid
@ 2016-05-02  7:04 ` Sanchayan Maity
  0 siblings, 0 replies; 41+ messages in thread
From: Sanchayan Maity @ 2016-05-02  7:04 UTC (permalink / raw)
  To: arnd, shawnguo
  Cc: stefan, robh+dt, lee.jones, linux-arm-kernel, devicetree,
	linux-kernel, Sanchayan Maity

Hello,

This second patch series is rebased on top of shawn's for-next branch
and tested on Colibri Vybrid VF50 and VF61 modules.

This patchset implements SoC bus support for Freescale Vybrid platform,
implementing the following
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-devices-soc

This a reworked version of an older patchset series posted in June 2015
which was at v5 then [1]. Since the NVMEM framework was then getting
introduced, we decided that first a NVMEM driver for OCOTP peripheral
being in place would be better.

Compared to the older revisions, this driver now relies on NVMEM
consumer API using the NVMEM based vf610_ocotp driver which has
already been in mainline for a while now. Also now a new syscon
abstraction "syscon_regmap_read_from_offset" is implemented and
exported from syscon allowing accessing a register from a syscon
reference like this

ocotp-cfg1 = <&ocotp 0x20>;

avoiding code repetition in the driver.

One point on which we were not sure here is whether we really should
introduce a new Kconfig symbol as being introduced here. While we
could just enable it when SOC_VF610 is selected, this however would
introduce circular dependencies.

Feedback is most welcome.

Changes since v1:
Add device tree binding documentation.

v1 new patchset
https://lkml.org/lkml/2016/3/11/132

[1] Older v5:
http://lkml.iu.edu/hypermail/linux/kernel/1506.0/03787.html
Even earlier versions:
Version 4 of the patchset can be found here
https://lkml.org/lkml/2015/5/26/199
Version 3 of the patchset can be found here
http://www.spinics.net/lists/arm-kernel/msg420847.html
Version 2 of the patchset can be found here
http://www.spinics.net/lists/devicetree/msg80654.html
Version 1 of the patchset can be found here
http://www.spinics.net/lists/devicetree/msg80257.html
The RFC version can be found here
https://lkml.org/lkml/2015/5/11/13

Regards,
Sanchayan.

Sanchayan Maity (5):
  mfd: syscon: Introduce syscon_regmap_read_from_offset
  ARM: dts: vfxxx: Add device tree node for OCOTP
  ARM: dts: vfxxx: Add OCROM and phandle entries for Vybrid SoC bus driver
  soc: Add SoC bus driver for Freescale Vybrid Platform
  vf610-soc: Add Vybrid SoC device tree binding documentation

 .../bindings/arm/freescale/fsl,vf610-soc.txt       |  35 +++++
 arch/arm/boot/dts/vfxxx.dtsi                       |  28 +++-
 drivers/mfd/syscon.c                               |  30 ++++
 drivers/soc/Kconfig                                |   1 +
 drivers/soc/fsl/Kconfig                            |  10 ++
 drivers/soc/fsl/Makefile                           |   1 +
 drivers/soc/fsl/soc-vf610.c                        | 160 +++++++++++++++++++++
 include/linux/mfd/syscon.h                         |  10 ++
 8 files changed, 274 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,vf610-soc.txt
 create mode 100644 drivers/soc/fsl/Kconfig
 create mode 100644 drivers/soc/fsl/soc-vf610.c

-- 
2.8.2

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

end of thread, other threads:[~2016-05-11  3:24 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-02  7:04 [PATCH v2 0/5] Implement SoC bus driver for Vybrid Sanchayan Maity
2016-05-02  7:04 ` Sanchayan Maity
2016-05-02  7:05 ` [PATCH v2 1/5] mfd: syscon: Introduce syscon_regmap_read_from_offset Sanchayan Maity
2016-05-02  7:05   ` Sanchayan Maity
2016-05-02  7:05 ` [PATCH v2 2/5] ARM: dts: vfxxx: Add device tree node for OCOTP Sanchayan Maity
2016-05-02  7:05   ` Sanchayan Maity
2016-05-02  7:31   ` Arnd Bergmann
2016-05-02  7:31     ` Arnd Bergmann
2016-05-02  7:31     ` Arnd Bergmann
2016-05-02  8:12     ` maitysanchayan
2016-05-02  8:12       ` maitysanchayan at gmail.com
2016-05-02  8:12       ` maitysanchayan-Re5JQEeQqe8AvxtiuMwx3w
2016-05-02  7:05 ` [PATCH v2 3/5] ARM: dts: vfxxx: Add OCROM and phandle entries for Vybrid SoC bus driver Sanchayan Maity
2016-05-02  7:05   ` Sanchayan Maity
2016-05-02  7:05 ` [PATCH v2 4/5] soc: Add SoC bus driver for Freescale Vybrid Platform Sanchayan Maity
2016-05-02  7:05   ` Sanchayan Maity
2016-05-02  7:05   ` Sanchayan Maity
2016-05-02  7:05 ` [PATCH v2 5/5] vf610-soc: Add Vybrid SoC device tree binding documentation Sanchayan Maity
2016-05-02  7:05   ` Sanchayan Maity
2016-05-02  7:05   ` Sanchayan Maity
2016-05-04  2:30   ` Rob Herring
2016-05-04  2:30     ` Rob Herring
2016-05-04  2:30     ` Rob Herring
2016-05-05  8:27     ` maitysanchayan
2016-05-05  8:27       ` maitysanchayan at gmail.com
2016-05-05  8:27       ` maitysanchayan-Re5JQEeQqe8AvxtiuMwx3w
2016-05-09 17:14       ` Rob Herring
2016-05-09 17:14         ` Rob Herring
2016-05-09 17:14         ` Rob Herring
2016-05-09 18:25         ` Stefan Agner
2016-05-09 18:25           ` Stefan Agner
2016-05-09 18:25           ` Stefan Agner
2016-05-09 22:58           ` Rob Herring
2016-05-09 22:58             ` Rob Herring
2016-05-09 22:58             ` Rob Herring
2016-05-10  1:13             ` Stefan Agner
2016-05-10  1:13               ` Stefan Agner
2016-05-10  1:13               ` Stefan Agner
2016-05-11  3:24               ` Rob Herring
2016-05-11  3:24                 ` Rob Herring
2016-05-11  3:24                 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.