From patchwork Mon Jan 3 15:46:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 12702619 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88A0BC433EF for ; Mon, 3 Jan 2022 15:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hkr/0zSm79NScoc57cPxr4Wkoj2rxwhRJ1HUfaJD8iQ=; b=R/Uk5xJiRZJChz 71XBAh8LoCd2D5vVqGK5RRgCNmg0Y/i1dWgWdDbYmYE4pk/I1DdGg0VyT5KqM24GeroGQVrouBjE2 g9syS3TINcoT2srM5K88/SYCGDaUfQzNTFd7PNfP/Z0bvRQWoIhbsECY3MWCp2pUfYTFbBjeOH39S hWlwJBaog0iFZLSgYHy126L1IY54c8M6r2x3mybRRDxX1b6ly9nXDZ6jsg88bku3FGhAjPOeS5rfX uBixhoxfI9+l5PMHASCQzNPIIPTAtk5mMdREfBQQ4iBrvHHmRPf+SwQKmZC+/eGaZFaKBXriHn/n5 KG6sOUgJrm6WARp+Q18g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4PYJ-009ONc-Nc; Mon, 03 Jan 2022 15:47:15 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4PY0-009OFw-MX for linux-amlogic@lists.infradead.org; Mon, 03 Jan 2022 15:46:58 +0000 Received: by mail-pj1-x102a.google.com with SMTP id o63-20020a17090a0a4500b001b1c2db8145so37960713pjo.5 for ; Mon, 03 Jan 2022 07:46:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mGd2tehqllUPXzMzPxa45XALLgMArX9xtGYlZrmeREY=; b=WvtxB1ung9NzUxIWNt+S8bbVr7Oo/WYuoF1OH9gg15H9VGzCZDxkFMYB6WJB0j54PM Eb9HjuoT5rA5xMB3aY1+5NI5/68dutfwSltaz1WOMLZGjc9BOAqXKEF7NDoZRUGGmm7e u3crLy0GnKkTWuD2EUHEusSLAhntfBkG3uAYI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mGd2tehqllUPXzMzPxa45XALLgMArX9xtGYlZrmeREY=; b=DUin8YAk4ykkz3uyqLQ6xrCTMQYuBsm4BIcHbahaYHsEMHG67e64G9YSbJ5FAlboDU uqAMppKeaKLu0p9MWI3hLQbNYbbNC+aE7I/o3quOYUT8yz1PT0QpzwW0+RQc43u75bzd CPNrMIlIihNTuSYYQf3erVQWGOKL5DLwIwd71vu2vAKZZPDKSIsnYqEbwssWc/ZTcbzT YJgay7owfNaWxx4K7yeP2aZNTHvLIFTDsRVVkNN0By6LheoWEbRCA7AuOsPdo08HYlvT 1p7l06XTlcSVU8DDXd3mg+SkvNTWd5cx5w6TWBJFyNdljJVL68MtPWMDHBJDfLCcXw/3 W9fQ== X-Gm-Message-State: AOAM530ym+Z1HC52iyg3L2NeX5wByIy56UEtktSX7eCZ3zaUW5xo0Ikx F2R5q8Hw4j7kh3ORRaumHdqnYSgzJoIZJQ== X-Google-Smtp-Source: ABdhPJzUBnOMa3u341HSV7yD1MmYO/74k9hrxYCcrAiKRckCANPf4WLP8hN5nqUEW6OFbqayue0rVQ== X-Received: by 2002:a17:902:8e82:b0:149:b26a:b9c8 with SMTP id bg2-20020a1709028e8200b00149b26ab9c8mr10850854plb.143.1641224814429; Mon, 03 Jan 2022 07:46:54 -0800 (PST) Received: from localhost.localdomain (lfbn-idf1-1-1088-186.w82-125.abo.wanadoo.fr. [82.125.191.186]) by smtp.gmail.com with ESMTPSA id l2sm41080153pfc.42.2022.01.03.07.46.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 07:46:54 -0800 (PST) From: Gary Bisson To: linux-amlogic@lists.infradead.org Cc: Gary Bisson , Linus Walleij , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] pinctrl: meson-g12a: add more pwm_f options Date: Mon, 3 Jan 2022 16:46:14 +0100 Message-Id: <20220103154616.308376-2-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220103154616.308376-1-gary.bisson@boundarydevices.com> References: <20220103154616.308376-1-gary.bisson@boundarydevices.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220103_074656_748311_6510E75F X-CRM114-Status: GOOD ( 11.21 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add missing PWM_F pin muxing for GPIOA_11 and GPIOZ_12. Signed-off-by: Gary Bisson Reviewed-by: Neil Armstrong --- Cc: Linus Walleij Cc: Neil Armstrong Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/pinctrl/meson/pinctrl-meson-g12a.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-g12a.c b/drivers/pinctrl/meson/pinctrl-meson-g12a.c index cd9656b13836..d182a575981e 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-g12a.c +++ b/drivers/pinctrl/meson/pinctrl-meson-g12a.c @@ -283,6 +283,8 @@ static const unsigned int pwm_d_x6_pins[] = { GPIOX_6 }; static const unsigned int pwm_e_pins[] = { GPIOX_16 }; /* pwm_f */ +static const unsigned int pwm_f_z_pins[] = { GPIOZ_12 }; +static const unsigned int pwm_f_a_pins[] = { GPIOA_11 }; static const unsigned int pwm_f_x_pins[] = { GPIOX_7 }; static const unsigned int pwm_f_h_pins[] = { GPIOH_5 }; @@ -618,6 +620,7 @@ static struct meson_pmx_group meson_g12a_periphs_groups[] = { GROUP(tdm_c_dout2_z, 4), GROUP(tdm_c_dout3_z, 4), GROUP(mclk1_z, 4), + GROUP(pwm_f_z, 5), /* bank GPIOX */ GROUP(sdio_d0, 1), @@ -768,6 +771,7 @@ static struct meson_pmx_group meson_g12a_periphs_groups[] = { GROUP(tdm_c_dout3_a, 2), GROUP(mclk0_a, 1), GROUP(mclk1_a, 2), + GROUP(pwm_f_a, 3), }; /* uart_ao_a */ @@ -1069,7 +1073,7 @@ static const char * const pwm_e_groups[] = { }; static const char * const pwm_f_groups[] = { - "pwm_f_x", "pwm_f_h", + "pwm_f_z", "pwm_f_a", "pwm_f_x", "pwm_f_h", }; static const char * const cec_ao_a_h_groups[] = { From patchwork Mon Jan 3 15:46:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 12702620 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E90EDC433F5 for ; Mon, 3 Jan 2022 15:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Vdc2i9Zo56cyPh3J0RD07KmvmmCLiDD8Z2GgyvnHl3A=; b=GsNBtkc7+5novT VeWOZsYFhVhmTtG5/k+Ax9oTYG2ClMlZXhQ+vPAN9n6SNlQPCKbUD6NYOUcEc2aUp/e+SlY5aPDoS PO0/m4lZ3MvNq2HDuuer7vpperFPOSUV4MH9kqor02tS1jHSBJNXOOPNJDGaBYMiI5GAVv5mHHtXW gBbRB43yBOjPmW7u0SYm+C6kTERCfZ2bz/XIEteperyKsRA2ceT1oRc1DqDydGr8IywXNdB2EfnIv M7tEZAGAaV2dRgv1fY58WNHwEP3tHfpPp+EpRyGqyDAcvfKDbm1G3pD0quM0kNMfq2ukC4r7cP+1y FctubVln/V0B+V1EJaEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4PYK-009ONt-J9; Mon, 03 Jan 2022 15:47:16 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4PY2-009OH3-Sr for linux-amlogic@lists.infradead.org; Mon, 03 Jan 2022 15:47:00 +0000 Received: by mail-pj1-x1034.google.com with SMTP id r16-20020a17090a0ad000b001b276aa3aabso24816098pje.0 for ; Mon, 03 Jan 2022 07:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DuinLQ82u9Ll4xBW8hohWni8CpDThAMqaisLf3sqjiw=; b=Kkolr/5fSCKwJ4AF6i6ciBiCFTzyg3CmMMSYRrUfD0D0Ih8pTE0FRQaVS8k6LwaWLS ePUreY/P0N4LNOx12Kzs9xYlg9X/jEHJYXEjqUC9Jj/dSznmL12TB3wNK3VF85Wn7nId OwXbl3OZsd2qiM0LzCd8CKaxFADRZ2ifCQqTE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DuinLQ82u9Ll4xBW8hohWni8CpDThAMqaisLf3sqjiw=; b=mJgNjV4rMwjf6+dpXfaKxV3LCYRAKlFE0Jnd2/eMeansA3QZS6Wo1Z3gVwcZ479Zdg V7y13mO8l6d6nU0VNjsJuHkACMxgF5Mo49M3CTk1LWgoCaqVpbWhHMpg6EBuU8j/aQ+V pFhxSQv8UFH1zaouYMrzCTXakqnvqr1yJjsMrxzgTDnJhArBhhsg9Ptbb7zudBjyKooF aahs1Wwhwtp0UmzYb4gD05krJtDtogT2zV5xCHT9UeY3zqYA1XkvNRKxDGOSC4LsnJmB zBxoq6R77WatSzwhaWymmb15MJD/WFAMYIJt0oPAgNxuJMfLnTpuvErXDoClqIcOz0ac GQoA== X-Gm-Message-State: AOAM530W5Sd8h4MVNdUlCOYfht+LhoDJtXWcb6PMRXbOfqS4hyX7m5or jxDvF+ugVvntQKP6nPsTsFWlWFZ09GzV3g== X-Google-Smtp-Source: ABdhPJz2tbfvAdwQ5b5as5ZgbBIZRiJhaS6MhPLzuzfwJHOg6gxQ/AN0OK7D3ctvxBQi1c8X8Fbyug== X-Received: by 2002:a17:90b:210:: with SMTP id fy16mr37090944pjb.202.1641224817454; Mon, 03 Jan 2022 07:46:57 -0800 (PST) Received: from localhost.localdomain (lfbn-idf1-1-1088-186.w82-125.abo.wanadoo.fr. [82.125.191.186]) by smtp.gmail.com with ESMTPSA id l2sm41080153pfc.42.2022.01.03.07.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 07:46:57 -0800 (PST) From: Gary Bisson To: linux-amlogic@lists.infradead.org Cc: Gary Bisson , Rob Herring , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: meson-g12-common: add more pwm_f options Date: Mon, 3 Jan 2022 16:46:15 +0100 Message-Id: <20220103154616.308376-3-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220103154616.308376-1-gary.bisson@boundarydevices.com> References: <20220103154616.308376-1-gary.bisson@boundarydevices.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220103_074658_943793_9F977970 X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add missing PWM_F pin muxing for GPIOA_11 and GPIOZ_12. Signed-off-by: Gary Bisson Reviewed-by: Neil Armstrong --- Cc: Rob Herring Cc: Neil Armstrong Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- .../arm64/boot/dts/amlogic/meson-g12-common.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index 00c6f53290d4..af1357c48bee 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -894,6 +894,22 @@ mux { }; }; + pwm_f_z_pins: pwm-f-z { + mux { + groups = "pwm_f_z"; + function = "pwm_f"; + bias-disable; + }; + }; + + pwm_f_a_pins: pwm-f-a { + mux { + groups = "pwm_f_a"; + function = "pwm_f"; + bias-disable; + }; + }; + pwm_f_x_pins: pwm-f-x { mux { groups = "pwm_f_x"; From patchwork Mon Jan 3 15:46:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 12702621 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 270F9C433EF for ; Mon, 3 Jan 2022 15:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZmPV2tl0OOn7aNN6sUsA4zJhzxZ340xuU9q3Bq4KAzg=; b=psJKkB+Zl++VxH 0uUoEOYwcZbl3eJ5y+YDA8XXHJWkTbiDjlIXNOXvVw6yGXkSMS32Q5TJyTyTSO6a0PC1ktJDgcIIr 7ADZ67juG+frLvy1QjWDOlvTao8rfJHsfCfPx6G8XTqJ3so/7rAdfYRDR+B/oOkT0oZu2l2sRuCWt sSDLoZOhUfqeCo+DdN/7MIZV4r5DZs6TBFBW4UiH4NbdkNLvCy8tbSs0ZFp4h00JFhxUvj9vD/9UM +rLn4olaK1Gbvq0EntoodMzkh3+BHkBEA5FDKWE2RW5FBIt5NKFT6kyGw5GHRwOds0nQ5eEhz9cD4 or/es2E2Nj+jNYuiRoFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4PYh-009OZe-2k; Mon, 03 Jan 2022 15:47:39 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4PY5-009OIA-VF for linux-amlogic@lists.infradead.org; Mon, 03 Jan 2022 15:47:03 +0000 Received: by mail-pf1-x42f.google.com with SMTP id 8so29773046pfo.4 for ; Mon, 03 Jan 2022 07:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LuC6I612TLZwEINCPwWyZhF1G85K2gAYC1IKzQ9Ubwg=; b=GRfk+w2ob9enhOcSB7G/ep4S1ROT5GfJoq0yFqlZEMr2APjXxmcSoqt3o4Pynd02JB iYIOn8TwYE3aU2fgGpMxqi+ZkGopJzSz9ViJI6mAr6cNZ+Nr1B/iE5+SXcKg373MHo2U pzHX1mC5YMj6dbFb4W3HcwRreytUsqfp/KVrM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LuC6I612TLZwEINCPwWyZhF1G85K2gAYC1IKzQ9Ubwg=; b=16z/+03Bs1Cw3lHcRni+aJ+PL5lzpeAfEalrxPJbsPWVjfct/X9BkcsvLogeOGGpSh Go50c+xf8DU38vivdFN5OskJIhF5pAwtxPsrmpMO7XT746Oq/v8CGknrvlCLQhVYeZsd H7GDjR0V8fY0MWz+qTMRxPXit6veV2USdMnFXOjfoYMRW9Cft+V4tNDHcTsKzqfipEjo qtzqEhB/+8elxIba0O5Q6vp5TBCNXUAg4UQRbB+T15R73NpI6u/PGakQcQvxwp7rpnPM UayU6D+qv0ISfNULduUlp/8jVgAuKgVEfVDzb+1kBf7r2UVRA7B7kFNSrkVqmFpy21xz w4dg== X-Gm-Message-State: AOAM533K0OF6LikEVSfmNfs7F8bic4ge9JSCxz/yA8a5ydCmXrC7+knM CBvdEwIicheR+92Q3nCe2LFd61/uMqjo9Q== X-Google-Smtp-Source: ABdhPJwLI+NLuZ8zgVbA9INKDpuqIVAAWlzG6A08J97tHUyvcwYodufjPg5kieTeJIacj/Q74nw0Xw== X-Received: by 2002:a63:bf0b:: with SMTP id v11mr26213644pgf.144.1641224820490; Mon, 03 Jan 2022 07:47:00 -0800 (PST) Received: from localhost.localdomain (lfbn-idf1-1-1088-186.w82-125.abo.wanadoo.fr. [82.125.191.186]) by smtp.gmail.com with ESMTPSA id l2sm41080153pfc.42.2022.01.03.07.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 07:47:00 -0800 (PST) From: Gary Bisson To: linux-amlogic@lists.infradead.org Cc: Gary Bisson , Rob Herring , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: meson-g12-common: add uart_ao_b pins muxing Date: Mon, 3 Jan 2022 16:46:16 +0100 Message-Id: <20220103154616.308376-4-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220103154616.308376-1-gary.bisson@boundarydevices.com> References: <20220103154616.308376-1-gary.bisson@boundarydevices.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220103_074702_019625_A86CC29E X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org - RX/TX signals can be mapped on 2 different pairs of pins so supporting both options - RTS/CTS signals however only have 1 option available Signed-off-by: Gary Bisson --- Cc: Rob Herring Cc: Neil Armstrong Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- .../boot/dts/amlogic/meson-g12-common.dtsi | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index af1357c48bee..3a7773ffbd08 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -1952,6 +1952,33 @@ mux { }; }; + uart_ao_b_1_pins: uart-ao-b-1 { + mux { + groups = "uart_ao_b_tx_2", + "uart_ao_b_rx_3"; + function = "uart_ao_b"; + bias-disable; + }; + }; + + uart_ao_b_2_pins: uart-ao-b-2 { + mux { + groups = "uart_ao_b_tx_8", + "uart_ao_b_rx_9"; + function = "uart_ao_b"; + bias-disable; + }; + }; + + uart_ao_b_cts_rts_pins: uart-ao-b-cts-rts { + mux { + groups = "uart_ao_b_cts", + "uart_ao_b_rts"; + function = "uart_ao_b"; + bias-disable; + }; + }; + pwm_a_e_pins: pwm-a-e { mux { groups = "pwm_a_e";