Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752328AbbHQXr5 (ORCPT ); Mon, 17 Aug 2015 19:47:57 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34799 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752231AbbHQXrw (ORCPT ); Mon, 17 Aug 2015 19:47:52 -0400 From: Mathieu Olivari To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, dwmw2@infradead.org, computersforpeace@gmail.com, agross@codeaurora.org, sboyd@codeaurora.org, bjorn.andersson@sonymobile.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Mathieu Olivari Subject: [PATCH v3 0/3] qcom: Add SMEM MTD parser Date: Mon, 17 Aug 2015 16:47:43 -0700 Message-Id: <1439855266-26242-1-git-send-email-mathieu@codeaurora.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1256 Lines: 36 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/