From patchwork Sun May 28 11:22:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13257801 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 C7785C77B7E for ; Sun, 28 May 2023 11:23:47 +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=Da8ECDo+KbXu7tJrlPu1w4xlTL5jc/1/1wg6I26Iw4Q=; b=ZrrLyxKdqPXgHf 5Dgb3lccdBHoqNKlKlruxDcRtouqOSmnJUHojIoYIEINe3z7Y5RkD/SCaanAwCozCIK4R9M/Evktu HFPdvhypw5R6KTsnrzpsNPdKqJ1aAgJ7IzySlo68aKv6UCFgOaG75zZGLw6oe4hDusATyMK0DlnVk 9lKXJdYnpCnCDxEOr7tB0rIs2gYP+NCvSvn6zKbdPbd62RmRWKJibs6fnN6agUDaMGJWJ4PDW66h9 4qb4wNLVZMDSoa2w9ZjJ+d5Kr5w+o5vcBSxKQ6tWt9ws0WtOofjz6dfUyH6tZdYlyH+TWzrkAmkNK ajBIon/BeIdKx2ho+owg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q3EUb-007Wm2-08; Sun, 28 May 2023 11:23:21 +0000 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q3EUQ-007WkV-2j for linux-arm-kernel@lists.infradead.org; Sun, 28 May 2023 11:23:12 +0000 Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-33b1beebbd3so10883155ab.3 for ; Sun, 28 May 2023 04:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685272989; x=1687864989; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YOnckt3TDA0cJhfLkMg+Ow7ExAuQl0k8N7Xk1jU8+tk=; b=EhcvTs2XdJPtaGPgFhLx2frzEfGElw/s/i4x1WmO6JFNiJdEkHUmX4VtC3RXuXiSgv lDTz8TqFVCJQh+UPePWXCY1fdKxngzg/tvS2ahUqRgJI1EfqMM48LgkKV7naFMUw89jh MnF2/Xuiw0Vy7WPdo2ao2xoDj0QgQh3KTEbpPfLJa/RPbAS3Z2+EOff2KB4W9sYYYOFP XPFsbJKWCEVI4dbfzlvOHuEXWSG2Amr0sRR+3lxS7TEH8bR7BDMwi+gb3ZZnhdx25LYi cx++gK/h41NYhbQKPwfJ628nMaBngnDyRARAZyXrrE/d2uqIH9Sc0tSforYXRcvegOXy 62aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685272989; x=1687864989; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YOnckt3TDA0cJhfLkMg+Ow7ExAuQl0k8N7Xk1jU8+tk=; b=hGIG6r/NS9+b+6W5g9Lt3rSyKnVVvY0MHBtXe91S7rk+eC95oRsywYECxnpwvsj+Kw TU/BACqA60sRwFIQwk3pOYD4IGTHPNzaeXZDPHST06z+oqUR0s+eYRyAbFEza+mKIDRQ mpSzCZmc/w1d8WAXpbiZTqIyD8A1P1plLSmVbq/tZBT1A+xL4NmzP3XFIWPPFWKqXtS8 DjhYsqOd22YEQM0xXIH90c3IRVi75QR4eZXAZmNI+l0yFnfuu938P6GIAAUPjsMEGwv2 uoLOWQJ5iV1spng0Cx8KmgO/C+sIuqeLsriu2cXhLzmHNtLrFKzqjYFH5fbaSzeA1+ol n4Og== X-Gm-Message-State: AC+VfDzE19Sha8bG0+IWQDQdRrOR4kzj2JryzoJrPoQBEfZ7Jqy32h9e bPRgcLtWXpq988dgrBsnaTZKRSirtkw= X-Google-Smtp-Source: ACHHUZ4t6+r6sJOXXmfo1iv9eFOsmMbJvKUtnhH7T1HqGVKvPE+EJyIKaTPtJIR6HZREN7O2TzwsHg== X-Received: by 2002:a05:6e02:5c2:b0:338:9bf3:467e with SMTP id l2-20020a056e0205c200b003389bf3467emr4902824ils.22.1685272989283; Sun, 28 May 2023 04:23:09 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:2abe:81ec:481:190b]) by smtp.gmail.com with ESMTPSA id n40-20020a027168000000b004178754b24bsm2305814jaf.166.2023.05.28.04.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 04:23:08 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 2/2] arm64: dts: imx8mn-beacon: Fix SPI CS pinmux Date: Sun, 28 May 2023 06:22:54 -0500 Message-Id: <20230528112254.2634028-2-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230528112254.2634028-1-aford173@gmail.com> References: <20230528112254.2634028-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230528_042311_004918_D46B9C45 X-CRM114-Status: UNSURE ( 9.51 ) 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 The final production baseboard had a different chip select than earlier prototype boards. When the newer board was released, the SPI stopped working because the wrong pin was used in the device tree and conflicted with the UART RTS. Fix the pinmux for production boards. Fixes: 36ca3c8ccb53 ("arm64: dts: imx: Add Beacon i.MX8M Nano development kit") Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi index 038ef8a3e604..16761975f56e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi @@ -104,7 +104,7 @@ simple-audio-card,codec { &ecspi2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_espi2>; - cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; + cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; status = "okay"; eeprom@0 { @@ -273,7 +273,7 @@ pinctrl_espi2: espi2grp { MX8MN_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x82 MX8MN_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x82 MX8MN_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x82 - MX8MN_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x41 + MX8MN_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x41 >; };