From patchwork Thu Feb 12 02:10:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kenneth Westfield X-Patchwork-Id: 5815271 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 02E269F398 for ; Thu, 12 Feb 2015 02:10:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 377E720222 for ; Thu, 12 Feb 2015 02:10:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 93E0C20253 for ; Thu, 12 Feb 2015 02:10:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754754AbbBLCKb (ORCPT ); Wed, 11 Feb 2015 21:10:31 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:55688 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754618AbbBLCKY (ORCPT ); Wed, 11 Feb 2015 21:10:24 -0500 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 97769140BF8; Thu, 12 Feb 2015 02:10:24 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 87BE6140BFC; Thu, 12 Feb 2015 02:10:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: kwestfie@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 10AA0140BF8; Thu, 12 Feb 2015 02:10:24 +0000 (UTC) From: Kenneth Westfield To: Mark Brown , Takashi Iwai , Liam Girdwood , David Brown , Bryan Huntsman , Greg KH , Banajit Goswami , Patrick Lai Cc: ALSA Mailing List , Device Tree Mailing List , MSM Mailing List , Kenneth Westfield Subject: [Patch V5 04/12] ASoC: qcom: Document IPQ806X-MAX89357A bindings Date: Wed, 11 Feb 2015 18:10:07 -0800 Message-Id: <1423707015-14527-5-git-send-email-kwestfie@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1423707015-14527-1-git-send-email-kwestfie@codeaurora.org> References: <1423707015-14527-1-git-send-email-kwestfie@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kenneth Westfield Add documentation to the sound directory of the device-tree bindings for the IPQ806x-MAX98357A soundcard. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- .../bindings/sound/qcom,ipq806x-max98357a.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,ipq806x-max98357a.txt diff --git a/Documentation/devicetree/bindings/sound/qcom,ipq806x-max98357a.txt b/Documentation/devicetree/bindings/sound/qcom,ipq806x-max98357a.txt new file mode 100644 index 0000000000000000000000000000000000000000..54c6211ce34ab8eb5c764df516c875694eeab3cb --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,ipq806x-max98357a.txt @@ -0,0 +1,24 @@ +* Qualcomm Technologies IPQ806x-MAX98357A SoundCard + +This node models a soundcard for boards with the Qualcomm Technologies IPQ806x +SOC connected to a MAX98357A DAC via I2S. + +Required properties: + +- compatible : "qcom,ipq806x-max98357a" +- qcom,model : The user-visible name of this sound card. +- cpu : Phandle of the CPU DAI +- codec : Phandle of the codec DAI +- codec-dai : Name of the codec DAI which must be selected from one of the + following entries: + * max98357a + +Example: + +sound { + compatible = "qcom,ipq806x-max98357a"; + model = "ipq806x-max98357a"; + cpu = <&lpass_cpu>; + codec = <&max98357a>; + codec-dai = "max98357a"; +};