From patchwork Tue Jun 23 02:50:38 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: 191415 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp1590211ile; Mon, 22 Jun 2020 19:53:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzx5plMhz81fFj+4Vz0moQQWTf1XCMu3W+hxKvuxkAhD2fn0xGZ0d4RInYMGyWiYTXkN/U X-Received: by 2002:a17:906:6410:: with SMTP id d16mr19374965ejm.376.1592880827229; Mon, 22 Jun 2020 19:53:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592880827; cv=none; d=google.com; s=arc-20160816; b=KIO7fs3zIng7Gc0sJ725KGucLN2NBU5MnqCxJi2zV9hVwidLJY7o9HY+/wBa6CSjoV sm4rlDH1UzhvAT1EbLqvJJJD0PtNqMva+MLR57M7vzbY3rO4luYFMwDKTTVe1HiehE4U jz093MTkYomIdQ4EnBPXBAhNsWkiCBj/ym+30cBslGsDvlKQhMIAefIZ5s+KCJhkFtKL ZDouMYP9zAcHcAi9t3mM8qrnQrmGyrAO+SftEL2J6189OBWeQXFfCIMh7R3/iK7tr45N 16e2gnJj0WgzAImw45C3sMRZCc1zARR+4lXhao9wlVbfbCBqFs5uFpyk6mCIyjV0uGjc FB5w== 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=Uc2i3MZrgudvEMiFdYZR8F864V70lvULEouJoTmf7rc=; b=SI9eJuILs5nsz0etj5cKFR6atTWXk/k/KwqWjlkVktn1BOdhEjNald4T9lYy8gi9Dm CiWOEtSmVxvWNHOWwbZ84R5UJFOzL2svFJ+FuZ60C7z9vez8uVihIXE7ogTzjkGYSyj7 nkf4hii4uWahQFIAHZTCP2HMJN/Xh2MNl31Wa3Myf6zUlGljlEQzdMj1TX1Sms6yNasv VK+mJNghZyhXnJLgOOUTGmwFPyX154rreE9L4ulpwjjcnnJt49eZYFbMzsk46tAuBDim TUJr4SAElW7WLrhgNyui8kCpqAFgbNzCSbzWBZVD/aEN8Y5zXsBqEORCnw8/UK+oZOM1 cPmA== 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 l22si490302edv.546.2020.06.22.19.53.47; Mon, 22 Jun 2020 19:53:47 -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 S1731848AbgFWCvc (ORCPT + 6 others); Mon, 22 Jun 2020 22:51:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:32924 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731842AbgFWCvc (ORCPT ); Mon, 22 Jun 2020 22:51:32 -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 6AA9FAE35; Tue, 23 Jun 2020 02:51:29 +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?= , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 01/29] dt-bindings: soc: Add Realtek RTD1195 chip info binding Date: Tue, 23 Jun 2020 04:50:38 +0200 Message-Id: <20200623025106.31273-2-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 Define a binding for RTD1195 and later DHC SoCs' chip info registers. Add the new directory to MAINTAINERS. Signed-off-by: Andreas Färber --- Note: The binding gets extended compatibly twice with additional properties. Could be squashed later if approved. v1 -> v2: * Dropped quotes for compatible (Rob) * Added additionalProperties: false (Rob) .../soc/realtek/realtek,rtd1195-chip.yaml | 34 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml -- 2.26.2 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml b/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml new file mode 100644 index 000000000000..86a1de214782 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/realtek/realtek,rtd1195-chip.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Realtek Digital Home Center chip identification + +maintainers: + - Andreas Färber + +description: | + The Realtek DHC SoCs have some registers to identify the chip and revision. + +properties: + compatible: + const: realtek,rtd1195-chip + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + chip-info@1801a200 { + compatible = "realtek,rtd1195-chip"; + reg = <0x1801a200 0x8>; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index d282ee3492e0..78adbc3cc101 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/soc/realtek/ F: arch/arm/boot/dts/rtd* F: arch/arm/mach-realtek/ F: arch/arm64/boot/dts/realtek/