devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] qcom: Add SMEM MTD parser
@ 2015-08-17 23:47 Mathieu Olivari
       [not found] ` <1439855266-26242-1-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
  2015-08-17 23:47 ` [PATCH v3 3/3] mtd: add SMEM parser for QCOM platforms Mathieu Olivari
  0 siblings, 2 replies; 9+ messages in thread
From: Mathieu Olivari @ 2015-08-17 23:47 UTC (permalink / raw)
  To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
	dwmw2, computersforpeace, agross, sboyd, bjorn.andersson
  Cc: devicetree, linux-arm-kernel, linux-kernel, linux-mtd,
	Mathieu Olivari

QCOM platforms such as IPQ806x are using SMEM to store their flash
layout. This patch set adds the DT nodes required to instanciate SMEM
on IPQ806x and add an MTD parser using it.

This change is based on the SMEM driver posted here:
*https://lkml.org/lkml/2015/7/27/1125

v2:
*Release the SPI device reference after looking it up (put_device())
*Represent SMEM data as __le32 rather than u32
*Move new DT nodes in their proper respective location
*Address readability concerns in MTD parser

v3:
*Address Bjorn's comments

Mathieu Olivari (3):
  ARM: qcom: add SFPB nodes to IPQ806x dts
  ARM: qcom: add SMEM device node to IPQ806x dts
  mtd: add SMEM parser for QCOM platforms

 arch/arm/boot/dts/qcom-ipq8064.dtsi |  23 +++-
 drivers/mtd/Kconfig                 |   7 ++
 drivers/mtd/Makefile                |   1 +
 drivers/mtd/qcom_smem_part.c        | 224 ++++++++++++++++++++++++++++++++++++
 4 files changed, 254 insertions(+), 1 deletion(-)
 create mode 100644 drivers/mtd/qcom_smem_part.c

-- 
2.1.4

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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17 23:47 [PATCH v3 0/3] qcom: Add SMEM MTD parser Mathieu Olivari
     [not found] ` <1439855266-26242-1-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-08-17 23:47   ` [PATCH v3 1/3] ARM: qcom: add SFPB nodes to IPQ806x dts Mathieu Olivari
     [not found]     ` <1439855266-26242-2-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-08-18 17:59       ` Bjorn Andersson
2015-08-17 23:47   ` [PATCH v3 2/3] ARM: qcom: add SMEM device node " Mathieu Olivari
2015-08-18 18:11     ` Bjorn Andersson
2015-08-18 12:30   ` [PATCH v3 0/3] qcom: Add SMEM MTD parser Jonas Gorski
2015-08-18 17:03     ` Mathieu Olivari
2015-08-17 23:47 ` [PATCH v3 3/3] mtd: add SMEM parser for QCOM platforms Mathieu Olivari
     [not found]   ` <1439855266-26242-4-git-send-email-mathieu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-08-18 18:10     ` Bjorn Andersson

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