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 0B525C76196 for ; Mon, 10 Apr 2023 14:17:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 282D785E44; Mon, 10 Apr 2023 16:16:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="GiOtLw4Y"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E116085DBB; Mon, 10 Apr 2023 16:16:24 +0200 (CEST) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9230E85D77 for ; Mon, 10 Apr 2023 16:16:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=n-francis@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33AEGGl6096288; Mon, 10 Apr 2023 09:16:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681136176; bh=cfuv0J8AXuzGRfcJXvp9DXpz33r26AuPk57zyelXPh4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=GiOtLw4Y4+ouTiJVxeW5BiYqkN7SIaDdng/n3WVXCWzTZmRp8biGxoDc/7+DxoN5c sf68L0qjG2EuKU24HRZOPlYtmZsQ72QbeddX3yKhaF8ZduRLiiEfBiWcVFRnWsTsa2 4mMAg2cvCg0EgYOTMyQnaR4hDFETqEW+y5tFgyD8= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33AEGFdE031447 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Apr 2023 09:16:15 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 10 Apr 2023 09:16:15 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 10 Apr 2023 09:16:15 -0500 Received: from ula0497641.ent.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33AEFlKO004920; Mon, 10 Apr 2023 09:16:13 -0500 From: Neha Malcom Francis To: , , , CC: , , Subject: [PATCH 7/8] power: pmic: tps65491: Dont fail on master node Date: Mon, 10 Apr 2023 19:45:45 +0530 Message-ID: <20230410141546.98922-8-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410141546.98922-1-n-francis@ti.com> References: <20230410141546.98922-1-n-francis@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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: Gowtham Tammana TPS65941 can have child only ESM nodes with no regulators, so dont fail on regulator probe failure. Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis --- drivers/power/pmic/tps65941.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/pmic/tps65941.c b/drivers/power/pmic/tps65941.c index 83d0f83c64..06a3c1406c 100644 --- a/drivers/power/pmic/tps65941.c +++ b/drivers/power/pmic/tps65941.c @@ -51,7 +51,6 @@ static int tps65941_bind(struct udevice *dev) if (!ofnode_valid(regulators_node)) { debug("%s: %s regulators subnode not found!\n", __func__, dev->name); - return -ENXIO; } debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); -- 2.34.1