From patchwork Thu Aug 28 15:16:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 36245 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EADE62054F for ; Thu, 28 Aug 2014 15:16:46 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id c9sf5001177qcz.8 for ; Thu, 28 Aug 2014 08:16:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=KuOPW89sBtg6ndbZaTqzQmCpKK5ONMhaEsqPSnH5D8o=; b=kDbHcrMdKJTTsBOrJnYRdbgTjMfr1fZ/4oB7fL4Cf9H3whuPfC82Fi20oo6tV2yfBn UEyXmngzZErxJVOsAYhed8pLruCQszIFQSsoqLjboFi6ADTwuSDnuZL7GFpLnV6uWZRF LdNqXf0C09uQJ1zR6w+nv7NhZPYnGRbSgYvLO0Rnh0eaG+Q4IuQrZgJSdcZvtC9paKNl OZVKKXGNCQUq+uh1sbnBI+RX+Ag1FNzEooCvA0pNHwBKNfyD8xyiUX0l4ky3ft/7jqTn OP92w8S/ZzZ0AkscleLoMcqh4V5i20JhYr6j0dsc7j7NdOWCbMD6K/UPKCXz8oDk2vr9 ywaA== X-Gm-Message-State: ALoCoQmrQBUh+B0QlzSOirOfPYcHv8ifmJBcJe41kNfmg5l2fTl+nwdL7ccutvp5uxsrb/ipnoe8 X-Received: by 10.236.100.134 with SMTP id z6mr2381373yhf.8.1409239006640; Thu, 28 Aug 2014 08:16:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.138 with SMTP id h10ls663909qgh.87.gmail; Thu, 28 Aug 2014 08:16:46 -0700 (PDT) X-Received: by 10.53.10.65 with SMTP id dy1mr1171156vdd.92.1409239006564; Thu, 28 Aug 2014 08:16:46 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id x6si3887027vdw.20.2014.08.28.08.16.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Aug 2014 08:16:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id la4so1001043vcb.29 for ; Thu, 28 Aug 2014 08:16:40 -0700 (PDT) X-Received: by 10.52.120.51 with SMTP id kz19mr1159706vdb.95.1409239000067; Thu, 28 Aug 2014 08:16:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp253043vcb; Thu, 28 Aug 2014 08:16:39 -0700 (PDT) X-Received: by 10.66.102.37 with SMTP id fl5mr6820948pab.35.1409238999085; Thu, 28 Aug 2014 08:16:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qz5si6872651pab.214.2014.08.28.08.16.38 for ; Thu, 28 Aug 2014 08:16:38 -0700 (PDT) Received-SPF: none (google.com: linux-media-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751329AbaH1PQe (ORCPT + 1 other); Thu, 28 Aug 2014 11:16:34 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:51419 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041AbaH1PQd (ORCPT ); Thu, 28 Aug 2014 11:16:33 -0400 Received: by mail-pa0-f52.google.com with SMTP id eu11so2958086pac.25 for ; Thu, 28 Aug 2014 08:16:33 -0700 (PDT) X-Received: by 10.68.69.8 with SMTP id a8mr6670793pbu.165.1409238992461; Thu, 28 Aug 2014 08:16:32 -0700 (PDT) Received: from localhost.localdomain ([180.150.153.56]) by mx.google.com with ESMTPSA id rw8sm3919967pbc.11.2014.08.28.08.16.28 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Aug 2014 08:16:31 -0700 (PDT) From: Zhangfei Gao To: Mauro Carvalho Chehab , sean@mess.org, 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 v3 1/3] rc: Add DT bindings for hix5hd2 Date: Thu, 28 Aug 2014 23:16:15 +0800 Message-Id: <1409238977-19444-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409238977-19444-1-git-send-email-zhangfei.gao@linaro.org> References: <1409238977-19444-1-git-send-email-zhangfei.gao@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zhangfei.gao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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..2bd88b9 --- /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"; + };