From patchwork Wed Feb 8 10:00:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9562143 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 4845B60434 for ; Wed, 8 Feb 2017 10:04:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37DAA26E1A for ; Wed, 8 Feb 2017 10:04:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C811284A3; Wed, 8 Feb 2017 10:04:08 +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=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no 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 D24BB26E1A for ; Wed, 8 Feb 2017 10:04:07 +0000 (UTC) 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 1cbP6c-0007Xs-OS; Wed, 08 Feb 2017 10:04:06 +0000 Received: from forward8p.cmail.yandex.net ([87.250.241.193]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbP6Y-0007VN-I4 for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2017 10:04:04 +0000 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::25]) by forward8p.cmail.yandex.net (Yandex) with ESMTP id 44A2B21096; Wed, 8 Feb 2017 13:03:08 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 473B21300A7F; Wed, 8 Feb 2017 13:02:58 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Xjz6TxVLNP-2o6urHCV; Wed, 08 Feb 2017 13:02:56 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1486548177; bh=vR89bmquQuKQ6+OJrffNPlovXnuO7TmhUCWtBVXYyPA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=krVv2s1ZCHnbkdpcS7z1ePE4OIjJFaaU5ltn728R3Zn92tMKgSGriT1QvWn170UqX YGtWX6YYHt/bI/TPlAY4pwVQ3pi925Db+/+xZkG4yagxKp0SEmWqAXLH62bpoXGZX8 XDuCGYqBsU4CQsw8eetKz+qVhHlXooQlDJ0n08vU= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 1130000036118848 From: Icenowy Zheng To: Linus Walleij , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Catalin Marinas , Will Deacon Subject: [PATCH 6/8] arm64: dts: allwinner: add device node for R_PWM Date: Wed, 8 Feb 2017 18:00:07 +0800 Message-Id: <20170208100009.29362-6-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170208100009.29362-1-icenowy@aosc.xyz> References: <20170208100009.29362-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170208_020402_809078_2D0CA9AC X-CRM114-Status: UNSURE ( 7.77 ) 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-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng , linux-arm-kernel@lists.infradead.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 Allwinner A64 SoC has two PWM controller, both are similar to the controller in H3 SoC. Add one of the controllers which lies in the "CPUs" part of the SoC. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 4b0baa79554c..6204aee5c6f4 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -432,5 +432,13 @@ #size-cells = <0>; #gpio-cells = <3>; }; + + r_pwm: pwm@01f03800 { + compatible = "allwinner,sun8i-h3-pwm"; + reg = <0x01f03800 0x8>; + clocks = <&osc24M>; + #pwm-cells = <3>; + status = "disabled"; + }; }; };