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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6DAF7ECAAD5 for ; Mon, 5 Sep 2022 16:32:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4B02F8488F; Mon, 5 Sep 2022 18:32:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foundries.io header.i=@foundries.io header.b="D4K3uYoE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 279B3848DE; Mon, 5 Sep 2022 18:32:17 +0200 (CEST) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 59DEA8483E for ; Mon, 5 Sep 2022 18:32:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jorge@foundries.io Received: by mail-wm1-x32d.google.com with SMTP id k17so5516654wmr.2 for ; Mon, 05 Sep 2022 09:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date; bh=SuRsrQ1ffq2QfHIXWodAGj21RJyBLqOnSuN6oI+rJNk=; b=D4K3uYoEed4c+3icGD3Ynyrvt0cWI+DoUvk9KMfPgP8pZ51t+x/VmPBF1ItdVDdrwj z8Glc8qywL03ONKlcSKddkkGXEV7TRTIZI6RLRXGLmxIK8OBu3mYGY97fxX5TvNzRXvZ E2p2ed52owqN7EYjnlDtV90Cy06oPbzV+J+mpmob9Asdu9xKztHo8fKkwurcY4dMWUro zoAoS5IXDW/Fd+UYe3h4UNa6uirIV7zIKyy/KRQRvpWLwDDgyuxfU+kktQXeaZQHZRIJ EdXPAJtZbKARQkd1odJ1bAEMy7R+j5r0JBidlcAoRXvdinF1sEAo1chlfbTOhwz571kX 9HZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date; bh=SuRsrQ1ffq2QfHIXWodAGj21RJyBLqOnSuN6oI+rJNk=; b=AdOBT2M2ESKohK6C6y9+o222qhEUkJ7LjRjPW0TytC/6q7dxdOSOQsFHzggUcOID4G O7MxYF9tIcdlnX60ExyWHx48ub389OZrZxp5/WU702nSGBLimavlH9QtbPhEA6LXmc+Z G8PFE5ksAR1xB3TL1BvNBtM0J9nBk7jWpPmBdTPkmsFwZx8QtfN54YWwlr3FeW1PlEfy dahqDAKPor3/4Ke277LZLY5SBeVGNzzZWVbZ7YxIogWsDEVxBVyF9j4rvCZFtdfN4Tfv 7sROT8zFfj36L08tyAhSfJIrgtt+VazMJfCs9zFjq54np/HpZyztnvcmF5yxLzm0bXhx URpA== X-Gm-Message-State: ACgBeo1Z+4M/Yzgm8wbRBNxzWYWoTu4ItcLt4mftcwMSR4nsGBBrCwBc CdRtr9JkSTY8t9AYyEOM1DxblQ== X-Google-Smtp-Source: AA6agR4xF0ZmygA2XmcNF6fUwwl7kCB+30dTFTIU4sIEEK6lsDBeEGmrZDSTX0NBUJqqXSV82P5wNg== X-Received: by 2002:a05:600c:4ece:b0:3a6:28:bc59 with SMTP id g14-20020a05600c4ece00b003a60028bc59mr11176375wmq.154.1662395533826; Mon, 05 Sep 2022 09:32:13 -0700 (PDT) Received: from trex (131.red-83-60-92.dynamicip.rima-tde.net. [83.60.92.131]) by smtp.gmail.com with ESMTPSA id e28-20020a5d595c000000b0021e13efa17esm9427687wri.70.2022.09.05.09.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 09:32:13 -0700 (PDT) From: "Jorge Ramirez-Ortiz, Foundries" X-Google-Original-From: "Jorge Ramirez-Ortiz, Foundries" Date: Mon, 5 Sep 2022 18:32:12 +0200 To: Jorge Ramirez-Ortiz Cc: patrick.delaunay@foss.st.com, patrice.chotard@foss.st.com, uboot-stm32@st-md-mailman.stormreply.com, u-boot@lists.denx.de, mike@foundries.io Subject: Re: [PATCH] configs: stm32mp*: reset via CONFIG_RESET_SCMI Message-ID: <20220905163212.GA2219123@trex> References: <20220830195049.1068973-1-jorge@foundries.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830195049.1068973-1-jorge@foundries.io> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On 30/08/22, Jorge Ramirez-Ortiz wrote: > Enabling CONFIG_SYSRESET_PSCI prevents CONFIG_RESET_SCMI > from executing. > > The side effect observed are I2C devices no longer being > accessible from U-boot after a soft reset. I think this PR should get a bit more of attention. The current reset configuration is broken, this is a fix. Do I need to rename the PR? TIA jorge > > Signed-off-by: Jorge Ramirez-Ortiz > --- > configs/stm32mp13_defconfig | 1 - > configs/stm32mp15_defconfig | 1 - > configs/stm32mp15_trusted_defconfig | 1 - > 3 files changed, 3 deletions(-) > > diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig > index 673b468d31..44cee2e656 100644 > --- a/configs/stm32mp13_defconfig > +++ b/configs/stm32mp13_defconfig > @@ -69,7 +69,6 @@ CONFIG_RNG_OPTEE=y > CONFIG_DM_RTC=y > CONFIG_RTC_STM32=y > CONFIG_SERIAL_RX_BUFFER=y > -CONFIG_SYSRESET_PSCI=y > CONFIG_TEE=y > CONFIG_OPTEE=y > # CONFIG_OPTEE_TA_AVB is not set > diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig > index e5a2996c2c..2ad02f3652 100644 > --- a/configs/stm32mp15_defconfig > +++ b/configs/stm32mp15_defconfig > @@ -133,7 +133,6 @@ CONFIG_SPI=y > CONFIG_DM_SPI=y > CONFIG_STM32_QSPI=y > CONFIG_STM32_SPI=y > -CONFIG_SYSRESET_PSCI=y > CONFIG_TEE=y > CONFIG_OPTEE=y > # CONFIG_OPTEE_TA_AVB is not set > diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig > index e14668042f..9e24e82920 100644 > --- a/configs/stm32mp15_trusted_defconfig > +++ b/configs/stm32mp15_trusted_defconfig > @@ -134,7 +134,6 @@ CONFIG_SPI=y > CONFIG_DM_SPI=y > CONFIG_STM32_QSPI=y > CONFIG_STM32_SPI=y > -CONFIG_SYSRESET_PSCI=y > CONFIG_TEE=y > CONFIG_OPTEE=y > # CONFIG_OPTEE_TA_AVB is not set > -- > 2.34.1 >