{"id":814633,"url":"http://patchwork.ozlabs.org/api/patches/814633/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170917101546.16993-4-hverkuil@xs4all.nl/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/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":"<20170917101546.16993-4-hverkuil@xs4all.nl>","list_archive_url":null,"date":"2017-09-17T10:15:44","name":"[PATCHv6,3/5] dt-bindings: document the CEC GPIO bindings","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":true,"hash":"dcd4a8a324bd052ad82a2a920b671be9e6f43656","submitter":{"id":723,"url":"http://patchwork.ozlabs.org/api/people/723/?format=json","name":"Hans Verkuil","email":"hverkuil@xs4all.nl"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170917101546.16993-4-hverkuil@xs4all.nl/mbox/","series":[{"id":3504,"url":"http://patchwork.ozlabs.org/api/series/3504/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=3504","date":"2017-09-17T10:15:41","name":"cec-gpio: add HDMI CEC GPIO-based driver","version":1,"mbox":"http://patchwork.ozlabs.org/series/3504/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814633/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814633/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>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xw4m55z9Fz9sPr\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tSun, 17 Sep 2017 20:16:05 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751186AbdIQKP4 (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tSun, 17 Sep 2017 06:15:56 -0400","from lb3-smtp-cloud7.xs4all.net ([194.109.24.31]:60977 \"EHLO\n\tlb3-smtp-cloud7.xs4all.net\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1750860AbdIQKPy (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Sun, 17 Sep 2017 06:15:54 -0400","from tschai.fritz.box ([212.251.195.8])\n\tby smtp-cloud7.xs4all.net with ESMTPA\n\tid tWc6dhywhG5oqtWcDdxioa; Sun, 17 Sep 2017 12:15:53 +0200"],"From":"Hans Verkuil <hverkuil@xs4all.nl>","To":"linux-media@vger.kernel.org","Cc":"dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,\n\tLinus Walleij <linus.walleij@linaro.org>, Rob Herring <robh@kernel.org>, \n\tHans Verkuil <hans.verkuil@cisco.com>","Subject":"[PATCHv6 3/5] dt-bindings: document the CEC GPIO bindings","Date":"Sun, 17 Sep 2017 12:15:44 +0200","Message-Id":"<20170917101546.16993-4-hverkuil@xs4all.nl>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170917101546.16993-1-hverkuil@xs4all.nl>","References":"<20170917101546.16993-1-hverkuil@xs4all.nl>","X-CMAE-Envelope":"MS4wfHc1I7SxeqTlSzDPAr8U9rRvRZEUG/PWiJBtc1hIY9vUFWH99X2/yRRWbq+09JZA9o18s2vS2E/+SZUVIhvUo/oVcGJ68PAFTSWHrAtpLKuNcfkiAQS7\n\twsvbeRmgjfAd+zZETKd0hYltVxTDDgf8chSfAU6V6O2/3Ji1Zd6GwA64n47OPC5rk/t2NIoZT6g0yBGYDy4xrK4tL9iuwODGl6//GHTapmV1i7RrviTQJxBJ\n\t+MyvWl9bBA5KScQw0wGiKWpthv09xzCMBurGx79dTVK5hNnywAsP5kl6fg3hCwOf7CBwH5Eza269bZkRNdYCRwhObTlrTnygV+o2sNQKjtMgAsTex3hZKmhz\n\tdwKKeJgR","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"From: Hans Verkuil <hans.verkuil@cisco.com>\n\nDocument the bindings for the cec-gpio module for hardware where the\nCEC line and optionally the HPD line are connected to GPIO lines.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nReviewed-by: Linus Walleij <linus.walleij@linaro.org>\n---\n .../devicetree/bindings/media/cec-gpio.txt         | 32 ++++++++++++++++++++++\n 1 file changed, 32 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/media/cec-gpio.txt","diff":"diff --git a/Documentation/devicetree/bindings/media/cec-gpio.txt b/Documentation/devicetree/bindings/media/cec-gpio.txt\nnew file mode 100644\nindex 000000000000..46a0bac8b3b9\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/media/cec-gpio.txt\n@@ -0,0 +1,32 @@\n+* HDMI CEC GPIO driver\n+\n+The HDMI CEC GPIO module supports CEC implementations where the CEC line\n+is hooked up to a pull-up GPIO line and - optionally - the HPD line is\n+hooked up to another GPIO line.\n+\n+Required properties:\n+  - compatible: value must be \"cec-gpio\".\n+  - cec-gpios: gpio that the CEC line is connected to. The line should be\n+    tagged as open drain.\n+\n+If the CEC line is associated with an HDMI receiver/transmitter, then the\n+following property is also required:\n+\n+  - hdmi-phandle - phandle to the HDMI controller, see also cec.txt.\n+\n+If the CEC line is not associated with an HDMI receiver/transmitter, then\n+the following property is optional:\n+\n+  - hpd-gpios: gpio that the HPD line is connected to.\n+\n+Example for the Raspberry Pi 3 where the CEC line is connected to\n+pin 26 aka BCM7 aka CE1 on the GPIO pin header and the HPD line is\n+connected to pin 11 aka BCM17:\n+\n+#include <dt-bindings/gpio/gpio.h>\n+\n+cec-gpio {\n+       compatible = \"cec-gpio\";\n+       cec-gpios = <&gpio 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;\n+       hpd-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;\n+};\n","prefixes":["PATCHv6","3/5"]}