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 BEE4BC77B7F for ; Fri, 12 May 2023 14:42:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2139C86322; Fri, 12 May 2023 16:39:30 +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.20221208.gappssmtp.com header.i=@baylibre-com.20221208.gappssmtp.com header.b="tJorpIgg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9A5586264; Fri, 12 May 2023 15:18:03 +0200 (CEST) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 0D07E86292 for ; Fri, 12 May 2023 15:18: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=aseketeli@baylibre.com Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-307c040797bso2057417f8f.3 for ; Fri, 12 May 2023 06:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683897479; x=1686489479; 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=tW4pcAhY2t05LAvjkA1V1Q+gMaQkvLZxcW/d0IaZPGs=; b=tJorpIggnMmditfSyKAR9gYkijnrl0/yMJxzNi0J464UAgSJAF5KlIZw00LhUl0OaT HhMRjkbYQ0rLJK7clqj63HLh5rnckxzG/sNQx+bWH6IjLfjVfDMZ/q9tKlhQs2jlkwkI gD+DqcuwrOKc7nThuryJLOx8GEq+HtS0zVkO/sIm9gSsHgJq+4vNZUAOJfSF8EddLBtu 7JrpBqjSKROwU9amk8FXeD1tFkSypFdAPgdcty1p2I88TZNNtnNeAhFp5hLMEMPQ38TV 6Mwsp8OChEa2XxBigbX/VLquUOwIYgdDNYgE5VROFxmPU9eLRy3pz9vE8CDAV7xWNAKc ymug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683897479; x=1686489479; 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=tW4pcAhY2t05LAvjkA1V1Q+gMaQkvLZxcW/d0IaZPGs=; b=U29YOdHxkQfPSg42TftxdMpDAVJTLZjyX62mHOPTDxuu3/gLPwyYf4Fzxo0gXDlkh0 cQ2cbuyZ98eLINmV8t/YlLK9nHmELjSRgemlnIMvM98PgNhPv73vvBuRMoPFjbvYjI43 jyKazTqZixvjUY2Jvv6YarbSjc1+i8iLbgoInCwe9zqkTZTYGB7Lfz8IQPOFr94O479u P5BKdhtrEUqPh6GOELNxxGhDsMgsbK/KGuG6IcFoS1A7r8r01O2OGEwxkhWJKrDk+hS5 5y9IyCLhYImEHbrzKSZ2V3hl2GNp4Fl5R1HGjPiy1XZANLl9Qb7vkx0boUvGM4Cb7YlR zePQ== X-Gm-Message-State: AC+VfDyI10OeVA7ZLa6yOssWkM25WBMVpnC2Lw+gFdoBISjuAGMm3GQV w0HKED72AGycT1nHDLZwYUIN2vXbgmge2te0PqE= X-Google-Smtp-Source: ACHHUZ7rrvmcGRdM0CKAed9CgB8lCL0JNoUYTyGeI/Y94LTPymMWFkYPy9xIppemUoulZ3KS+66vqw== X-Received: by 2002:a5d:6081:0:b0:306:312d:6350 with SMTP id w1-20020a5d6081000000b00306312d6350mr16716301wrt.48.1683897479126; Fri, 12 May 2023 06:17:59 -0700 (PDT) Received: from FRILM-EL-ITE738.lan ([2001:861:324d:93:9ce7:d81a:148f:69ad]) by smtp.gmail.com with ESMTPSA id n22-20020a7bcbd6000000b003f41bb52834sm19206881wmi.38.2023.05.12.06.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 06:17:58 -0700 (PDT) From: Apelete Seketeli To: u-boot@lists.denx.de, a-govindraju@ti.com, vigneshr@ti.com, bb@ti.com, hnagalla@ti.com, jh80.chung@samsung.com, nm@ti.com, sjg@chromium.org, jpanis@baylibre.com, aseketeli@baylibre.com, g-vlaev@ti.com, jneanne@baylibre.com, eblanc@baylibre.com, m-chawdhry@ti.com, vaishnav.a@ti.com, sinthu.raja@ti.com, a-nandan@ti.com, michal.simek@amd.com, j-keerthy@ti.com Cc: sterzik@ti.com, u-kumar1@ti.com, khilman@baylibre.com Subject: [PATCH 14/18] board: ti: k3-j721s2: Force TPS65941 PMIC WD disable Date: Fri, 12 May 2023 15:17:41 +0200 Message-Id: <20230512131745.2321727-15-aseketeli@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230512131745.2321727-1-aseketeli@baylibre.com> References: <20230512131745.2321727-1-aseketeli@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 12 May 2023 16:38:57 +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 From: Esteban Blanc Signed-off-by: Esteban Blanc Signed-off-by: Apelete Seketeli --- board/ti/j721s2/evm.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c index 8eaca9d5af..ec7abea387 100644 --- a/board/ti/j721s2/evm.c +++ b/board/ti/j721s2/evm.c @@ -29,7 +29,14 @@ DECLARE_GLOBAL_DATA_PTR; int board_init(void) { - return 0; + int ret = 0; + + /* 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 ret; } int dram_init(void) -- 2.34.1