From patchwork Fri Feb 8 14:52:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akinobu Mita X-Patchwork-Id: 10803241 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9D2BE1575 for ; Fri, 8 Feb 2019 14:53:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8DA0A2E6E1 for ; Fri, 8 Feb 2019 14:53:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81EDA2E6EA; Fri, 8 Feb 2019 14:53:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29F0F2E6E1 for ; Fri, 8 Feb 2019 14:53:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727880AbfBHOxH (ORCPT ); Fri, 8 Feb 2019 09:53:07 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:42277 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727843AbfBHOxH (ORCPT ); Fri, 8 Feb 2019 09:53:07 -0500 Received: by mail-pg1-f195.google.com with SMTP id d72so1668567pga.9 for ; Fri, 08 Feb 2019 06:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/S7xeBAaTJUtky1AToQ6NgqeQkJGdgz6lYT//XDxgf0=; b=ufRRKngeZ5mfglrH9Ye72o6My8gonAxiiactzSxEqPWKL8Qd9AoBhKkXUfCKDymXUA BdyRVcmaIdHHJYINee8NxLxgu2jEYjA9ojkoVbOz/Pq/awDsNWsPMeG79fjaIbvel2t4 ba1GfAw9UUmpHf5jY8x3LfZ/sEYoP01Py5FPOl2ydKDjGEM3xBMFCmbpo/Uw96Uil/9y MYsOfx0JBupJZJqoLL2yaieDq/thrPkmsSTonG7JAbhkLYTuMg0Nr+6v3LdiFgARMGj4 JUcAZZYZbUh4ozCOt/fb8KG2Bsl5uZ7w9YHB5PTkILSdjQKrkxtQupwVBAYDqUJvDPbz HZZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/S7xeBAaTJUtky1AToQ6NgqeQkJGdgz6lYT//XDxgf0=; b=g9M9gCudzBpk4aIyizWoC+7/71ZWsC3bMngw7F7tu6TXtkYZOcMTJLdeLKDzf37J6Y O+qm+juig4GOxt58mZy1d7qQu3cb4Q1ic0cPSApL6sNRDv67TtjJgaVF5NRhd17lR2/4 /1B7NlI0GqwIUqTk+9D25vcGT5kF0frfv6PLfW0uU4d3GUYa+6J+1h7N6f0Fl5cLtbRy VDNZDdb+PSJ7HS+9dMgm5hU5Ln8MZD7CPmwXnBBOU53OvKDaKPHNeyIVEnI5gi0rm/FB hH7Ee32re4CiUzKB12BuXvDL33DOtBGXMgNHqNvLZx6MfPMw1+OGlFFQwvEfS0Qaq9/y N7WQ== X-Gm-Message-State: AHQUAubPnwMob6tcHpZCk7vA0sO4GUrU/y24LBEj5gnEK065oLGZv6U1 NNZkYEPegQ41SmGnLAqaAIhvoxx3FCo= X-Google-Smtp-Source: AHgI3IYqcVuy84X1HFsNkCQllkZlc1zyQ1lX/jsB4lizN0bwIT5XA2JmabkufpAOE9zE8nsKFySvvA== X-Received: by 2002:a63:fd07:: with SMTP id d7mr5404686pgh.163.1549637586049; Fri, 08 Feb 2019 06:53:06 -0800 (PST) Received: from localhost.localdomain ([240f:34:212d:1:9dad:5819:2ad0:da6f]) by smtp.gmail.com with ESMTPSA id s79sm3425216pgs.50.2019.02.08.06.53.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Feb 2019 06:53:05 -0800 (PST) From: Akinobu Mita To: linux-media@vger.kernel.org Cc: Akinobu Mita , Sakari Ailus , Mauro Carvalho Chehab Subject: [PATCH 3/4] media: i2c: add missing MEDIA_CAMERA_SUPPORT Date: Fri, 8 Feb 2019 23:52:44 +0900 Message-Id: <1549637565-32096-4-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549637565-32096-1-git-send-email-akinobu.mita@gmail.com> References: <1549637565-32096-1-git-send-email-akinobu.mita@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The camera sensor drivers should depend on MEDIA_CAMERA_SUPPORT so that we don't see unnecessary menu options. Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/Kconfig | 4 ++++ drivers/media/i2c/et8ek8/Kconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 71c7433..73eeb17 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -823,6 +823,7 @@ config VIDEO_OV7740 config VIDEO_OV9650 tristate "OmniVision OV9650/OV9652 sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + depends on MEDIA_CAMERA_SUPPORT select REGMAP_SCCB ---help--- This is a V4L2 sensor driver for the Omnivision @@ -877,6 +878,7 @@ config VIDEO_MT9M032 config VIDEO_MT9M111 tristate "mt9m111, mt9m112 and mt9m131 support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + depends on MEDIA_CAMERA_SUPPORT select V4L2_FWNODE help This driver supports MT9M111, MT9M112 and MT9M131 cameras from @@ -986,6 +988,7 @@ config VIDEO_S5K6A3 config VIDEO_S5K4ECGX tristate "Samsung S5K4ECGX sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + depends on MEDIA_CAMERA_SUPPORT select CRC32 ---help--- This is a V4L2 sensor driver for Samsung S5K4ECGX 5M @@ -994,6 +997,7 @@ config VIDEO_S5K4ECGX config VIDEO_S5K5BAF tristate "Samsung S5K5BAF sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + depends on MEDIA_CAMERA_SUPPORT select V4L2_FWNODE ---help--- This is a V4L2 sensor driver for Samsung S5K5BAF 2M diff --git a/drivers/media/i2c/et8ek8/Kconfig b/drivers/media/i2c/et8ek8/Kconfig index 9fe409e..14b6732 100644 --- a/drivers/media/i2c/et8ek8/Kconfig +++ b/drivers/media/i2c/et8ek8/Kconfig @@ -1,6 +1,7 @@ config VIDEO_ET8EK8 tristate "ET8EK8 camera sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + depends on MEDIA_CAMERA_SUPPORT select V4L2_FWNODE ---help--- This is a driver for the Toshiba ET8EK8 5 MP camera sensor.