From patchwork Wed Aug 13 09:03:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 4717251 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6C2329F375 for ; Wed, 13 Aug 2014 09:08:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 981DF20127 for ; Wed, 13 Aug 2014 09:08:09 +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 B860B200F4 for ; Wed, 13 Aug 2014 09:08:08 +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 1XHUUs-0006bX-IA; Wed, 13 Aug 2014 09:05:30 +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 1XHUUl-0005QX-0s for linux-arm-kernel@lists.infradead.org; Wed, 13 Aug 2014 09:05:23 +0000 Received: by mail-pa0-f48.google.com with SMTP id et14so14446187pad.7 for ; Wed, 13 Aug 2014 02:04:52 -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=MFvxpKLrbJFilG26p8u3avnjgoIfp7jD43/5Zd5Uz7o=; b=WhODlCpZbzsMqYq6Mw5Q5k7O4hn4cN0r2WpNWHGPJW6iDkORu+PHGyXfAnEUxhoLdb u43JQdo8mPAy/zQ9lXRqGPMJqvy9C+Ie0VMmDrtNsK7t+Z/r2IyT5to78rxvTIFOilgU NPdD0MhTXBF2OG3fwp8WeGAgazpx3XYexlAYLc0rcsXvhc7osJXrqSOWOMTFcQWTMV0r mOl2VVeDWMoL0sOwWtcVX9zXqfsOyaU2Q9KHOrsGH7X9L07YmfuXGQ3nZMpB/m6hAQZo RVHzlq4+2sKaVOAiOl0RfkZ6X8ZM4G/GBENEyrx3kxLB2FVAcS6FR4h0iuIVuQW4RBBo 3Pyw== X-Gm-Message-State: ALoCoQn4hqvuevmwH3ft/zbT8iN2zzu97IM756fli8EL4JZe/ewdaqO1T1YHHfJCkp2iMWnJU1Rr X-Received: by 10.66.139.233 with SMTP id rb9mr2854591pab.5.1407920692566; Wed, 13 Aug 2014 02:04:52 -0700 (PDT) Received: from localhost.localdomain ([124.73.84.167]) by mx.google.com with ESMTPSA id pl10sm1392574pbb.56.2014.08.13.02.04.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Aug 2014 02:04:51 -0700 (PDT) From: Zhangfei Gao To: Mauro Carvalho Chehab , haifeng.yan@linaro.org, jchxue@gmail.com Subject: [PATCH 1/2] [media] rc: Add DT bindings for hix5hd2 Date: Wed, 13 Aug 2014 17:03:25 +0800 Message-Id: <1407920606-18788-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1407920606-18788-1-git-send-email-zhangfei.gao@linaro.org> References: <1407920606-18788-1-git-send-email-zhangfei.gao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140813_020523_085007_6B42E747 X-CRM114-Status: GOOD ( 11.31 ) X-Spam-Score: -1.4 (-) 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 000000000000..324048435b64 --- /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>; + };