From patchwork Thu Aug 21 09:24:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 35733 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0724C20540 for ; Thu, 21 Aug 2014 09:25:14 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lf10sf77888154pab.5 for ; Thu, 21 Aug 2014 02:25:14 -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=6SKv8u/C3q67OUuyQV7jm/o6MIz6dtRCqjG+p/2JUMg=; b=SthzLaaOfClod3pJMXqQuDFe9dNN7WSz0a85AmXHKsPjce41sbpWdlvtr7T6nFsslb CwqHJ71+TF+gC1A8FskXz0oH6BSkLrxSECW8BLvHCbSuZWdoWEhX0gcd4kIgOeemp9qO l2Cw+5VdcSB14iQQHmdLof1yBbx933B1mF4OAgQ5GZpUhUXBr1Y59IIQVONOx8jZvFaD 3MbuR0RBoR7yNHshmxrrKV+J9xAj0wg5APWqq/UZaTsLWJ2ehqNNPuKgBFM2vsV9J1gW XdbDX6W3cI8aVBL39tu7uiuHwF7i3itzlrO9j4BX9T/JeljZzzRBKT5o1A1kAeiOWyvS a9fQ== X-Gm-Message-State: ALoCoQlf+YOwwk9zRswDGcfzpyia6qnK47njPXpVimJ8dwvcJCM5C55o5o6bXiDA/8n2W3mT+mvw X-Received: by 10.68.204.97 with SMTP id kx1mr28909398pbc.7.1408613114323; Thu, 21 Aug 2014 02:25:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.240 with SMTP id 103ls611535qgn.28.gmail; Thu, 21 Aug 2014 02:25:14 -0700 (PDT) X-Received: by 10.52.94.108 with SMTP id db12mr2618043vdb.8.1408613114220; Thu, 21 Aug 2014 02:25:14 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id ss5si12131354vdc.106.2014.08.21.02.25.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Aug 2014 02:25:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hq11so10530257vcb.10 for ; Thu, 21 Aug 2014 02:25:14 -0700 (PDT) X-Received: by 10.221.44.69 with SMTP id uf5mr40874325vcb.4.1408613114141; Thu, 21 Aug 2014 02:25:14 -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 uj3csp120074vcb; Thu, 21 Aug 2014 02:25:13 -0700 (PDT) X-Received: by 10.70.134.205 with SMTP id pm13mr38191472pdb.80.1408613113167; Thu, 21 Aug 2014 02:25:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si35674984pdo.110.2014.08.21.02.25.12 for ; Thu, 21 Aug 2014 02:25:13 -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 S1754298AbaHUJZL (ORCPT + 6 others); Thu, 21 Aug 2014 05:25:11 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:45526 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754088AbaHUJZK (ORCPT ); Thu, 21 Aug 2014 05:25:10 -0400 Received: by mail-pa0-f41.google.com with SMTP id rd3so13908639pab.0 for ; Thu, 21 Aug 2014 02:25:09 -0700 (PDT) X-Received: by 10.70.90.3 with SMTP id bs3mr65651900pdb.42.1408613109857; Thu, 21 Aug 2014 02:25:09 -0700 (PDT) Received: from localhost.localdomain ([124.73.89.210]) by mx.google.com with ESMTPSA id mj6sm5399096pdb.74.2014.08.21.02.25.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Aug 2014 02:25:08 -0700 (PDT) From: Zhangfei Gao To: Mauro Carvalho Chehab , =?UTF-8?q?David=20H=C3=A4rdeman?= , 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 v2 1/3] rc: Add DT bindings for hix5hd2 Date: Thu, 21 Aug 2014 17:24:43 +0800 Message-Id: <1408613086-12538-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1408613086-12538-1-git-send-email-zhangfei.gao@linaro.org> References: <1408613086-12538-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.179 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 0000000..3240484 --- /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>; + };