From patchwork Mon Mar 4 20:23:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159601 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4176329jad; Mon, 4 Mar 2019 12:24:14 -0800 (PST) X-Google-Smtp-Source: APXvYqwuj5QWnzZT6xPpMLS2OYZEVcMyO+pmd2hBvcQBjMia5fxLFokH4c0qKFg4zuTXIAjM5/G6 X-Received: by 2002:a17:902:f209:: with SMTP id gn9mr5843403plb.50.1551731054112; Mon, 04 Mar 2019 12:24:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551731054; cv=none; d=google.com; s=arc-20160816; b=MWCl845mSX7clLIGqIyV5v6Qh6xA3e0PORSJvbDezPZjrCqN0w/Cez8s62+qIKQUuG brwB+qu2L3sIBQpIFLOjJUwjygEBRL6eGvLu564dAQYc0IHxKCIXmsqPWMxk0nzI2T1B KjdXWgzgkbomrqZ3tPeUN42U/6X4Qu2nUOfEz/UVIt4WHacnKmXfwGK4uftzb8r4NRmv dHv302mb3cU+AfrKhcq2Yy7lI6w8yhazQ+4qew9KM3RfUnVUg5enpqai2WTrL5xv0AXy orTtH4OZRInUj+C/JRIJ9Ji1A38rpnCv6QG61/7LiWsSurapfDmfN4J+fzfqLPbtsZgB gZGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=9HV9YRwdJ9q2BZdP0cTitj4CVzaKLwzd+n+cVB2Ty5g=; b=AS0w6Tps7vNdxH4bPrG0me3dLFiGt+Vwha7pNwye/5Ne5Eo21aMv2RNj+kGTV7ZTB9 5gE7C9ydROSZ0dNrxuhjvKTDtus+KdP6aefZVrx9ogrmjvDwn4ALUa20SpiX42CXKYlp PjU7xZYvKM/jQzWpeYyQ2T+eIHmTkG+xsh8OHHtZuuEG95+oIf6k5a6BdxvaplW9ubj3 K87Ueih8wSKFBTPoc7pe5v07WWbfzN7axFig5zOlN9gSKmBJVJ2TtApEERp0iN+Aa6M3 2D/asN4j+Ug0PKN9Gmueqk5bGksKSbk9T6Mk87r+mfcLr5w6b5rleDi1O8J5ygOloobx ctCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si5947050pgb.248.2019.03.04.12.24.13; Mon, 04 Mar 2019 12:24:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726527AbfCDUYL (ORCPT + 31 others); Mon, 4 Mar 2019 15:24:11 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:58823 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726095AbfCDUYL (ORCPT ); Mon, 4 Mar 2019 15:24:11 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1Ml76o-1hNtbX3KMW-00lZFu; Mon, 04 Mar 2019 21:24:07 +0100 From: Arnd Bergmann To: Kishon Vijay Abraham I , Paul Kocialkowski , Arnd Bergmann , Maxime Ripard Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/3] phy: allwinner: allow compile testing Date: Mon, 4 Mar 2019 21:23:56 +0100 Message-Id: <20190304202406.1716350-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:otm8/2cZ6fCmXwrkax243T6EKj6TDGcTFhnKQ3Js+OCwc8sROTN PUZYs1b0SXIGNaFqfiF3fDD/+eXKdYyZsQ4H3DADLSEDUzYGTkfTs0uAzkTrZWVxQ8UKr6/ 7duNzr2JJM2UIHTMvI18nqGVICrjcc8oDEwmsI8skrl6t6//RwjXj3q+jykEbbTKstWXYkV BLHbfybP5KfUVOqk7SxxQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:ixsoeeLvbuA=:TsYI6q74dui33r9hVIm9Jj 1BJNxRDcF9j+nFLwT10o/fT2O6JsY3I6Gx6OwTqDkzVbpZNqZBhXWOKvuYr6d/S/LJi8xqr4g 6rjV1vc3KYjDF3iJWqLp7PppRgSHNoiNFj52MVdEL9VqkyflYDvJ831bSuhADcziuNfmjOrXQ 5aBRdmXJIfNa9/5G2vXg8PjwiRjF1rUdPwjNu94E/dIFAK/rvcJI8wnI2YWaWsFaVubIuLnDK j5qGIR9OHI8lJaWBeW/K0Lyd1sMpsZDr0XVh8yFEEyC8Veo4HZciG0ooBTlHjuSw/v7wzRJCG TnMFNVVNoZeW1dFqkCdYyzU5DqR010sCfhBcwZkccrt0WC82/tnuLsinpenHI0Py05f52V+fm N0kR8KndKvuzCFbC01g4zGp0SjwWLgnB5SvxRZd+vCRvb8EOKt03XkZIsr4cUWlXsoVWCdFI8 Ay2z8pyOa6nmJ3yuzfKOfoqIFuf2A8SZHJRvOVVVH+OjvuttHnRd/KT2G3BI/UapFSMHPTudw v75bK3luCP3IOz8728Iz/a2Wuwei5d/Wu86QulVCW65123+3TiutfHWN8NVlweywXIYBtggqz PaXgYCKM1dT1hHIKh9vymB3m5Q8FVe5Tk7Ml9Yve4E7z3xtOKA+GgZ99sOIIwb2z0y3B2z05K XYAEY3eTA3Tq+rbGLsS34zWGsTZAMPpkUKIbpKmczAqFdouR4zheXA4ehvoN03ZaqUCVnE1xF 8Tn65PT6kVw2dnpZEk5ka6920Kr0rDViIEZOmQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some allwinner specific drivers can be built for testing purposes on non-sunxi configurations, which then results in a harmless warning: WARNING: unmet direct dependencies detected for PHY_SUN6I_MIPI_DPHY Depends on [n]: ARCH_SUNXI [=n] && HAS_IOMEM [=y] && OF [=y] && RESET_CONTROLLER [=y] Selected by [y]: - DRM_SUN6I_DSI [=y] && HAS_IOMEM [=y] && DRM_SUN4I [=y] Allow compile-test here as well to avoid the warning, and improve overall build coverage. Fixes: 5d134abf9530 ("phy: Move Allwinner A31 D-PHY driver to drivers/phy/") Signed-off-by: Arnd Bergmann --- drivers/phy/allwinner/Kconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.20.0 Acked-by: Maxime Ripard diff --git a/drivers/phy/allwinner/Kconfig b/drivers/phy/allwinner/Kconfig index fb1204bcc454..53772d35b36e 100644 --- a/drivers/phy/allwinner/Kconfig +++ b/drivers/phy/allwinner/Kconfig @@ -3,7 +3,8 @@ # config PHY_SUN4I_USB tristate "Allwinner sunxi SoC USB PHY driver" - depends on ARCH_SUNXI && HAS_IOMEM && OF + depends on ARCH_SUNXI || COMPILE_TEST + depends on HAS_IOMEM depends on RESET_CONTROLLER depends on EXTCON depends on POWER_SUPPLY @@ -19,7 +20,8 @@ config PHY_SUN4I_USB config PHY_SUN6I_MIPI_DPHY tristate "Allwinner A31 MIPI D-PHY Support" - depends on ARCH_SUNXI && HAS_IOMEM && OF + depends on ARCH_SUNXI || COMPILE_TEST + depends on HAS_IOMEM depends on RESET_CONTROLLER select GENERIC_PHY select GENERIC_PHY_MIPI_DPHY @@ -31,7 +33,8 @@ config PHY_SUN6I_MIPI_DPHY config PHY_SUN9I_USB tristate "Allwinner sun9i SoC USB PHY driver" - depends on ARCH_SUNXI && HAS_IOMEM && OF + depends on ARCH_SUNXI || COMPILE_TEST + depends on HAS_IOMEM depends on RESET_CONTROLLER depends on USB_SUPPORT select USB_COMMON