From patchwork Mon Aug 25 19:04:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 4776371 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 62A28C033A for ; Mon, 25 Aug 2014 19:05:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93C2320154 for ; Mon, 25 Aug 2014 19:05:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B97B22018A for ; Mon, 25 Aug 2014 19:05:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933385AbaHYTEv (ORCPT ); Mon, 25 Aug 2014 15:04:51 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:42392 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933373AbaHYTEt (ORCPT ); Mon, 25 Aug 2014 15:04:49 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s7PJ4eWv000614; Mon, 25 Aug 2014 14:04:40 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7PJ4e1e024945; Mon, 25 Aug 2014 14:04:40 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Mon, 25 Aug 2014 14:04:40 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7PJ4dm0010794; Mon, 25 Aug 2014 14:04:40 -0500 From: Jyri Sarha To: , , CC: , , , , , Jyri Sarha Subject: [PATCH v4 09/15] OMAPDSS: Kconfig: Implement options for OMAP4 and OMAP5 HDMI audio support Date: Mon, 25 Aug 2014 22:04:17 +0300 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Selecting OMAP4_DSS_HDMI_AUDIO or OMAP5_DSS_HDMI_AUDIO option causes OMAP2_DSS to select SND_OMAP_SOC_HDMI_AUDIO and SND_OMAP_SOC. Signed-off-by: Jyri Sarha --- drivers/video/fbdev/omap2/dss/Kconfig | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2/dss/Kconfig b/drivers/video/fbdev/omap2/dss/Kconfig index 3d5eb6c..14aa218 100644 --- a/drivers/video/fbdev/omap2/dss/Kconfig +++ b/drivers/video/fbdev/omap2/dss/Kconfig @@ -6,6 +6,8 @@ menuconfig OMAP2_DSS select VIDEOMODE_HELPERS select OMAP2_DSS_INIT select HDMI + select SND_OMAP_SOC_HDMI_AUDIO if OMAP_DSS_HDMI_AUDIO + select SND_OMAP_SOC if OMAP_DSS_HDMI_AUDIO help OMAP2+ Display Subsystem support. @@ -67,6 +69,9 @@ config OMAP2_DSS_VENC config OMAP2_DSS_HDMI_COMMON bool +config OMAP_DSS_HDMI_AUDIO + bool + config OMAP4_DSS_HDMI bool "HDMI support for OMAP4" default y @@ -75,7 +80,17 @@ config OMAP4_DSS_HDMI HDMI support for OMAP4 based SoCs. config OMAP4_DSS_HDMI_AUDIO - bool + bool "OMAP5 HDMI audio support" + depends on OMAP4_DSS_HDMI + depends on SND_SOC=y || OMAP2_DSS = SND_SOC + select OMAP_DSS_HDMI_AUDIO + default y + help + HDMI audio support for OMAP4 based SoCs. Selects audio + support libarary for OMAPDSS HDMI driver. The librarry + implements an integrated ASoC Digital Audio Interface + component driver into OMAPDSS module and registers a dummy + HDMI codec and SND_SIMPLE_CARD for full HDMI audio support. config OMAP5_DSS_HDMI bool "HDMI support for OMAP5" @@ -87,8 +102,17 @@ config OMAP5_DSS_HDMI specification. config OMAP5_DSS_HDMI_AUDIO + bool "OMAP5 HDMI audio support" depends on OMAP5_DSS_HDMI - bool + depends on SND_SOC=y || OMAP2_DSS = SND_SOC + select OMAP_DSS_HDMI_AUDIO + default y + help + HDMI audio support for OMAP5 based SoCs. Selects audio + support libarary for OMAPDSS HDMI driver. The librarry + implements an integrated ASoC Digital Audio Interface + component driver into OMAPDSS module and registers a dummy + HDMI codec and SND_SIMPLE_CARD for full HDMI audio support. config OMAP2_DSS_SDI bool "SDI support"