From patchwork Wed May 15 12:58:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13665210 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 C28C0C25B7A for ; Wed, 15 May 2024 12:59:27 +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:MIME-Version:References: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=or/uNiCqeHcFdfSILnPaAqxjZu4tZ0+cVautOFfyYsA=; b=dthc24IMeG61VQ EdZQxOXPWaKJQIxvk6ighjJBWVJyBDk9qOXvQ6G3Og9Y453Z7blB3VTnYNv3mamXlN01mV6qFY+Hj c4S9zV7FFdn4OdKcCB+t4sxT31Y7EYNSkb7K4IcD/e7zXA8jt/jD3oni3TIEuiDVrwwAMyL+UuwlL O88JJ/oLfDvyArX8lE0j6uah5yPaWoRJk7CdD7yQalE16rWRPKISCqruO/oVvfaXr//20xVa6R0oH ui3jCJWCVMhjRB8hDkJEVOZYV8TuvD2cku44aURQMj2XUP3M+/s2yNJqUS6dDIyLXX7cNo8S4SqzU gF9LFf1TV0tKqs5EC3Rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7EDy-00000001YwX-1R06; Wed, 15 May 2024 12:59:14 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7EDv-00000001Ytp-3qAv for linux-arm-kernel@lists.infradead.org; Wed, 15 May 2024 12:59:13 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id CC0C961481; Wed, 15 May 2024 12:59:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00FDDC116B1; Wed, 15 May 2024 12:59:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715777945; bh=GI2IWdF3zL4xqby+72i7WuWwWRZ0BXl3G3oCRRITxeI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ny8C95y75+Z0AZEbmCoJbAIG/tJC5kH81PkVknncJ/LLelmKXg9dSnEOYaT34aQzf RxIJwcjSqZ9of+u2gGw62h5VJxpDhO6fVbiZ0IlDtyj+vo4ksfe9bR+tO/G8Q3MYiV xwyNuscVgkni0V30Gv3hqw9t70V1qZo0/52gWQ8Mi/Pkn32fu2c7yUZ4udvnOZ9eZl gG9xEYlut4U95FGJvM0yVcsPehEBBPV7gpcpSZm4TbHNnjlbZLSlkr3lIkywQahe9E Eg5lQ3fswOCXokYUCT5P2yjW41BqYD+km6G49kw292kKauLfsXT0t3mxRmJ1FIgS+1 64zwupkHaokNg== From: Lorenzo Bianconi To: linux-clk@vger.kernel.org Cc: p.zabel@pengutronix.de, mturquette@baylibre.com, sboyd@kernel.org, lorenzo.bianconi83@gmail.com, conor@kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, nbd@nbd.name, john@phrozen.org, dd@embedd.com, catalin.marinas@arm.com, will@kernel.org, upstream@airoha.com, angelogioacchino.delregno@collabora.com Subject: [PATCH 1/5] dt-bindings: clock: airoha: Add reset support to EN7581 clock binding Date: Wed, 15 May 2024 14:58:47 +0200 Message-ID: X-Mailer: git-send-email 2.45.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240515_055912_010351_D0496C70 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Introduce reset capability to EN7581 device-tree clock binding documentation. Tested-by: Zhengping Zhang Signed-off-by: Lorenzo Bianconi Acked-by: Conor Dooley --- .../bindings/clock/airoha,en7523-scu.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml index 3f4266637733..22eee1ae90d5 100644 --- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml +++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml @@ -43,6 +43,10 @@ properties: clocks. const: 1 + '#reset-cells': + description: ID of the controller reset line + const: 1 + required: - compatible - reg @@ -60,6 +64,8 @@ allOf: - description: scu base address - description: misc scu base address + '#reset-cells': false + - if: properties: compatible: @@ -83,3 +89,18 @@ examples: <0x1fb00000 0x1000>; #clock-cells = <1>; }; + + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + scuclk: clock-controller@1fa20000 { + compatible = "airoha,en7581-scu"; + reg = <0x0 0x1fa20000 0x0 0x400>, + <0x0 0x1fb00000 0x0 0x1000>, + <0x0 0x1fbe3400 0x0 0xfc>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + };