From patchwork Wed Aug 2 08:42:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 9876273 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 411816037D for ; Wed, 2 Aug 2017 08:42:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30779286A3 for ; Wed, 2 Aug 2017 08:42:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 255C428757; Wed, 2 Aug 2017 08:42:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 13D4128753 for ; Wed, 2 Aug 2017 08:42:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C977E6EFE2; Wed, 2 Aug 2017 08:42:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lb3-smtp-cloud7.xs4all.net (lb3-smtp-cloud7.xs4all.net [194.109.24.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2A7E96EFE4 for ; Wed, 2 Aug 2017 08:42:47 +0000 (UTC) Received: from tschai.fritz.box ([212.251.195.8]) by smtp-cloud7.xs4all.net with ESMTPA id cpEodNfHAZNWkcpEsdA860; Wed, 02 Aug 2017 10:42:46 +0200 From: Hans Verkuil To: linux-media@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: document the CEC GPIO bindings Date: Wed, 2 Aug 2017 10:42:40 +0200 Message-Id: <20170802084242.14947-2-hverkuil@xs4all.nl> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170802084242.14947-1-hverkuil@xs4all.nl> References: <20170802084242.14947-1-hverkuil@xs4all.nl> X-CMAE-Envelope: MS4wfDirG5g1n1Fx2maK+vooSisFpx8Kk2iOEB8Kn/EpdMBG6vhwH4a434Q3APkgQJdbGe4FY84T1ACkNPbRIqVhr1O2ryLzGqLbaTj5TD07lB6HSRD+w6VX BfswpEvDNFAtASedet52/hUIMwmLsEL/ciD0jy1Q1tA0HjrVNujb8olHuo9xUNC3GiW7/Xhsu8LCiuB2CzfLygoyW70+N3Y9PfEVwMZ02YaibPy2P5Zov7L1 QRnUsG6HV43SROP36Zx1AFySYaxKTf7UlsrVwFK/AMLrr12SqyiN5PSSauOpfxWIds1wDwRMyu1JA2KJZxMisg== Cc: Hans Verkuil , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Hans Verkuil Document the bindings for the cec-gpio module for hardware where the CEC pin is connected to a GPIO pin. Signed-off-by: Hans Verkuil --- Documentation/devicetree/bindings/media/cec-gpio.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/cec-gpio.txt diff --git a/Documentation/devicetree/bindings/media/cec-gpio.txt b/Documentation/devicetree/bindings/media/cec-gpio.txt new file mode 100644 index 000000000000..58fa56080cda --- /dev/null +++ b/Documentation/devicetree/bindings/media/cec-gpio.txt @@ -0,0 +1,18 @@ +* HDMI CEC GPIO driver + +The HDMI CEC GPIO module supports CEC implementations where the CEC pin +is hooked up to a pull-up GPIO pin. + +The CEC GPIO + +Required properties: + - compatible: value must be "cec-gpio" + - gpio: gpio that the CEC line is connected to + +Example for the Raspberry Pi 3 where the CEC line is connected to +pin 7 aka BCM4 aka GPCLK0 on the GPIO pin header: + +cec-gpio { + compatible = "cec-gpio"; + gpio = <&gpio 4 GPIO_ACTIVE_HIGH>; +};