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: 1935585 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Ny8C95y7; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-67054-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VfYFt72wYz1yfq for ; Wed, 15 May 2024 22:59:14 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 844F028319F for ; Wed, 15 May 2024 12:59:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BC8E85959; Wed, 15 May 2024 12:59:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ny8C95y7" X-Original-To: devicetree@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F20BB85286; Wed, 15 May 2024 12:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715777946; cv=none; b=t25C7g3iHg4zifcJQEPHmB1WNaQK8pV9eARPMS241SJo+GDbDguGXy2njIBSNkuosGJBcFsE9Nq4VSnMqZqbLHwaUyNovIlHAMsDpRLBtwTUVP82KX0OkLbJbD5MGjuqv/EyBCPxw+YetrDFVS0HvGqHDB0EIyHGtDCJQEhS4Tk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715777946; c=relaxed/simple; bh=GI2IWdF3zL4xqby+72i7WuWwWRZ0BXl3G3oCRRITxeI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bEj1h3/XhRn1S+K9yXNM0Jv1n5iRdy5ngL87mAJi7XOgIpBOBeK1Kkl6YBzvhGFbRrwz21E7S5ske0UVHumctEihrblASDyoYS6c97bqH7/oq8gwKkuAmHE7id9D3/ZBmslm0szGESFLio2Ay+E3I5s+To3WHy9tcfAtSG/6yXA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ny8C95y7; arc=none smtp.client-ip=10.30.226.201 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: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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>; + }; + };