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: 4805481 Return-Path: X-Original-To: patchwork-linux-arm@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 55F3FC0338 for ; Thu, 28 Aug 2014 15:19:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C29A22010B for ; Thu, 28 Aug 2014 15:19:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A831420109 for ; Thu, 28 Aug 2014 15:19:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XN1Rc-0006GS-Ov; Thu, 28 Aug 2014 15:17:00 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XN1RV-000619-AQ for linux-arm-kernel@lists.infradead.org; Thu, 28 Aug 2014 15:16:53 +0000 Received: by mail-pa0-f48.google.com with SMTP id ey11so2944203pad.35 for ; Thu, 28 Aug 2014 08:16:32 -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=Pqq5CLdZxmgb28cXJsqKZbDFe6/kQILWUf5kVuhwtVWjgb9p+2WpqZaci6BGcTDqIP oabU/fcEJTfJWAvwHckYtk57oiYpMHOvqG6Uvy5HIqAGfurU558Q9v4pRPI/s6CNTJ3h qodPFO5JxUYCnYzUfQ4UpraJHpFJ2ceH0nrrBGsDZGFeTPqpipgw450RH+jvWtznb4np FuHdD1KvWgsZDP+Mkf0xhlXR7RrpInpyyMLODdJtTTsLFHwIjLoivcEaIUJac/M86H7L ha1IkyZZOYX8X6/04u97k3kjjsFNGZCiNawawXyWMIZCHnhJZTh1I0VoLT+kwQrCyS2U lgbg== X-Gm-Message-State: ALoCoQmIB1MlXOfuFrbJ+06T9QcZKmS/+A2TERBYsaVglxJ84mH7C1T6oyTxW5Pip8tkmZh9nCNp 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140828_081653_401978_766C3168 X-CRM114-Status: GOOD ( 11.23 ) X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, Zhangfei Gao , Guoxiong Yan , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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"; + };