Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp933272pxv; Fri, 25 Jun 2021 01:28:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYXgWx8w1/wIrRge6NL8mAJNCGzyeKW/mhLV4E+mjGv+U2G0yYasMYVtd4s9LXWPf2FGze X-Received: by 2002:a5d:8b8b:: with SMTP id p11mr7803531iol.77.1624609684418; Fri, 25 Jun 2021 01:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624609684; cv=none; d=google.com; s=arc-20160816; b=F0CZI/gsk2f+UCDW2HCJvWE9x5QfX/TrAX1tMu4meYNC0QB8NyzyrULvk4Yjy/DR99 gGL3cOVvXXoVToy9Klsdew0ZlUELZd2JV3IjU0cidRTRGSty/DAQ7b6adeQFoRotn1T6 16tXUM6VGUpWd3dU3GIT3mBQxcNCaxn2NOmMRbcQUIAM2mj6iTY6cJrs9QT7B2kAt8Tf HDMllYectG+OB+O9ZmRmyuHQtJ0zLMmqnCS6LCjSDwRSoygpHH35uXi6GquXTmKISiUp AsGrp1mldO0aNO3B8oncJIv5MVU1wCWALlPxXOiPmwQz5uc5vIfb4WrimEVhsbj8oxQ/ Y/LA== 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=LdAJraJR/B3oO6cTSRORITYNhObcEPrCvzig1bgKGvw=; b=k+gYNGUFAI2X1aqx7EhbfH9k0dtDOukX7SuPzYNvXV+/BctBDnQf59AoSG2AtTeyTT O7cHt7bkPaBN3pQVjd6aj9ILITDf9FCT0QPvhx/j1C/mXGm2i556OCP/z1i97SvQht6i ZllAGCijtqhJa2HUXPC4ofSw5MdX7TnG74D+3YecN6Ap9IiBNmSyKuh0H29e0GnRwdVw W36HXX9/X1cjYB4yoejpmH3jyjhDcJbAqcFuCK3YCFFzEsmUep4pUHrv9jYs+sk2IQBB 1OIM2SrXjsfY5ubkX2JOhjkCbyOtGzlxelCtEustyj7OTvuptZnYwGjlKJmxLjAZHlal pJ9Q== 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 s10si5977942iln.135.2021.06.25.01.27.52; Fri, 25 Jun 2021 01:28:04 -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 S230251AbhFYI3e (ORCPT + 99 others); Fri, 25 Jun 2021 04:29:34 -0400 Received: from lucky1.263xmail.com ([211.157.147.131]:39680 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbhFYI3b (ORCPT ); Fri, 25 Jun 2021 04:29:31 -0400 Received: from localhost (unknown [192.168.167.16]) by lucky1.263xmail.com (Postfix) with ESMTP id 50797C1386; Fri, 25 Jun 2021 16:27:09 +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 P12363T139709984536320S1624609601822117_; Fri, 25 Jun 2021 16:27:08 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <7d3e101473ba0edd5597ceec9030d8b7> 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: [RFC PATCH v9 04/10] clk: rockchip: rk3036: fix up the sclk_sfc parent error Date: Fri, 25 Jun 2021 16:26:33 +0800 Message-Id: <20210625082639.32688-5-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210625082639.32688-1-jon.lin@rock-chips.com> References: <20210625082639.32688-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 v9: - Seperate FDT binding docs and includes from rk3036 sfc_hclk patch 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