{"id":807698,"url":"http://patchwork.ozlabs.org/api/1.0/patches/807698/?format=json","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.0/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":""},"msgid":"<20170830161044.26571-4-hverkuil@xs4all.nl>","date":"2017-08-30T16:10:42","name":"[PATCHv3,3/5] dt-bindings: document the CEC GPIO bindings","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"4885518ed8e95dc7a0abcfc95880e74d11a1bf8c","submitter":{"id":723,"url":"http://patchwork.ozlabs.org/api/1.0/people/723/?format=json","name":"Hans Verkuil","email":"hverkuil@xs4all.nl"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170830161044.26571-4-hverkuil@xs4all.nl/mbox/","series":[{"id":645,"url":"http://patchwork.ozlabs.org/api/1.0/series/645/?format=json","date":"2017-08-30T16:10:39","name":"cec-gpio: add HDMI CEC GPIO-based driver","version":1,"mbox":"http://patchwork.ozlabs.org/series/645/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807698/checks/","tags":{},"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 3xj9Ts2tqQz9t0F\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 02:10:57 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751704AbdH3QKt (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 30 Aug 2017 12:10:49 -0400","from lb3-smtp-cloud8.xs4all.net ([194.109.24.29]:44272 \"EHLO\n\tlb3-smtp-cloud8.xs4all.net\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751455AbdH3QKs (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 30 Aug 2017 12:10:48 -0400","from marune.fritz.box ([80.101.105.217])\n\tby smtp-cloud8.xs4all.net with ESMTPA\n\tid n5ZkdmzWbcQyLn5Zmd5mQG; Wed, 30 Aug 2017 18:10:46 +0200"],"From":"Hans Verkuil <hverkuil@xs4all.nl>","To":"linux-media@vger.kernel.org","Cc":"dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,\n\tHans Verkuil <hans.verkuil@cisco.com>","Subject":"[PATCHv3 3/5] dt-bindings: document the CEC GPIO bindings","Date":"Wed, 30 Aug 2017 18:10:42 +0200","Message-Id":"<20170830161044.26571-4-hverkuil@xs4all.nl>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170830161044.26571-1-hverkuil@xs4all.nl>","References":"<20170830161044.26571-1-hverkuil@xs4all.nl>","X-CMAE-Envelope":"MS4wfHcgGDPsCrSx9VIYauK+E94RtEP1wQRDvjfApjtmQN7g4IcsknyAxQHvWPcTTnMAWuTC/QkLlFnLhkR6h4CcbbTGzC2hUNRqmLnTBOGpifivIb5rclqW\n\t0cixhBlSPb6cUxNiZ/+3xNlhQT5HEmxTcZSbBQal4H55FB5+ugS0ybKUuSeoPQClP9CYh28aVuEj6Mrwe7JIJlyApC7i+c1VGMUu57D1mXjnc6q43FoNy2dD\n\tGlBxL+atZuVeTP7p5C2txOKuTbcs2trpxUZa+47D/5GMDxFvRkrXo61zaqTO0HXU","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 pin and optionally the HPD pin are connected to GPIO pins.\n\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\n---\n .../devicetree/bindings/media/cec-gpio.txt         | 22 ++++++++++++++++++++++\n 1 file changed, 22 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..d1df742af0ac\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/media/cec-gpio.txt\n@@ -0,0 +1,22 @@\n+* HDMI CEC GPIO driver\n+\n+The HDMI CEC GPIO module supports CEC implementations where the CEC pin\n+is hooked up to a pull-up GPIO pin and - optionally - the HPD pin is\n+hooked up to a pull-down GPIO pin.\n+\n+Required properties:\n+  - compatible: value must be \"cec-gpio\"\n+  - cec-gpio: gpio that the CEC line is connected to\n+\n+Optional property:\n+  - hpd-gpio: 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+cec-gpio@7 {\n+       compatible = \"cec-gpio\";\n+       cec-gpio = <&gpio 7 GPIO_ACTIVE_HIGH>;\n+       hpd-gpio = <&gpio 17 GPIO_ACTIVE_HIGH>;\n+};\n","prefixes":["PATCHv3","3/5"]}