Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F1D2C433F5 for ; Wed, 8 Sep 2021 22:34:59 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E41A860F5B for ; Wed, 8 Sep 2021 22:34:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E41A860F5B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OF6uDvhk5f3JVIFAs3teApKWqDxB8CkkOJYIIQ3IrJU=; b=wUZTAPnsrSNq2Z8KdyDnMFJgyj HrbjA57V+w6Ab6LF9IPVYBSCVVSuxrjwFe2dTBbX7OsjT99i4ETS5OAGSylgK407tZhLrZjBQVD3d XNFwNEmGqvmuBvvl8VsfjP8A26kDSlUpyvuFY5yEQUcP/rQMA1043vtEJdYUBnCh5pPV9QkwpfiXx rzeBxHF9RmYbbLwWHcC6NXK+qd73D6ZIzPgtafxrzfM05gypOHhmDD+TVm4bEhlSMZsgjUs06gVuZ uh4WbDK0OVNR1vcU9MSKlE7YwnEHAorL+GIyGEBI09es+09SWjQVYX86f4nAERg18XBJQYYU8GJOs lvVcCaEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mO680-007iyu-4e; Wed, 08 Sep 2021 22:33:12 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mO67v-007ixu-2N for linux-arm-kernel@lists.infradead.org; Wed, 08 Sep 2021 22:33:09 +0000 Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 3FF6482C45; Thu, 9 Sep 2021 00:33:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1631140382; bh=VYJiCz9fw7qpWRBTNMB3ch4ggH8Ohr9BPrgETajDM1o=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=OTTfG2AUzkIHIOZKqN0JAkLeNyh7UVBlm4xkWkjlifpth9VMiyfUkxI1Vyy0/ANaM FwtrkhmwrSkE4F+M7P7QTaQhrdEnsXr6juUzEaY24ULAG9ttxyS46JrvZyaCCcmXKo 2hGh1bsSm0fGi+zRP5N2Tu3GOW4IDGbOEh5EaEsL4echzTn6UbWKH1MAN27CpYcRU2 HELtCJlM1fxYfiWQuv05FS/i76d4m74MlRbxDqIqygo7WUcA1r7Os8ct7v1u5ouGil LYVvcbFllW7j4H5/jdl9C/8pQTJk40mu5YU9+3aLvoJIAowC0rTAJSrbvxbBC8eUuO CRtkXFEgAGteg== Subject: Re: [PATCH] ARM: dts: imx: Fix ECSPI nCS polarity on M53Menlo To: Fabio Estevam Cc: "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Shawn Guo , NXP Linux Team , Linus Walleij References: <20210905000202.95459-1-marex@denx.de> From: Marek Vasut Message-ID: Date: Thu, 9 Sep 2021 00:33:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210908_153307_365564_F50DE5C2 X-CRM114-Status: GOOD ( 17.53 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 9/5/21 2:51 AM, Fabio Estevam wrote: > [Adding Linus] > > On Sat, Sep 4, 2021 at 9:02 PM Marek Vasut wrote: >> >> This board has the nCS lines connected to a CPLD and they are active >> high. Undo the change from 2bfdd113d0ee1 ("ARM: dts: imx: Fix the SPI >> chipselect polarity") for this board, as the previous DT description >> was correct. >> >> Fixes: 2bfdd113d0ee1 ("ARM: dts: imx: Fix the SPI chipselect polarity") >> Signed-off-by: Marek Vasut >> Cc: Shawn Guo >> Cc: Fabio Estevam >> Cc: NXP Linux Team >> --- >> arch/arm/boot/dts/imx53-m53menlo.dts | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/imx53-m53menlo.dts b/arch/arm/boot/dts/imx53-m53menlo.dts >> index 4f88e96d81ddb..03c43c1912a7e 100644 >> --- a/arch/arm/boot/dts/imx53-m53menlo.dts >> +++ b/arch/arm/boot/dts/imx53-m53menlo.dts >> @@ -104,7 +104,7 @@ &clks { >> &ecspi2 { >> pinctrl-names = "default"; >> pinctrl-0 = <&pinctrl_ecspi2>; >> - cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, <&gpio2 27 GPIO_ACTIVE_LOW>; >> + cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, <&gpio2 27 GPIO_ACTIVE_HIGH>; >> status = "okay"; >> >> spidev@0 { > > Then you need to pass the 'spi-cs-high' property under the spidev nodes. Turns out this patch can be dropped altogether. Please drop this one. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel