From patchwork Wed Feb 8 10:00:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9562145 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 AFF1660434 for ; Wed, 8 Feb 2017 10:05:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A28932845E for ; Wed, 8 Feb 2017 10:05:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9774A2849E; Wed, 8 Feb 2017 10:05:19 +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 420BB2845E for ; Wed, 8 Feb 2017 10:05:19 +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 1cbP7l-00010a-TT; Wed, 08 Feb 2017 10:05:17 +0000 Received: from forward17p.cmail.yandex.net ([87.250.241.131]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbP7i-00087S-1Z for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2017 10:05:16 +0000 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::25]) by forward17p.cmail.yandex.net (Yandex) with ESMTP id B155D21C70; Wed, 8 Feb 2017 13:04:48 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 249481300F09; Wed, 8 Feb 2017 13:04:32 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Xjz6TxVLNP-4P68RDgd; Wed, 08 Feb 2017 13:04:30 +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=1486548271; bh=+bJX3emeoAxkhGDazZF/8nOwtOGKUri2O+5dtHrv7Ec=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=W+IzaFm9RIavNk+VpiPG9XzkAVTecUAt1bMibFMv/V0sE9CZ27Hjn3r2H6dlgB4hJ xtth73J8riNpXaiWyNlRLSSQ9LRI8Svu0Bmlw3rx4nULEEGPkMakq60ELLN0oDONWy amKLHlWcl/Lk9fMaeCRW5zF3y5RbzJrkhboYXxo0= 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 7/8] arm64: dts: allwinner: add pinmux for A64's r_pwm Date: Wed, 8 Feb 2017 18:00:08 +0800 Message-Id: <20170208100009.29362-7-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_020514_310905_DE9F3F9F X-CRM114-Status: UNSURE ( 8.44 ) 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 As the r_pwm controller in A64 have only one pinmux (PL10), and being routed to the Pine64's "PI-2-bus", add the pinmux node in r_pio, then make it the default pinctrl node for r_pwm node. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 6204aee5c6f4..6e34f5adcf06 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -431,12 +431,19 @@ #address-cells = <1>; #size-cells = <0>; #gpio-cells = <3>; + + r_pwm_pins: pwm@0 { + pins = "PL10"; + function = "s_pwm"; + }; }; r_pwm: pwm@01f03800 { compatible = "allwinner,sun8i-h3-pwm"; reg = <0x01f03800 0x8>; clocks = <&osc24M>; + pinctrl-0 = <&r_pwm_pins>; + pinctrl-names = "default"; #pwm-cells = <3>; status = "disabled"; };