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: 4717201 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 CE3489F375 for ; Wed, 13 Aug 2014 09:04:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DD3BA2014A for ; Wed, 13 Aug 2014 09:04:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0D23220127 for ; Wed, 13 Aug 2014 09:04:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751530AbaHMJEy (ORCPT ); Wed, 13 Aug 2014 05:04:54 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:38047 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751155AbaHMJEw (ORCPT ); Wed, 13 Aug 2014 05:04:52 -0400 Received: by mail-pd0-f169.google.com with SMTP id y10so14233592pdj.0 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=cPUcHBQWZupT/Vv0VMBtcWTxPN90bMOgYOl2i9k32UKscqZAUTigd1j9h5aZxyvXP3 r2kjbxp7vuhg0Xj1Z6Lsfg9ifM4/u6hWeNoIEDt5hLE+EzrgH0QlI6dAehFETaldlZXu nK2bw3jh1bfve8fGSi7iAShVmhLvruHxwmHJmywZOFVPHksJ/NFCnsEydae6coVdWmVc tn6ZuEXozy7qPQ77o2AQDAhM/FL7+TddGg89isHLXVQkXTub75LA5LXl2yMiulp+35hm OavVZ6+fmman7KZiuyZIgZz3rosMW7T5lJQZNKquAJOFrYy0KcEK5Z4teOGIjJKNJShl P9tg== X-Gm-Message-State: ALoCoQnRg4UPQhIh66n+58IRBmwzsxdrDk/+LfWTI1PFip37gY8VdUqfxH5SKYb+R1H/A2p+edDi 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, Guoxiong Yan , Zhangfei Gao 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> 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 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>; + };