Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/810600/?format=api
{ "id": 810600, "url": "http://patchwork.ozlabs.org/api/patches/810600/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1504704043-8052-11-git-send-email-rf@opensource.wolfsonmicro.com/", "project": { "id": 37, "url": "http://patchwork.ozlabs.org/api/projects/37/?format=api", "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": "<1504704043-8052-11-git-send-email-rf@opensource.wolfsonmicro.com>", "list_archive_url": null, "date": "2017-09-06T13:20:36", "name": "[v5,10/17] pinctrl: madera: Add DT bindings for Cirrus Logic Madera codecs", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "14f98cae16762c0a9ac7acaa39b04e033d6711c9", "submitter": { "id": 65141, "url": "http://patchwork.ozlabs.org/api/people/65141/?format=api", "name": "Richard Fitzgerald", "email": "rf@opensource.wolfsonmicro.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1504704043-8052-11-git-send-email-rf@opensource.wolfsonmicro.com/mbox/", "series": [ { "id": 1803, "url": "http://patchwork.ozlabs.org/api/series/1803/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=1803", "date": "2017-09-06T13:20:26", "name": "Add support for Cirrus Logic CS47L35/L85/L90/L91 codecs", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/1803/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/810600/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/810600/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", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)", "ppops.net;\n\tspf=none smtp.mailfrom=rf@opensource.wolfsonmicro.com" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnPW201qSz9t3Z\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tWed, 6 Sep 2017 23:26:38 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754573AbdIFNVE (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 6 Sep 2017 09:21:04 -0400", "from mx0a-001ae601.pphosted.com ([67.231.149.25]:40602 \"EHLO\n\tmx0b-001ae601.pphosted.com\" rhost-flags-OK-OK-OK-FAIL)\n\tby vger.kernel.org with ESMTP id S1754561AbdIFNU6 (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 6 Sep 2017 09:20:58 -0400", "from pps.filterd (m0077473.ppops.net [127.0.0.1])\n\tby mx0a-001ae601.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv86DKknd000545; Wed, 6 Sep 2017 08:20:47 -0500", "from mail4.cirrus.com ([87.246.98.35])\n\tby mx0a-001ae601.pphosted.com with ESMTP id 2cqt20jwhv-1;\n\tWed, 06 Sep 2017 08:20:46 -0500", "from EX17.ad.cirrus.com (unknown [172.20.9.81])\n\tby mail4.cirrus.com (Postfix) with ESMTP id 714FE611CE86;\n\tWed, 6 Sep 2017 08:20:44 -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\tWed, 6 Sep 2017 14:20:44 +0100", "from rf-debian.ad.cirrus.com (rf-debian.ad.cirrus.com\n\t[198.90.223.45]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP\n\tid v86DKhDU032150; Wed, 6 Sep 2017 14:20:44 +0100" ], "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 v5 10/17] pinctrl: madera: Add DT bindings for Cirrus Logic\n\tMadera codecs", "Date": "Wed, 6 Sep 2017 14:20:36 +0100", "Message-ID": "<1504704043-8052-11-git-send-email-rf@opensource.wolfsonmicro.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1504704043-8052-1-git-send-email-rf@opensource.wolfsonmicro.com>", "References": "<1504704043-8052-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-1707230000\n\tdefinitions=main-1709060186", "Sender": "devicetree-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<devicetree.vger.kernel.org>", "X-Mailing-List": "devicetree@vger.kernel.org" }, "content": "This is the binding description of the pinctrl driver for Cirru Logic\nMadera codecs. The binding uses the generic pinctrl binding so the main\npurpose here is to describe the device-specific names for groups and\nfunctions.\n\nSigned-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>\nAcked-by: Rob Herring <robh@kernel.org>\n---\nNo changes since V4\n\n .../bindings/pinctrl/cirrus,madera-pinctrl.txt | 99 ++++++++++++++++++++++\n 1 file changed, 99 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/pinctrl/cirrus,madera-pinctrl.txt", "diff": "diff --git a/Documentation/devicetree/bindings/pinctrl/cirrus,madera-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/cirrus,madera-pinctrl.txt\nnew file mode 100644\nindex 0000000..b0e36cf\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/pinctrl/cirrus,madera-pinctrl.txt\n@@ -0,0 +1,99 @@\n+Cirrus Logic Madera class audio codecs pinctrl driver\n+\n+The Cirrus Logic Madera codecs provide a number of GPIO functions for\n+interfacing to external hardware and to provide logic outputs to other devices.\n+Certain groups of GPIO pins also have an alternate function, normally as an\n+audio interface.\n+\n+The set of available GPIOs, functions and alternate function groups differs\n+between codecs so refer to the datasheet for the codec for further information\n+on what is supported on that device.\n+\n+The properties for this driver exist within the parent MFD driver node.\n+\n+See also\n+ the core bindings for the parent MFD driver:\n+ Documentation/devicetree/bindings/mfd/madera.txt\n+\n+ the generic pinmix bindings:\n+ Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt\n+\n+Required properties of parent mfd node:\n+ - pinctrl-names : must be \"default\"\n+ - pinctrl-0 : a phandle to the node containing the subnodes containing default\n+ configurations\n+\n+Required subnodes:\n+ One subnode is required to contain the default settings. It contains an\n+ arbitrary number of configuration subnodes, one for each group or pin\n+ configuration you want to apply as a default.\n+\n+Required properties of configuration subnodes:\n+ - groups : name of one pin group to configure. One of:\n+\taif1, aif2, aif3, aif4, mif1, mif2, mif3, pdmspk1, pdmspk2,\n+\tdmic4, dmic5, dmic6,\n+\tgpio1, gpio2, ..., gpio40\n+ The gpioN groups select the single pin of this name for configuration\n+\n+Optional properties of configuration subnodes:\n+ Any configuration option not explicitly listed in the dts will be left at\n+ chip default setting.\n+\n+ - function : name of function to assign to this group. One of:\n+\taif1, aif2, aif3, aif4, mif1, mif2, mif3, pdmspk1, pdmspk2,\n+\tdmic3, dmic4, dmic5, dmic6,\n+\tio, dsp-gpio, irq1, irq2,\n+\tfll1-clk, fll1-lock, fll2-clk, fll2-lock, fll3-clk, fll3-lock,\n+\tfllao-clk, fllao-lock,\n+\topclk, opclk-async, pwm1, pwm2, spdif,\n+\tasrc1-in1-lock, asrc1-in2-lock, asrc2-in1-lock, asrc2-in2-lock,\n+\tspkl-short-circuit, spkr-short-circuit, spk-shutdown,\n+\tspk-overheat-shutdown, spk-overheat-warn,\n+\ttimer1-sts, timer2-sts, timer3-sts, timer4-sts, timer5-sts, timer6-sts,\n+\ttimer7-sts, timer8-sts,\n+\tlog1-fifo-ne, log2-fifo-ne, log3-fifo-ne, log4-fifo-ne, log5-fifo-ne,\n+\tlog6-fifo-ne, log7-fifo-ne, log8-fifo-ne,\n+\n+ - bias-disable : disable pull-up and pull-down\n+ - bias-bus-hold : enable buskeeper\n+ - bias-pull-up : output is pulled-up\n+ - bias-pull-down : output is pulled-down\n+ - drive-push-pull : CMOS output\n+ - drive-open-drain : open-drain output\n+ - drive-strength : drive strength in mA. Valid values are 4 or 8\n+ - input-schmitt-enable : enable schmitt-trigger mode\n+ - input-schmitt-disable : disable schmitt-trigger mode\n+ - input-debounce : A value of 0 disables debounce, a value !=0 enables\n+\tdebounce\n+ - output-low : set the pin to output mode with low level\n+ - output-high : set the pin to output mode with high level\n+\n+Example:\n+\n+cs47l85@0 {\n+\tcompatible = \"cirrus,cs47l85\";\n+\n+\tpinctrl-names = \"default\";\n+\tpinctrl-0 = <&cs47l85_defaults>;\n+\n+\tcs47l85_defaults: cs47l85-gpio-defaults {\n+\t\taif1 {\n+\t\t\tgroups = \"aif1\";\n+\t\t\tfunction = \"aif1\";\n+\t\t\tbias-bus-hold;\n+\t\t};\n+\n+\t\taif2 {\n+\t\t\tgroups = \"aif2\";\n+\t\t\tfunction = \"aif2\";\n+\t\t\tbias-bus-hold;\n+\t\t};\n+\n+\t\topclk {\n+\t\t\tgroups = \"gpio1\";\n+\t\t\tfunction = \"opclk\";\n+\t\t\tbias-pull-up;\n+\t\t\tdrive-strength = <8>;\n+\t\t};\n+\t};\n+};\n", "prefixes": [ "v5", "10/17" ] }