From patchwork Sun Jun 26 00:21:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12895540 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 17E9FC43334 for ; Sun, 26 Jun 2022 00:22:59 +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=NVEq92XxNRJ6Nta3s02najaey7wYQlz8u6izyu9slEk=; b=S/8LqikkwvF811 Et5z3sp8QUDp8aDXe5FtOcgf2Yyl2wOH43vbCk+QbBQDSPWoiKcwGy7O7vhMYX/oI5BgJj+EdV2HK pTbGt0RIS2c+tyyoTOHtXy0ZVkfFCrQ15UyAw5Ax3UKRwcTCggz8gK274hG6IYNwUYC9NKVscMPAl /JXwy+DOFTY/JgfRuKObed6K8OKu1LYpE4FV1KXcqsA9j5MUzVGJbPvM29dreumVmv1ssD1P2E+gO giY4gw4cIjkerVat3N7bOWgyXGFuMH9d3I+D92epuMT61E9GvZ5jN1+H3D6q6gK2Wqt6QOagl2D1t 05ahzgq0UfkX6OlCFyxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5G2L-008caV-Dq; Sun, 26 Jun 2022 00:22:01 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5G1h-008cKh-O9 for linux-arm-kernel@lists.infradead.org; Sun, 26 Jun 2022 00:21:24 +0000 Received: from tr.lan (ip-86-49-12-201.net.upcbroadband.cz [86.49.12.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 3D1F184449; Sun, 26 Jun 2022 02:21:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1656202880; bh=jlUl0utbmcLRLqXdAJk47tE1vZnuL7EO8VhDDCrMYGg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iujY3XR6yNvaEQxy0LFlzm+NcWh1BXzklYu6uNBMIBWsLq+iEHPxyhVOmda1UMXu2 G1ebvEt07MdriZIxOjOqBeA6hvGNyorXve83uHFVh19ZcAac7svj3CcAH8Y1gx35Fz g+dm1njk8f7m2yW0MFABVCBx7hDHtNBemMSOG6/wIWk9RGqSou0exO/5ZpfCfhhnwf k2SgW7o1oOStfE6dGu+X05ucX4KwjhNk95E4UIJPFspcjEhVuvQtHrqLPwN3QYZ5TW lnOURKcSsasN1pG+vyTT8fC7G/kdMZCUr+eipjElrqIPdAJ1EktQqxkdoz/MOE37ey /BB/G45K6ZCEA== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v3 3/7] ARM: dts: stm32: Add alternate pinmux for SPI2 pins Date: Sun, 26 Jun 2022 02:21:01 +0200 Message-Id: <20220626002105.198854-3-marex@denx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220626002105.198854-1-marex@denx.de> References: <20220626002105.198854-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220625_172122_002346_EDDB4525 X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. 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 SPI2 pins, this is used on DRC Compact board. Signed-off-by: Marek Vasut Cc: Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org --- V2: No change V3: Fix SPI1_ comments to SPI2_ to match reality --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index b4cfa11fc9be9..58f5924902b82 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -1879,6 +1879,21 @@ pins2 { }; }; + spi2_pins_b: spi2-1 { + pins1 { + pinmux = , /* SPI2_SCK */ + ; /* SPI2_MOSI */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + + pins2 { + pinmux = ; /* SPI2_MISO */ + bias-disable; + }; + }; + spi4_pins_a: spi4-0 { pins { pinmux = , /* SPI4_SCK */