From patchwork Wed Jul 22 14:31:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 11678577 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AB29E912 for ; Wed, 22 Jul 2020 14:33:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8452A20709 for ; Wed, 22 Jul 2020 14:33:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OVJfA1DQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WyPFoilr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8452A20709 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject: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=VsofVVJHnOpuN+gAbTWlCC7z7SEQ1jCnW38trpFaYgA=; b=OVJfA1DQF/jFm5HTu3QttYIiS3 BQm4ziOGTIcw40QGzh0ctR2yW+suhOwNQ97VFt/ZsyRZqekVaem5tDLDrV34Ejtq+Q2r7SKLvqyvg Jqm60w16y5LXEp2qFSj8uGblVE29XVUAiPM943WOGocqQFBGU3ZibTfKz5Q+r0JLSkmWSc2LP75CF u37S6lPAHaqCOtb0Zxq5ZT7iNQnSRAdv9aEPXsPOAYQtTjY2JM7MERl4gS5/GxHhppOCNQp3XDrk/ fOD3PMDIH5hS8AgDNnoNmWhyvuPeY5nGBt2HJD2A0eDuSSg5PKY6RhPd2OSGNoL37Qf5QfdEhhaeg EuWrFssQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyFnI-0004rs-LS; Wed, 22 Jul 2020 14:32:28 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyFnG-0004qb-2d; Wed, 22 Jul 2020 14:32:26 +0000 Received: by mail-ed1-x542.google.com with SMTP id a1so1798609edt.10; Wed, 22 Jul 2020 07:32:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=nNsiEmPBIFOsf4DXkdZ3vPVnQQshUlVNTjBcCaHEnjc=; b=WyPFoilrQTeVYQlEYd2+AY6s3YGYTOtkfIdTJf10SyhWsDp0p6Q5F8jMvoEf3iYvDW 3M0NMe+7evKE26xYarbHMs7tR7l5jQuvyLuz8VOr6b0ptn/PYccCuVDaZnQ/UGAzI5tB 6WMPsVdlMGT5tbnAtJwjMQeMfANJR/pdGogSbm7afwizpZ6REx0w5ONFzSvd6ZiZ5ESP xDbX6Q1VtavVBSh0e2m/LL0LueaZfElQBrpPhIIGZgjRkQAOfIj+pHeYgWMpc6DOHQxl Qpc+FQ2r49gXsWDJ2yCqXmE1Wh66rOHJK7RDjoUF9BuWw4Yf0PDqNfpQBPqazvPtv69s XlMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nNsiEmPBIFOsf4DXkdZ3vPVnQQshUlVNTjBcCaHEnjc=; b=oJD21Xmio8CTEqyn8PrBIgw1LX3Dg6vOBE2ZONSuL9qABOcPugF0jCB/5H0dB1/glh 89cI4eLqcWrxHUDxzszjYic/Sm4S8Vra8X4u99ZvLJoEiRrU0+EhkFmhMlXsv0tgI1Qa dpOvCeg3Qv3r0MJwyeHkkHJ4B+lzcDblSSR6qsr9ITskX+tH8HCV6pAqM5B8fU4dmuUS iZwMc7xMnl6bjH/hIIlpjBJKqSy8lEDT14eSuC2k39sGcc/fnhFC8u3ym+UORXLtiY99 BBUnX5KU5GGAWLSI88rEn8vbJ+bKHD3wkE5SvIlsxSs3Xd2pDbx5tG8rYTOTMNB+QDq0 Om+Q== X-Gm-Message-State: AOAM532O52Af/mwXi5b1wuUlWZQQoKUdZIthj/TmYeKFrZ9QiPJXPV0D mcfQrjvYxOtcjXg9y3S0/A== X-Google-Smtp-Source: ABdhPJyzBHlHSxcm1mOJz7RgitIEiI1G8AfPTeYo6CtxyU1gQlGLpJjlZgAjhrUFhDUTE5PfORqXKQ== X-Received: by 2002:a05:6402:1d0a:: with SMTP id dg10mr29739748edb.110.1595428343163; Wed, 22 Jul 2020 07:32:23 -0700 (PDT) Received: from localhost.localdomain ([2a02:810b:f40:e00:922b:34ff:fe38:6455]) by smtp.googlemail.com with ESMTPSA id by20sm19750663ejc.119.2020.07.22.07.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 07:32:22 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , linux-rockchip@lists.infradead.org Subject: [PATCH] clk: rockchip: add CLK_IGNORE_UNUSED to RK3188 sclk_mac_lbtest Date: Wed, 22 Jul 2020 16:31:37 +0200 Message-Id: <20200722143137.863-1-knaerzche@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200722_103226_155551_BB61B5C7 X-CRM114-Status: GOOD ( 12.46 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [knaerzche[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:542 listed in] [list.dnswl.org] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, Alex Bee , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Since the loopbacktest clock is not exported and is not touched in the driver, it needs the CLK_IGNORE_UNUSED flag in order to get the emac working. Signed-off-by: Alex Bee --- drivers/clk/rockchip/clk-rk3188.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index 77aebfb1d6d5..892b1edc3444 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -354,7 +354,7 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = { RK2928_CLKGATE_CON(2), 5, GFLAGS), MUX(SCLK_MAC, "sclk_macref", mux_sclk_macref_p, CLK_SET_RATE_PARENT, RK2928_CLKSEL_CON(21), 4, 1, MFLAGS), - GATE(0, "sclk_mac_lbtest", "sclk_macref", 0, + GATE(0, "sclk_mac_lbtest", "sclk_macref", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(2), 12, GFLAGS), COMPOSITE(0, "hsadc_src", mux_pll_src_gpll_cpll_p, 0,