From patchwork Sun Aug 31 02:39:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 36325 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 57AD82054F for ; Sun, 31 Aug 2014 02:39:52 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f73sf15951862yha.3 for ; Sat, 30 Aug 2014 19:39: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: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=GGBvwVjNJaxKoWFgTXi/VHnJP3r9BRCULD9LiUx+KE8=; b=JCwsdr5IYjV1YwYM6rvcktuFNsfOzJiqFf2VL8SbqE03PDj90SpmIwXBfYW8IMLCJF ggx+0EpxqIHZrrpYBw9YdA4cQZF005rSnZOI9H5LxFET+6KK9BUHKpIJkgW5XAd0xZof JixDtuBqr7MpbKnhMOw6BAVM5PlFosWm8MyLtXc4iM8ApBU44CKugnnyssxItum5m+5G vgwh031jku0b9OUGZRge2QOwlc0R6KebcIMhHecEIrPPoOy39PQ1QUajkNb69CJ7ZyfR +KCxGyV5ENLHYN+prBwEVeEI2YgtQa6ShZrkeF9aOKuZREksxnqfV1FdNgY+XzbEQCoj soXA== X-Gm-Message-State: ALoCoQmL1dbsjpbAv/lcKhdCx6mcMLMSfN1Ekg4fLItOQYHaZyvzM2cMtrb+h/ClEf5+qbPdJOCU X-Received: by 10.236.227.169 with SMTP id d39mr9188484yhq.45.1409452792177; Sat, 30 Aug 2014 19:39:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.206 with SMTP id l72ls1585530qgl.46.gmail; Sat, 30 Aug 2014 19:39:52 -0700 (PDT) X-Received: by 10.52.238.227 with SMTP id vn3mr2928921vdc.47.1409452792110; Sat, 30 Aug 2014 19:39:52 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id sd10si2556054vdb.79.2014.08.30.19.39.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 30 Aug 2014 19:39:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id lf12so4114485vcb.39 for ; Sat, 30 Aug 2014 19:39:52 -0700 (PDT) X-Received: by 10.220.86.193 with SMTP id t1mr6560541vcl.22.1409452792015; Sat, 30 Aug 2014 19:39:52 -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 uj3csp214108vcb; Sat, 30 Aug 2014 19:39:51 -0700 (PDT) X-Received: by 10.69.25.35 with SMTP id in3mr28115012pbd.63.1409452790982; Sat, 30 Aug 2014 19:39:50 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uu9si7156479pac.85.2014.08.30.19.39.50 for ; Sat, 30 Aug 2014 19:39:50 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1751107AbaHaCjo (ORCPT + 5 others); Sat, 30 Aug 2014 22:39:44 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:35419 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751000AbaHaCjo (ORCPT ); Sat, 30 Aug 2014 22:39:44 -0400 Received: by mail-pa0-f54.google.com with SMTP id fb1so9284823pad.41 for ; Sat, 30 Aug 2014 19:39:43 -0700 (PDT) X-Received: by 10.68.94.34 with SMTP id cz2mr27650170pbb.7.1409452783501; Sat, 30 Aug 2014 19:39:43 -0700 (PDT) Received: from localhost.localdomain ([124.73.11.18]) by mx.google.com with ESMTPSA id k9sm6014480pdp.95.2014.08.30.19.39.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 30 Aug 2014 19:39:42 -0700 (PDT) From: Zhangfei Gao To: Mauro Carvalho Chehab , sean@mess.org, arnd@arndb.de, varkabhadram@gmail.com, 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 v4 1/2] rc: Add DT bindings for hix5hd2 Date: Sun, 31 Aug 2014 10:39:09 +0800 Message-Id: <1409452751-17463-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409452751-17463-1-git-send-email-zhangfei.gao@linaro.org> References: <1409452751-17463-1-git-send-email-zhangfei.gao@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.180 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..fb5e760 --- /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"; + };