From patchwork Thu Aug 28 15:16:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 4805441 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9B0FAC0338 for ; Thu, 28 Aug 2014 15:16:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB41C200DF for ; Thu, 28 Aug 2014 15:16:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0076E200D4 for ; Thu, 28 Aug 2014 15:16:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751329AbaH1PQe (ORCPT ); Thu, 28 Aug 2014 11:16:34 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:51419 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041AbaH1PQd (ORCPT ); Thu, 28 Aug 2014 11:16:33 -0400 Received: by mail-pa0-f52.google.com with SMTP id eu11so2958086pac.25 for ; Thu, 28 Aug 2014 08:16:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vpbz9T3XnKONRv51RKLZX/GvdB5Bn1hqifZesnZhMMo=; b=JE8AWqeh5X/YcwXeVC33YzBJ3Dm32rPzGUgVyt15hM1xGbxQOp61ephSXcYKB97p35 +oSYE0LSSFADIdGFTCHDU53z3uMXqH1kwFtKINT7dl57tP/TLn6HliUtZCF/jYZta8rD HY0eZ0uJ8iBXHxGzISG6ExC4rZfRF9AMIFS5biAVhNpPTvuLFo31fp5tGIoSaqBpiKZl kk84hYCQBTnH950lETKhBItBIzL0gXXcL4ludO8nl0XGySr2AAZreir0bHHU5XvjT9/p naBQx5BWwP7iZ7TFC4lgc7TFYG2J/u52xOUomgpbfDTJCZRYoNqUKehdgDeRRbDumWrG rSZQ== X-Gm-Message-State: ALoCoQlz3h7ssXhXKHaHyW3awn4dOWu++ZgPFqrBFONahxNC5Xqr9H24ElxD9rJArx7iIzon2w8F X-Received: by 10.68.69.8 with SMTP id a8mr6670793pbu.165.1409238992461; Thu, 28 Aug 2014 08:16:32 -0700 (PDT) Received: from localhost.localdomain ([180.150.153.56]) by mx.google.com with ESMTPSA id rw8sm3919967pbc.11.2014.08.28.08.16.28 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Aug 2014 08:16:31 -0700 (PDT) From: Zhangfei Gao To: Mauro Carvalho Chehab , sean@mess.org, arnd@arndb.de, haifeng.yan@linaro.org, jchxue@gmail.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, Guoxiong Yan , Zhangfei Gao Subject: [PATCH v3 1/3] rc: Add DT bindings for hix5hd2 Date: Thu, 28 Aug 2014 23:16:15 +0800 Message-Id: <1409238977-19444-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409238977-19444-1-git-send-email-zhangfei.gao@linaro.org> References: <1409238977-19444-1-git-send-email-zhangfei.gao@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Guoxiong Yan Signed-off-by: Guoxiong Yan Signed-off-by: Zhangfei Gao --- .../devicetree/bindings/media/hix5hd2-ir.txt | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/hix5hd2-ir.txt diff --git a/Documentation/devicetree/bindings/media/hix5hd2-ir.txt b/Documentation/devicetree/bindings/media/hix5hd2-ir.txt new file mode 100644 index 0000000..2bd88b9 --- /dev/null +++ b/Documentation/devicetree/bindings/media/hix5hd2-ir.txt @@ -0,0 +1,25 @@ +Device-Tree bindings for hix5hd2 ir IP + +Required properties: +- compatible: Should contain "hisilicon,hix5hd2-ir". +- reg: Base physical address of the controller and length of memory + mapped region. +- interrupts: interrupt-specifier for the sole interrupt generated by + the device. The interrupt specifier format depends on the interrupt + controller parent. +- clocks: clock phandle and specifier pair. +- hisilicon,power-syscon: phandle of syscon used to control power. + +Optional properties: +- linux,rc-map-name : Remote control map name. + +Example node: + + ir: ir@f8001000 { + compatible = "hisilicon,hix5hd2-ir"; + reg = <0xf8001000 0x1000>; + interrupts = <0 47 4>; + clocks = <&clock HIX5HD2_FIXED_24M>; + hisilicon,power-syscon = <&sysctrl>; + linux,rc-map-name = "rc-tivo"; + };