From patchwork Tue Jul 11 11:52:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Young X-Patchwork-Id: 786574 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3x6L723XLPz9s7C for ; Tue, 11 Jul 2017 21:52:46 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754695AbdGKLwo (ORCPT ); Tue, 11 Jul 2017 07:52:44 -0400 Received: from gofer.mess.org ([88.97.38.141]:60265 "EHLO gofer.mess.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753909AbdGKLwo (ORCPT ); Tue, 11 Jul 2017 07:52:44 -0400 Received: by gofer.mess.org (Postfix, from userid 1000) id 2E9C560766; Tue, 11 Jul 2017 12:52:42 +0100 (BST) Date: Tue, 11 Jul 2017 12:52:41 +0100 From: Sean Young To: Rob Herring Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3] [media] dt-bindings: gpio-ir-tx: add support for GPIO IR Transmitter Message-ID: <20170711115241.cprjvqirp7pyuhye@gofer.mess.org> References: <580c648de65344e9316ff153ba316efd4d527f12.1499419624.git.sean@mess.org> <20170710150538.ql26gswdf2obch6o@rob-hp-laptop> <20170710151016.5iaokchdejxozrte@gofer.mess.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170710151016.5iaokchdejxozrte@gofer.mess.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document the device tree bindings for the GPIO Bit Banging IR Transmitter. Signed-off-by: Sean Young Acked-by: Rob Herring --- .../devicetree/bindings/leds/irled/gpio-ir-tx.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt diff --git a/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt b/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt new file mode 100644 index 0000000..cbe8dfd --- /dev/null +++ b/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt @@ -0,0 +1,14 @@ +Device tree bindings for IR LED connected through gpio pin which is used as +remote controller transmitter. + +Required properties: + - compatible: should be "gpio-ir-tx". + - gpios : Should specify the IR LED GPIO, see "gpios property" in + Documentation/devicetree/bindings/gpio/gpio.txt. Active low LEDs + should be indicated using flags in the GPIO specifier. + +Example: + irled@0 { + compatible = "gpio-ir-tx"; + gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + };