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: 35329 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 78DD2203C5 for ; Wed, 13 Aug 2014 09:04:57 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id w7sf13864917qcr.3 for ; Wed, 13 Aug 2014 02:04:57 -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=tgCbSNHeyNnRdLGtDocYc7O+WAH5wFYyx9xjLl6Xd78=; b=DiUsUd1/LYqEp9U5l1kxBE8ewuwiAaav2BYtavXoNCAr+OsEiQ1vNi9ApFMomfQztL P/RtP3ulV1HcWeiWSAWTTvGT3Fum7SqkWJF+3rO2jPe/fDlXFw52ILzPlWFPuL8KWgC8 TQ8lnLWg4TMevN0MmF8geggtf7WRemFkXQEggRlTWe8Mgp5Toeu2Aio+lzSTrj1EKyje fbZTlIAMokaHmTkZXABpIaQAqkZS7dY0+gN9CcJpt5zNxXymZKc/40vA1Qtp4hGJzNTz x+h0NJIf1GqsR2TQ1vOoc2nqzPrksulBmWuPK6mY7n2hrJq+aDIn52ZoEVE7pzgE2m/m u9ig== X-Gm-Message-State: ALoCoQmW3/bBQ5ORgwMb2w1n0WnCgYnOSOvq8s7ljmEBRDraT9TeCVZ0A1YjA15BoHifs+rD1TTX X-Received: by 10.236.209.97 with SMTP id r61mr1278535yho.33.1407920697265; Wed, 13 Aug 2014 02:04:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.37.72 with SMTP id q66ls555835qgq.49.gmail; Wed, 13 Aug 2014 02:04:57 -0700 (PDT) X-Received: by 10.53.7.204 with SMTP id de12mr2023641vdd.41.1407920697159; Wed, 13 Aug 2014 02:04:57 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id ym14si731894vdc.50.2014.08.13.02.04.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Aug 2014 02:04:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ik5so14710053vcb.34 for ; Wed, 13 Aug 2014 02:04:57 -0700 (PDT) X-Received: by 10.220.172.8 with SMTP id j8mr2533444vcz.32.1407920697045; Wed, 13 Aug 2014 02:04:57 -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.37.5 with SMTP id tc5csp314113vcb; Wed, 13 Aug 2014 02:04:56 -0700 (PDT) X-Received: by 10.68.244.40 with SMTP id xd8mr3037877pbc.24.1407920696087; Wed, 13 Aug 2014 02:04:56 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kj10si1048097pbd.63.2014.08.13.02.04.55 for ; Wed, 13 Aug 2014 02:04:56 -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 S1751530AbaHMJEy (ORCPT + 1 other); 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-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: 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.175 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 | 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>; + };