Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4070633pxb; Mon, 8 Feb 2021 07:16:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRzbuID84/cnvhh2RcDuiAcKJ340IBf3FqaDes6jMd2y2w9QninN8spSV/37BEDCtXRIGK X-Received: by 2002:aa7:db16:: with SMTP id t22mr1966943eds.301.1612797360042; Mon, 08 Feb 2021 07:16:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612797360; cv=none; d=google.com; s=arc-20160816; b=Ti7njfLdSLzyEbOPJYR7bs+whWqLL89Qcg9vbiUTS1d8QnHOHS2tt8mjM8O8FJzJtn uNDWOpidR+Oxg0rS3E2znyFvWcEjGCvXo43OuhvrhVgC1qiA/ZoS9IbaV392exRPCccW wUaqDS56nKOWkpUpyZ1p/tb7+VUVTI16cdk7+zdZwZgFr+MCvszhAW1YvE7AGV2raMf9 FGpNOmDSe0gXgcFvgXjsqYWDc6gd/KxG63dW0ieZRy4GjYgMQB8C6rofnVD1x9lIuKKi 7OQ29ku9qcpUTT7A7kU9qTy3D8MtiUUZZxvFqyEO3DFmFKOGcP9I7ZiuuWsD4EasAsOf 84RA== 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=Ey5PnGij0ka1eO4DGgxiUZpnAIO48AhHUShov6xHVmE=; b=qdKi9hR/M7cBrSrJO2lswmQzU7AW6T1Rou2hv1LuaejY+w0tZ+GPTnM7YEw4J6sAhm x5krr1ctUENQr+Y8CEpqrENh+CNhmm1BmemJYHLmSE+NujpU8wiq6JJnNpeItTk9vDB/ ySVU1UdxJHWZbGT2/F35O8aWohNbjUWtM6sFsiJvv4P8PuWxN1fPJ9kP/PcHD0JgdEX0 UaQGPDG0acPZaTJveqpwmaX6Ahi3WEWLSiNelaqgoWPdA3li+BgSYC+mQr7SU9C4Jb1p A5Ofh5wSnXfn8DHoJpjQlmprUUO5lImnYHeHyJjsXyzA/p1TSbZdFVCgNxhEMZ4MgaHP 9T/Q== 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 n2si11121874eju.471.2021.02.08.07.15.33; Mon, 08 Feb 2021 07:16:00 -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 S233465AbhBHPNS (ORCPT + 99 others); Mon, 8 Feb 2021 10:13:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231486AbhBHPDn (ORCPT ); Mon, 8 Feb 2021 10:03:43 -0500 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6835EC061786 for ; Mon, 8 Feb 2021 07:02:56 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by albert.telenet-ops.be with bizsmtp id Sf2u2400r4C55Sk06f2ubN; Mon, 08 Feb 2021 16:02:55 +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 1l983y-004eM9-9M; Mon, 08 Feb 2021 16:02:54 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1l983x-001mUr-Dg; Mon, 08 Feb 2021 16:02:53 +0100 From: Geert Uytterhoeven To: Kishon Vijay Abraham I , Vinod Koul , Gregory CLEMENT , Thomas Petazzoni Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally Date: Mon, 8 Feb 2021 16:02:52 +0100 Message-Id: <20210208150252.424706-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 Merely enabling CONFIG_COMPILE_TEST should not enable additional code. To fix this, restrict the automatic enabling of ARMADA375_USBCLUSTER_PHY to MACH_ARMADA_375, and ask the user in case of compile-testing. Fixes: eee47538ec1f2619 ("phy: add support for USB cluster on the Armada 375 SoC") Signed-off-by: Geert Uytterhoeven --- drivers/phy/marvell/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/marvell/Kconfig b/drivers/phy/marvell/Kconfig index 6c96f2bf52665789..c8ee23fc3a83d360 100644 --- a/drivers/phy/marvell/Kconfig +++ b/drivers/phy/marvell/Kconfig @@ -3,8 +3,8 @@ # Phy drivers for Marvell platforms # config ARMADA375_USBCLUSTER_PHY - def_bool y - depends on MACH_ARMADA_375 || COMPILE_TEST + bool "Armada 375 USB cluster PHY support" if COMPILE_TEST + default y if MACH_ARMADA_375 depends on OF && HAS_IOMEM select GENERIC_PHY -- 2.25.1