From patchwork Mon Sep 4 04:25:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kwanghoon Son X-Patchwork-Id: 13373470 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E545AC83F3E for ; Mon, 4 Sep 2023 04:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AopIAtTiXFNOLA7/Jtgypif+8PmV76kR6d8+mWvjscA=; b=FcjLDVw4eCJKjO bw/a7zw+wTIvYRLGL/3WkihlGtAbgE5Se1Za5rH4GXruqqx+g05O2JqyaVq2pH0JyzTVPfQ3uWwCJ 9MxK+f1oJOefRctnG6MQcQfRGuIoCkU1Utm0xAGueNYN9qQZy/Nkzpsz24ZIBhvGRNEhTi+JJzvqi uxJO0PMGkvQEZFZ+n/zg6lC2xMCjyE4Ejd+ryewQtE8zZG7BU5HTLwluDzJTBG5B0KbeXgQHP5X1T qTHZqLo05GE12px4ls+9KIlmFBV2SD0e40QBdH2RRN/zTvmby43cI4dowPcCe4BcGHzvHiDACmsrr 41P7E8RoSA4p0wDFW9ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qd1AO-003FS9-2h; Mon, 04 Sep 2023 04:26:24 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qd1AG-003FL6-2P for linux-riscv@lists.infradead.org; Mon, 04 Sep 2023 04:26:22 +0000 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20230904042606epoutp0110047893730f6c5b29fc75d16edd6aea~Bl4zs3N8i2382223822epoutp01S for ; Mon, 4 Sep 2023 04:26:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20230904042606epoutp0110047893730f6c5b29fc75d16edd6aea~Bl4zs3N8i2382223822epoutp01S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1693801566; bh=EmA/HppB7J/yQWez+lyoU/J/IHa85Q6RP2Aw+/GrjrQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o5Rd8ytJWN4JqVO7t5jA942u4NttnNuhhR6QS5ZkzQr0EFoqJrzKIPLwJVEjw3Hef ZQzijLh+zOodle+I3b8ajoZo7W02yzs+oKxrgv5V9SvbcH2JyeZ83jkXnt7x7paHoQ ECl34EP2W2E432GtFtZl2VOKuXMLwYbqCtJdYaHQ= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20230904042605epcas1p42009aecd349ac3adcac19567db2ba727~Bl4zSP8Sc0894808948epcas1p4P; Mon, 4 Sep 2023 04:26:05 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.38.235]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4RfFv00xqMz4x9QB; Mon, 4 Sep 2023 04:26:04 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id F5.34.09646.C5C55F46; Mon, 4 Sep 2023 13:26:04 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20230904042603epcas1p11db03427cc5f434578d29dd51bc3ae85~Bl4xKuFAF2685926859epcas1p1u; Mon, 4 Sep 2023 04:26:03 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230904042603epsmtrp2204ad9e96cccac2277800d5fcdfe183f~Bl4xJ2Nyc0179101791epsmtrp2H; Mon, 4 Sep 2023 04:26:03 +0000 (GMT) X-AuditID: b6c32a37-b23ff700000025ae-75-64f55c5caae6 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 44.CA.08788.B5C55F46; Mon, 4 Sep 2023 13:26:03 +0900 (KST) Received: from mediaserver.. (unknown [10.113.111.131]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230904042603epsmtip1056d8fd3d3a415dd11d44d31a2404de2~Bl4w8R5wG1614716147epsmtip14; Mon, 4 Sep 2023 04:26:03 +0000 (GMT) From: Kwanghoon Son To: p.zabel@pengutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jszhang@kernel.org, guoren@kernel.org, wefu@redhat.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, inki.dae@samsung.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [RFC PATCH 1/3] dt-bindings: reset: Document th1520 reset control Date: Mon, 4 Sep 2023 04:25:57 +0000 Message-Id: <20230904042559.2322997-2-k.son@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230904042559.2322997-1-k.son@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEJsWRmVeSWpSXmKPExsWy7bCmnm5MzNcUg9tvmS22/p7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nVZ5f+U s4vuTVpWpaa5hu2Y1qH0Jb+/vOQ+JSFzSke4pnvT5Gnqbw3qOqwMZh+yXxE0s+DEepb/oh4K kwL+XTWfmn5yS+SzwtOVunMX7Z768pazY46ClgmPYYFy4prwghs8N//HZAkosRRnJBpqMRcV JwIAljeyCREDAAA= X-CMS-MailID: 20230904042603epcas1p11db03427cc5f434578d29dd51bc3ae85 X-Msg-Generator: CA X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230904042603epcas1p11db03427cc5f434578d29dd51bc3ae85 References: <20230904042559.2322997-1-k.son@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230903_212618_288113_0C83857B X-CRM114-Status: GOOD ( 21.16 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add documentation to describe th1520 reset driver Signed-off-by: Kwanghoon Son --- .../bindings/reset/thead,th1520-reset.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/thead,th1520-reset.yaml diff --git a/Documentation/devicetree/bindings/reset/thead,th1520-reset.yaml b/Documentation/devicetree/bindings/reset/thead,th1520-reset.yaml new file mode 100644 index 000000000000..a56d77af464a --- /dev/null +++ b/Documentation/devicetree/bindings/reset/thead,th1520-reset.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/thead,th1520-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: T-HEAD th1520 SoC Reset Controller + +maintainers: + - Kwanghoon Son + +properties: + compatible: + - items: + - const: thead,th1520-reset + - const: syscon + + reg: + maxItems: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - '#reset-cells' + +additionalProperties: false + +examples: + - | + #include + + reset-controller@ffef014000 { + compatible = "thead,th1520-reset", "syscon"; + reg = <0xff 0xef014000 0x0 0x1000>; + #reset-cells = <1>; + };