Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp933575pxv; Fri, 25 Jun 2021 01:28:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfeP5kdjCmgcAkZ7d3TO0wg9q7ZW6JooScnCnIm9ztWIvQZ2AeenEX6Z6lF0Ix+mtjEaIr X-Received: by 2002:a05:6638:3478:: with SMTP id q56mr8429691jav.17.1624609720750; Fri, 25 Jun 2021 01:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624609720; cv=none; d=google.com; s=arc-20160816; b=zJup2TAkqIgDX+RriwFEzr+2EJJqMU4/cIuIQd/k37v4ztSGYOHtitw0FKOCeM1fms LXHqEoYLRKtamBlR0qvblduFgLGSVPFr/3e8AS+mkdvvsWOtG4OCGSdQEwMN2/eCbzb3 Ek6XPdzq1rzYm//ttQYOXoKmEtZC9EM4uDzdaVhdErNEcV84BE67FLgBd2gytUodlOaV 2tDXbgoA858dgTH08j1bNYstt0hmKunuBIYI8IWxGIzdsXXJnq7KBrytcmYQughMRLuP m2GolhmqC3PR6yUxRk1R7WxSbHHOnNxajgVMpOdhDet4b9tZoZvbIUfWN7Imq5wNomSL Abdw== 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=Ms27aYLam1/eoMuTVDFZJDV9V69pkSY8kdp33IfILOE=; b=HBK1jzTlk1YLkPkzHid83eLAA4/psf41Ih+OcsTJgknGQ2lc2PSBwWUQ3QEHvWsCdo lKZf8sXWALbrKFMLyWebgNi/PojUNxcK/0zAW4W9cfy4k+ihhQrja4zvVCPOoAJYHUo1 uD8nSeYhA6vSnRqrE6YgwbdJXNdE9xga7Xtl8T2n38PkRatPkZrC7GjjgZFPJrlPVkzb +I6QzZKOECERjj1Cjeiy6Fu8lRIepJKOSsC5vM3kL/qmxbNTP3sAQafk5fdNpQzw859h Y6TShbwj/n8ew6N9SvBqG44APBpuKjsZhz3s4UU/GaDpYD5PCSkDhReNjm8rP2Lt9cex OHiw== 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 w4si6442886iov.14.2021.06.25.01.28.28; Fri, 25 Jun 2021 01:28:40 -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 S230456AbhFYIaJ (ORCPT + 99 others); Fri, 25 Jun 2021 04:30:09 -0400 Received: from lucky1.263xmail.com ([211.157.147.131]:40226 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230121AbhFYIaI (ORCPT ); Fri, 25 Jun 2021 04:30:08 -0400 Received: from localhost (unknown [192.168.167.16]) by lucky1.263xmail.com (Postfix) with ESMTP id 1E264C122F; Fri, 25 Jun 2021 16:27: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 P12363T139709684631296S1624609657045376_; Fri, 25 Jun 2021 16:27:45 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <6b88c8689ef6ff0cc073c3f11c2b8aa7> 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, Chris Morgan Subject: [RFC PATCH v9 06/10] clk: rockchip: Add support for hclk_sfc on rk3036 Date: Fri, 25 Jun 2021 16:27:31 +0800 Message-Id: <20210625082735.562-2-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210625082735.562-1-jon.lin@rock-chips.com> References: <20210625082639.32688-1-jon.lin@rock-chips.com> <20210625082735.562-1-jon.lin@rock-chips.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the bus clock for the serial flash controller on the rk3036. Taken from the Rockchip BSP kernel but not tested on real hardware (as I lack a 3036 based SoC to test). Signed-off-by: Chris Morgan Signed-off-by: Jon Lin --- Changes in v9: None 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3036.c b/drivers/clk/rockchip/clk-rk3036.c index 1986856d94b2..828af715d92e 100644 --- a/drivers/clk/rockchip/clk-rk3036.c +++ b/drivers/clk/rockchip/clk-rk3036.c @@ -404,7 +404,7 @@ static struct rockchip_clk_branch rk3036_clk_branches[] __initdata = { GATE(HCLK_OTG0, "hclk_otg0", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(5), 13, GFLAGS), GATE(HCLK_OTG1, "hclk_otg1", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(7), 3, GFLAGS), GATE(HCLK_I2S, "hclk_i2s", "hclk_peri", 0, RK2928_CLKGATE_CON(7), 2, GFLAGS), - GATE(0, "hclk_sfc", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(3), 14, GFLAGS), + GATE(HCLK_SFC, "hclk_sfc", "hclk_peri", 0, RK2928_CLKGATE_CON(3), 14, GFLAGS), GATE(HCLK_MAC, "hclk_mac", "hclk_peri", 0, RK2928_CLKGATE_CON(3), 5, GFLAGS), /* pclk_peri gates */ -- 2.17.1