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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 389B3C433EF for ; Sat, 23 Oct 2021 18:33:48 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7481360F4B for ; Sat, 23 Oct 2021 18:33:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7481360F4B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3528D83173; Sat, 23 Oct 2021 20:33:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1635014025; bh=+Bb76dfHTYlGIRQ2GpVxj8c9aF5oUwL91+Ax79Bhri4=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Zwn+s4omGBcxj1yxBCCyYbRl8hHAWrAhqsRHoOt+xZHMWO3QGllpx6Giphm+Wlpno oJqZVTb3ddhqIx74GBYuqMPa1l37nS1NXBln9MXOScMH5nXJM8kc+tHqJC/cBp/Zqw 3+4Su6Y6E9r8UgNDvQsmHw+820c7xfHa+eNUEM+5TdcWanhzMpFufg6cknnIYjSinQ UR3C16zYOI5LosSTvJfYBenqRtRg3wNNqzdwwfCfBqXMxQr2hKvLj4J8oM5/wKi6FP QNtVn7QPFAdCqUR++Qmil1fqqnxtYWOl2/Oq9xrVMaCTBY5X0H1Zful5UI0Bs8MUg3 eAXa72DgtIS6g== Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (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 BE26B831B2; Sat, 23 Oct 2021 20:33:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1635014023; bh=+Bb76dfHTYlGIRQ2GpVxj8c9aF5oUwL91+Ax79Bhri4=; h=From:To:Cc:Subject:Date:From; b=q2CHxQqDQNOXI66I4XK7qbHvY48Ct9WP6/w6gEnmXibXSJkh2jf5p4+72Sih5/1lK C39Yf7mGMiuyZ6lQ0T6xcp1mRhkJpVESSMRIgbvWz7sCErxgGIRQmQijlUwYI55gJW T0i+V5Wef4DNbrR5dBDlGo9VY5gPBjJIIaFiEATl0jAaTb8Ja3KQq4h5WUv3fJ4l2g d+GMRIM5TEt7xPucA24aFcuaofaeBITAB9FINNmWBl45/TykWFbSHZUyENZOJGpZe0 ITuIs4gduz9tBzajhusx+BQWtAf+l/SKhRyyH2LUjOcqIGrf9RPTN9Sn9buo3x2OSo Di7tXwjexlq2Q== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Patrice Chotard , Patrick Delaunay Subject: [PATCH 1/2] ARM: dts: stm32: Drop nWP GPIO hog on DHSOM Date: Sat, 23 Oct 2021 20:33:33 +0200 Message-Id: <20211023183334.106831-1-marex@denx.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The nWP GPIO hog was used to unlock the SPI NOR write protect when U-Boot used to operate the SPI NOR in 1-1-1 mode. Now that the SPI NOR is operated in 1-1-4 mode, the hog has adverse effects and causes transfer corruption, since the hogged pin is also the IO2 pin. Remove the hogs. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay --- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 9 --------- arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 9 --------- 2 files changed, 18 deletions(-) diff --git a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi index 11bc247065b..71b0486f02a 100644 --- a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi +++ b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi @@ -50,15 +50,6 @@ }; }; -&gpiof { - snor-nwp { - gpio-hog; - gpios = <7 0>; - output-high; - line-name = "spi-nor-nwp"; - }; -}; - &i2c4 { u-boot,dm-pre-reloc; }; diff --git a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi index 9d3db208769..502cd95da05 100644 --- a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi +++ b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi @@ -25,15 +25,6 @@ u-boot,dm-spl; }; -&gpiof { - snor-nwp { - gpio-hog; - gpios = <7 0>; - output-high; - line-name = "spi-nor-nwp"; - }; -}; - &i2c4 { u-boot,dm-pre-reloc; }; -- 2.33.0