From patchwork Wed May 24 12:13:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9745921 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 A2A8F601C2 for ; Wed, 24 May 2017 12:15:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 902AA2896C for ; Wed, 24 May 2017 12:15:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 831BC2896F; Wed, 24 May 2017 12:15:48 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 85ACA2896C for ; Wed, 24 May 2017 12:15:47 +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=xjxXRAwpLMYYBWNDUAOdltJ2XIspSwWs9dfRlHzkEs0=; b=d/H6uOwGnL97/3a7wKRzYMogcr voF0KZO6kkOFREfk5nUDWOvCEchPFTQBq3S7Z1ZfbKDz6moAtkkbB1A9U+xLSxCO8Kf+pFX7cTPl6 zI8R3hxFHI3c7d97qHo+rdSImPE8UHkSOgvVfIhNPXno0Ls07P5g/Id+orpLvVJ9LLbUjJS1ilK7k fqN135Ocz/u6pC97P3OViKFtD3YYxTFflKDZDQt8T9MiuRDZ+DrE3sQAj6Cy+urIp05sdsyNZ+bqj Z6gvgACYwbTrYlBhJc3ccXo/3zUBnUsw2Us8qJUODVyItbhCobMBUyghSlIZAdYXGwt9lyn2YCZ2q 9aw34m2Q==; 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 1dDVCc-0006kA-EY; Wed, 24 May 2017 12:15:46 +0000 Received: from dragonfly.birch.relay.mailchannels.net ([23.83.209.51]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dDVCR-0006SY-Ic for linux-arm-kernel@lists.infradead.org; Wed, 24 May 2017 12:15:44 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 480FD205444; Wed, 24 May 2017 12:15:10 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.126.214]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 6DADB204E57; Wed, 24 May 2017 12:15:09 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.82.168]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.3); Wed, 24 May 2017 12:15:10 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Descriptive-Suffer: 79182bba1d619c4f_1495628109905_3307999220 X-MC-Loop-Signature: 1495628109905:3026570343 X-MC-Ingress-Time: 1495628109905 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id CEA5F4FAA5; Wed, 24 May 2017 12:13:59 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai Subject: [PATCH 2/3] ARM: sun8i: v3s: add PWM pinmux nodes Date: Wed, 24 May 2017 20:13:19 +0800 Message-Id: <20170524121320.4171-2-icenowy@aosc.io> In-Reply-To: <20170524121320.4171-1-icenowy@aosc.io> References: <20170524121320.4171-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170524_051536_003363_1A90594F X-CRM114-Status: UNSURE ( 6.53 ) 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, Icenowy Zheng 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 V3s have two PWM channels, the first channel can be only at PB4 pin, and the second channel PB5. Add their pinmux configurations. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index bb080c4bd22c..db3328a2c89a 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -239,6 +239,16 @@ pins = "PC0", "PC1", "PC2", "PC3"; function = "spi0"; }; + + pwm0_pins: pwm0 { + pins = "PB4"; + function = "pwm0"; + }; + + pwm1_pins: pwm1 { + pins = "PB5"; + function = "pwm1"; + }; }; timer@01c20c00 {