From patchwork Wed Jan 12 21:16:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 12711947 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 15753C433EF for ; Wed, 12 Jan 2022 21:17:13 +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=oxWcFR4PF2gNTc+LpyBH3yaqjBqC3XLS7jeJGvrHJP4=; b=ENgxyNHyOWBag2 ZoUVEUiICbXZiinb3iW05BQ+TcSIrGaWFIWv/HkPVieJXUkCaUKNEJ2JOQKqXpXtyC8DyzB6iiYyc dDpERWNHWdjay2F9fv7S+Sa4clhEIkHohBqO24Wqk21k//CqfM2auLKGbPmlcDNq7Z3SGrVcXE5Dd usMOjyVSq6l7iY0gFWwG0V4mMByh/6ozOfqGCEhqWQsH2fB/5wi07/vGt4bH8NH8pbQY6muP+MjTK U47fHlAkPcnuhM/r4huI+TdbUFp/AcRmbrnETfJSkNTGSI5sFXM7QL3ZwLRAKFNLQoa/TfeiCWdV7 B+xB0K6j1IJ/PKd47tNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7kzU-003pfg-LI; Wed, 12 Jan 2022 21:17:08 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7kzH-003paN-JX for linux-amlogic@lists.infradead.org; Wed, 12 Jan 2022 21:16:56 +0000 Received: by mail-pj1-x1030.google.com with SMTP id ie23-20020a17090b401700b001b38a5318easo7435618pjb.2 for ; Wed, 12 Jan 2022 13:16: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=mq0Wt8Vn/qiiAup0Vg6KhdHWi/YhPSi9A/mE62zgcTY=; b=I2o/GL1Z5DElX/Ffgs511o4VQ1H+5gvy2qNgs9tm3qQyKkJLXirsZ7soF/AcGy6Rjq KBxr462PSJpcPy0gYJe5XJwVcVs5ovpAKVUAPZ5R+eUGY60ZVgIjazTHhG66ad4zZy4E v/E5iXihdZXc7UyogWRYzSRG/EjUEldgW6fzs= 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=mq0Wt8Vn/qiiAup0Vg6KhdHWi/YhPSi9A/mE62zgcTY=; b=ylzJtSTKsu/ZCZGtkfO96FnGtid8aW/nEjPtJnczbOY35yy6mGYp08ezfPdVFsINqu 5kbljyIffQblASAlptAO5G/JafQPHYcrN3aemxfQYtBmbsUtJXU8XfnoOcWGt3H+8XJr TuMSY8ttGt8v2c7J5rW5bfmP6H59wQ34kYNv/Vh3sTRgA+u6iVvh6uSeVS9bztJoAQ1k U7isb9jznFtAnz1fchvL8t6s/A31zUg48o3D92rEFWGVieBGKFPpgBfEU1bSreccio79 ZfGbkDTUMK/vBisHm+LYJ0eKq8f1c8kzbGyXEhBzl52s9hoL6gGZFq+WBJ88cbdfcuFz cMMg== X-Gm-Message-State: AOAM533moKdX5gJ7I9kqyPgeqpz+py+t328LqBcm+kNO4SEcmp4z9+L4 8RCMasSI/0LWBQp5rAtk6cG1nXvId5kwdQ== X-Google-Smtp-Source: ABdhPJxpidhGuuJTbkVqZS8M496Do+5ahd77nK9hbLfhJZQp2xJx5laJfxjGwF06S6/t0BzCo4qeEw== X-Received: by 2002:a17:902:e74a:b0:14a:3b22:5ca5 with SMTP id p10-20020a170902e74a00b0014a3b225ca5mr1286766plf.96.1642022214506; Wed, 12 Jan 2022 13:16:54 -0800 (PST) Received: from localhost.localdomain (2a01cb000f5a8200e371e4a5048c8b22.ipv6.abo.wanadoo.fr. [2a01:cb00:f5a:8200:e371:e4a5:48c:8b22]) by smtp.gmail.com with ESMTPSA id h15sm507192pfc.89.2022.01.12.13.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 13:16:54 -0800 (PST) From: Gary Bisson To: linux-amlogic@lists.infradead.org Cc: Gary Bisson , Neil Armstrong , Linus Walleij , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] pinctrl: meson-g12a: add more pwm_f options Date: Wed, 12 Jan 2022 22:16:40 +0100 Message-Id: <20220112211642.2248901-2-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220112211642.2248901-1-gary.bisson@boundarydevices.com> References: <20220103154616.308376-1-gary.bisson@boundarydevices.com> <20220112211642.2248901-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-20220112_131655_659904_7493AD4A X-CRM114-Status: GOOD ( 11.51 ) 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 Wed Jan 12 21:16:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 12711948 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 2FB57C433F5 for ; Wed, 12 Jan 2022 21:17:25 +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=o2sX4lgmC29uMpf8UcWoJeobYAuB9RWtdhe4p1BDLwc=; b=KXK+gSrfsGXjuA pP9BLcQX+nFPueBgJb7DZG8Eqf9qCcDLyHhQoZBQly3vlU+YJsrjxt0YQcTw4vEOXo12UmdTyVzet fDrCZgiF3shiNldtAt8lA1HLqx+5NACUsnwNIUUGJZWo+zjsPr6AV8yf0tvGVEHU4K4ctHQP2+Kq0 yNIJe1aYKeTkFCszRHqWuM+5hbLvtuc+7NuWxytltci9Cj4A4Qkc0FkysoM5vbI0s+d6a1tdScBbU q7DS5RvqLO9GFs+rZ2yaZOXrjrr4Nof81uvmuqtQTC0bfUyHZpPNNIECQGAAvE2CbnxbJ21m7p2sC 4ihjHbLK8rdrnHvMn4zQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7kzg-003pkW-Vo; Wed, 12 Jan 2022 21:17:21 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7kzK-003pbH-K7 for linux-amlogic@lists.infradead.org; Wed, 12 Jan 2022 21:16:59 +0000 Received: by mail-pj1-x102e.google.com with SMTP id 59-20020a17090a09c100b001b34a13745eso14801134pjo.5 for ; Wed, 12 Jan 2022 13:16: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=zgxD7kZzL7b24qfqWANZprBwy/1xz32dY5nSJ1Y+mnM=; b=LoZvhsYPqLB7U/0kRvIfraJSktSWw60cF3UyRYJm0oOks02RiP1kSnBRFebdQB6nV+ x88KAxwQGU+4HMdYwBcBFraVtL9auGlav5RC1ebYM7TECrHBBeS1lGnqAKDNUmYVw3mE H8Y4AGqH+jcm3Yjr7lHqimRCW6kc9sWQhunxc= 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=zgxD7kZzL7b24qfqWANZprBwy/1xz32dY5nSJ1Y+mnM=; b=r3iy/nmevWg+XQB/PH8Qoq08stoBxafSM6jtikr2onZ/YV+QyVGbx1IuIYgocSZwlG dMZrmG0gjIL4VAAcxrDttxmJ+80djx0Ah9TG0lYZFNkOKehz6Ay+kEU2Zf6nCjwRNUpw dAzXWXygnLlcPD7MX9fDSXUCUmpyaZ0GFDPOfTtZe0vMsfAa/tL5XjBQjRhQaM/Wk1TN s3KoLhoPXtYeiErTTYaT9Ep5yQkcpKWX4hHqshqptQZlr7oV2mxJfty1CGzG0SWDVpKX nEUVF/pxYRQWscZjcGXk3Y8iUBXNVT8VA9WnvMHSeiyHntyxFt80/LEIq0tP1Q0qgf3V VRVA== X-Gm-Message-State: AOAM532UXCckZCvdbsBQ83vrmpBO7UgmHK8FKu+YbcmV+tWZg87yGL7k ia6FjfKz2r7E/ttVEqDMIOMK6MhDuYRYQw== X-Google-Smtp-Source: ABdhPJz8ajGHuukTahaTnyx/SiHDR6PQ/asbdfTpJaZd5ZZo8iGS77v5cne7LTcgmRkOLz4lT2lYTw== X-Received: by 2002:a17:90a:e7c8:: with SMTP id kb8mr1650228pjb.35.1642022217759; Wed, 12 Jan 2022 13:16:57 -0800 (PST) Received: from localhost.localdomain (2a01cb000f5a8200e371e4a5048c8b22.ipv6.abo.wanadoo.fr. [2a01:cb00:f5a:8200:e371:e4a5:48c:8b22]) by smtp.gmail.com with ESMTPSA id h15sm507192pfc.89.2022.01.12.13.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 13:16:57 -0800 (PST) From: Gary Bisson To: linux-amlogic@lists.infradead.org Cc: Gary Bisson , Neil Armstrong , Rob Herring , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] arm64: dts: meson-g12-common: add more pwm_f options Date: Wed, 12 Jan 2022 22:16:41 +0100 Message-Id: <20220112211642.2248901-3-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220112211642.2248901-1-gary.bisson@boundarydevices.com> References: <20220103154616.308376-1-gary.bisson@boundarydevices.com> <20220112211642.2248901-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-20220112_131658_688380_BE971871 X-CRM114-Status: UNSURE ( 9.43 ) 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 Wed Jan 12 21:16:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 12711949 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 3CA42C433EF for ; Wed, 12 Jan 2022 21:17:26 +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=t66ItVE5k03+hfvt4QoeZX7znrnuQgO/noN/4QEDYnI=; b=MpWxs4XTxRuNBg jiyC/zUcJLIX7fNFF57AHrVEZI6BZ39t9O9HifiTWEz7eCgl/g0GXaR3PLgu+yjYLg4nR14X2MTYa lGzWb25t4PKxG3PR7dBVUNK5m+Id1M0vPWDevQbJbJ8uTLZR7n9MYvUj2UqEawRgXW1goKZcqa1gC o8g9IEMMDk6nzTXu4KK6ynHiNnR2E9mx60xBuQjaQiOgxNGoUcYQ47UQa/AO1aOZDm05fW4xvm34c E3bE2sItpVXusvTYGokcBFi7V+Aj2/y8G+vPT/6OTcmd/zgEK5YUwae+3KvjhRr9ODbDqiLePJ6tp 9qNPl0y9JVoF35chvawA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7kzi-003pl1-6O; Wed, 12 Jan 2022 21:17:22 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7kzN-003pdL-SW for linux-amlogic@lists.infradead.org; Wed, 12 Jan 2022 21:17:03 +0000 Received: by mail-pj1-x1035.google.com with SMTP id y16-20020a17090a6c9000b001b13ffaa625so14872926pjj.2 for ; Wed, 12 Jan 2022 13:17: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=P0OpirpLo3lFPzhXuxtbh2WjLoHGGYMgIKLuMYWDySQ=; b=Nex77jCtujyu/JYrJVhh4VSI3QRugHS/8QUW03cirP3xG0d+h0WH5uL/kfJz8OD25w X9vKtrk0BED2tqKug1kk50kdAJBQroPulaajtEo6EBVDocXTMnaO1gpsgGo4BP1HaLza OPbQfVL+WH8aIdzOa//C5wHZHjs4CSjMHwNP0= 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=P0OpirpLo3lFPzhXuxtbh2WjLoHGGYMgIKLuMYWDySQ=; b=bLFxyE7LJnaOs79DMb4g2e+aH72d9LIupPGxM6spmKyRHJHEfKeY79pSn4MmXtLWa5 AicmdEyDQiv5oSNhxZuDEGuHFzpOrDryGQj3BZh6XIU9/APHyAW5IyTx9yQKCcyaM3YY XS5XVKUNnRs4APEUw2yKRgBE3u8hr6oEnGoqhmd6x81TfHL0zKo0D4/5GrlSm4pY83Uy dPK71aAlNMwYgoUiP2Xr+ApQB++9pr1O3pJkfgdFEVtl8f2qG8iR4GCyiKfa4HPFPjSl CXDl+Nle8RUfeNGbjd0RpmLBA+PteAbXfrgNxdp6NOj66TYA65Xr8K3MBmL5Ua1fBIZ1 yoRQ== X-Gm-Message-State: AOAM533+TN658DrUvvb6sy5CrYyjHkIVr8czsNYZrJQd5qFVhsou0KJ2 T8zDGOmEGxiqDP2sYTz9OaLxyJgVEvBQzQ== X-Google-Smtp-Source: ABdhPJwbJwaH/Q4KmjeX+oL9vPN/RCYvtu1ji5uNMCH/GhuM3e2/kYW/rA9QUcuITjN8PNtNNsSrUw== X-Received: by 2002:a63:a745:: with SMTP id w5mr1310352pgo.374.1642022221052; Wed, 12 Jan 2022 13:17:01 -0800 (PST) Received: from localhost.localdomain (2a01cb000f5a8200e371e4a5048c8b22.ipv6.abo.wanadoo.fr. [2a01:cb00:f5a:8200:e371:e4a5:48c:8b22]) by smtp.gmail.com with ESMTPSA id h15sm507192pfc.89.2022.01.12.13.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 13:17: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 v2 3/3] arm64: dts: meson-g12-common: add uart_ao_b pins muxing Date: Wed, 12 Jan 2022 22:16:42 +0100 Message-Id: <20220112211642.2248901-4-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220112211642.2248901-1-gary.bisson@boundarydevices.com> References: <20220103154616.308376-1-gary.bisson@boundarydevices.com> <20220112211642.2248901-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-20220112_131701_933897_420D109D X-CRM114-Status: GOOD ( 10.20 ) 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 Reviewed-by: Neil Armstrong --- Changes v1->v2: - renamed nodes as suggested by Neil 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..62350c408e16 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_2_3_pins: uart-ao-b-2-3 { + mux { + groups = "uart_ao_b_tx_2", + "uart_ao_b_rx_3"; + function = "uart_ao_b"; + bias-disable; + }; + }; + + uart_ao_b_8_9_pins: uart-ao-b-8-9 { + 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";