Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 211DEC49EA5 for ; Sat, 26 Jun 2021 15:05:41 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 719D161C3A for ; Sat, 26 Jun 2021 15:05:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 719D161C3A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 50D1182C37; Sat, 26 Jun 2021 17:05:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.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=mistralsolutions.com header.i=@mistralsolutions.com header.b="EBdgCZyJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 41C0982C2F; Sat, 26 Jun 2021 16:59:18 +0200 (CEST) Received: from egress-ip4b.ess.de.barracuda.com (egress-ip4b.ess.de.barracuda.com [18.185.115.208]) (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 21E4082C2B for ; Sat, 26 Jun 2021 16:59:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sinthu.raja@mistralsolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by mx-outbound20-118.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 26 Jun 2021 14:59:14 +0000 Received: by mail-pf1-f197.google.com with SMTP id g4-20020aa787440000b02903020544da0fso7337660pfo.20 for ; Sat, 26 Jun 2021 07:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+79JZznbfGKz65lhtxYReG3jGLsX37gwCyUx1Gz+84w=; b=EBdgCZyJtDjQyY0wwf+aQbFbPIxHdg7mkiyZzP8UTuIu+Z+sT2jTvoXnppDzQchfcF EqWHd7c8vRGkWjgRvtcQ9OuM/PdQEYxRJA5vKKHzVuORhrTfwvgePxoYvHH4y8V3hIpS mk5f7d0n0GtPdpAUSetiYul/dSVKM4072tq1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+79JZznbfGKz65lhtxYReG3jGLsX37gwCyUx1Gz+84w=; b=b4H4yeEoyVKHfWxsv1uadfVvrou2X3eI4Q8XLDgE7aRgddgsR/iMYLtWLy4j3aQAr0 BkDbyWQoDnMZvdeQ84PSJHTBlLLRg6hqjU74hKksj4Er/u6ebZYAeHuQKLGvFmpdahWh RCeEQwARO2HMwC+ZrJnIu9GVLdwvUhrFH43EZUe8DaKmAqFPOxXFD0D+8MdvLlAjMhXZ fddh2Y47lXDyinUSQdhnDl7UVm1NNbbEzBj8KMBGxDE7AK0qUneQGsoLCkhgAXzZrWJc mdg+4TQ8gvKDxvVgVvPwbIvo5mm/Bqf/WvcH+9T5BPZVW+PPOX7ikXtTlC6jRkEG8UH6 8rcQ== X-Gm-Message-State: AOAM532/1i09LcAs/i7JlQu3T3Y5fh7wJMdEuLS8W4LxQqGIV6wynq84 PKbB6Ke1lUYhr1eubNTphgrnqzzSrJaOuCgShvYvuX/x+Atbusdp+TYouGIZdBT3zZyuLzPiTrh 54N+3aVpspxEoeehlZhdIxrsYRtWrBK976u0LPx6VUS64GY6gDw== X-Received: by 2002:a63:2742:: with SMTP id n63mr15066271pgn.94.1624719553072; Sat, 26 Jun 2021 07:59:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE/rSVipWLB7Yy2HjT5ALNBrrRYyztMjNYaYMqlAeuMDNMQbEhKdRIpOT/84ogfSVTfgs5mA== X-Received: by 2002:a63:2742:: with SMTP id n63mr15066257pgn.94.1624719552867; Sat, 26 Jun 2021 07:59:12 -0700 (PDT) Received: from localhost.localdomain ([49.207.221.44]) by smtp.gmail.com with ESMTPSA id g18sm8769245pfi.199.2021.06.26.07.59.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Jun 2021 07:59:12 -0700 (PDT) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de Cc: Praneeth Bajjuri , Vutla Lokesh , Amarnath MB , Sinthu Raja Subject: [PATCH 03/17] drivers: power: regulator: tps65941_regulator: Add support for 3Phase buck Date: Sat, 26 Jun 2021 20:25:48 +0530 Message-Id: <20210626145602.15702-4-sinthu.raja@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210626145602.15702-1-sinthu.raja@ti.com> References: <20210626145602.15702-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1624719553-305238-26890-33295-1 X-BESS-VER: 2019.1_20210623.1648 X-BESS-Apparent-Source-IP: 209.85.210.197 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.233199 [from cloudscan11-203.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-Mailman-Approved-At: Sat, 26 Jun 2021 17:05:02 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: Amarnath MB Buck regulator 1, 2 and 3 of TPS6594132 on j721e-eaik is in 3 Phase confguration, in-order to support this, add configuring 3 Phase buck in tps65941 while driver probing. Signed-off-by: Amarnath MB Signed-off-by: Sinthu Raja --- drivers/power/regulator/tps65941_regulator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/power/regulator/tps65941_regulator.c b/drivers/power/regulator/tps65941_regulator.c index d73f832483..89918c38fa 100644 --- a/drivers/power/regulator/tps65941_regulator.c +++ b/drivers/power/regulator/tps65941_regulator.c @@ -299,6 +299,8 @@ static int tps65941_buck_probe(struct udevice *dev) idx = 1; } else if (idx == 34) { idx = 3; + } else if (idx == 123) { + idx = 1; } else if (idx == 1234) { idx = 1; } else { -- 2.31.1