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 54EC3C6FD1D for ; Fri, 7 Apr 2023 13:35:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 682EA86182; Fri, 7 Apr 2023 15:34:20 +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="1prEtmFy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EA8A686166; Fri, 7 Apr 2023 15:34:07 +0200 (CEST) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 D200985E35 for ; Fri, 7 Apr 2023 15:34:00 +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-wr1-x430.google.com with SMTP id m2so42330334wrh.6 for ; Fri, 07 Apr 2023 06:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680874440; x=1683466440; 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=g6s5WdhdWVL7FX7Gt+hkCGlEzYlfrTCrWOYQ6vt2m4w=; b=1prEtmFyVG5lh9O/uZUq679lox1GzL5i5WRhI/Unf6s/4dgjH8zfrrQ23Y78ICO1jW yC/hyfqz6pHPKSnNKj+X8N+02BGbeQS4X8ifwP++NcA3g66RuxEdT5GRKc4zfZMltJgY 1FjLOOvPDnu2KH36cIXWvAH1w1ZrRdnkPrHvjcXvVPCEkRqFozBw9T3v0Or9P3dr1rG1 P1pX1xVTN6RxAb3SsnUYWJIF+20ZMhHIIwP2H3VRCpgqvRsN2WzCakADL/ddtQGtKk7A G99gW/tBLSGqvAH29Er92RQc9EoWHkuz1aY2k09f97AuwXGTWLlQSYUN6cPhO0/eRsjp 45/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680874440; x=1683466440; 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=g6s5WdhdWVL7FX7Gt+hkCGlEzYlfrTCrWOYQ6vt2m4w=; b=oC6yPLgdpWtLoy5nxVu93rbBtfrlbUqUazFJabWytmAogdkUArzx8nTiZfEpEa26NF pJyuNBwUJbCWuQXEaOT5Yek4MzmapQ6tsguH9AHcb1hZkTBdmPKL04CNgyj7cabE1OVv /o9SgZYvDQq/H2uVP5SjRsuXnmtnq8FkxnU6vB9Ni+JRAr8WrmKFJcFuwMe2qK0VfZYS hMOx9x1D/eQ28HjyQ7w88Ib5aQkf87qAenVo6+pK9v7cKUbB1UreAgQWXJ//BtarXvdx l47NHPX6KmCmoPa0bxTcJVzgWHCr5y1w0wkSLM7mblwqzx8YlBgzS7PEBAziOo60PeWQ 7nAA== X-Gm-Message-State: AAQBX9cmdIXqLJmf50DiETja8YjmehNZiuZMo+4fpadUXSiZ9kr7BY4F rXQdNdDEtEJmErjagLqhz/QUXw== X-Google-Smtp-Source: AKy350bV1skaT2rZekT3e3NYapFpGM++YoJ9LwjxFEVajSnNxwvxbVltLpxrSTQWzEW+ufW9bOhGbg== X-Received: by 2002:a05:6000:1808:b0:2ef:68cf:248e with SMTP id m8-20020a056000180800b002ef68cf248emr1339277wrh.14.1680874440315; Fri, 07 Apr 2023 06:34:00 -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 z16-20020a5d4c90000000b002cf1c435afcsm4573138wrs.11.2023.04.07.06.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 06:33:59 -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 v2 04/13] board: ti: k3-j721e: Force TPS65941 PMIC WD disable on j721e TI EVM board Date: Fri, 7 Apr 2023 15:33:38 +0200 Message-Id: <20230407133347.2957435-5-jneanne@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230407133347.2957435-1-jneanne@baylibre.com> References: <20230407133347.2957435-1-jneanne@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.34.1