From patchwork Sun Aug 31 02:39:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 4814801 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 4680EC033A for ; Sun, 31 Aug 2014 02:43:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F0F02012D for ; Sun, 31 Aug 2014 02:43:47 +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 1FFFC2010C for ; Sun, 31 Aug 2014 02:43:45 +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 1XNv3t-0008UV-AK; Sun, 31 Aug 2014 02:40:13 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XNv3l-0006TW-5y for linux-arm-kernel@lists.infradead.org; Sun, 31 Aug 2014 02:40:06 +0000 Received: by mail-pa0-f44.google.com with SMTP id rd3so9426123pab.31 for ; Sat, 30 Aug 2014 19:39:43 -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=xw7ghchzH+CabAN1k0BrjQovc9Ow/H1SCc2I4+6lXFo=; b=juLGmYDN1Ur1KEF6d1MUWhvnU1Swi3jTAID/M0vDXFeP9DHB05fD104j7BdSBKjOt/ kJ99kB3iP5yvD7TRPeRU31yK7GAEfIdIP0B+wedFtQpOy+gjXLhWUmJrT9FlrR/jyiff OHR4FawcZu2IZtvpyp6ZaCkPTxGuqzXDYpQWDQkJBGFRJhSOMnyThm+xrvv/T5VAvvj7 pry2bRL+MDiYcVStbtoXdo2oIIBPTFHU+D6g7U0OMW7PEpNI2X0cA6ZsEzIaZPu95oEN 0Apo3/ZEbUCEIMDnGAEVm0bc3KgCgztEHkkcKVft5BqHjkGUp6+9dHpc2aai8w9wMC/0 I5fQ== X-Gm-Message-State: ALoCoQkwxkPSvi3igjKv3xRB1UU56oTNftGf31Cvt0Zs3k7Ldf0GLCutHAs8Uz6fXKtylJ43g2ee X-Received: by 10.68.94.34 with SMTP id cz2mr27650170pbb.7.1409452783501; Sat, 30 Aug 2014 19:39:43 -0700 (PDT) Received: from localhost.localdomain ([124.73.11.18]) by mx.google.com with ESMTPSA id k9sm6014480pdp.95.2014.08.30.19.39.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 30 Aug 2014 19:39:42 -0700 (PDT) From: Zhangfei Gao To: Mauro Carvalho Chehab , sean@mess.org, arnd@arndb.de, varkabhadram@gmail.com, haifeng.yan@linaro.org, jchxue@gmail.com Subject: [PATCH v4 1/2] rc: Add DT bindings for hix5hd2 Date: Sun, 31 Aug 2014 10:39:09 +0800 Message-Id: <1409452751-17463-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409452751-17463-1-git-send-email-zhangfei.gao@linaro.org> References: <1409452751-17463-1-git-send-email-zhangfei.gao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140830_194005_303146_C9476ED6 X-CRM114-Status: GOOD ( 11.05 ) 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..fb5e760 --- /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"; + };