From patchwork Sun Sep 2 12:36:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre GRIVEAUX X-Patchwork-Id: 10585151 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 63E735A4 for ; Sun, 2 Sep 2018 13:11:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BB3A29878 for ; Sun, 2 Sep 2018 13:11:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D4F729887; Sun, 2 Sep 2018 13:11:57 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 4662429878 for ; Sun, 2 Sep 2018 13:11:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729415AbeIBR1k (ORCPT ); Sun, 2 Sep 2018 13:27:40 -0400 Received: from vps.deutnet.info ([92.222.219.9]:50136 "EHLO vps.deutnet.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727541AbeIBR1k (ORCPT ); Sun, 2 Sep 2018 13:27:40 -0400 X-Greylist: delayed 2114 seconds by postgrey-1.27 at vger.kernel.org; Sun, 02 Sep 2018 13:27:39 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deutnet.info; s=default; h=Content-Type:MIME-Version:Message-ID:Subject:Cc: To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6TqfxUgw7DJGnkejUQL04NZu8Nj3gvfJ+V9JHrBoDWw=; b=CTcORR0ahZkLdBSROi9UsXSy6N BMyTancwCTk+cp3ndaFyR8ZHehtv8gVh5irNqE8qnKcbvmfZe84qJbQHF+56BlkwFRpbX42aSKHK9 pve379ezFlz/y+NyoTE1CJBVeAetL5mUvcXi5J+U9emO0iSsmI29EISqfalBHqu6aZFm5l+nA+9co VkKhXL5QMgSutS9mgLDQVMhzYD/ZwcJeiqBSP2yTDaWKpQNpU6Zzwx4vcyuTuwLxLgswUTEba6Hsw ujvZ9Pcc1Df5kn3ULYdbAsyQIJPvhAj9tMfcV9LLyoh2crBbtpYGs3jRt0N2IDMaZxX0LBuCMEFTE Dxk/QlOS8fBDhVz2e59fTRqZlzVdLU817JmzqrLxTCVQb8n1Fxx35vI/3uQ7bKN34vG0dVzLlrebB mpuRa8x36pf3OIw3O+taJqgqGzvB2AXrLypWPaWi93B5Fy47cHj9LTBHWqDeCRKKgzUjRnK4m3yGa yt0DIs8DMyCw5o8pFcrjHO/ZykkFyN2XKAeTA+q0ww3TXhKb09hoUp1mGzMHQj36SLk1DGaSO4hUl lQC+TJdMz986Mz5uWd9+eE+AbbsZpy/HNkq18giZFGtdGtQeu2fX/N07USdTUDPid1Gk5fYI/INTw YxvZOM1xMkmW7BtQFWh4KcQY79uJHTIXAGr5e+3Ps=; Received: from [80.214.146.141] (helo=sonata) by vps.deutnet.info with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwRcR-000281-81; Sun, 02 Sep 2018 14:36:43 +0200 Received: from agriveaux by sonata with local (Exim 4.89) (envelope-from ) id 1fwRcO-00027Z-Lg; Sun, 02 Sep 2018 14:36:40 +0200 Date: Sun, 2 Sep 2018 14:36:40 +0200 From: Alexandre GRIVEAUX To: mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, agriveaux@deutnet.info Subject: [PATCH] [media] saa7134: add P7131_4871 analog inputs Message-ID: <20180902123640.4xiyc66rdazzubvo@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) 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 saa7134 Tiger board has a front panel connector at the back (labeled panel 2 on the PCB), with S-VIDEO, composite and audio. This patch adds those inputs. Signed-off-by: Alexandre GRIVEAUX --- drivers/media/pci/saa7134/saa7134-cards.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/media/pci/saa7134/saa7134-cards.c b/drivers/media/pci/saa7134/saa7134-cards.c index 9d6688a82b50..40ce033cb884 100644 --- a/drivers/media/pci/saa7134/saa7134-cards.c +++ b/drivers/media/pci/saa7134/saa7134-cards.c @@ -3628,6 +3628,21 @@ struct saa7134_board saa7134_boards[] = { .vmux = 1, .amux = TV, .gpio = 0x0200000, + },{ + .type = SAA7134_INPUT_COMPOSITE1, + .vmux = 3, + .amux = LINE2, + .gpio = 0x0200000, + },{ + .type = SAA7134_INPUT_COMPOSITE2, + .vmux = 0, + .amux = LINE2, + .gpio = 0x0200000, + },{ + .type = SAA7134_INPUT_SVIDEO, + .vmux = 8, + .amux = LINE2, + .gpio = 0x0200000, }}, }, [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {