From patchwork Tue May 13 18:39:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Bersenev X-Patchwork-Id: 4170161 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 E0E5DBFF02 for ; Tue, 13 May 2014 18:40:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 104F32027D for ; Tue, 13 May 2014 18:40:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 32C8120172 for ; Tue, 13 May 2014 18:40:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754438AbaEMSkV (ORCPT ); Tue, 13 May 2014 14:40:21 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:55198 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754432AbaEMSkO (ORCPT ); Tue, 13 May 2014 14:40:14 -0400 Received: by mail-lb0-f170.google.com with SMTP id w7so610182lbi.1 for ; Tue, 13 May 2014 11:40:12 -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=z73tWvrE0SkJ9+AtAGl++8eG/VTyOwXV9tPdnntlJNA=; b=PGIXJr2v8K/WRn/os5Pmqz18xRcAvctvj2xB1GhxPxipDG4r4kqI1wreKqBB0HwqI7 X9gV72hJ8HTIMlEKw23qSusC7ZfmP4R4tInj+jnORQmpKw/SFH9Ou8T4hKYxziPM9EbK 4Dlzr/BvvCdE3JTUS5VdR1DYOp7JYcqvechptzGBG2cYys+r5oJq0neYtG6+ZB0hTSnV NHL3JrnBA3a/dSOzzNi9L+A54iSO/X0xNVxePXzQtksGyqGaa3ui5m0MCB5EWzf0HS2W 9gzinNZfVBPUIDFG4nfN1VQ0qdJpaaahsEkZdAbm5e0HJYNvtPtCWiAOs8mjkAe4Up+v SkHw== X-Gm-Message-State: ALoCoQmMn3mbpPGirsaWXB+kKaB/9zDGIBoYGYk9gYApgE7OwHIWVWJ4Njt9x/WBIc2iyzJsy9WP X-Received: by 10.152.1.8 with SMTP id 8mr19004078lai.1.1400006412625; Tue, 13 May 2014 11:40:12 -0700 (PDT) Received: from localhost.localdomain ([83.149.38.179]) by mx.google.com with ESMTPSA id n3sm5066329lan.3.2014.05.13.11.40.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 May 2014 11:40:11 -0700 (PDT) From: Alexander Bersenev To: linux-sunxi@googlegroups.com, david@hardeman.nu, devicetree@vger.kernel.org, galak@codeaurora.org, grant.likely@linaro.org, ijc+devicetree@hellion.org.uk, james.hogan@imgtec.com, linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk, m.chehab@samsung.com, mark.rutland@arm.com, maxime.ripard@free-electrons.com, pawel.moll@arm.com, rdunlap@infradead.org, robh+dt@kernel.org, sean@mess.org, srinivas.kandagatla@st.com, wingrime@linux-sunxi.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Alexander Bersenev Subject: [PATCH v6 1/3] ARM: sunxi: Add documentation for sunxi consumer infrared devices Date: Wed, 14 May 2014 00:39:00 +0600 Message-Id: <1400006342-2968-2-git-send-email-bay@hackerdom.ru> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1400006342-2968-1-git-send-email-bay@hackerdom.ru> References: <1400006342-2968-1-git-send-email-bay@hackerdom.ru> 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.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 This patch adds documentation for Device-Tree bindings for sunxi IR controller. Signed-off-by: Alexander Bersenev Signed-off-by: Alexsey Shestacov --- .../devicetree/bindings/media/sunxi-ir.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/sunxi-ir.txt diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt b/Documentation/devicetree/bindings/media/sunxi-ir.txt new file mode 100644 index 0000000..014dd8b --- /dev/null +++ b/Documentation/devicetree/bindings/media/sunxi-ir.txt @@ -0,0 +1,23 @@ +Device-Tree bindings for SUNXI IR controller found in sunXi SoC family + +Required properties: +- compatible : should be "allwinner,sun7i-a20-ir"; +- clocks : list of clock specifiers, corresponding to + entries in clock-names property; +- clock-names : should contain "apb" and "ir" entries; +- interrupts : should contain IR IRQ number; +- reg : should contain IO map address for IR. + +Optional properties: +- linux,rc-map-name : Remote control map name. + +Example: + +ir0: ir@01c21800 { + compatible = "allwinner,sun7i-a20-ir"; + clocks = <&apb0_gates 6>, <&ir0_clk>; + clock-names = "apb", "ir"; + interrupts = <0 5 1>; + reg = <0x01C21800 0x40>; + linux,rc-map-name = "rc-rc6-mce"; +};