From patchwork Wed Sep 30 12:56:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 54332 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 8C5EC23002 for ; Wed, 30 Sep 2015 12:56:52 +0000 (UTC) Received: by labjc2 with SMTP id jc2sf12745034lab.1 for ; Wed, 30 Sep 2015 05:56:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=hwrLAFNGG88sCh0K2KdBa7v7jRjOZaNoBld0rauRdpk=; b=hZIyTYZ7paVEd0ftZ9jMuOfmiH01GwHR28C7CavomKERspWf7wgPELfa7n0jHLQ9C1 y+DKowba9tvuBtVS5IuouXaSnGxrCczwgkvkzraYtZnIbBwiGv0qNK6KVQZ5qnhPCgpH rHDbLgB5RmwEA2YKYQddfqvqvE5Ml5PKznrrRqjkckBtxcYWI6/WMnsTEV3ClJYspfkK +8fd8RBcRet/5gulg6jj06jSQ6PjdaQVPMmXwB/R2oGXb3WjC1nWIA9oGOp8LzAyPQJw QYY/FDC0KkBrE+YXVRdGYJ0nwcg4Mew1hxxh8eqTeb1NyIbm3ckKF62eRKweUnHLqw3k P/wQ== X-Gm-Message-State: ALoCoQkrXmVMSKo65l6sQrvMOgd/xbHbltQjQvRGk5+ZURxpKP/KD27y9t9DFsRKvOTYst5YTzv9 X-Received: by 10.112.89.228 with SMTP id br4mr512459lbb.3.1443617811514; Wed, 30 Sep 2015 05:56:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.194 with SMTP id e2ls43593lae.49.gmail; Wed, 30 Sep 2015 05:56:51 -0700 (PDT) X-Received: by 10.25.43.80 with SMTP id r77mr577600lfr.120.1443617811333; Wed, 30 Sep 2015 05:56:51 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id t197si225907lfe.92.2015.09.30.05.56.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2015 05:56:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by labzv5 with SMTP id zv5so45014275lab.1 for ; Wed, 30 Sep 2015 05:56:50 -0700 (PDT) X-Received: by 10.25.82.10 with SMTP id g10mr737144lfb.56.1443617810875; Wed, 30 Sep 2015 05:56:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2739799lbq; Wed, 30 Sep 2015 05:56:49 -0700 (PDT) X-Received: by 10.68.94.3 with SMTP id cy3mr4686358pbb.113.1443617809253; Wed, 30 Sep 2015 05:56:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bd1si713702pad.42.2015.09.30.05.56.48; Wed, 30 Sep 2015 05:56:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933743AbbI3M4p (ORCPT + 30 others); Wed, 30 Sep 2015 08:56:45 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:38768 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932774AbbI3M4k (ORCPT ); Wed, 30 Sep 2015 08:56:40 -0400 Received: by wiclk2 with SMTP id lk2so60488420wic.1 for ; Wed, 30 Sep 2015 05:56:39 -0700 (PDT) X-Received: by 10.194.88.74 with SMTP id be10mr3868589wjb.67.1443617799252; Wed, 30 Sep 2015 05:56:39 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id hd7sm603136wib.23.2015.09.30.05.56.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Sep 2015 05:56:38 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: maxime.ripard@free-electrons.com, linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org, linux-arm-kernel@lists.infradead.org, ZhengShunQian , Heiko Stuebner Subject: [PATCH 7/8] nvmem: rockchip-efuse: describe the usage of eFuse Date: Wed, 30 Sep 2015 13:56:36 +0100 Message-Id: <1443617796-26614-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1443617615-26261-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1443617615-26261-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: ZhengShunQian This patch add the bindings document of rockchip eFuse driver. Cc: Srinivas Kandagatla Cc: Heiko Stuebner Signed-off-by: ZhengShunQian Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/nvmem/rockchip-efuse.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt diff --git a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt new file mode 100644 index 0000000..8f86ab3 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt @@ -0,0 +1,38 @@ += Rockchip eFuse device tree bindings = + +Required properties: +- compatible: Should be "rockchip,rockchip-efuse" +- reg: Should contain the registers location and exact eFuse size +- clocks: Should be the clock id of eFuse +- clock-names: Should be "pclk_efuse" + += Data cells = +Are child nodes of eFuse, bindings of which as described in +bindings/nvmem/nvmem.txt + +Example: + + efuse: efuse@ffb40000 { + compatible = "rockchip,rockchip-efuse"; + reg = <0xffb40000 0x20>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&cru PCLK_EFUSE256>; + clock-names = "pclk_efuse"; + + /* Data cells */ + cpu_leakage: cpu_leakage { + reg = <0x17 0x1>; + }; + }; + += Data consumers = +Are device nodes which consume nvmem data cells. + +Example: + + cpu_leakage { + ... + nvmem-cells = <&cpu_leakage>; + nvmem-cell-names = "cpu_leakage"; + };