From patchwork Tue Jun 23 02:50:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 11619627 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E61906C1 for ; Tue, 23 Jun 2020 02:55:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BDB082076A for ; Tue, 23 Jun 2020 02:55:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QRRDtDWW"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="BpE8o52M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BDB082076A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zrAwYMecDN+Peoh0EEncSuet8DTlftID9P2wpflKiRk=; b=QRRDtDWW82vcFSD82GBPqqGRE maUU52f1n1i83ju0tQ/P29ZjlVSAtchw0ilveftUTuefs2anOYc5ysl8WGZP4ZOYTejam/VhxkFcl fwfbGH33cPPHTSUOrj2qg3KEvbkV4fL9VN/NSYIkDehrNk173P00NN25eDyLU3FqIy7efFk13gagL e/iA1R8QjWXQfAGYBx88iCvkjZsAROu4JLH4hjVDJNUStJkXp5yVefvlg8HNuRExkrKK31tJCmRBO MDi4uyg0/xexocyvjZ6fCm/WPkYLL70cqMjZd/56T7qpmQqEXM1vf2bzENGVjfvdFm0COvGEj1aYX 32Y9KuVtQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnZ3D-0002Nb-T0; Tue, 23 Jun 2020 02:52:44 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnZ2k-00027O-OZ; Tue, 23 Jun 2020 02:52:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=QzRTMw7cGIiDF1EpWKvK1ncbe3cUG4saEVjAPbs+RQ8=; b=BpE8o52MasVKb/C6tHhcTkWOSd 3pbXHQ4PUlqDupbH6MZd09jYxUU0GUybN5tj4FXCtKr7RiHE7opG2sa5pkc0ExFkuDa1vIV4U/+Eq KLc8ZsJAxfM48trJqsKB+G/WWcZZAt3j7lFV3KEAhl5yANLrJnUhbCMx6gmP7DQzHhghiAAt14oaa zEgDhfmuxRP/FzraG9qgWo698cO2TKWZo5H5jrbV5HhMo0tOrqgsG39NJ7kQLcYoBiiUTxvlxF3gl 9T19MbH0G7QHeM2xnjLc2vUgnswA4DZvjlYj8udyxvIvE90NUmPvQSZ3gxGfmrQEfOHEBH45m5OdC QsIu9x9w==; Received: from mx2.suse.de ([195.135.220.15]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnZ2h-0005Py-Cf; Tue, 23 Jun 2020 02:52:13 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 4D6B6B199; Tue, 23 Jun 2020 02:51:37 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [PATCH v2 17/29] dt-bindings: nvmem: Add Realtek RTD1195 eFuse Date: Tue, 23 Jun 2020 04:50:54 +0200 Message-Id: <20200623025106.31273-18-afaerber@suse.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200623025106.31273-1-afaerber@suse.de> References: <20200623025106.31273-1-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200623_035211_628602_230C9CC2 X-CRM114-Status: GOOD ( 13.20 ) X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-4.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [195.135.220.15 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, =?utf-8?b?SmFtZXMgVGFpIFvmiLTlv5fls7Bd?= , Edgar Lee , linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , =?utf-8?b?U3Rhbmxl?= =?utf-8?b?eSBDaGFuZyBb5piM6IKy5b63XQ==?= , =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add a DT binding for eFuse on Realtek Digital Home Center SoCs. Signed-off-by: Andreas Färber Reviewed-by: Rob Herring --- v2: New .../bindings/nvmem/realtek,rtd1195-efuse.yaml | 53 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/realtek,rtd1195-efuse.yaml diff --git a/Documentation/devicetree/bindings/nvmem/realtek,rtd1195-efuse.yaml b/Documentation/devicetree/bindings/nvmem/realtek,rtd1195-efuse.yaml new file mode 100644 index 000000000000..a616cb22673e --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/realtek,rtd1195-efuse.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/nvmem/realtek,rtd1195-efuse.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Realtek Digital Home Center eFuse + +maintainers: + - Andreas Färber + +description: | + The Realtek DHC SoCs have an eFuse block with non-volatile OTP memory. + +allOf: + - $ref: "nvmem.yaml#" + +properties: + compatible: + const: realtek,rtd1195-efuse + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +required: + - compatible + - reg + +examples: + - | + efuse@18017000 { + compatible = "realtek,rtd1195-efuse"; + reg = <0x18017000 0x400>; + }; + - | + efuse@98017000 { + compatible = "realtek,rtd1195-efuse"; + reg = <0x98017000 0x400>; + #address-cells = <1>; + #size-cells = <1>; + + efuse_package_id: package-id@1d8 { + reg = <0x1d8 0x1>; + bits = <0 2>; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index ff0ee48fee6f..1d0d6ab20451 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2307,6 +2307,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) L: linux-realtek-soc@lists.infradead.org (moderated for non-subscribers) S: Maintained F: Documentation/devicetree/bindings/arm/realtek.yaml +F: Documentation/devicetree/bindings/nvmem/realtek,rtd1195-efuse.yaml F: Documentation/devicetree/bindings/soc/realtek/ F: arch/arm/boot/dts/rtd* F: arch/arm/mach-realtek/