[lkml]   [2016]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v1 0/4] Implement SoC bus driver for Vybrid

This patchset implements SoC bus support for Freescale Vybrid platform,
implementing the following

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.

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

Feedback is most welcome.

[1] Older v5:
Even earlier versions:
Version 4 of the patchset can be found here
Version 3 of the patchset can be found here
Version 2 of the patchset can be found here
Version 1 of the patchset can be found here
The RFC version can be found here


Sanchayan Maity (4):
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

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 +++
7 files changed, 239 insertions(+), 1 deletion(-)
create mode 100644 drivers/soc/fsl/Kconfig
create mode 100644 drivers/soc/fsl/soc-vf610.c


 \ /
  Last update: 2016-03-11 10:41    [W:0.074 / U:23.436 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site