Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4094374pxb; Tue, 10 Nov 2020 07:50:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYyF2YXVLNDgI/Dv77cLca+3J8NBF256k+6YTy+87tBtg5XACwqCMUxP3CCrM0uBBPvhUo X-Received: by 2002:a50:85c6:: with SMTP id q6mr22287045edh.126.1605023407054; Tue, 10 Nov 2020 07:50:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605023407; cv=none; d=google.com; s=arc-20160816; b=0izyKOUrJtFWcfBkcZBR2183SNpir5AmpxapAUK1NGlqvuAg6iy8twt97q0zJI9IuA W51J1CYw9aWJl5pMq0YxGZZ7ncWyQYyotsgkoV0j8bcwnhzCUc14OB6htN6cIRz/yc4r mNIp/ASPoBJmd946mkQ9jQSDZ/L9DUY1kVyTk5lsgSSRfOYYrOk0gI/MXfa/yZ1NUMe8 k01UBzZPgdngrmye5KOACsiwoWDFAQRcLqyANQBZRvR+U+TAfH8lNAZFlkMn8QgeNctT 5K++yVJkcYgDfDVmO5bMtMMK6d5Y9t26iDLpkD27LZgJjMMhOsxzzNbZ50EY4jzWypnO Y89Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nNDCppggC4AJ25gHA5TLd4Yl+MJJNjVw97JupznQviA=; b=oIFHtF0QSrWx2H484+93Ueyty2c/9ItGqb7LQ+YPHe9EwTvM7F2OB2Cee+rNU8qQV7 XtjCE6nTavLsHFXEgiLsIkQqaNyPqUp9+jXgYOdYUkcZ7fScGUPtB0VGVClYtU4XOvFT WpBl0Pcji9Ax5CdEVjjFc8mnZiXEFD9yvPnfMapEqxwm4lqEJhszjhma1rLfFdJzSoAh 7crc/zTzQGEMDUCEsIgEofTDQZLZX7ATqCoUPS/VRalJu0d69k4T9OajortZUzpBWk2V KApRY9SOt+FSU+WW+WyAmHimmLF3NCAi/KxosXHwg++LmnesJFV+d/Z+vrj2WjjVmH1U pMow== 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 u15si11160960edt.425.2020.11.10.07.49.40; Tue, 10 Nov 2020 07:50:07 -0800 (PST) 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 S1731084AbgKJPrx (ORCPT + 99 others); Tue, 10 Nov 2020 10:47:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729909AbgKJPrx (ORCPT ); Tue, 10 Nov 2020 10:47:53 -0500 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 342CBC0613CF for ; Tue, 10 Nov 2020 07:47:53 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by michel.telenet-ops.be with bizsmtp id qfnr2300Z4C55Sk06fnru7; Tue, 10 Nov 2020 16:47:51 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kcVs7-001DPN-G8; Tue, 10 Nov 2020 16:47:51 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1kcVs7-00DmhG-38; Tue, 10 Nov 2020 16:47:51 +0100 From: Geert Uytterhoeven To: Michael Turquette , Stephen Boyd Cc: Shawn Guo , Li Yang , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Arnd Bergmann Subject: [PATCH v2] clk: qoriq: Add platform dependencies Date: Tue, 10 Nov 2020 16:47:50 +0100 Message-Id: <20201110154750.3285411-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Freescale QorIQ clock controller is only present on Freescale E500MC and Layerscape SoCs. Add platform dependencies to the CLK_QORIQ config symbol, to avoid asking the user about it when configuring a kernel without E500MC or Layerscape support. Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann Acked-by: Li Yang Acked-by: Stephen Boyd --- v2: - Add Acked-by. --- drivers/clk/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 07a30a7b90b1eeb8..e902f2de027ca041 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -246,7 +246,8 @@ config COMMON_CLK_AXI_CLKGEN config CLK_QORIQ bool "Clock driver for Freescale QorIQ platforms" - depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF + depends on OF + depends on PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST help This adds the clock driver support for Freescale QorIQ platforms using common clock framework. -- 2.25.1