From patchwork Thu Aug 21 09:24:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 4756251 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 8E1E2C0338 for ; Thu, 21 Aug 2014 09:27:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C73C320172 for ; Thu, 21 Aug 2014 09:27:27 +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 A9FD720160 for ; Thu, 21 Aug 2014 09:27:26 +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 1XKOci-0006I5-32; Thu, 21 Aug 2014 09:25:36 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XKOcc-00066J-Jr for linux-arm-kernel@lists.infradead.org; Thu, 21 Aug 2014 09:25:31 +0000 Received: by mail-pa0-f52.google.com with SMTP id bj1so14130813pad.25 for ; Thu, 21 Aug 2014 02:25:09 -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=j5iQrhFTiygGOI0xubPNvBDfiQynIRRpB6Q1FXvhaIU=; b=NGywhoQ71EmwVGuhpVccpJhE099yRSWgkhqYQskOdH0cihkjR+8OvT2Vo+iJoeBn72 2972V4Xv9D35UhCj/QXfcAcSyqEIPN9itTorlAE6p/wioWXwpQpqm3q9GFr8YdxD96KL TsQ9eYZivOu6q323WPCSKEhZE7baxKb30KZd3UtuLt0lKWKUUBv/EQRpOZOLOZEE5Nrr 3oEBZIWQg3NUw/ioA2NKd293tVx700kvDzu4V4r2CdPpUsBnttdIXz7j+2xuQxNDm46y TYcnotnB0bIFPMjTEJcF/owvn4bMUiC3oZgtlpuT54ZE419ryyZWH4ti+zFQwsYxJjiL tzLg== X-Gm-Message-State: ALoCoQnF9T3Ajustk0tDeb2qZHBzi2w4jvo2ZOjai21BvYPtgsRvvYCWuTQiMb/9x0HW1oO2IWS9 X-Received: by 10.70.90.3 with SMTP id bs3mr65651900pdb.42.1408613109857; Thu, 21 Aug 2014 02:25:09 -0700 (PDT) Received: from localhost.localdomain ([124.73.89.210]) by mx.google.com with ESMTPSA id mj6sm5399096pdb.74.2014.08.21.02.25.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Aug 2014 02:25:08 -0700 (PDT) From: Zhangfei Gao To: Mauro Carvalho Chehab , =?UTF-8?q?David=20H=C3=A4rdeman?= , arnd@arndb.de, haifeng.yan@linaro.org, jchxue@gmail.com Subject: [PATCH v2 1/3] rc: Add DT bindings for hix5hd2 Date: Thu, 21 Aug 2014 17:24:43 +0800 Message-Id: <1408613086-12538-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1408613086-12538-1-git-send-email-zhangfei.gao@linaro.org> References: <1408613086-12538-1-git-send-email-zhangfei.gao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140821_022530_672695_41EAC76E X-CRM114-Status: GOOD ( 11.40 ) 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=-2.6 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 | 21 ++++++++++++++++++++ 1 file changed, 21 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..3240484 --- /dev/null +++ b/Documentation/devicetree/bindings/media/hix5hd2-ir.txt @@ -0,0 +1,21 @@ +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. + +Example node: + + ir: ir@f8001000 { + compatible = "hisilicon,hix5hd2-ir"; + reg = <0xf8001000 0x1000>; + interrupts = <0 47 4>; + clocks = <&clock HIX5HD2_FIXED_24M>; + hisilicon,power-syscon = <&sctrl>; + };