Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp637674ybh; Wed, 22 Jul 2020 09:21:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGQcNm01Li6D2eNj7DRE0lBg8i1b90IrIJBlTaGIqu3WmfWZ1Ri4FJza9jkX1zG4fNp/73 X-Received: by 2002:a50:ee8a:: with SMTP id f10mr192008edr.383.1595434886501; Wed, 22 Jul 2020 09:21:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595434886; cv=none; d=google.com; s=arc-20160816; b=FD74TavTC9a6CQIoA1jIPw07JQtRM2x5LSlpmk2HD0B8SDry4A9EEKUy176i6Ngx+L vBBYvziWW+0a3bb/C9zyXBIy5Zk8BgBQxMvfYbFXtk7tswen5/owDaThygaZPF4pMT8p fODZ0WzmkQ7xs5Vg/9yeioGYCklWxF8fTJ5F4Da1R87QlOKSI1wsOX85/OxIwzLmBRmO Fog4AYdWXB9iG9Tlpw0xwCC+48BnW1y0sOD0PTK6lKn8B2o10272k4LQmOWxS5Z/Nxbi 4PXei0S/IYkGsNcMe7JLmqeXTFwIzI5zpB15udPS1m3vM7F0XcAC7z/qsUcAcLOZ44DB cb8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=TBVZPJ7eiK7Rj07MgbjTYAxf0mSfdzYtCLBYEc1p9SI=; b=WEE05VSbY80MrKKXJbVrJvvGBdKmXWGyYrQpUkwxqWv1PBOI70bfIlKxh/IQkXV2WM EwGEdlz7vVxZ7ZcrwvGNFg7gqH3pw4oysfNrZJBaE/5cis3+vfzPBtHu1ObqAcOKBJUM fqxv+z+cMzay46qjk+6lLv2bq2SMoj1o8EMrTV5BdfMIs1AiQeslZCp/s6smiol22xx5 P4P2pm5D43tZJLKqZVkiuF5P5d2ccUyvFXnxradUboA8zq1Ui8RdZ5IWSV5VClMzOJVK cAlaqYjBV04ESIzqBjH+PCasrJeP46gX9Ns179Ln2+oD6jwhcRBmiaQ0ujrmi9P3j3L3 CstA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="nf6Ht3J/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u7si297142ejn.161.2020.07.22.09.21.04; Wed, 22 Jul 2020 09:21:26 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="nf6Ht3J/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728597AbgGVQS0 (ORCPT + 99 others); Wed, 22 Jul 2020 12:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726642AbgGVQS0 (ORCPT ); Wed, 22 Jul 2020 12:18:26 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0370DC0619DC; Wed, 22 Jul 2020 09:18:26 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id f12so2823431eja.9; 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=B6VGStQ681hx8Md6jpf5gkMLzFguWQEt/AGzY8GT+aIZ186JTniP9CPM8ghtluSuJx wz8M/eHvrLEY/cggxhbXZUHID/RMozZwBwa2UoMuO0HriBSay4GsX0CFD9vu8fn8B9fd CaGOJm9gXsTZqpVp0ZE5no0Dxxy7t+tLQ6hSa18nyzcB304Mcv0C9JwqPsf4JmNwFj/S R3J0E0T9ScmOLnMkKfODPw6QYyxApCjGtc5PutWmC+8O/Cl4QSht8io1nl3e7FyqmQ+R aSIt8dBrduBvuRPofw7maB9dhy2aybcaX0heKFTyrrg6viqWKtwDgJdvEk0jiU40/RhM r87A== X-Gm-Message-State: AOAM530sHHRIM5SfXxNn2A6JzZ19T23g2SR2TYZf/TjalJZLescpt7A+ i59jIwL14tAz4rRi0C2KD5Rb4NcasQ== 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 Cc: Alex Bee , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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) -- 2.17.1