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: 191401 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp1589244ile; Mon, 22 Jun 2020 19:51:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh5tTFby99U96TeD3DeUfmXKOOIFnqt7AIw8PV02457wygKtnDmfpFFMxF1V2SIAujDaSG X-Received: by 2002:aa7:c74e:: with SMTP id c14mr19334647eds.322.1592880702390; Mon, 22 Jun 2020 19:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592880702; cv=none; d=google.com; s=arc-20160816; b=PY3HoAvCwjze6S9amPaFEHhhQ4kQZj4+wg0cudSO03zKkSsMe58Q+ArPYUpzqkVxlJ 9QEnp25Z5z8J3RrGkLabwO1sTQ95RFb+rbMBOKmAcp6VQBBKB2OS86RPmU05LrUoK2gV 32bt4LG8QUytHavG4QbOw8gfCu1sOWuW5n8P3WzcqgOHoHE37pmDIbZXDr5Z3EwdSrAv /EnuyvCH2C5se2YmAVtRdpjo/YtoJq+hvZz9gKxp/Xn5j5APOyGKpmQRiTYvbgQKh485 58CDM25HnvVXBxip6u627lvddRr+MRSwPo1Xj1yOobuqzi/wGQf9J7IqZwXXEo3P/e8b WIbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QzRTMw7cGIiDF1EpWKvK1ncbe3cUG4saEVjAPbs+RQ8=; b=XAo5UhLsmk4mytSKEeZFDOmM8wRGeaxgSA4dhWNwaI753BMAG2WrGg0g4DDg64K+gw 8Uv0duSMJ94a15gGve7Lm3ozzI7thMLnLrBroz4veFItdl2ye8biP5hp3yU9Nzsf46Ip B7Lpgrf/DFNM51x1jUiy/WwMian92IBUdpQB5SSf7D7LWv/PNYgpaOlx0hSod72AzzFH PFF/B4/EHkPspFdSfKxHOOdLCf1SfWgx/ax6L5UPSMxWGJi3lFJYTbKG366rWXoDNYyb Xp//EnsmajehLVPf9+rg5ifT1Gpj7KSkRguE236DpOlBtYOguRbRduJsCqyohNDDUI6w slqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si4469064edx.203.2020.06.22.19.51.42; Mon, 22 Jun 2020 19:51:42 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731956AbgFWCvl (ORCPT + 6 others); Mon, 22 Jun 2020 22:51:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:33040 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731917AbgFWCvj (ORCPT ); Mon, 22 Jun 2020 22:51:39 -0400 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?SmFtZXMgVGFpIFvmiLTlv5fls7Bd?= , =?utf-8?b?U3RhbmxleSBDaGFuZyBb5piM6IKy5b63?= =?utf-8?q?=5D?= , Edgar Lee , =?utf-8?q?Andreas_F=C3=A4rber?= , Srinivas Kandagatla , Rob Herring , devicetree@vger.kernel.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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a DT binding for eFuse on Realtek Digital Home Center SoCs. Signed-off-by: Andreas Färber --- 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 -- 2.26.2 Reviewed-by: Rob Herring 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/