From patchwork Mon Aug 19 12:03:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768280 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 9E851C3DA4A for ; Mon, 19 Aug 2024 12:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CyDUDb6WuXUW8dv4nW3tr3AH/eeOqQacQfm1Ie6rDGw=; b=3NozLiRmsx5f0VruiPKHE+JL44 K2byKrx2h4tnXs+snOdGcvyLOaovNlAb3mNaU8+teiSRYOnqOsbz+NXAewMVCEIpLimfUbjK6zgbE Ps95AVBc9x2FjLfcIxWv+YEuOcfzpYjzcJxOhjZZ7SBO50mOQB2e6oHsmFzZz7J+NNIPjmhLtvSSr LAZvh/fVITH1Lnpjh0lAMAX6zIWuYoRTFfvZADZzZBqqgKg0ZWHygybZ/RNgBUB+7SfudrNWhcOa8 O0zYPP76XKbotfFi9gl/DRmqafjk8w8esiRhSI58WsMa5IM8AwL+OtJ4gjbCt0LwKAz3VoThrDUEp 06/gR6IQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1B3-00000001Mg7-1cZD; Mon, 19 Aug 2024 12:08:01 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg179-00000001LEu-0nd1 for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1724069039; x=1755605039; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CyDUDb6WuXUW8dv4nW3tr3AH/eeOqQacQfm1Ie6rDGw=; b=ijQLbDmwUGSHOYu6fvsK7FrZf1GrqBRwiD9jWOcoLsYpaVBu+cKa9vC/ rygQQvl6b2Eva6oM6D98qeBoxZ8rKv3Iwb4Nw2McXPEBeBqhGALLH7LIN NzPXBnPgHsa378zAgf2aBzYH3Acx9rnNle2hSmrLk0+RQhm2gX731JVuO 6qrqEg4l9hRJ27kmm5e60U4+/lVmjTKNEoxHxehRVVI2SuhETPfcHjnTb Uj5iIl3qzHNs2dDVYiiUXjVhDFq4Wh5U6h5bl5KStPnMDNY5pLZE6Xgzw CwZInra4fnCsGZP/hmh6vOs0Kkq/7dohKZ+wNNi+2NSOydvNNNk4VMTlE g==; X-CSE-ConnectionGUID: gEG1kUZJQnmr1L8lT21Weg== X-CSE-MsgGUID: HRyERiq4T7e2zS2R9NDOrA== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467111" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:03:58 +0200 X-CheckPoint: {66C334AE-17-E9ED6009-C4B0BEC8} X-MAIL-CPID: CC8392074D6D5F94FC03C398CD7CA761_3 X-Control-Analysis: str=0001.0A782F24.66C334AE.00FA,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BAAC71657A4; Mon, 19 Aug 2024 14:03:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069034; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=CyDUDb6WuXUW8dv4nW3tr3AH/eeOqQacQfm1Ie6rDGw=; b=XcSY19so5faHa9cGUTsycnweQU0DR1vI084cPGtA/4JzYBvO7afezf9t/PtumI2n/dAGQX SjcAons7sLb8cx8Wtr4RRGHrCjv/u1riYzp+X5ZZuqXJ03wq1Ff/3BcQS0fBY+TAUVtGTD eu+YeTssv6uldedW/txQz+VlqC8sPpyTlWFhquY2RuBXFy9I9xkUMA3Y7grKGJ5XzxWNFE Dt+bxWSaOw0xxf2e9j9aKadVuPxApfGyRqd2Hx8bZa1Wd+I156UIFDLp5knaSM023cHwi5 qzVby8qVsEt/DkkL8fcExAxVrbClN3LUogSUojY8uJ36s8pG/xYPfwHQDh72oQ== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 04/14] arm64: dts: freescale: imx93-tqma9352-mba93xxla: enable LPSPI6 interface Date: Mon, 19 Aug 2024 14:03:18 +0200 Message-Id: <20240819120328.229622-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819120328.229622-1-alexander.stein@ew.tq-group.com> References: <20240819120328.229622-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_050359_634649_2C62170D X-CRM114-Status: UNSURE ( 9.26 ) 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 LPSPI6 features a NAFE13388 analog frontend. Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxla.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts index bbe0fcf97b2a5..f8b489e54bc96 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts @@ -414,6 +414,13 @@ dp_dsi_in: endpoint { }; }; +&lpspi6 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpspi6>, <&pinctrl_lpspi6_cs>; + cs-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &lpuart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; @@ -607,6 +614,23 @@ MX93_PAD_GPIO_IO23__LPI2C5_SCL 0x4000199e >; }; + pinctrl_lpspi6: lpspi6grp { + fsl,pins = < + /* HYS | PD | FSEL_0 | DSE no drive */ + MX93_PAD_GPIO_IO01__LPSPI6_SIN 0x1400 + /* PD | FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO02__LPSPI6_SOUT 0x051e + MX93_PAD_GPIO_IO03__LPSPI6_SCK 0x051e + >; + }; + + pinctrl_lpspi6_cs: lpspi6csgrp { + fsl,pins = < + /* FSEL_2 | DSE X4 */ + MX93_PAD_GPIO_IO00__GPIO2_IO00 0x011e + >; + }; + pinctrl_pcf85063: pcf85063grp { fsl,pins = < /* HYS | FSEL_0 | No DSE */