From patchwork Thu May 16 07:16:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xianwei Zhao X-Patchwork-Id: 13665769 X-Patchwork-Delegate: neil.armstrong@linaro.org 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 63160C25B74 for ; Thu, 16 May 2024 07:16:49 +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=Gx3IyL6Eeti0a9HLPlZtYMOFwDRbB3AnjrkJPBWXY3I=; b=ULc7yHqRIkX5mb 6CjGL9JLzwt4vZVshQwug9EgOdKalMK5iGev9PKwNtvGJF9nJFNF//Cj3L6sf2bUGhV2jBBnlJV10 n7gunw73XOS+cCwCiJwk2Gin6VkE0t03zskwZUjajmc+65uYDjCRWdiPqmfhSEpTsOZPGfMti+Tx2 Bya6e/6LkmNZ7Yp4noi+X7XzEsN/vUPuie32uZgx0lvRwtgVKzYxXdbEGiYvxlQ+KpaVHOtv+OjGY juhPrpLgoi4MpTaA58dPXaBKkbzvdJ7y4e65DVxI3T7dfMngk/6MePSTN0IzMjUXdkU1M1wyPjDtW CHkFrJe1vfMCEo9Rh2Iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7VLy-00000003xZs-3MLd; Thu, 16 May 2024 07:16:38 +0000 Received: from [58.32.228.46] (helo=mail-sh.amlogic.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7VLv-00000003xYv-3En8; Thu, 16 May 2024 07:16:36 +0000 Received: from droid01-cd.amlogic.com (10.98.11.200) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.6; Thu, 16 May 2024 15:16:15 +0800 From: Xianwei Zhao To: , , , CC: Neil Armstrong , Jerome Brunet , Michael Turquette , "Stephen Boyd" , Kevin Hilman , Yu Tu , Xianwei Zhao Subject: [PATCH] clk: meson: s4: fix pwm_j_div parent clock Date: Thu, 16 May 2024 15:16:12 +0800 Message-ID: <20240516071612.2978201-1-xianwei.zhao@amlogic.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Originating-IP: [10.98.11.200] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240516_001635_835410_B1C236C0 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Update peripherals pwm_j_div's parent clock to pwm_j_mux Fixes: 57b55c76aaf1 ("clk: meson: S4: add support for Amlogic S4 SoC peripheral clock controller") Signed-off-by: Xianwei Zhao --- drivers/clk/meson/s4-peripherals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/s4-peripherals.c b/drivers/clk/meson/s4-peripherals.c index 6c35de3d536f..75a84e4cc2df 100644 --- a/drivers/clk/meson/s4-peripherals.c +++ b/drivers/clk/meson/s4-peripherals.c @@ -2978,7 +2978,7 @@ static struct clk_regmap s4_pwm_j_div = { .name = "pwm_j_div", .ops = &clk_regmap_divider_ops, .parent_hws = (const struct clk_hw *[]) { - &s4_pwm_h_mux.hw + &s4_pwm_j_mux.hw }, .num_parents = 1, .flags = CLK_SET_RATE_PARENT,