{"id":754313,"url":"http://patchwork.ozlabs.org/api/1.2/patches/754313/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1493050124-5970-16-git-send-email-rf@opensource.wolfsonmicro.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.2/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1493050124-5970-16-git-send-email-rf@opensource.wolfsonmicro.com>","list_archive_url":null,"date":"2017-04-24T16:08:41","name":"[v2,15/18] dt-bindings: sound: Add bindings for Cirrus Logic Madera codecs","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":true,"hash":"39c616fbf6e245fab9ebc3ee5bf71cf34d1c9faf","submitter":{"id":65141,"url":"http://patchwork.ozlabs.org/api/1.2/people/65141/?format=json","name":"Richard Fitzgerald","email":"rf@opensource.wolfsonmicro.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1493050124-5970-16-git-send-email-rf@opensource.wolfsonmicro.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/754313/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/754313/checks/","tags":{},"related":[],"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3wBWVs0Xt8z9s7x\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tTue, 25 Apr 2017 02:09:09 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S973067AbdDXQJG (ORCPT <rfc822; incoming-dt@patchwork.ozlabs.org>);\n\tMon, 24 Apr 2017 12:09:06 -0400","from mx0b-001ae601.pphosted.com ([67.231.152.168]:55003 \"EHLO\n\tmx0b-001ae601.pphosted.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S972718AbdDXQJF (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Mon, 24 Apr 2017 12:09:05 -0400","from pps.filterd (m0077474.ppops.net [127.0.0.1])\n\tby mx0b-001ae601.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv3OG4KxL028090; Mon, 24 Apr 2017 11:08:52 -0500","from mail1.cirrus.com (mail1.cirrus.com [141.131.3.20])\n\tby mx0b-001ae601.pphosted.com with ESMTP id 2a03kme4qk-1;\n\tMon, 24 Apr 2017 11:08:52 -0500","from EX17.ad.cirrus.com (unknown [172.20.9.81])\n\tby mail1.cirrus.com (Postfix) with ESMTP id 3DFCE6121AE7;\n\tMon, 24 Apr 2017 11:08:52 -0500 (CDT)","from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com\n\t(172.20.9.81) with Microsoft SMTP Server id 14.3.301.0;\n\tMon, 24 Apr 2017 17:08:46 +0100","from rf-debian.ad.cirrus.com (rf-debian.ad.cirrus.com\n\t[198.90.223.7]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP\n\tid v3OG7tRe026794;        Mon, 24 Apr 2017 17:07:58 +0100"],"Authentication-Results":"ppops.net;\n\tspf=none smtp.mailfrom=rf@opensource.wolfsonmicro.com","From":"Richard Fitzgerald <rf@opensource.wolfsonmicro.com>","To":"<lee.jones@linaro.org>, <broonie@kernel.org>,\n\t<linus.walleij@linaro.org>, <gnurou@gmail.com>,\n\t<robh+dt@kernel.org>, <tglx@linutronix.de>, <jason@lakedaemon.net>","CC":"<alsa-devel@alsa-project.org>, <patches@opensource.wolfsonmicro.com>,\n\t<linux-gpio@vger.kernel.org>, <devicetree@vger.kernel.org>,\n\t<linux-kernel@vger.kernel.org>","Subject":"[PATCH v2 15/18] dt-bindings: sound: Add bindings for Cirrus Logic\n\tMadera codecs","Date":"Mon, 24 Apr 2017 17:08:41 +0100","Message-ID":"<1493050124-5970-16-git-send-email-rf@opensource.wolfsonmicro.com>","X-Mailer":"git-send-email 1.9.1","In-Reply-To":"<1493050124-5970-1-git-send-email-rf@opensource.wolfsonmicro.com>","References":"<1493050124-5970-1-git-send-email-rf@opensource.wolfsonmicro.com>","MIME-Version":"1.0","Content-Type":"text/plain","X-Proofpoint-Spam-Details":"rule=notspam policy=default score=0\n\tpriorityscore=1501 malwarescore=0\n\tsuspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015\n\tlowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam\n\tadjust=0\n\treason=mlx scancount=1 engine=8.0.1-1703280000\n\tdefinitions=main-1704240276","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"The Cirrus Logic Madera codecs are a family of related codecs with\nextensive digital and analogue I/O, digital mixing and routing,\nsignal processing and programmable DSPs.\n\nSigned-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>\n---\nChanges since V1:\n- these bindings split out from the main source patch\n- some minor edits to the property descriptions to match the pdata\n  descriptions\n\n Documentation/devicetree/bindings/sound/madera.txt | 66 ++++++++++++++++++++++\n 1 file changed, 66 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/sound/madera.txt","diff":"diff --git a/Documentation/devicetree/bindings/sound/madera.txt b/Documentation/devicetree/bindings/sound/madera.txt\nnew file mode 100644\nindex 0000000..b114f7b\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/sound/madera.txt\n@@ -0,0 +1,66 @@\n+Cirrus Logic Madera class audio codecs\n+\n+This is a subnode of the parent mfd node.\n+\n+See also the core bindings for the parent MFD driver:\n+See Documentation/devicetree/bindings/mfd/madera.txt\n+\n+Required properties:\n+  - compatible : One of the following chip-specific strings:\n+        \"cirrus,cs47l35-codec\"\n+        \"cirrus,cs47l85-codec\"\n+        \"cirrus,cs47l90-codec\"\n+\n+Optional properties:\n+  - cirrus,dmic-ref : DMIC bias reference for each input, one cell per input\n+    <IN1 IN2 IN3 ...>\n+    A value of 0 indicates MICVDD and is the default, other values depend on the\n+    codec - see the datasheet for the INn_DMIC_SUP field\n+\n+  - cirrus,inmode : A list of input mode settings for each input. A maximum of\n+    16 cells, with four cells per input in the order INnAL, INnAR INnBL INnBR.\n+    For non-muxed inputs the first two cells for that input set the mode for\n+    the left and right channel and the second two cells must be 0.\n+    For muxed inputs the first two cells for that input set the mode of the\n+    left and right A inputs and the second two cells set the mode of the left\n+    and right B inputs.\n+    Valid mode values are one of the MADERA_INMODE_xxx (see\n+    include/dt-bindings/sound/madera.h). If the array is shorter than the number\n+    of inputs the unspecified inputs default to MADERA_INMODE_DIFF.\n+\n+  - cirrus,out-mono : Mono bit for each output, must contain six cells if\n+    specified. A non-zero value indicates the corresponding output is mono.\n+\n+  - cirrus,max-channels-clocked : Maximum number of channels that I2S clocks\n+    will be generated for. Useful when clock master for systems where the I2S\n+    bus has multiple data lines.\n+    One cell for each AIF, use a value of zero for AIFs that should be handled\n+    normally.\n+\n+  - cirrus,pdm-fmt : PDM speaker data format, must contain 2 cells\n+    (OUT5 and OUT6). See the PDM_SPKn_FMT field in the datasheet for a\n+    description of this value.\n+    The second cell is ignored for codecs that do not have OUT6.\n+\n+  - cirrus,pdm-mute : PDM mute format, must contain 2 cells\n+    (OUT5 and OUT6). See the PDM_SPKn_CTRL_1 register in the datasheet for a\n+    description of this value.\n+    The second cell is ignored for codecs that do not have OUT6.\n+\n+Example:\n+\n+codec: cs47l35@0 {\n+\tcompatible = \"cirrus,cs47l35\";\n+\n+\tcodec {\n+\t\tcompatible = \"cirrus,cs47l35-codec\";\n+\t\tcirrus,dmic-ref = <0 0 1 0>;\n+\t\tcirrus,dmic-clksrc = <0 0 0 0>;\n+\t\tcirrus,inmode = <\n+\t\t\t2 2 1 1 /* IN1A digital, IN1B single-ended */\n+\t\t\t0 0 0 0\t/* IN2 differential */\n+\t\t>;\n+\t\tcirrus,out-mono = <0 0 0 0 0 0>;\n+\t\tcirrus,max-channels-clocked = <2 0 0>;\n+\t};\n+};\n","prefixes":["v2","15/18"]}