From patchwork Mon Mar 4 20:22:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159600 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4175547jad; Mon, 4 Mar 2019 12:23:19 -0800 (PST) X-Google-Smtp-Source: APXvYqy/jLQdjay/NkqxdoIEojOSVd5e9AUM0SfgJDDop7GG0u/9T0hqfTpvAxOsoY8n02XvA9b1 X-Received: by 2002:a63:54c:: with SMTP id 73mr19863287pgf.295.1551730999026; Mon, 04 Mar 2019 12:23:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551730999; cv=none; d=google.com; s=arc-20160816; b=QKcNh6rB4AK1vIz9e3fTYiKNzK0jbOTiI8Mlb86Yv+m8JRO556l8sP8xDhz1B7GLKZ hPphRIjHU/U0Cj7I+NZfYqAMQndsIxjusTnE1VviKDYCgw9+VymR0URXuol63OUGHn/f Ns55I/Fo390+AkJ1QsEDspcXQTlLIlJvxb+NwyE8gH7JXDNBMtLmqJ9geO6BbAif4ghJ Nf023Nhzn3J6lqZS67NnP+dKf3lZU9W0SN9uDAS1mP/F48M6smYPLH54aSADnxG9UmUa gn9/h/ZER/PQ1RffxZYMjeeDDIM1ncrbOnlz647aDAoj8UO97PSkyzhcTunGMGrqxnAT WSzQ== 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=FBfpifUw/0XypJzp1JIYRJC8jvcKuf3DT9U/Fajy9hNna57j219k0ACMy78WFxySZY 8MIsrJOGrrKgRApnbe8L9J4V/Gh+aqkUT6QaayskpOSSl9C3dS8lJNaq721bKwTvDEv3 S3AVsy2ooUMT8VpVQ3KiREFuYdvunDpDgozGPlA+7Te4D+tJWmF1pImYrpE63CUug5Nb T+QhOQ25hK3QAPquZSgmwNdi682iNWGnGPWQNuYvui1GaFULNc9AEU5JCydJ81Ngsrlb ewgDkcEAPKqy72NGMNZFZd1unWTn29UaFrrw7XfkLqw2Uwvlm76eUYpAJ+uI9qNDt1W7 pghw== 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 h85si6316466pfj.88.2019.03.04.12.23.18; Mon, 04 Mar 2019 12:23:19 -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 S1726341AbfCDUXR (ORCPT + 31 others); Mon, 4 Mar 2019 15:23:17 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:43961 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbfCDUXQ (ORCPT ); Mon, 4 Mar 2019 15:23:16 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1N9dbx-1h3upI0r0X-015Z5l; Mon, 04 Mar 2019 21:23:13 +0100 From: Arnd Bergmann To: Kishon Vijay Abraham I , Maxime Ripard , Arnd Bergmann , Paul Kocialkowski Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/4] phy: allwinner: allow compile testing Date: Mon, 4 Mar 2019 21:22:49 +0100 Message-Id: <20190304202309.1693081-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:FZ2QqYazWAQbqQUgxRGHdnjfqSER0/ElGlN+o13LbhtqTD+KCGe xTb0iTla+g1htOsC8sCUGLRAbpGZ4vecTy2m6v+q/MHprBfzIbRNviweE5K1dljjIZtsfM8 W2lCwvDwgVz5r7j5BFK1fJlJmZLJrdE9VKX05ZYmJxxBID+RHXC2gRhUi/Jhs9J7OtE7Dje 27wguo1PqLNQa/8HboIqg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:UmhY1f6dKNo=:hPZfuX99m2Q2s+cnuP04FQ VoZT28S7wE00FiTrmqPj2xxkxyQKwu0kb61cYAJlCYQEa+vEChgW7swyvyBALrXbf5cqDqsar odvfAW1olXLpyxbd6jmMmaNQ4lC56iQ92Nts1blU8S7YH7Cfn4r645lZsUrZeR+BO32XAOkOJ C2CV/NclOp7nzrC+q7DLyeyrCfNham28dCREJkMIr2k/8Rhnb3a2XJcyDzkjvrwCfieZkP9rk UvRo/76tfWpvwtZfk8tHNuGDD17UQWp3HEJYlHVChClrfvW/qgrIgRlUiwM621rfdrBXBndhX olldxKK8tRx5KbgbbUagF2b8JvMraYzFGBfZ6e7nLBTDeauKdf0Ey/upvCikvttqcdLsKEDN3 mKbnnDR9ZTUFIZGUyHvUMZ8rXlfIF3X/yYhnNRsR53g+0yEvWvTnQa2nYO5RIAAE2cgfOFrNC 2MXOr9ADtnUC2sjK/MQrrVWRP3BZYCpycKf82GyJsPi3yLg44BtSYzaZlQpk62W3v1VkpF59G HttY1eYLSbcLFFNle97xGzrEP/P8P+gJINCuaxol9HxbjJNBQm3sKnofU5yQIb/oiht5kTc+D zjbXVE2i5OrxVgeS9v1QFxv2PTv2BZ5KOHn2//KwnQhdQloSb/6q2jctAqjepb9O9JN6HEFmk dBajRhF9bYAGC74UE1sc7Bub2vi2EDOT+HB/MUTgxX2+mFJfZHkSPJNWjicjJrbLLrCi+eCwn YfzsOn7HBpMlhQSKYzgkAxPtzGVm9seUj1Hb/w== 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 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