From patchwork Wed Apr 15 10:31:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 210183 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C42B1C3815B for ; Wed, 15 Apr 2020 10:37:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9CFC120784 for ; Wed, 15 Apr 2020 10:37:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586947063; bh=uRks2HYiRyRdiR4g4ENZwFdl3nuMvUwAgHch1gvWFtU=; h=From:To:Cc:Subject:Date:List-ID:From; b=pXBrNOM6NDWlqoQq9m0H6n+nKsUh73SJEHdjU54h4mL3WC3gdwqq2kUbvIzzP97+c rEPFzam6K00D5/aDLXt55scNOFQL15yUcJAJvdaZykBEtgt7gCIOwfzzpKj1kylxEP lsVhzyPOPMbJtN7r0//KFCyez8h+VO4nk+K0/2Jg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406034AbgDOKcF (ORCPT ); Wed, 15 Apr 2020 06:32:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:33674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408641AbgDOKbm (ORCPT ); Wed, 15 Apr 2020 06:31:42 -0400 Received: from mail.kernel.org (ip5f5ad4d8.dynamic.kabel-deutschland.de [95.90.212.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DCEED208FE; Wed, 15 Apr 2020 10:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586946701; bh=uRks2HYiRyRdiR4g4ENZwFdl3nuMvUwAgHch1gvWFtU=; h=From:To:Cc:Subject:Date:From; b=LjvFPPv18vTxu7vRGD7+5SofqLQC3JFt2Yh/g1J8TyUMrRbcnYNDjKFZXMbTvP+l2 2b6QydhAIOc5+m83jy/p6rLevh6dSKnSQATtz2x1JvYlUAG1VDGoiNvLGHpZQ7NVpv YUWuwFJRmt04Jol1FBOsxz2sWmgBvn5JgZW8sQPg= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jOfKV-006gM0-23; Wed, 15 Apr 2020 12:31:39 +0200 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab , Hans Verkuil , Kevin Hilman , linux-stm32@st-md-mailman.stormreply.com, Kukjin Kim , Neil Armstrong , Marek Szyprowski , Benson Leung , Benjamin Gaignard , Krzysztof Kozlowski , Ettore Chimenti , linux-samsung-soc@vger.kernel.org, Thierry Reding , Guenter Roeck , linux-amlogic@lists.infradead.org, Alexandre Torgue , Russell King , linux-tegra@vger.kernel.org, Jonathan Hunter , Maxime Coquelin , linux-arm-kernel@lists.infradead.org, Enric Balletbo i Serra Subject: [PATCH v2 0/6] Move CEC drivers and menu to be out of MEDIA_SUPPORT Date: Wed, 15 Apr 2020 12:31:31 +0200 Message-Id: X-Mailer: git-send-email 2.25.2 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The CEC_CORE doesn't depend on MEDIA_SUPPORT. So, it doesn't make much sense to keep it under its menu. This series move it to be just after RC support. As a side effect, now dependencies like PCI and USB are now selected, making easier to enable CEC drivers. - v2: - move more CEC drivers from platform/ - rename kconfig options to be more coherent Mauro Carvalho Chehab (6): media: cec: move the core to a separate directory media: place CEC menu before MEDIA_SUPPORT media: move CEC platform drivers to a separate directory media: move CEC USB drivers to a separate directory media: cec: rename CEC platform drivers config options media: cec: rename USB config options arch/arm/configs/exynos_defconfig | 2 +- arch/arm/configs/multi_v7_defconfig | 2 +- drivers/media/Kconfig | 30 +---- drivers/media/cec/Kconfig | 25 ++++ drivers/media/cec/Makefile | 16 +-- drivers/media/cec/core/Makefile | 16 +++ drivers/media/cec/{ => core}/cec-adap.c | 0 drivers/media/cec/{ => core}/cec-api.c | 0 drivers/media/cec/{ => core}/cec-core.c | 0 drivers/media/cec/{ => core}/cec-notifier.c | 0 .../media/cec/{ => core}/cec-pin-error-inj.c | 0 drivers/media/cec/{ => core}/cec-pin-priv.h | 0 drivers/media/cec/{ => core}/cec-pin.c | 0 drivers/media/cec/{ => core}/cec-priv.h | 0 drivers/media/cec/platform/Kconfig | 121 +++++++++++++++++ drivers/media/cec/platform/Makefile | 14 ++ .../{ => cec}/platform/cec-gpio/Makefile | 0 .../{ => cec}/platform/cec-gpio/cec-gpio.c | 0 drivers/media/cec/platform/cros-ec/Makefile | 2 + .../platform/cros-ec}/cros-ec-cec.c | 0 drivers/media/cec/platform/meson/Makefile | 3 + .../{ => cec}/platform/meson/ao-cec-g12a.c | 0 .../media/{ => cec}/platform/meson/ao-cec.c | 0 .../s5p-cec => cec/platform/s5p}/Makefile | 2 +- .../platform/s5p}/exynos_hdmi_cec.h | 0 .../platform/s5p}/exynos_hdmi_cecctrl.c | 0 .../s5p-cec => cec/platform/s5p}/regs-cec.h | 0 .../s5p-cec => cec/platform/s5p}/s5p_cec.c | 0 .../s5p-cec => cec/platform/s5p}/s5p_cec.h | 0 drivers/media/cec/platform/seco/Makefile | 2 + .../seco-cec => cec/platform/seco}/seco-cec.c | 2 +- .../seco-cec => cec/platform/seco}/seco-cec.h | 0 drivers/media/cec/platform/sti/Makefile | 2 + .../sti/cec => cec/platform/sti}/stih-cec.c | 0 drivers/media/cec/platform/stm32/Makefile | 2 + .../{ => cec}/platform/stm32/stm32-cec.c | 0 drivers/media/cec/platform/tegra/Makefile | 2 + .../platform/tegra}/tegra_cec.c | 0 .../platform/tegra}/tegra_cec.h | 0 drivers/media/cec/usb/Kconfig | 6 + drivers/media/cec/usb/Makefile | 6 + .../pulse8-cec => cec/usb/pulse8}/Kconfig | 5 +- drivers/media/cec/usb/pulse8/Makefile | 2 + .../usb/pulse8}/pulse8-cec.c | 0 .../usb/rainshadow}/Kconfig | 5 +- drivers/media/cec/usb/rainshadow/Makefile | 2 + .../usb/rainshadow}/rainshadow-cec.c | 0 drivers/media/platform/Kconfig | 125 ------------------ drivers/media/platform/Makefile | 12 -- drivers/media/platform/cros-ec-cec/Makefile | 2 - drivers/media/platform/meson/Makefile | 3 - drivers/media/platform/seco-cec/Makefile | 2 - drivers/media/platform/sti/cec/Makefile | 2 - drivers/media/platform/stm32/Makefile | 1 - drivers/media/platform/tegra-cec/Makefile | 2 - drivers/media/usb/Kconfig | 6 - drivers/media/usb/Makefile | 2 - drivers/media/usb/pulse8-cec/Makefile | 2 - drivers/media/usb/rainshadow-cec/Makefile | 2 - 59 files changed, 218 insertions(+), 212 deletions(-) create mode 100644 drivers/media/cec/core/Makefile rename drivers/media/cec/{ => core}/cec-adap.c (100%) rename drivers/media/cec/{ => core}/cec-api.c (100%) rename drivers/media/cec/{ => core}/cec-core.c (100%) rename drivers/media/cec/{ => core}/cec-notifier.c (100%) rename drivers/media/cec/{ => core}/cec-pin-error-inj.c (100%) rename drivers/media/cec/{ => core}/cec-pin-priv.h (100%) rename drivers/media/cec/{ => core}/cec-pin.c (100%) rename drivers/media/cec/{ => core}/cec-priv.h (100%) create mode 100644 drivers/media/cec/platform/Kconfig create mode 100644 drivers/media/cec/platform/Makefile rename drivers/media/{ => cec}/platform/cec-gpio/Makefile (100%) rename drivers/media/{ => cec}/platform/cec-gpio/cec-gpio.c (100%) create mode 100644 drivers/media/cec/platform/cros-ec/Makefile rename drivers/media/{platform/cros-ec-cec => cec/platform/cros-ec}/cros-ec-cec.c (100%) create mode 100644 drivers/media/cec/platform/meson/Makefile rename drivers/media/{ => cec}/platform/meson/ao-cec-g12a.c (100%) rename drivers/media/{ => cec}/platform/meson/ao-cec.c (100%) rename drivers/media/{platform/s5p-cec => cec/platform/s5p}/Makefile (63%) rename drivers/media/{platform/s5p-cec => cec/platform/s5p}/exynos_hdmi_cec.h (100%) rename drivers/media/{platform/s5p-cec => cec/platform/s5p}/exynos_hdmi_cecctrl.c (100%) rename drivers/media/{platform/s5p-cec => cec/platform/s5p}/regs-cec.h (100%) rename drivers/media/{platform/s5p-cec => cec/platform/s5p}/s5p_cec.c (100%) rename drivers/media/{platform/s5p-cec => cec/platform/s5p}/s5p_cec.h (100%) create mode 100644 drivers/media/cec/platform/seco/Makefile rename drivers/media/{platform/seco-cec => cec/platform/seco}/seco-cec.c (99%) rename drivers/media/{platform/seco-cec => cec/platform/seco}/seco-cec.h (100%) create mode 100644 drivers/media/cec/platform/sti/Makefile rename drivers/media/{platform/sti/cec => cec/platform/sti}/stih-cec.c (100%) create mode 100644 drivers/media/cec/platform/stm32/Makefile rename drivers/media/{ => cec}/platform/stm32/stm32-cec.c (100%) create mode 100644 drivers/media/cec/platform/tegra/Makefile rename drivers/media/{platform/tegra-cec => cec/platform/tegra}/tegra_cec.c (100%) rename drivers/media/{platform/tegra-cec => cec/platform/tegra}/tegra_cec.h (100%) create mode 100644 drivers/media/cec/usb/Kconfig create mode 100644 drivers/media/cec/usb/Makefile rename drivers/media/{usb/pulse8-cec => cec/usb/pulse8}/Kconfig (86%) create mode 100644 drivers/media/cec/usb/pulse8/Makefile rename drivers/media/{usb/pulse8-cec => cec/usb/pulse8}/pulse8-cec.c (100%) rename drivers/media/{usb/rainshadow-cec => cec/usb/rainshadow}/Kconfig (85%) create mode 100644 drivers/media/cec/usb/rainshadow/Makefile rename drivers/media/{usb/rainshadow-cec => cec/usb/rainshadow}/rainshadow-cec.c (100%) delete mode 100644 drivers/media/platform/cros-ec-cec/Makefile delete mode 100644 drivers/media/platform/meson/Makefile delete mode 100644 drivers/media/platform/seco-cec/Makefile delete mode 100644 drivers/media/platform/sti/cec/Makefile delete mode 100644 drivers/media/platform/tegra-cec/Makefile delete mode 100644 drivers/media/usb/pulse8-cec/Makefile delete mode 100644 drivers/media/usb/rainshadow-cec/Makefile