From patchwork Wed Jul 12 12:42:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13310359 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 263F4EB64DA for ; Wed, 12 Jul 2023 13:02:33 +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=ZqQihbIksewa1pFENU4z/LDn9Az1/PESzeD8GEWNi7k=; b=HRxClF24JqayTD 4jyhO8TOiqrwY+LN1R507yullHc6eAh0txZFQ8KQiS5ESGvJHG5mgWY0xpZVKLP6CyMOO6gxLlK3I oD4wAdSMDtP3GbDXSToG6CZ8jiqEc/Dk1MMJMnBaynqh3XOlb7MsWEIc26HsKRR2kW18KFzlNMwsL l4NSPktUc1i98hmJeKuernELTpPNT8yIfjwF9dBDs3tN9h0QIk0xdou9QTL73m4U0e4WBZ54/xWe+ nOt4CwMMXuqFzJ7OL7h/8BTJU6ezZ0fwFG21LjSRP4nYqeDH1zsb2MJqfhjtorYDxeNwlGje4GJGh 8jgAQAtjZb18vKsJTtYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJZTn-00011w-16; Wed, 12 Jul 2023 13:02:03 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJZTk-0000zc-1a for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 13:02:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=cpKgppZl8ulkbXIgJLCOD2vHWLaNMHG3cGVGbdt6Zws=; b=iKLdktdO8veyvboAaxajGld5ks cTfymi2Ig1YJ68/569bSwbXreF2TLYUJ8tLThqRZhHZvtJPRYJp44juV2CW/+MElMT4qyOnSNjQf8 Pl9zeWdjD5NwIfEjABx2M8L8IjR++b1V2hf398xBziT94FumoTnPU+a/efGqa36vB2jTaZ9Bz95p3 TpyacIv7c2ReIrYfaXf2qjFzpO1WErYuTf001t6EKipTHVGYx0PgPX1Feh1BiBQSyeJhwAd15iNYe 1I5apkS65/Q3WWPcSV/j9pKDVdcEhKe+4v6zzD7ES78sL0wAFQ4BJQDqYr4gnBy/QIxBnKn3518NA KCXSsHHA==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJZBf-000NMC-Qe; Wed, 12 Jul 2023 14:43:19 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJZBf-000L9W-5v; Wed, 12 Jul 2023 14:43:19 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Olivier Moysan , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/9] ARM: dts: stm32: Add alternate pinmux for can pins Date: Wed, 12 Jul 2023 14:42:41 +0200 Message-Id: <20230712124248.2400862-3-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712124248.2400862-1-sean@geanix.com> References: <20230712124248.2400862-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26967/Wed Jul 12 09:28:32 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230712_060200_529741_07F1C2BC X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add another mux option for can pins, this is used on Octavo OSD32MP1-RED board. Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi index 5de4ec547411..5af271e7f739 100644 --- a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi @@ -1245,6 +1245,26 @@ pins { }; }; + m_can1_pins_d: m-can1-3 { + pins1 { + pinmux = ; /* CAN1_TX */ + slew-rate = <1>; + drive-push-pull; + bias-disable; + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-disable; + }; + }; + + m_can1_sleep_pins_d: m_can1-sleep-3 { + pins { + pinmux = , /* CAN1_TX */ + ; /* CAN1_RX */ + }; + }; + m_can2_pins_a: m-can2-0 { pins1 { pinmux = ; /* CAN2_TX */