Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1013025pxb; Thu, 9 Sep 2021 18:00:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKGENIUzD7zDAe2rRID04QUYJU+BnY9xJI1zjOnrunh1fcekSmgbJmPgo1a8Az0CZVwNEp X-Received: by 2002:a17:906:1856:: with SMTP id w22mr6847497eje.393.1631235611452; Thu, 09 Sep 2021 18:00:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631235611; cv=none; d=google.com; s=arc-20160816; b=j3f8VtH3zMykGV+WBJenQIA79hpLw7QWVOfigX7Agm7gqNuXHUlQr4PUp4oo2fzMVg ITz3GYafLyQbfKrI3cw/+au1BJ0efnUrltvbGcI0sn5MtL+1Ud7MYG+3D2yQQqr5AjYP kA40t45ea9qXCVnXURBuqoZMjnKqI8ZYHFNm+oVmzexPp4q6dBIz1ocFokgDaEjSYFZY e40Q4S/1d4nvfPl42RwGsuxfWMDS8IMY6yhofv8lv1yoJFgqREvJD/viMTjv7hkWPSND YgwIE1L2zDj0CrVUaL++LAntz9YkWB55Zo3P6HmsHC8K0lgrSgW7JFJupKK2OMQiZrVx uQGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=69T7YHtUToi1scUgv+a9LuGch2H053Mh+Aj+HFHzljM=; b=CUdE62mFODo5h9MLS3wCTGSB5pcl+HIQXOzm6MAZmOk0tq8QyDtY07gcYbSGxl/GTk wae1vQIoLnUVyy9a8zWhu6TO6W6D5D7VpwWpPZZ3fkhoNWA0ItE9z7RLujYAJ1aMuMuM L1xBo9aN7EKu04N+stKBc+GLGJT68FknSW02EQr7LdtirgDbgQtcpKU12CfsJSbaPvOh QVQvG/nMnW/RkTGayfOhKR3+QHzj0TcmVrZ3+6i/KxQUZmrZ3m++5QTofzaLfxtXzuxA xDDkRM57MG7PSC8RD9/4iJCaR+iPodlZ60wll/J1wRzgRMYKRgDwtRjFUR22ZAI7N8Tk e2tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FGJHptyU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k1si3514911ejx.491.2021.09.09.17.59.47; Thu, 09 Sep 2021 18:00:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FGJHptyU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233074AbhIJA6u (ORCPT + 99 others); Thu, 9 Sep 2021 20:58:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:48500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234129AbhIJAWz (ORCPT ); Thu, 9 Sep 2021 20:22:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3AF0360F6C; Fri, 10 Sep 2021 00:21:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631233305; bh=zUwheBrgiTwOErnoc8EJwk/XxzAdHk58Wtva3bRQ2a4=; h=From:To:Cc:Subject:Date:From; b=FGJHptyUWzMnG9ay86gtvN+e9VSyEx91bbAalKDKgNF+vWfJAmHsWyQelp0M5lKMf DNxx2fNTvX3bR73QBM7WspR3IaoR5n6lhe2qXf6dUTKziHYsWQvLJpbK9tWX3xiOZW EfmcQVuGGM+A7rpo+IU937lhSHHa4muTnM1wNJ41od9i4I6jR9qYaM4FaH5HfKB0ao FnfIlUH1YqixZY0yGjaHWjjczlq+QP0YeG0kZHTECRUUCtFVjm9nzOOWTAZ0GUYD5U e+wjBdWfR6GHn+pobtQAHOnDSIUP2bB8Ody5PApuaWS7pTvOzFXlJJnn5CCdjydFGn xE5v/Hdm9ETyg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jon Lin , Elaine Zhang , Stephen Boyd , Heiko Stuebner , Sasha Levin , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH AUTOSEL 5.4 01/37] clk: rockchip: rk3036: fix up the sclk_sfc parent error Date: Thu, 9 Sep 2021 20:21:06 -0400 Message-Id: <20210910002143.175731-1-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jon Lin [ Upstream commit 0be3df186f870cbde56b223c1ad7892109c9c440 ] Choose the correct pll Signed-off-by: Elaine Zhang Signed-off-by: Jon Lin Acked-by: Stephen Boyd Link: https://lore.kernel.org/r/20210713094456.23288-5-jon.lin@rock-chips.com Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- drivers/clk/rockchip/clk-rk3036.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3036.c b/drivers/clk/rockchip/clk-rk3036.c index 6a46f85ad837..1814be5ef574 100644 --- a/drivers/clk/rockchip/clk-rk3036.c +++ b/drivers/clk/rockchip/clk-rk3036.c @@ -120,6 +120,7 @@ PNAME(mux_pll_src_3plls_p) = { "apll", "dpll", "gpll" }; PNAME(mux_timer_p) = { "xin24m", "pclk_peri_src" }; PNAME(mux_pll_src_apll_dpll_gpll_usb480m_p) = { "apll", "dpll", "gpll", "usb480m" }; +PNAME(mux_pll_src_dmyapll_dpll_gpll_xin24_p) = { "dummy_apll", "dpll", "gpll", "xin24m" }; PNAME(mux_mmc_src_p) = { "apll", "dpll", "gpll", "xin24m" }; PNAME(mux_i2s_pre_p) = { "i2s_src", "i2s_frac", "ext_i2s", "xin12m" }; @@ -339,7 +340,7 @@ static struct rockchip_clk_branch rk3036_clk_branches[] __initdata = { RK2928_CLKSEL_CON(16), 8, 2, MFLAGS, 10, 5, DFLAGS, RK2928_CLKGATE_CON(10), 4, GFLAGS), - COMPOSITE(SCLK_SFC, "sclk_sfc", mux_pll_src_apll_dpll_gpll_usb480m_p, 0, + COMPOSITE(SCLK_SFC, "sclk_sfc", mux_pll_src_dmyapll_dpll_gpll_xin24_p, 0, RK2928_CLKSEL_CON(16), 0, 2, MFLAGS, 2, 5, DFLAGS, RK2928_CLKGATE_CON(10), 5, GFLAGS), -- 2.30.2