{"id":808191,"url":"http://patchwork.ozlabs.org/api/1.0/patches/808191/?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":"<20170831110156.11018-4-hverkuil@xs4all.nl>","date":"2017-08-31T11:01:54","name":"[PATCHv4,3/5] dt-bindings: document the CEC GPIO bindings","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"0f76e8d928ba89bf32f0d71f78b90c9608abfe4b","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/20170831110156.11018-4-hverkuil@xs4all.nl/mbox/","series":[{"id":794,"url":"http://patchwork.ozlabs.org/api/1.0/series/794/?format=json","date":"2017-08-31T11:01:54","name":"cec-gpio: add HDMI CEC GPIO-based driver","version":1,"mbox":"http://patchwork.ozlabs.org/series/794/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/808191/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 3xjfZx2NNqz9sQl\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 21:02:01 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751425AbdHaLB7 (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tThu, 31 Aug 2017 07:01:59 -0400","from lb2-smtp-cloud9.xs4all.net ([194.109.24.26]:55327 \"EHLO\n\tlb2-smtp-cloud9.xs4all.net\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1750998AbdHaLB6 (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Thu, 31 Aug 2017 07:01:58 -0400","from marune.fritz.box ([80.101.105.217])\n\tby smtp-cloud9.xs4all.net with ESMTPA\n\tid nNESdVlAodRLjnNETdHD95; Thu, 31 Aug 2017 13:01:57 +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>,\n\tHans Verkuil <hans.verkuil@cisco.com>","Subject":"[PATCHv4 3/5] dt-bindings: document the CEC GPIO bindings","Date":"Thu, 31 Aug 2017 13:01:54 +0200","Message-Id":"<20170831110156.11018-4-hverkuil@xs4all.nl>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170831110156.11018-1-hverkuil@xs4all.nl>","References":"<20170831110156.11018-1-hverkuil@xs4all.nl>","X-CMAE-Envelope":"MS4wfLijzvd3NG35aeusPLHioTsdhHkTTOJhMikT3oKf1K0ORsJGGez/ppXVNYTZGFBy02VU59vVbPl1Spwy0M4q6p1+YHT9TEXYuj8tLdGevaWj0Zdhr3/h\n\tKb6XZp4L1Z7I/2OOaPrmFCktyHNDKZvVWUr5QnOkTxk0M2YKdTnGKXsZGJQ9lsifW6UY19UOfXsu6YucxSgD+7/lIDcYcpIdIa2edm4IjLbV3YzpkvEclDwa\n\tanBQyEsqiwLI7cv0diP/cfb5MKSB6OyQ2YfF8rLCGi4GKKgy6BJ44I33IWu2D3s7CG+oMFZk3D8onPEPqRa07A==","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>\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..db20a7452dbd\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 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-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_OPEN_DRAIN>;\n+       hpd-gpio = <&gpio 17 GPIO_ACTIVE_HIGH>;\n+};\n","prefixes":["PATCHv4","3/5"]}