Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753168AbbF2LZS (ORCPT ); Mon, 29 Jun 2015 07:25:18 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:36307 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752407AbbF2LZK (ORCPT ); Mon, 29 Jun 2015 07:25:10 -0400 From: Sanchayan Maity To: linux-arm-kernel@lists.infradead.org Cc: srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com, shawn.guo@linaro.org, kernel@pengutronix.de, stefan@agner.ch, stefan.wahren@i2se.com, linux-kernel@vger.kernel.org, Sanchayan Maity Subject: [RFC PATCH v6 0/3] Implement NVMEM/SoC bus support for Vybrid Date: Mon, 29 Jun 2015 16:52:16 +0530 Message-Id: X-Mailer: git-send-email 2.4.4 In-Reply-To: <558A99FC.2070902@i2se.com> References: <558A99FC.2070902@i2se.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1442 Lines: 43 Hello, For what it's worth, a reworked implementation of the OCOTP driver implementing the proper fuse and shadow register read sequence as mentioned in the TRM. I will avoid unnecessary churn after this and send the next v7 once the nvmem framework gets merged. Used the OCOTP code in barebox as a reference and the code is highly similar to that. iMX6 OCOTP memory map is however different to Vybrid. This set also does not contain code for exposing the ROM information, have yet to check that. Feedback and comments are most welcome. Thank you for all the reviews till now. Regards, Sanchayan. Sanchayan Maity (3): clk: clk-vf610: Add clock for Vybrid OCOTP controller ARM: dts: vfxxx: Add OCOTP node drivers: nvmem: Add Vybrid OCOTP support arch/arm/boot/dts/vfxxx.dtsi | 7 + drivers/clk/imx/clk-vf610.c | 1 + drivers/nvmem/Kconfig | 10 ++ drivers/nvmem/Makefile | 2 + drivers/nvmem/vf610-ocotp.c | 250 ++++++++++++++++++++++++++++++++ include/dt-bindings/clock/vf610-clock.h | 3 +- 6 files changed, 272 insertions(+), 1 deletion(-) create mode 100644 drivers/nvmem/vf610-ocotp.c -- 2.4.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/