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: 4756221 Return-Path: X-Original-To: patchwork-linux-media@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 9BDE19F2E9 for ; Thu, 21 Aug 2014 09:25:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8325B20172 for ; Thu, 21 Aug 2014 09:25:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 638BB20160 for ; Thu, 21 Aug 2014 09:25:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754299AbaHUJZM (ORCPT ); Thu, 21 Aug 2014 05:25:12 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:50854 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754296AbaHUJZK (ORCPT ); Thu, 21 Aug 2014 05:25:10 -0400 Received: by mail-pa0-f41.google.com with SMTP id rd3so14171530pab.14 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=fRiY+g90f3gJipPTi4faC/4tAtpeSDg2p0MZcklYQJ1KeORbsm3GFVKgTmjBPH7ESk 1WJUvbbYEnWbzMf4BBH4G2d6BIG0OxyRmfs2pGYkogM3STs0gsOY+MPoD+Ha6Xg8TcV3 ff8BtWZQGUbD0kRmCV4np7pjKEWpF1gQqUC+aGuAk/McGWbOGE0V+ZrEa/4xyAH40jqu OmzowN7voFrSplRntHarjsY0z27hcwE/nJP9Ys0pRjKD8UbfyQzE6FhylF0GmTjicGGc 8oLc13aIUPjKMlkGf5u4rwWBExKipJt3CSzfvdJQAi7pt5KOYa4VQGqeR5+OvusA4iEY WQVQ== X-Gm-Message-State: ALoCoQkVUbhhr3PWpUKuLtR0HE4KLzd9CT0+Fw9N4jsWuylgVm8w4wu756ipukS2SznMwjsW83gC 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, Guoxiong Yan , Zhangfei Gao 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> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.6 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 | 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>; + };