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: 11678907 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 DE1FD13B6 for ; Wed, 22 Jul 2020 16:20:01 +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 B5FDA20771 for ; Wed, 22 Jul 2020 16:20:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fPCGRNMc"; 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 B5FDA20771 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=dt43PsCgAjTBNIT7VDljTXgc6K6vYUQcgezhsd5M9Es=; b=fPCGRNMcgIyeu1oY1mOFSN9HrZ 8ZMUmKeJWd5Ixz/zguAvSPljxjWM0GSn4/o5C63omuV1pt7/Z80F5hCWSGZE+WqM+kpk5H5sOdiAo i4XYwFFBklUcA8NUqi2ZeI0uvX2DXwH4xaWrMqu4T7Us0BHe63KpE/Mp54W1N6gL/AfV9h5oGsxnE XOH7jntofvVo4x58j4t3EUZcdtr7UlEMeCUgf7X7mDEqGTqaMtwsvWHi8Da1CUE+jHDBdjML4rnNW lzzTuMb2NEROGIBIoMzdMH00AA2tBYrut032buFNAvpcp696nbADCNi9YWiO3Jq3z9GsUocRdK7NO NSUMS+Xg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyHRt-0006do-Iq; Wed, 22 Jul 2020 16:18:29 +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-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 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)