From patchwork Fri Sep 9 01:36:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 75839 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp113260qgf; Thu, 8 Sep 2016 18:37:06 -0700 (PDT) X-Received: by 10.66.248.10 with SMTP id yi10mr1826389pac.31.1473385026178; Thu, 08 Sep 2016 18:37:06 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o79si1073630pfa.103.2016.09.08.18.37.05; Thu, 08 Sep 2016 18:37:06 -0700 (PDT) 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; dkim=pass header.i=@linaro.org; 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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751350AbcIIBgy (ORCPT + 27 others); Thu, 8 Sep 2016 21:36:54 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:35065 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750908AbcIIBgw (ORCPT ); Thu, 8 Sep 2016 21:36:52 -0400 Received: by mail-pa0-f43.google.com with SMTP id b2so22788926pat.2 for ; Thu, 08 Sep 2016 18:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=WpCiXxp/X2CONnAYevtKgIJMMbbaJj+D+UVXIZAGzPc=; b=DAk9dliBP52FREAJe/MPSwUKL6mYpAxETOm9u5K1kaR9JK1oeR2Z5mBqCYJNJUtvLH dUAEyEG2ITam47kz7tgkJ50yDkXPsjzhZ/3DIBLGnX8zRxWYgm04tadfbWp2q5pjZ7XK 1US/X/y6naZld51SoHUc0l9F97zYn1bd6VNZY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WpCiXxp/X2CONnAYevtKgIJMMbbaJj+D+UVXIZAGzPc=; b=dbqAgnp29wKqhPH6h266ZkjnTh0P6bcE/wrBQrphdm2qWMv0nA7SSngA/cCUpJLNeE 3r4WevmjFCsBlgJodVCt3u6BgjPhpLt82pf+vC8/gkGN31EzqNc8vXPdC+J6VBuieCA6 mf0xYSTqjvFDorwIkVFaxPs+HN3z96Z9EPYjrI+K0W/hSLIQEoBJotH8YPOXasyv9auG 46brrHv608EkD0FtWnwvQuFi6HksvNRUZDZHbfWQI3Tq9e5gljFxUyAfBTY+/sFXEfOl uqaNF8jvKfL2jL64FM+L0EnUuc8PH8tFkNdk02/vRkXeYQe5ibMHCdk6Iqa+/R7FVYYA ibgA== X-Gm-Message-State: AE9vXwNtpM6yH0LL1aFGiptQKvocIwXEoTx70UJEPodTDBIgIkJjSHhPxbFhHeWblAPYxFbT X-Received: by 10.66.89.230 with SMTP id br6mr1818263pab.49.1473385012037; Thu, 08 Sep 2016 18:36:52 -0700 (PDT) Received: from localhost.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id g90sm580992pfe.96.2016.09.08.18.36.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Sep 2016 18:36:51 -0700 (PDT) From: Stephen Boyd To: David Airlie Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , Heiko Stuebner , Mark Yao , Philipp Zabel , Peter Chen Subject: [PATCH] gpu: Remove depends on RESET_CONTROLLER when not a provider Date: Thu, 8 Sep 2016 18:36:50 -0700 Message-Id: <20160909013650.25166-1-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.9.0.rc2.8.ga28705d Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These GPU drivers only depend on the RESET_CONTROLLER config option to fix build issues that existed when there weren't stub reset APIs for reset controller consumers. Given that these drivers aren't providing any reset controllers themselves, they don't actually depend on the API to build (just to function) so they don't need to depend on it. Remove the dependency to fix recursive build errors like the following: drivers/usb/Kconfig:39:error: recursive dependency detected! drivers/usb/Kconfig:39: symbol USB is selected by MOUSE_APPLETOUCH drivers/input/mouse/Kconfig:187: symbol MOUSE_APPLETOUCH depends on INPUT drivers/input/Kconfig:8: symbol INPUT is selected by VT drivers/tty/Kconfig:12: symbol VT is selected by FB_STI drivers/video/fbdev/Kconfig:674: symbol FB_STI depends on FB drivers/video/fbdev/Kconfig:5: symbol FB is selected by DRM_KMS_FB_HELPER drivers/gpu/drm/Kconfig:42: symbol DRM_KMS_FB_HELPER is selected by DRM_KMS_CMA_HELPER drivers/gpu/drm/Kconfig:98: symbol DRM_KMS_CMA_HELPER is selected by DRM_IMX drivers/gpu/drm/imx/Kconfig:1: symbol DRM_IMX depends on IMX_IPUV3_CORE drivers/gpu/ipu-v3/Kconfig:1: symbol IMX_IPUV3_CORE depends on RESET_CONTROLLER drivers/reset/Kconfig:4: symbol RESET_CONTROLLER is selected by USB_CHIPIDEA drivers/usb/chipidea/Kconfig:1: symbol USB_CHIPIDEA depends on USB_EHCI_HCD drivers/usb/host/Kconfig:84: symbol USB_EHCI_HCD depends on USB Cc: Arnd Bergmann Cc: Heiko Stuebner Cc: Mark Yao Cc: Philipp Zabel Cc: Peter Chen Signed-off-by: Stephen Boyd --- This has come out of some USB chipidea patches I've been working on. Please see http://lkml.kernel.org/r/20160907213519.27340-1-stephen.boyd@linaro.org for more details. drivers/gpu/drm/rockchip/Kconfig | 1 - drivers/gpu/drm/tegra/Kconfig | 1 - drivers/gpu/ipu-v3/Kconfig | 1 - 3 files changed, 3 deletions(-) -- 2.9.0.rc2.8.ga28705d diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index 3c58669a06ce..6f7f9c59f05b 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++ b/drivers/gpu/drm/rockchip/Kconfig @@ -1,7 +1,6 @@ config DRM_ROCKCHIP tristate "DRM Support for Rockchip" depends on DRM && ROCKCHIP_IOMMU - depends on RESET_CONTROLLER select DRM_GEM_CMA_HELPER select DRM_KMS_HELPER select DRM_PANEL diff --git a/drivers/gpu/drm/tegra/Kconfig b/drivers/gpu/drm/tegra/Kconfig index 63ebb154b9b5..bbf5a4b7e0b6 100644 --- a/drivers/gpu/drm/tegra/Kconfig +++ b/drivers/gpu/drm/tegra/Kconfig @@ -3,7 +3,6 @@ config DRM_TEGRA depends on ARCH_TEGRA || (ARM && COMPILE_TEST) depends on COMMON_CLK depends on DRM - depends on RESET_CONTROLLER select DRM_KMS_HELPER select DRM_MIPI_DSI select DRM_PANEL diff --git a/drivers/gpu/ipu-v3/Kconfig b/drivers/gpu/ipu-v3/Kconfig index aefdff95356d..08766c6e7856 100644 --- a/drivers/gpu/ipu-v3/Kconfig +++ b/drivers/gpu/ipu-v3/Kconfig @@ -1,7 +1,6 @@ config IMX_IPUV3_CORE tristate "IPUv3 core support" depends on SOC_IMX5 || SOC_IMX6Q || ARCH_MULTIPLATFORM - depends on RESET_CONTROLLER select GENERIC_IRQ_CHIP help Choose this if you have a i.MX5/6 system and want to use the Image