From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933412AbaBARcu (ORCPT ); Sat, 1 Feb 2014 12:32:50 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:41099 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933346AbaBARcs (ORCPT ); Sat, 1 Feb 2014 12:32:48 -0500 X-Mailbox-Line: From 8e4231b7a55802f58a14dd07ac5cd8b0babb1dce Mon Sep 17 00:00:00 2001 Message-Id: <8e4231b7a55802f58a14dd07ac5cd8b0babb1dce.1391274628.git.moinejf@free.fr> In-Reply-To: References: From: Jean-Francois Moine Date: Sat, 1 Feb 2014 17:48:49 +0100 Subject: [PATCH v3 3/5] ASoC: tda998x: add DT documentation of the tda998x CODEC To: alsa-devel@alsa-project.org, devicetree@vger.kernel.org Cc: broonie@kernel.org, Dave Airlie , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Clark , Russell King - ARM Linux Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the DT documentation of the NXP TDA998x CODEC. Signed-off-by: Jean-Francois Moine --- Documentation/devicetree/bindings/drm/i2c/tda998x.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/drm/i2c/tda998x.txt b/Documentation/devicetree/bindings/drm/i2c/tda998x.txt index d7df01c..aa0d81b 100644 --- a/Documentation/devicetree/bindings/drm/i2c/tda998x.txt +++ b/Documentation/devicetree/bindings/drm/i2c/tda998x.txt @@ -15,6 +15,17 @@ Optional properties: - video-ports: 24 bits value which defines how the video controller output is wired to the TDA998x input - default: <0x230145> +Optional subnodes: + + - codec: audio CODEC + +Required codec subnode properties: + - compatible: must be "nxp,tda998x-codec". + - audio-ports: one or two values corresponding to entries in + the audio-port-names property. + - audio-port-names: must contain "i2s", "spdif" entries + matching entries in the audio-ports property. + Example: tda998x: hdmi-encoder { @@ -24,4 +35,10 @@ Example: interrupts = <27 2>; /* falling edge */ pinctrl-0 = <&pmx_camera>; pinctrl-names = "default"; + hdmi_codec: codec { + compatible = "nxp,tda998x-codec"; + audio-ports = <0x03>, <0x04>; + audio-port-names = "i2s", "spdif"; + #sound-dai-cells = <1>; + }; }; -- 1.9.rc1