From patchwork Wed Jul 22 16:18:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 11678903 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 11B9113A4 for ; Wed, 22 Jul 2020 16:18:32 +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 DEFEA20771 for ; Wed, 22 Jul 2020 16:18:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ECJRSaeZ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nf6Ht3J/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DEFEA20771 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-rockchip-bounces+patchwork-linux-rockchip=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=KDucoDdN85nNpk27Qt7jJqPJtlkGAyCuFeQRg2DRVL0=; b=ECJRSaeZ/WWHN7g44p42MeCF8n EWse4GI/UDnqp1SJVwDx3UBrC2enuczYv/kS4thWwYyB9noJgANAT6ZYzxzoTu2gaXurRFIed3E6B 9P+d4MbjKdYX5Whp7pHSIEWSBe0yV64jgL+hjKQaQ1lUuk8eDP1vbuttQkcCdfbE4PYbFiava4HHY 0uv4ocUEetVtu3u9V7abX6Oe3tsWH6YJmnlDnoFYTnNh6cOXFX6PAC+fI1Xg0K3kTIExriWRs5qGX lTgbmOGVcB9Lwi4TG4ZJGbiiegpmurAC6O2SsmIWpObV2YdBn9x0fW/2m8WQIUKzBd9cYUE+05Skr qyBiOKZQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyHRs-0006dg-NI; Wed, 22 Jul 2020 16:18:28 +0000 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyHRq-0006d6-6m; Wed, 22 Jul 2020 16:18:27 +0000 Received: by mail-ej1-x644.google.com with SMTP id l4so2794615ejd.13; Wed, 22 Jul 2020 09:18:25 -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=TBVZPJ7eiK7Rj07MgbjTYAxf0mSfdzYtCLBYEc1p9SI=; b=nf6Ht3J/nNK0uiHU7avSENiPKKiDP/9q10mv1APHwAEK3FlMOrIOTbTnLxoIochtKC froOopOJ2DtLCC07mtzokdvMF4DC8xJyd0i6rRlSFRu66m15Sg18Qmu0wyfRa7szIee7 gABM6RiXv5mnoHF01D0qM8IB4BcQ1rHjQs2dUop2radeLAgt9Opi54a6QY4mN6YBjWo3 Mmd7KGIrlh9bc5VTSfm45ifND/LgZXuIX6Pg1y/+dW2bxv/GBz2xBjhytSHz1l2hXJ2b AhYx1+4h09LpOX2Qa4hKgPcs62C+BVNEFFf7mQKfTFRspl4p6iFsW5Zvx/1NvdBSfMqP LZAg== 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=TBVZPJ7eiK7Rj07MgbjTYAxf0mSfdzYtCLBYEc1p9SI=; b=lE/egyhBVSazMUiYcRIZ2AEzRg9F6ji1hO2CtjCkk7MtnPNRfSke6OR4+p10T/TAOf /4XsU4dXbVE6r2rGkzJQTik9sS8wfQXuh7A6Njtt+AkhLqW4IjMZ/QcRc+sWDeqbLIBE mYZnAVGQCrHra7CppeuBFENluG/CVXvVqAgNQFJBzFyJxRjBbfozhpf8dJx+S4jQ16Mz sxA5ebl5zJbsDbKE1zQGCbIbwFXQA6B0Ii/+ZHI6uYqRyMx4nCwKYoQihK75W5OOuCZc da7fzjwE4lcoEeoEMx1T9JHn31h6YbZewxadWsd9LUKT0paYWRJEtOLEzAIdGeUX4XbO 9xnA== X-Gm-Message-State: AOAM5330koWF6vD4M2vctQSSnYZVv9TrIKBeILe3DGo9dJpJ6+VNdKkL EZZGKFR9un6Q2bzXPCyjDA== X-Google-Smtp-Source: ABdhPJx6hR1jLeKhYCIi6mOgl2ZnQOXoHE/znZ1XOOsjmKUpaiW/2XlZUT6RaGGJveS3J4HKymIypg== X-Received: by 2002:a17:906:9381:: with SMTP id l1mr339791ejx.20.1595434704723; Wed, 22 Jul 2020 09:18:24 -0700 (PDT) Received: from localhost.localdomain ([2a02:810b:f40:e00:922b:34ff:fe38:6455]) by smtp.googlemail.com with ESMTPSA id v25sm190334edr.74.2020.07.22.09.18.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 09:18:24 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , linux-rockchip@lists.infradead.org Subject: [PATCH v2] clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks Date: Wed, 22 Jul 2020 18:18:20 +0200 Message-Id: <20200722161820.5316-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_121826_473194_F415D98B X-CRM114-Status: GOOD ( 12.18 ) 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:644 listed in] [list.dnswl.org] X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms 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-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Since the loopbacktest clock is not exported and is not touched in the driver, it has to be added to rk3188_critical_clocks to be protected from being disabled and in order to get the emac working. Signed-off-by: Alex Bee --- Changes in v2: - add sclk_mac_lbtest to rk3188_critical_clocks instead of adding the CLOCK_IGNORE_UNUSED flag drivers/clk/rockchip/clk-rk3188.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index 77aebfb1d6d5..730020fcc7fe 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -751,6 +751,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { "pclk_peri", "hclk_cpubus", "hclk_vio_bus", + "sclk_mac_lbtest", }; static struct rockchip_clk_provider *__init rk3188_common_clk_init(struct device_node *np)