Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp315110pxj; Thu, 10 Jun 2021 23:14:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztOO8ORQzdEyQZnEIaXoHVrbVyMr99Tps/JjSCprKQjYIcg1Ss9FX2RFRXRCqGD0rWiC9V X-Received: by 2002:aa7:c515:: with SMTP id o21mr1928795edq.195.1623392047661; Thu, 10 Jun 2021 23:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623392047; cv=none; d=google.com; s=arc-20160816; b=l7bB3SE0LJ0pkDbMWwM/LQp6uiJ/Thz9GlIOljyeFNFAaVF3+wMmAlVxll3UJ1y7kS t4BUYjQFJVIhg/9QFIqB86jppxxUw51OdlMu3DkBOSmSkZFeH0bF4ggJaXl1cZJDmysa h3xyKg1fOf0I2Ej7pHq4JsZvTST7OSMw29XaUFqDqqzfQlJ22LKL3uH1mxUXPaWJyoD6 RPj8MY8vp8fsE6y5WGBU+J2wKWctK8o1L9Tvc/6VKDS9SGV0Hw7aHMJh5ADYsxkVrlfR LzPywNMqX7IqlF1n8SwyNOSuXpWQ3Gytydkyw5bY+HfZPqSOUhT8FvqWgmDocsfqIFK/ rT8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=WNKzEp180NohB5GFz1kEvkxAd6M8f/1ic3EAdZdscYw=; b=iD2chcvukx6qoxhND78DwJ8oIzMsXpQ5JZM6IgmuFjd3k3eskXnAorbRZplYVuBSxp a+c2gr8EXVEh7JuKFiqazTaquYsPYhtTFUv68wzHuZLG1V50ow3YiFejGnhRjTjgSGlc P0498DIT9I/VEH7yMLV/UU1CWIVBCY2xGdooofP1ssUpHz/6txIV3tAt70HPjGcSj3w5 0lpJJ4Kc8JslBEnHWt0QFf2aZaYFkOLPKDhHXhbbE7CbM6YP68JT5q8QxPi3kUK4lq46 04NNC2nN2S5+tCT9V0meeKbvuoaMyr+1Za3OHtRmwCrlJctJ84Rb+NekQ3zuv5UYLiha kh5w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 9si4240138ejf.340.2021.06.10.23.13.44; Thu, 10 Jun 2021 23:14:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231383AbhFKGNv (ORCPT + 99 others); Fri, 11 Jun 2021 02:13:51 -0400 Received: from lucky1.263xmail.com ([211.157.147.134]:58306 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231355AbhFKGNq (ORCPT ); Fri, 11 Jun 2021 02:13:46 -0400 Received: from localhost (unknown [192.168.167.16]) by lucky1.263xmail.com (Postfix) with ESMTP id 74131C86BB; Fri, 11 Jun 2021 14:11:46 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P16485T139919133304576S1623391896460797_; Fri, 11 Jun 2021 14:11:47 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <308de20e76671ae44a9643f2d8f36764> X-RL-SENDER: jon.lin@rock-chips.com X-SENDER: jon.lin@rock-chips.com X-LOGIN-NAME: jon.lin@rock-chips.com X-FST-TO: linux-spi@vger.kernel.org X-RCPT-COUNT: 20 X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 From: Jon Lin To: linux-spi@vger.kernel.org Cc: jon.lin@rock-chips.com, broonie@kernel.org, robh+dt@kernel.org, heiko@sntech.de, jbx6244@gmail.com, hjc@rock-chips.com, yifeng.zhao@rock-chips.com, sugar.zhang@rock-chips.com, linux-rockchip@lists.infradead.org, linux-mtd@lists.infradead.org, p.yadav@ti.com, macroalpha82@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, Elaine Zhang Subject: [PATCH v8 4/9] clk: rockchip: rk3036: fix up the sclk_sfc parent error Date: Fri, 11 Jun 2021 14:11:29 +0800 Message-Id: <20210611061134.31369-5-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210611061134.31369-1-jon.lin@rock-chips.com> References: <20210611061134.31369-1-jon.lin@rock-chips.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Choose the correct pll Signed-off-by: Elaine Zhang Signed-off-by: Jon Lin --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None 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 91d56ad45817..1986856d94b2 100644 --- a/drivers/clk/rockchip/clk-rk3036.c +++ b/drivers/clk/rockchip/clk-rk3036.c @@ -121,6 +121,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" }; @@ -340,7 +341,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.17.1