From patchwork Mon Dec 1 07:34:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianqun Xu X-Patchwork-Id: 416317 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 5B35D14016B for ; Mon, 1 Dec 2014 18:38:49 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752631AbaLAHio (ORCPT ); Mon, 1 Dec 2014 02:38:44 -0500 Received: from regular2.263xmail.com ([211.157.152.4]:49892 "EHLO regular2.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbaLAHif (ORCPT ); Mon, 1 Dec 2014 02:38:35 -0500 Received: from regular1.263xmail.com (unknown [192.168.165.230]) by regular2.263xmail.com (Postfix) with ESMTP id 8312818EA4C for ; Mon, 1 Dec 2014 15:38:31 +0800 (CST) Received: from jay.xu?rock-chips.com (unknown [192.168.167.131]) by regular1.263xmail.com (Postfix) with SMTP id 15C575635; Mon, 1 Dec 2014 15:38:22 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 54C58481; Mon, 1 Dec 2014 15:38:20 +0800 (CST) X-RL-SENDER: jay.xu@rock-chips.com X-SENDER-IP: 127.0.0.1 X-LOGIN-NAME: jay.xu@rock-chips.com X-UNIQUE-TAG: <6e9647e25895a7f3b0b9ee488a9e44a0> X-ATTACHMENT-NUM: 0 X-SENDER: xjq@rock-chips.com X-DNS-TYPE: 0 Received: from unknown (unknown [127.0.0.1]) by smtp.263.net (Postfix) whith SMTP id 1686065OGWB; Mon, 01 Dec 2014 15:38:21 +0800 (CST) From: Jianqun Xu To: heiko@sntech.de, linux@arm.linux.org.uk, grant.likely@linaro.org, robh+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jianqun Xu Subject: [PATCH 1/2] rockchip: efuse: add documentation for rk3288 efuse driver Date: Mon, 1 Dec 2014 15:34:40 +0800 Message-Id: <1417419281-9243-2-git-send-email-jay.xu@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417419281-9243-1-git-send-email-jay.xu@rock-chips.com> References: <1417419281-9243-1-git-send-email-jay.xu@rock-chips.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In RK3288, there are two eFuse. One is organized as 32bits by 8 one-time programmable electrical fuses with random access interface, and the other is organized as 32bits by 32 one-time programmable electrical fuses. The 32x32 eFuse can only be accessed by APB bus when IO_SECURITYsel is high. Signed-off-by: Jianqun Xu --- .../devicetree/bindings/fuse/rockchip,rk3288-efuse.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/fuse/rockchip,rk3288-efuse.txt diff --git a/Documentation/devicetree/bindings/fuse/rockchip,rk3288-efuse.txt b/Documentation/devicetree/bindings/fuse/rockchip,rk3288-efuse.txt new file mode 100644 index 0000000..82af730 --- /dev/null +++ b/Documentation/devicetree/bindings/fuse/rockchip,rk3288-efuse.txt @@ -0,0 +1,14 @@ +ROCKCHIP RK3288 efuse block. + +Required properties: +- compatible : should be: + "rockchip,rk3288-efuse" +- reg: Should contain 1 entry: the entry gives the physical address and length + of the fuse registers. + +Example: + + efuse: efuse@ffb40000 { + compatible = "rockchip,rk3288-efuse"; + reg = <0xffb40000 0x10000>; + };