linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Implement SoC bus support for Vybrid
@ 2015-05-20  5:36 Sanchayan Maity
  2015-05-20  5:36 ` [PATCH v2 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes Sanchayan Maity
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sanchayan Maity @ 2015-05-20  5:36 UTC (permalink / raw)
  To: shawn.guo
  Cc: stefan, kernel, linux-arm-kernel, devicetree, linux-kernel,
	Sanchayan Maity

Hello,

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

Currently the required information is more or less read across the whole
SoC, but I guess we cannot change that since these are the locations
with the required information.

There seem to be three options for the revision field:
- ROM revision (see https://community.freescale.com/docs/DOC-94802)
- ANADIG revision (ANADIG_DIGIPROC, as used for the i.MX SoC's)
- OCOTP revision

Some numbers:

Colibri VF61 1.1A (2N02G)
- 0x00000013
- 0x00610000
- 0x01000000
- 0x410000c8

Colibri VF61 V1.0B (1N02G)
- 0x00000011
- 0x00610000
- 0x01000000
- 0x410000c8

Colibri VF61 V1.0A (which is actually a VF600 SoC, no L2 cache, since
that was the only one we could buy back then, 1N02G printed on it)
- 0x00000011
- 0x00610000
- 0x01000000
- none...

Colibri VF50 V1.0A (1N02G)
- 0x00000011
- 0x00610000
- 0x01000000
- none...

Vybrid Tower Rev J (1N02G)
- 0x00000011
- 0x00610000
- 0x01000000
- 0x410000c8

The ROM revision differs the most, so we would like to go with the
revision information from the ROM register 0x80.

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

Changes since v1:
- Sort the headers in alphabetical order

Changes since RFC:
- Use a DT entry for the ROM area while specifying it as syscon.

Sanchayan Maity (2):
  ARM: dts: vfxxx: Add OCOTP and OCROM nodes
  ARM: vf610: Add SoC bus support for Vybrid

 arch/arm/boot/dts/vfxxx.dtsi   | 10 +++++
 arch/arm/mach-imx/mach-vf610.c | 85 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 93 insertions(+), 2 deletions(-)

-- 
2.4.1


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

end of thread, other threads:[~2015-05-20  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-20  5:36 [PATCH v2 0/2] Implement SoC bus support for Vybrid Sanchayan Maity
2015-05-20  5:36 ` [PATCH v2 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes Sanchayan Maity
2015-05-20  5:36 ` [PATCH v2 2/2] ARM: vf610: Add SoC bus support for Vybrid Sanchayan Maity
2015-05-20  7:12   ` Arnd Bergmann
2015-05-20  7:36     ` Stefan Agner
2015-05-20  8:18       ` Arnd Bergmann
2015-05-20  6:08 ` [PATCH v2 0/2] Implement " Stefan Agner

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