Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1557894pxu; Fri, 16 Oct 2020 15:32:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6CPjesB04CY2TaE+JSXx81C+RLYiapQmKKhxMBf6eDT5Ejy2T5FQmhx/h16QFdQcdqzpd X-Received: by 2002:a17:906:4a98:: with SMTP id x24mr5864026eju.319.1602887548176; Fri, 16 Oct 2020 15:32:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602887548; cv=none; d=google.com; s=arc-20160816; b=Tsxxhwezx3pK+krlPz4Is55GDjE+RLyI5vgYwd8blOeZwVmxvyvi7JVibk8FvWbOcM 0j9VUgnetUlDe9lEwrj6H2AP9KmiCcVI6JcyEFKKyUlPYCjYNIBCgx0JzvvsmEApGSkb GWmWzEEYhcRugPeIxRlcpM1Zd3JRz5HsuOTmMijGmiRhDyXwdyh2AbHvmwDB32BOGh+k 5g/iq6oQFFDDJnHlVy9AM2KgUswMCtM6u848im1K5c9i3TPqlJTUgUQWGUlfYPtU54WL tAfMoCKZP1yoOem1cYxvDEVBnV6IEUptwkMp9Vj1p6/fFvsNO9u9sHfwaADWFDqrlGDb UHpQ== 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=+oJ/of7Qw64mg5bDPdUBki6EV+Di1DJQKZsfwVaB1Kc=; b=SebbM5b1iXEeDUJVkgJexgiLXX8fh+ESE/SM0XFShikOFax9B/r7u0BFYLyb2ndmH9 sV3QnZ1hfGS2AOpvwirsKwRTscRpp5wfApMaq3ELcMfpkXv+DEfZ0KgT8UTxqUqJw82r L268ieEqt8V5jLPq++cCKGs/M+vwMeN9FAHjW0HOflnYmsFTwa7z6zKsleZR8QVJZg+Z 0EUE8xwj0T2uHZnb0ZE95Wj9WTSK02A4eiSNxBSRARgixbgEPbwv53mHV7LHmcbPg1MO 8sXqmAQsPGB0967TzcwerteHesHrUwqRddN51xNcjVQaks401031bymRF+UbmBFD0qJo xGiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=eUe9lvGq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si2717145ejy.301.2020.10.16.15.32.06; Fri, 16 Oct 2020 15:32:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=eUe9lvGq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409789AbgJPVAG (ORCPT + 99 others); Fri, 16 Oct 2020 17:00:06 -0400 Received: from mxwww.masterlogin.de ([95.129.51.170]:58494 "EHLO mxwww.masterlogin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388893AbgJPVAE (ORCPT ); Fri, 16 Oct 2020 17:00:04 -0400 X-Greylist: delayed 600 seconds by postgrey-1.27 at vger.kernel.org; Fri, 16 Oct 2020 17:00:02 EDT Received: from mxout4.routing.net (unknown [192.168.10.112]) by backup.mxwww.masterlogin.de (Postfix) with ESMTPS id 30C102C45D; Fri, 16 Oct 2020 20:40:47 +0000 (UTC) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout4.routing.net (Postfix) with ESMTP id 4B95B1009C6; Fri, 16 Oct 2020 20:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1602880842; 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=+oJ/of7Qw64mg5bDPdUBki6EV+Di1DJQKZsfwVaB1Kc=; b=eUe9lvGqDR4qOexUreKNT6xAZ3cq5G+LK1YXUcwEXLPnxsZS5z6JSL4vhsIwXo4dvtkjZC W1/vc2hfU4vbmMTBzwMtwuGtESH6qDP1L22A0AkgiY4beFqtZ6jzNgMKfOtmZ/hI0uEAiG SQeRDbehoA6haIxXmXWDYPUhOc9Qd2Y= Received: from localhost.localdomain (fttx-pool-80.208.213.194.bambit.de [80.208.213.194]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id AF64036023B; Fri, 16 Oct 2020 20:40:41 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Rob Herring , Matthias Brugger , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Wang , Linus Walleij , linux-gpio@vger.kernel.org Subject: [RFC 1/3] dts64: mt7622: enable all pwm for bananapi r64 Date: Fri, 16 Oct 2020 22:40:17 +0200 Message-Id: <20201016204019.2606-2-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201016204019.2606-1-linux@fw-web.de> References: <20201016204019.2606-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Wunderlich mt7622 only supports 6 pwm-channels so drop pwm7 third pwm (pwm2) is inverted and connected to fan-socket Signed-off-by: Frank Wunderlich --- .../boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts index 1cc4dcb0008c..ad5b1592182d 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts @@ -414,10 +414,15 @@ mux { }; }; - pwm7_pins: pwm1-2-pins { + pwm_pins: pwm-pins { mux { function = "pwm"; - groups = "pwm_ch7_2"; + groups = "pwm_ch1_0", /* mt7622_pwm_ch1_0_pins[] = { 51, }; */ + "pwm_ch2_0", /* mt7622_pwm_ch2_0_pins[] = { 52, }; */ + "pwm_ch3_2", /* mt7622_pwm_ch3_2_pins[] = { 97, }; */ + "pwm_ch4_1", /* mt7622_pwm_ch4_1_pins[] = { 67, }; */ + "pwm_ch5_0", /* mt7622_pwm_ch5_0_pins[] = { 68, }; */ + "pwm_ch6_0"; /* mt7622_pwm_ch6_0_pins[] = { 69, }; */ }; }; @@ -537,7 +542,7 @@ mux { &pwm { pinctrl-names = "default"; - pinctrl-0 = <&pwm7_pins>; + pinctrl-0 = <&pwm_pins>; status = "okay"; }; -- 2.25.1