Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755412AbbHKGSv (ORCPT ); Tue, 11 Aug 2015 02:18:51 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:36757 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755063AbbHKGSs (ORCPT ); Tue, 11 Aug 2015 02:18:48 -0400 From: Shunqian Zheng To: gregkh@linuxfoundation.org, srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com, heiko@sntech.de, caesar.wang@rock-chips.com Cc: dianders@chromium.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, xjq@rock-chips.com, ZhengShunQian Subject: [PATCH v1 0/5] Add eFuse driver of Rockchip SoC Date: Tue, 11 Aug 2015 14:15:01 +0800 Message-Id: <1439273706-28274-1-git-send-email-zhengsq@rock-chips.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1741 Lines: 42 From: ZhengShunQian Base on nvmem framework, this series patches implement the eFuse driver of Rockchip SoC. The data from eFuse contains CPU leakage, chip code and version etc. The flow of reading data from eFuse is quite simple, configure the CTRL register, write data address to CTRL register, then data is available in DOUT register. The changes versus V0: 1. Enable/disable clock when required. 2. Split the drivers patch into three patches. 3. Update the docs of eFuse. ZhengShunQian (5): clk: rockchip: rk3288: Add the clock id of eFuse nvmem: fix the out-of-range leak in read/write() nvmem: rockchip-efuse: implement efuse driver Documentation: rockchip-efuse: describe the usage of eFuse ARM: dts: rockchip: add eFuse config of rk3288 SoC .../devicetree/bindings/nvmem/rockchip-efuse.txt | 38 ++++ arch/arm/boot/dts/rk3288.dtsi | 13 ++ drivers/clk/rockchip/clk-rk3288.c | 2 +- drivers/nvmem/Kconfig | 10 ++ drivers/nvmem/Makefile | 2 + drivers/nvmem/core.c | 4 +- drivers/nvmem/rockchip-efuse.c | 193 +++++++++++++++++++++ include/dt-bindings/clock/rk3288-cru.h | 1 + 8 files changed, 260 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt create mode 100644 drivers/nvmem/rockchip-efuse.c -- 1.9.1 -- 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/