From patchwork Wed Jul 12 06:29:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118871 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp950116vqm; Tue, 11 Jul 2023 23:46:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlHd9mzINSZHtPfveZhgfCGKkuW8B2pbKLoZDxwFuQBB1QglWwa3X/9WH2Yfx/KdVOSIwiQa X-Received: by 2002:a05:6808:1a81:b0:3a3:6536:dd89 with SMTP id bm1-20020a0568081a8100b003a36536dd89mr15662915oib.49.1689144365766; Tue, 11 Jul 2023 23:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689144365; cv=none; d=google.com; s=arc-20160816; b=1KozjfQrVIrell8xGLSoK7PIWVOXn6RT0ExkkTbxIKwmCYqqW2o5ZmoHrgfqHPS4hE MUJwlW5ZAztuHfAyg/kNtvlFkbbNqz29wcqJ+H5Dw6yPo4CkvFGfw/xKGYs/+TWcdYpn RA3jk4D+/ugjPkqfw95C75sjYbx7BLGc+57JoVNu4KRuHJwL9e1PaJRtAmKSYuHiUup0 mAZDRZZ7NXQPRGFTe0DnLQTJ/9DreIE5ioQg6XQOdi1jY9av1YZUb13Wq6EnOtUQnLKX obe/i+G3ddDKwFStOfr0puV5tZB+RpH4RvShrC4UulkKQrNt0QMmLZ+dq0IEDHP0xfeh NdUA== 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=ETuoPNFbYDBI7fybUMHgGYzgRtPKhUhC6h+ea+XxCXA=; fh=Yu7cbLp6ThS2H5Pa0Z7AMWOTWUXcsSSJs/kvyMqdvIE=; b=I4muE7Sv4qituLqyxvbZJljhIcac2z29X5XsomUzjiHNwIUg6hPNv3vRCR2ALYmG91 ypzA6euOM27mDyAV5E0AVK0S+XwaFYxaI7FI1GPCD4XVSO5sBeD/hWWpQTK6yMv08tjY 0qAXGKakTs34x2M6AIK7E7iZGw3zFLEbVNHug0B7NyhzsppTNFTvmM+o0sy2HspU2d+h VvB+PUdCHRnVPPjrDcj2FRHJVwfYVLS8slfdvvYhC5gKGXVzgmy5n6Aj2I0k9Scy12o2 HCImx6VuW+QLN3wWXBQmvvHIpTaMhtFZz1N8w0A/AMbxLgnkLn0L8tiulPIy7H9FKE+j q/+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=MPAugID9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a056a0024c900b00682a8dfe64esi2771330pfv.301.2023.07.11.23.45.53; Tue, 11 Jul 2023 23:46:05 -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=@geanix.com header.s=default2211 header.b=MPAugID9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232242AbjGLGeP (ORCPT + 99 others); Wed, 12 Jul 2023 02:34:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232251AbjGLGdh (ORCPT ); Wed, 12 Jul 2023 02:33:37 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E54F2105; Tue, 11 Jul 2023 23:32:11 -0700 (PDT) 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=ETuoPNFbYDBI7fybUMHgGYzgRtPKhUhC6h+ea+XxCXA=; b=MPAugID9N8lPrHO0FVqKd2Nn45 LZs6YhnWceykXv7qA+rDUjF9j/ZYhwXuQ+DWi465NjK1RMSCtV2Gy8Be2dCKoWowIhNUgP+6goXzq xqIbYGJ0Dlb6MkV6epIfJz/X6oqZrCHuok6OZTZdop2zCiwlAjuPZr/cN/zYq8N+nwjmxbpI8lBsn cWDXHN5jJVDLmb0v90rxzl57MoRwFh9a4aA63A4knlTXoe7iOg9uqShIWe+V3c67Ae6fDKuRZC5/U NwCOdeU2pFZlciZ6y/XlstIjF/xwtas4LzINzMWGjrCgumFVdDmIKywz3gBs1trmWY0wYG17Obe10 j0gb1e9Q==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN1-000AMt-Tz; Wed, 12 Jul 2023 08:30:39 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTN1-00020e-B0; Wed, 12 Jul 2023 08:30:39 +0200 From: Sean Nyekjaer To: 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 v3 3/8] ARM: dts: stm32: Add alternate pinmux for can pins Date: Wed, 12 Jul 2023 08:29:48 +0200 Message-Id: <20230712062954.2194505-3-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771196242792009548 X-GMAIL-MSGID: 1771196242792009548 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/stm32mp15-pinctrl.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index 422db6dd466c..537908a20efb 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -1144,6 +1144,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 */