From patchwork Wed Jun 21 06:33:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110801 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4160939vqr; Tue, 20 Jun 2023 23:37:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5vZ1QUj1TuJ9faecumC2ibN+iksS4KRR4gLemXpIxwNxkgwJOyJCQPND8aVhSDL7iad/KQ X-Received: by 2002:a05:6a20:3952:b0:122:7245:80aa with SMTP id r18-20020a056a20395200b00122724580aamr4581467pzg.42.1687329474815; Tue, 20 Jun 2023 23:37:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687329474; cv=none; d=google.com; s=arc-20160816; b=AL2lUnToZrp1tiyUByCLku7ZN2GXCbRrl6TUMifi1x0SaUZCPDVQ0pCchT4nY+abqa M90Lg8dCQFXzBOK0p27TMdiH6i3NVCpqIdzKzuTR07ehzkemtEG6YClh6vLstvW+jwJF xiAfsCp94kV6v7rACIBPNf/p571Yr4dL5kMMWn6HWGSGFGzP6PPmf8wvsvLH07tm5iFd WTZt6EKe2pfqykI2/Bb8BekWGUDCrcvU+ntRWb6dAX/MoOVNqHhXjQj5xhppl5CT3IjP TBhB0lrCU+U6mpIHlEp40zRHK7XpQGgRTSmLin4XDApgmVX0SHuqKqlHQn3TLym75Myc OMSQ== 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=; b=vftkq//reCUOb/Ysar3RVNri7e8MaQrFUq8j/2jG93xGeWbq9jwCm61DSzfcIV0vsZ +YptXvJhfJsDBuC1ubAF3W+aADk/TNpzj2Gdlm2EhYDSJLawYjPGfWYgURp25BDyQei8 LnLmB9KDypKrfF5DU6EZWXXJAEKAdI7nO9OWrsjwE1VPWAJEOZA5Nr8LVUiRDIwzNp/q hr7GeLUdt7zelwwulK0x/tv89eBBVF7VyK3Pe1tmTnUgCyK6k3M139610dieyfzD5P0x So7lTOvRRL/la75zMzC8INJ0zs9I004UlsW5+TEXriPOSeHRK9To2pHS0cey92LCBU1r RLnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=Obo+NsKV; 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 t20-20020aa79474000000b0065b4e2b52c5si3324697pfq.196.2023.06.20.23.37.41; Tue, 20 Jun 2023 23:37:54 -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=Obo+NsKV; 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 S230097AbjFUGd5 (ORCPT + 99 others); Wed, 21 Jun 2023 02:33:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjFUGdz (ORCPT ); Wed, 21 Jun 2023 02:33:55 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D20A41A3; Tue, 20 Jun 2023 23:33:53 -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=Obo+NsKVt9QB5IN7gO9vx2vQKj ntSLMDayhOUexrk4XcNn0IvdDj2xDDNYcEOuvJTO6gRXi8P7TesIGOHD+7quSpWRm6i2kioORHYu+ otTfmmDsHlZFH2Uz1eJIBMepwjG+NPW3LfyIgTNQcKQkou4a+FeB8yGKymQdR2vcTfaFmYE3kD+MR t/3/8RGnIjSPOAWRWP24g8h60TzNPBzVstno+4J35ZUFJvyTDThq6kLwQqj+OhK9OHI7mCMvzid5o b8/UVOLBVs7mVQDN1aR6fTftRqEbx/POkcuL0p4vVpqnlm+rsslVpM1sT3F+4CgGYhRGBeX2Itl6Z FOAXWlpw==; 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 1qBrPb-000Md5-TH; Wed, 21 Jun 2023 08:33:51 +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 1qBrPb-0008i1-AG; Wed, 21 Jun 2023 08:33:51 +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 v2 3/8] ARM: dts: stm32: Add alternate pinmux for can pins Date: Wed, 21 Jun 2023 08:33:33 +0200 Message-Id: <20230621063339.1361073-3-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621063339.1361073-1-sean@geanix.com> References: <20230621063339.1361073-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26945/Tue Jun 20 09:30:24 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769293191135629865?= X-GMAIL-MSGID: =?utf-8?q?1769293191135629865?= 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 */