Message ID | 20230421132047.42166-6-linux@fw-web.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1069391vqo; Fri, 21 Apr 2023 06:31:51 -0700 (PDT) X-Google-Smtp-Source: AKy350ZsExjt8UKrwR5N8F8ZVtVcO/ofCTTAIWP1VcYqgUUD1RkGW+oyHjdphdVKHlLRZxmOM2tW X-Received: by 2002:a05:6a20:914b:b0:ef:890c:3005 with SMTP id x11-20020a056a20914b00b000ef890c3005mr6851618pzc.17.1682083911692; Fri, 21 Apr 2023 06:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682083911; cv=none; d=google.com; s=arc-20160816; b=vSksk4xx3CElg9ZYWuRC6i59BIDb5uNd+R4anFxZg7FIvtjUxKIf7HT6KuSOfKCpQY bFNiIy05/ftXXercCV/y5mGJTwFiOy63fkZetvyrDG7ozWyXahJV1FkUbrr5idouoqWF EAiPyHsmZa/Z7kh67FAEls9DUaKfkfSX6Gj/QuaODcJeFvaxcyGMIp/QtCqbFo0HnmIU bflrJEAOiANxVC6EEd3nfHQ/aned22J7QJAnb13KEFUrAj/x/Tze2MDZ3i1UVh+UlU5T O+5NoxYdOEUJ27/bMSddwD6fn3IFNXgVWxHzoC4DDHWrd5vA9y5G2rD0VaxsT6uQmBXE YtyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=t44L4PTrhbK6D0p+6ylhl2O6MzEiiAOATjFq63Zbih0=; b=J3X8Sv+0OU4rFPAH1UUNspHPGoV8FpgmWAoTFQmHtVtTu0bajWEzWbsYhjh0pMYJLm /13d3XZA6uDEQrlxRQOg2EqHp20zDDFJ9npYo3p5GG6zldM6cvn1bLv37Y1LTMoEX7j4 QWWCCnAp7iKtw15OaLfjuYllMmxUqAqDgm5tKk1kKVrDdBgJMtfYeOq5FEZEyUpNNBnB KhwcZFsSvwlyA4PFmvBOpMXdp0Tah5OYMotYdU5nqxCJj09Cy2cHteZDxSYh3SiYSm72 o8H2IAhsyPrfAfSdZBhIbU2QP6M9zx2QwUc+1laIQEudyxIQTF3V3Gyp5x1SxQqoXsEU UrVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=um3C1eaz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l190-20020a6388c7000000b0051446aaeaf1si4197900pgd.637.2023.04.21.06.31.39; Fri, 21 Apr 2023 06:31:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=um3C1eaz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232392AbjDUNaG (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Fri, 21 Apr 2023 09:30:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232196AbjDUN3z (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Apr 2023 09:29:55 -0400 Received: from mxout4.routing.net (mxout4.routing.net [IPv6:2a03:2900:1:a::9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F35E410E0; Fri, 21 Apr 2023 06:29:53 -0700 (PDT) Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout4.routing.net (Postfix) with ESMTP id 23B3B10120C; Fri, 21 Apr 2023 13:20:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1682083258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t44L4PTrhbK6D0p+6ylhl2O6MzEiiAOATjFq63Zbih0=; b=um3C1eazgsWx7DDRNeT2e+DxzwF4WC8m0/DlYPXzFbgljHNLd6wjLt/WNWOzkIWkwT3KnK eGX6kFXGwRaQuRY1eY0GFUWOtE4VUusjdt1S2pfe5FFwEcIdUYvhysVEcSlne0lt6sWrv1 5X1rCnQsMMD31XJKTYTJUoU6gcBYBU8= Received: from frank-G5.. (fttx-pool-217.61.159.143.bambit.de [217.61.159.143]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 2A9711007E3; Fri, 21 Apr 2023 13:20:57 +0000 (UTC) From: Frank Wunderlich <linux@fw-web.de> To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich <frank-w@public-files.de>, Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, "Hui.Liu" <hui.liu@mediatek.com>, Zhiyong Tao <zhiyong.tao@mediatek.com>, Andrew-CT Chen <andrew-ct.chen@mediatek.com>, Lala Lin <lala.lin@mediatek.com>, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Daniel Golle <daniel@makrotopia.org> Subject: [PATCH v1 5/7] arm64: dts: mt7986: add PWM to BPI-R3 Date: Fri, 21 Apr 2023 15:20:45 +0200 Message-Id: <20230421132047.42166-6-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230421132047.42166-1-linux@fw-web.de> References: <20230421132047.42166-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: 2a9dabd6-f8f5-4683-b208-d6dbddd4de4e X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763792819313192133?= X-GMAIL-MSGID: =?utf-8?q?1763792819313192133?= |
Series |
[v1,1/7] dt-bindings: nvmem: mediatek: efuse: add support for mt7986
|
|
Commit Message
Frank Wunderlich
April 21, 2023, 1:20 p.m. UTC
From: Frank Wunderlich <frank-w@public-files.de> Add pwm node and pinctrl to BananaPi R3 devicetree. Signed-off-by: Frank Wunderlich <frank-w@public-files.de> --- .../boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Comments
On 21/04/2023 15:20, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > Add pwm node and pinctrl to BananaPi R3 devicetree. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Applied, thanks > --- > .../boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > index 2b028141f1f7..782519429497 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > @@ -274,6 +274,13 @@ mux { > }; > }; > > + pwm_pins: pwm-pins { > + mux { > + function = "pwm"; > + groups = "pwm0", "pwm1_0"; > + }; > + }; > + > spi_flash_pins: spi-flash-pins { > mux { > function = "spi"; > @@ -344,6 +351,12 @@ mux { > }; > }; > > +&pwm { > + pinctrl-names = "default"; > + pinctrl-0 = <&pwm_pins>; > + status = "okay"; > +}; > + > &spi0 { > pinctrl-names = "default"; > pinctrl-0 = <&spi_flash_pins>;
diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts index 2b028141f1f7..782519429497 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts @@ -274,6 +274,13 @@ mux { }; }; + pwm_pins: pwm-pins { + mux { + function = "pwm"; + groups = "pwm0", "pwm1_0"; + }; + }; + spi_flash_pins: spi-flash-pins { mux { function = "spi"; @@ -344,6 +351,12 @@ mux { }; }; +&pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_pins>; + status = "okay"; +}; + &spi0 { pinctrl-names = "default"; pinctrl-0 = <&spi_flash_pins>;