From patchwork Mon Apr 22 00:19:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13637574 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 8121BC4345F for ; Mon, 22 Apr 2024 00:21:56 +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=Sj+df3k5tRHc3D6YbXhEnyuEaArfrDyozFL6DryTJLI=; b=f3PAwneu0gxoK9 jl8fGewlBXcLTUDR1F/uMEQsmaoX0giDIF9U6ayNbzIQNYp9ZphsWEW5OIpURBc7CSBNvTt7md5hG AUO8JtcI71W2PxaWVbngisFWOAlUTKsTA3Xi+8FMf4VlOsUVK4YS754HiTarZu55yQUOXTQJEVvnr 5SgX4YV1EoQd5TEGnUIzE5VnYhOzdolfJLPSdkqTh08VcpQbw1rwF0spIBH9GRyw6EN+iW1JOsmNE c+VtEG2wvXXDwtKvhBCQOqVDCzI9iGALd9VlyssY/ez9ea0EG991LDrQx/VQvRVAmCEU00s7o2vUv IGtLIMZeKv5VuJOhx4Zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ryhRG-0000000BZdP-1Ath; Mon, 22 Apr 2024 00:21:42 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ryhQM-0000000BZ90-3w99 for linux-arm-kernel@lists.infradead.org; Mon, 22 Apr 2024 00:20:48 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (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 D91118832E; Mon, 22 Apr 2024 02:20:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1713745245; bh=7KrDz+5SrjrOwT2hbyGUYLasiifEHGZkxgI8HCHUFIE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QYyg41PAzvI/bW2YK68ZBXWgEe1UeRDT+idPtTxAwAWkUsRA/r97420A82BLEK3lh hBTG5JdiX9S5aKKKOG5FPIBXFNpK+TKE5VQCe6qHAP4h8BY5WGxgDUDxxc4/ULKOCe b6rccjQ030JFxiaApn7VlFxctpoltiLkxkcfcWNwblbUl7RbnpcsF/MBebtzc+EXSI IeN1o/IhQc8ZvTmshBEb2Q3w0OS50ksF2gjG6Qkc2/cbOSHeNDwOk9jII51taDVNEY yt57dcCmtX8kDsiIDE9Wn9aKfnowRM6vFRNn2W23satl4LBfMgmodv128fqh13sMiU VvQw8EFcZHZtQ== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , =?utf-8?q?Leonard_G=C3=B6hrs?= , Ahmad Fatoum , Alexandre Torgue , Andre Przywara , Conor Dooley , Dario Binacchi , Krzysztof Kozlowski , Linus Walleij , Maxime Coquelin , Rob Herring , Sean Nyekjaer , Steffen Trumtrar , devicetree@vger.kernel.org, kernel@dh-electronics.com, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 14/20] ARM: dts: stm32: Add alternate pinmux for MP13 SPI2 pins Date: Mon, 22 Apr 2024 02:19:28 +0200 Message-ID: <20240422002006.243687-14-marex@denx.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240422002006.243687-1-marex@denx.de> References: <20240422002006.243687-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240421_172047_247813_B094F87A X-CRM114-Status: GOOD ( 11.54 ) 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 DH electronics STM32MP13xx DHCOR DHSBC board. Signed-off-by: Marek Vasut --- Cc: "Leonard Göhrs" Cc: Ahmad Fatoum Cc: Alexandre Torgue Cc: Andre Przywara Cc: Conor Dooley Cc: Dario Binacchi Cc: Krzysztof Kozlowski Cc: Linus Walleij Cc: Maxime Coquelin Cc: Rob Herring Cc: Sean Nyekjaer Cc: Steffen Trumtrar Cc: devicetree@vger.kernel.org Cc: kernel@dh-electronics.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-stm32@st-md-mailman.stormreply.com --- arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi index c6967e82b5d2e..17acd2850d381 100644 --- a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi @@ -511,6 +511,29 @@ pins { }; }; + spi2_pins_a: spi2-0 { + pins1 { + pinmux = , /* SPI2_SCK */ + ; /* SPI2_MOSI */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + + pins2 { + pinmux = ; /* SPI2_MISO */ + bias-disable; + }; + }; + + spi2_sleep_pins_a: spi2-sleep-0 { + pins { + pinmux = , /* SPI2_SCK */ + , /* SPI2_MISO */ + ; /* SPI2_MOSI */ + }; + }; + spi5_pins_a: spi5-0 { pins1 { pinmux = , /* SPI5_SCK */