From patchwork Sat Dec 16 02:49:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10116795 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5B025603FA for ; Sat, 16 Dec 2017 02:50:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45E0F2A0B2 for ; Sat, 16 Dec 2017 02:50:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AB842A0B5; Sat, 16 Dec 2017 02:50:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B7D522A0B2 for ; Sat, 16 Dec 2017 02:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=TT6hHc8+v/8RnO/SbuaPLHh+1D2fg7UOVZriBAPrIiM=; b=kJ1/sQ/+tFCComArY+JMBQsUn8 u4uZkZlRbNqs6ZzM8NNKMbpe5tjJZygmoxc0Bps8O86p6F8m/C7sxgOIzz4sd3ey8Dj5zTgyGIku6 UPbTx4syLjZANmAB6xa4AkzX9vzIYDG0cHVVTx84Q/xGFvFe6tMkg5B9AjNoK3jvfWo6u6oH324Jn CklZ5515HopbSMkllDFQC1VheYWJejFxL9WkunQNNFJXHvYGyS2Q8IDgCWJII6f/N14mBvHv6Y/1g iTcnDX82lUTX+hgQA98MDqhOB5Dogy/MOdOYdjLR2bMJvG0BiQR3c9RETH6UXZdBAHFX1ZiZdcyam ik77kMtA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eQ2Yf-0002De-OS; Sat, 16 Dec 2017 02:50:37 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eQ2Xr-0000F8-KU for linux-arm-kernel@lists.infradead.org; Sat, 16 Dec 2017 02:49:58 +0000 Received: by mail-wm0-x243.google.com with SMTP id 64so20656284wme.3 for ; Fri, 15 Dec 2017 18:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3uuDwsMTDVzE19Ecm6oLd12fjgW7pQ9rfpAh1egf/38=; b=V3LhYmXMvYCkTd9c9evL9Qi9s+MJxGpxr8B2jX6scaoB8TgXtZVhoHekTxC8yfyFuq 7vm07vkI1ncgLRmVrSqNCJsNbPHD65o+S0N+2uPBC2D9691mEDJ/ZE0VpVZ/oqQ72Vis 4WyYnH9zZFs14M3I5AkxxgMpdXWqi2cNJYUn7LBVJDWCGl7W7bZ7ozymxTHHYmE+cUjm Vrpm/Z6aJzT7Nq/5tMIg+zZDpWisnv5S82Vh12zxE8mtL85B7n7+C29v/z7lo+q/hTgh UKXviEgEsL/gbfu1f+HDwDE0ZawsovXMqR3I5AJKKiXhaIzRvWpjW9BKxhtG7yA4VcGK zFsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3uuDwsMTDVzE19Ecm6oLd12fjgW7pQ9rfpAh1egf/38=; b=jMQSVng2Wsp1ky7XDmmRJ/nbV01I2NArspHIIliAL0geA7v6jJGiGPLjC50Mw/jzN9 b2aOpDMT4r+BaQKmBjrnVPoPg3M0uZYz2GUkCqBygMCiAi2vbZ4CTtXMeGdwO+SqY/X3 d6hqjOOia3jfkit9hCI1lSJ/7FtPMa5y5epNA1pWMor3DqtWaDQAYygkkF/59EwW7eIJ uEi8zFRJR3sevaePXdz8ze3mV17tJ0VhnoGYrAgrG+s3XwKOHzmQBfU8uGoS89BHuPgO lbNuSc266qxbp3UJiWXtEleMO26+u8Yn2VFJz24SvCTpeRcOl+OvbZwd2Q5kp/tNQYAo Q9Dg== X-Gm-Message-State: AKGB3mKhM4q4Yr3z1Tdf3bvdcFHt5PMOLk0a/1rJy3qQHRRhBc8WbVC6 jCCkBn9oZI0WLnZJ2xLqcpM= X-Google-Smtp-Source: ACJfBos3pSZIvkAR5oRo/+mkPgfkZK77OtBSl0xjBwOJ8dFT0VCkRlJW1U4/GmnaGVYM8/12A55W5w== X-Received: by 10.28.170.137 with SMTP id t131mr6267041wme.137.1513392559792; Fri, 15 Dec 2017 18:49:19 -0800 (PST) Received: from debian-laptop.fritz.box (p5B3DDB65.dip0.t-ipconnect.de. [91.61.219.101]) by smtp.gmail.com with ESMTPSA id r19sm3713035wrg.83.2017.12.15.18.49.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Dec 2017 18:49:19 -0800 (PST) From: Philipp Rossak To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, sean@mess.org, p.zabel@pengutronix.de, andi.shyti@samsung.com Subject: [RFC 2/5] [media] dt: bindings: Update binding documentation for sunxi IR controller Date: Sat, 16 Dec 2017 03:49:11 +0100 Message-Id: <20171216024914.7550-3-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171216024914.7550-1-embed3d@gmail.com> References: <20171216024914.7550-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171215_184948_058424_9D54E92E X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch updates documentation for Device-Tree bindings for sunxi IR controller and adds the new requiered property for the base clock frequency. Signed-off-by: Philipp Rossak --- Documentation/devicetree/bindings/media/sunxi-ir.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt b/Documentation/devicetree/bindings/media/sunxi-ir.txt index 91648c569b1e..5f4960c61245 100644 --- a/Documentation/devicetree/bindings/media/sunxi-ir.txt +++ b/Documentation/devicetree/bindings/media/sunxi-ir.txt @@ -1,12 +1,13 @@ Device-Tree bindings for SUNXI IR controller found in sunXi SoC family Required properties: -- compatible : "allwinner,sun4i-a10-ir" or "allwinner,sun5i-a13-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. +- compatible : "allwinner,sun4i-a10-ir" or "allwinner,sun5i-a13-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. +- base-clk-frequency : should contain the base clock frequency Optional properties: - linux,rc-map-name: see rc.txt file in the same directory. @@ -21,5 +22,6 @@ ir0: ir@1c21800 { resets = <&apb0_rst 1>; interrupts = <0 5 1>; reg = <0x01C21800 0x40>; + base-clk-frequency = <8000000>; linux,rc-map-name = "rc-rc6-mce"; };