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 36CB1C76196 for ; Thu, 6 Apr 2023 17:42:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E6183860D4; Thu, 6 Apr 2023 19:41:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com 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=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="EznK+MQS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF1FE86077; Thu, 6 Apr 2023 17:38:37 +0200 (CEST) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 3B7838606E for ; Thu, 6 Apr 2023 17:38:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jneanne@baylibre.com Received: by mail-wm1-x334.google.com with SMTP id n10-20020a05600c4f8a00b003ee93d2c914so25432165wmq.2 for ; Thu, 06 Apr 2023 08:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680795514; x=1683387514; 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=xafc/9mDFSuaS0t1r5pCG6rp2+7DJRezrGX5S+8UGgg=; b=EznK+MQSJHLuwqaKRJJdLrHwM0lVj4bQfWPTdXm7wmS13YAqjQ8owCCw2ANJCFwyiL OeO4Pydjh4IxBaBHdeVw2op+V/P/ildNN24EbUX053bpFfcNe/PxeZVoDKwkfTEFAaJt /aI2xet7v90tmir3Syk4fIX3H7gJhi9x29AC1VDj2Dn7gkw4qa0BJw16yKUSB0HQe5uQ 5JYSxFCnYIG5MoMRNCr27B9ZoWoINbMFxBFO9X2hgG3nb4EAzZghRUxEcbCRLHED3gYa ce9Vq2+TYTnGsnn9yAaqV5E8gnfd6a00GK8WKejxLs9ye91lDRfbZwhE26Gm2k8CjJep eUOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680795514; x=1683387514; 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=xafc/9mDFSuaS0t1r5pCG6rp2+7DJRezrGX5S+8UGgg=; b=y5b9RM0wFRQgXy0rs0Y/LYpwwP9SY4ORjkYsYubYPFGGAp+9aw+HH1Fn0VRF+DgXMi aQA507ANY5jT2yYM9w+SEenveQhE0ukAJWbNJtQEMRXAmVeFxxXyuoyfk2KE02/RQfLf aCq0ULlQI7F6mcgVwAlEgmWd5OCv/UVL2l/D9JCbNGbLZLJ/Vk/3So7J6Re76YHUZOMj rO5d/OgvbanmOx5sqipW0mrALqXhTr3u+1jRea+8bzrJEeqoAN73fMJIn/2n5OoeZbLG z0MNx4IS3+Ulrawl0wYJlEJapBpcZscb8PDDBqfoMwRcA3nx1X0TXOquP9wLwtILD7Zh Wogg== X-Gm-Message-State: AAQBX9ePfvlJ81p/RKlacBtdBUngCPEfVV6dx/q+RKp87nd0fMZ1O4bg hyjTp1/L3nBPH0pxDQHZ9FZcWQ== X-Google-Smtp-Source: AKy350Yu0p0d0l9U5zjadaXauxxiYhwAsu6tPt0Yn/GoEEImH5RLGs1zlUJ4dh8qfZ7Kpb8mgsWcEA== X-Received: by 2002:a7b:ce16:0:b0:3ed:4b0f:5378 with SMTP id m22-20020a7bce16000000b003ed4b0f5378mr7566015wmc.27.1680795514731; Thu, 06 Apr 2023 08:38:34 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id m21-20020a7bcb95000000b003ee4e99a8f6sm1891760wmi.33.2023.04.06.08.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 08:38:34 -0700 (PDT) From: Jerome Neanne To: vigneshr@ti.com, bb@ti.com, jh80.chung@samsung.com, nm@ti.com, g-vlaev@ti.com, d-gerlach@ti.com, jpanis@baylibre.com, jneanne@baylibre.com, vaishnav.a@ti.com, michal.simek@amd.com, j-keerthy@ti.com Cc: u-boot@lists.denx.de, sterzik@ti.com, u-kumar1@ti.com, eblanc@baylibre.com, khilman@baylibre.com Subject: [PATCH v1 4/9] board: ti: k3-j721e: Force TPS65941 PMIC WD disable on j721e TI EVM board Date: Thu, 6 Apr 2023 17:38:15 +0200 Message-Id: <20230406153820.2800054-5-jneanne@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230406153820.2800054-1-jneanne@baylibre.com> References: <20230406153820.2800054-1-jneanne@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 06 Apr 2023 19:41:06 +0200 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.8 at phobos.denx.de X-Virus-Status: Clean Using uclass_probe_all forces probe on all devices: Only probe for WD stop is really needed here. Probing other devices has no impact. Signed-off-by: Jerome Neanne --- board/ti/j721e/evm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index d4e672a7ac..a3304468d4 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -27,6 +27,8 @@ #include "../common/board_detect.h" +#include + #define board_is_j721e_som() (board_ti_k3_is("J721EX-PM1-SOM") || \ board_ti_k3_is("J721EX-PM2-SOM")) @@ -43,6 +45,12 @@ DECLARE_GLOBAL_DATA_PTR; int board_init(void) { + int ret; + + /* WD stop is applied unconditionally on all platforms*/ + ret = uclass_probe_all(UCLASS_PMIC); + if (ret) + printf("Failed to probe! stop tps65941 wd\n"); return 0; } -- 2.25.1