From patchwork Tue Jul 19 15:56:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9237779 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 AF344600CB for ; Tue, 19 Jul 2016 15:57:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A019526A5C for ; Tue, 19 Jul 2016 15:57:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94CF326C2F; Tue, 19 Jul 2016 15:57:57 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10E1526A5C for ; Tue, 19 Jul 2016 15:57:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754111AbcGSP5Z (ORCPT ); Tue, 19 Jul 2016 11:57:25 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:36786 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754054AbcGSP5U (ORCPT ); Tue, 19 Jul 2016 11:57:20 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OAK01O8VKB7C890@mailout1.samsung.com>; Wed, 20 Jul 2016 00:57:07 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.112]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id AE.E7.05161.3DD4E875; Wed, 20 Jul 2016 00:57:07 +0900 (KST) X-AuditID: cbfee68f-f79476d000001429-d2-578e4dd3999f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id D5.BA.02101.3DD4E875; Wed, 20 Jul 2016 00:57:07 +0900 (KST) Received: from samsunx.samsung ([10.113.63.54]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OAK006NUKB4PH70@mmp1.samsung.com>; Wed, 20 Jul 2016 00:57:07 +0900 (KST) From: Andi Shyti To: Mauro Carvalho Chehab , Sean Young Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Andi Shyti , Andi Shyti Subject: [RFC 6/7] Documentation: bindings: add documentation for ir-spi device driver Date: Wed, 20 Jul 2016 00:56:57 +0900 Message-id: <1468943818-26025-7-git-send-email-andi.shyti@samsung.com> X-Mailer: git-send-email 2.8.1 In-reply-to: <1468943818-26025-1-git-send-email-andi.shyti@samsung.com> References: <1468943818-26025-1-git-send-email-andi.shyti@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsWyRsSkQPeyb1+4wdpWS4vtR56xWiz+8ZzJ 4vKuOWwWPRu2slqsflZhsfDpdxYHNo/rSz4xeyx5Y+2xpf8uu0ffllWMHp83yQWwRnHZpKTm ZJalFunbJXBlLJ0VXLCEs+L8/kUsDYwL2bsYOTkkBEwkZk6Zxwhhi0lcuLeerYuRi0NIYAWj xMNL01hhih627GKCSCxllJj49Tw7hPORUWLn0VNMIFVsApoSTbd/sIHYIgL+Em96FoN1Mws0 M0rsvm4EYgsLREj8WXQLLM4ioCrR07YS7AxeATeJA+0bmSC2yUlcnv4AaA4HB6eAu8SVm0Ug YSGgknfrHrKA7JUQ6GeX2NdygRFijoDEt8mHWEDqJQRkJTYdYIYYIylxcMUNl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NFoVrs/Q2mTPxrV+gxaB0y1uPTLVr10fKUS+eJ qH9zLPbJL72w+dsaucc8nxqOrTF7uPruS/Hj3C5z33zXPvix1Fpzgc3eGT3nc07dFORZ45+9 2Hnfnwe5Gy3lPS5n7O93fSLSzbCPq0BBPqr0vhJLcUaioRZzUXEiAK0bhrizAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document the ir-spi driver's binding which is a IR led driven through the SPI line. Signed-off-by: Andi Shyti --- Documentation/devicetree/bindings/media/spi-ir.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/spi-ir.txt diff --git a/Documentation/devicetree/bindings/media/spi-ir.txt b/Documentation/devicetree/bindings/media/spi-ir.txt new file mode 100644 index 0000000..532da68 --- /dev/null +++ b/Documentation/devicetree/bindings/media/spi-ir.txt @@ -0,0 +1,20 @@ +Device tree bindings for IR LED connected through SPI bus which is used as +remote controller. + +The IR LED switch is connected to the MOSI line of the SPI device and the data +are delivered thourgh that. + +Required properties: + - compatible: should be "ir-spi" + +Optional properties: + - irled,switch: specifies the gpio switch which enables the irled + +Example: + + irled@0 { + compatible = "ir-spi"; + reg = <0x0>; + spi-max-frequency = <5000000>; + irled,switch = <&gpr3 3 0>; + };