From patchwork Fri May 17 12:28:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13666925 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 B6F6CC04FFE for ; Fri, 17 May 2024 12:29:03 +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: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:In-Reply-To:References: List-Owner; bh=9jzO1xqBI0xJtyFL3zrEzNp/ieVL3AGJKGMMBv5Df/U=; b=Qnk2JgkdI8yq80 kGSWKC4PALIN3B4BGqVhexapr1fLp2qPOzOw6DGrWdaVLHMiMlHIK3KO7uaifpSPjCLwvWyGdnRWg 7/i4+aSdgcp2A/aUm4uE571ZzPlOpKU00H49QBV3tV8DG0ripgNEFTlTk7Qgik9xVrHivc2DVb+LR WT0dYWPgxfsKMVu8JzRN76G3MwoMpBYLZlTF+bsCOoXe7/+5DNW4ZUaClQ0bJ+nGcC6ITHAeMV3EO RRsBgrbdJXnnrI767lXMQzRsWsnj2qtuV4RMsX+MF5czIMNcHDq+F+IGrVJ6dVBTtMoK1kVwo4NuP NTlI722SqCWRtyD0nXmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7whe-00000007pGv-3w9G; Fri, 17 May 2024 12:28:50 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7whb-00000007pFs-2XzS for linux-arm-kernel@lists.infradead.org; Fri, 17 May 2024 12:28:49 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id CBDA4CE1AC9; Fri, 17 May 2024 12:28:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8513EC2BD10; Fri, 17 May 2024 12:28:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715948923; bh=y3Gb44W3J7FEgywcpOeoYATqmV1WeXnpeudzxnsZYII=; h=From:To:Cc:Subject:Date:From; b=jnTtY7JTSRTmYBpHYNGdIwgceqJyVJhp+6iWtdecMqIE8Hn157UlgvgjE5Evrme6X 0Qqk+Ul7A8Kfroco437tAPkH8S9Wnzo1pg683hK8U27AA0C4aVR9FIEgdK9f8x8Jcp 8q31TA/DSFY0kXSDqckuHk/ZXywSQdCF03VCXi16LD4Kh2NPFim8KobC6SAj8VZgrg R0ARKPQC0IWrrUTLRh9yIaqsoExoA3hR8U+xoKw6BSYfixolVKYLS4Yt7yPl+BMju6 fELOecReSShtLx+XFmhWAd3J/ddh8gNk4olvuQfXJc2un7gJvnqbah7g12GmDCdI7U dToecvNpzJfJg== 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 v2 0/4] Add reset support to EN7581 clk driver Date: Fri, 17 May 2024 14:28:10 +0200 Message-ID: X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240517_052847_994895_BEA908E0 X-CRM114-Status: UNSURE ( 8.45 ) 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-controller support to the Airoha EN7581 clock module. Changes since v1: - squash patch 1/5 and 2/5 - introduce reset line mapping in order to take into account possible holes in reset definitions - fix error path in en7523_clk_probe() Lorenzo Bianconi (4): dt-bindings: clock: airoha: Add reset support to EN7581 clock binding arm64: dts: airoha: Add reset-controller support to EN7581 clock node clk: en7523: Add reset-controller support for EN7581 SoC clk: en7523: Remove pcie prepare/unpreare callbacks for EN7581 SoC .../bindings/clock/airoha,en7523-scu.yaml | 21 ++ arch/arm64/boot/dts/airoha/en7581.dtsi | 2 + drivers/clk/clk-en7523.c | 230 ++++++++++++++---- .../dt-bindings/reset/airoha,en7581-reset.h | 66 +++++ 4 files changed, 278 insertions(+), 41 deletions(-) create mode 100644 include/dt-bindings/reset/airoha,en7581-reset.h