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: 4814761 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 91BF3C0338 for ; Sun, 31 Aug 2014 02:39:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89FC520117 for ; Sun, 31 Aug 2014 02:39:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 819972012B for ; Sun, 31 Aug 2014 02:39:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751103AbaHaCjo (ORCPT ); Sat, 30 Aug 2014 22:39:44 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:44672 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750926AbaHaCjo (ORCPT ); Sat, 30 Aug 2014 22:39:44 -0400 Received: by mail-pa0-f54.google.com with SMTP id fb1so9461410pad.13 for ; Sat, 30 Aug 2014 19:39:43 -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=xw7ghchzH+CabAN1k0BrjQovc9Ow/H1SCc2I4+6lXFo=; b=Hsm2CvnVmnyD6pX6onS6HJUIvYf8YKtUBzfN4A6mu5p1i4Rvy7orqj5Cv18etadpCU 1C9SQwvJMjoxPyzm37I9FdHJW6dwVco7TbOscqra6r10J7YSsy2tYoIdPrF2pB0afbBl nO/qYgEwg2h0p0QWLbNPsD4z9/w4q+/mWukzXWH69ZQZ15EVeqw0wYWN+JIUKhGUk5Ec C9nY6mOkg3CkzoqYLH8YNBz+nWCAZj6T0WJYiF9abGaWNWDLJTdYrk2C9eH/EXoAoh83 b7BdNFmHLNhpK+fI/K9281dawpyjpn+Z8D0sAb1HmB8x1tSJMXLnaTmQYJVC5tJplxoa bQAg== X-Gm-Message-State: ALoCoQkbQdQ+u7VHHaPgkyx7G2Sn5NrlXhuI6cdNoWrkGHVHkPlxZaosDTVcDz9R28b/DfI6sR3K 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: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 | 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"; + };