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: 10116793 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 B9550603FA for ; Sat, 16 Dec 2017 02:50:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5D602A0B2 for ; Sat, 16 Dec 2017 02:50:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AB432A0B5; Sat, 16 Dec 2017 02:50:35 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 518652A0B2 for ; Sat, 16 Dec 2017 02:50:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756778AbdLPCtZ (ORCPT ); Fri, 15 Dec 2017 21:49:25 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:40143 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756742AbdLPCtV (ORCPT ); Fri, 15 Dec 2017 21:49:21 -0500 Received: by mail-wm0-f67.google.com with SMTP id f206so20606539wmf.5; Fri, 15 Dec 2017 18:49:20 -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=O2aMZoxl7PEF+LSTiWMS6J5FDZt9eteHnzcKp2iRyIi0CbuMsGSfPwmpV9bnWeiEV8 L+nk3O1Rf/p2rP23ngsR7n07GlejDnwKoFOqKCjWjwdHrbDE/GUVh77d1xpJuKInCl6/ a6RiszI7ZuuRwlbKhxl/1VByDFKS2zPMbA461qVBPgnFx5jB6FGop4jWx6fgl+IdS5Ih z43ap0MAb64w/GfShmD1hcYIi8L8W6fz9K37VmtiS4jz7eXxQ9u+7OThDNxfG2VPABqo 3UIm9CkhMK9f2MZwU+RdnHXekP+GVxpOdgZQrU/bo9XJmojT/MJnpwNyT5tPArRA5oVf pPQA== X-Gm-Message-State: AKGB3mJvop3wbYy/EJTCnEUgSNMEQ9SKPReDRlxcNzoah1L1g02nrAiz tnL8xSHP62CBVv5dZVbFtHI= 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 Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.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> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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"; };