From patchwork Thu Aug 27 12:42:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1352532 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=tA0rzEDT; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bcj714JVrz9sRK for ; Thu, 27 Aug 2020 22:42:35 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5C03880422; Thu, 27 Aug 2020 14:42:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="tA0rzEDT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A47368158B; Thu, 27 Aug 2020 14:42:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 AB3E98006D for ; Thu, 27 Aug 2020 14:42:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wm1-x343.google.com with SMTP id y8so3660006wma.0 for ; Thu, 27 Aug 2020 05:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CvSFWSPg+yOSyhIzpgvhhp3IVwz82rLlCx9ZSWUWtDA=; b=tA0rzEDTfJs6KmL9w8GY9UdGEc2542fBcxjQhZE6a0NTLxqaVfyLn5li4mR4q0uyGc vcATbMtsey5AUc3vhQ/hzGv0YEnKaFTk4LLJUnRvgbnCppoZOw0miOzvNCZi3aIUmx9h xPSzx+vBC3SAXUZL9RDrlYvTufZ0lhtadrKzpD2SVSKQwXmpIWE7UyvBfMNemnXohpi7 NoSB2RCoy9t6aDUQkyvQVEPT5rRv+zhf14OuOY+wp2h9gU0ydQ1uw5GOBuGFxCYlCkHP aN+ofUCmAADpkNTWZWkqyMufrSfyAxGyOlqWgt7g5xUi2p9W11leiFo7qucZ9NwSsLog GYIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=CvSFWSPg+yOSyhIzpgvhhp3IVwz82rLlCx9ZSWUWtDA=; b=eV+sukclq6x4A+8PYnypDEhpO0M2VZdMjWVjBotyWA8bm+Yz46a0XKCDcf1GCD/Dry 0dBg9ua8r9urFln8Vq0udK2Nh2L1iEklCdqrMftF4GzO60lBrARAmxMHW4tCsWGtNP8J Ye4oDzoq1G/VZjmeTgNoQ7QcZ6Ptj7Ij5qbTnXv/39G7eUj06f/pTqVQM781O8xn42wn BJNUzF9F3wGt+e3R84vpHRpXI6IPdeuClqsNro6DsDIAJMSHYQTHMFbuCn/RkWghvZJQ JemKNM1TmXmoA7oqgKyvDkm28gi/KTCkVlcYiWdE35LjzznmKNtjVNDoINUIbkdCpyHx +INQ== X-Gm-Message-State: AOAM530ZqBK9KfaPuG2lp4O+1wgl9UiI9bCWM5g0ewt09WMwfjFJHphv m3AqBWmzy3F9zwcsFVE65wXiQ4dyt+ZU1Q== X-Google-Smtp-Source: ABdhPJxachzWNj/WeveJX7zYXqEyQcXpSfLWXs9r/1Rr45jbTxqzoVZSfTw3QB5XbVXElmGSds/9kg== X-Received: by 2002:a1c:8:: with SMTP id 8mr12294778wma.40.1598532142975; Thu, 27 Aug 2020 05:42:22 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id j8sm6044600wrs.22.2020.08.27.05.42.22 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Aug 2020 05:42:22 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Saeed Nowshadi Subject: [PATCH] arm64: zynqmp: Correct value of shunt resistor for VCCINT and VCC_SOC Date: Thu, 27 Aug 2020 14:42:21 +0200 Message-Id: <381c18f846f62b0aab209d081be62ad9ceb3ea4d.1598532138.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean From: Saeed Nowshadi Value of shunt resistor for INA226s that monitor VCCINT and VCC_SOC power rails are incorrect. This patch corrects those values. Signed-off-by: Saeed Nowshadi Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts index b81919e31948..aae3c626f562 100644 --- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts +++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts @@ -230,16 +230,16 @@ #io-channel-cells = <1>; label = "ina226-vccint"; reg = <0x40>; - shunt-resistor = <5000>; /* R440 */ - /* 0.78V @ 32A 1 of 6 Phases*/ + shunt-resistor = <500>; /* R440 */ + /* 0.80V @ 32A 1 of 6 Phases*/ }; vcc_soc: ina226@41 { /* u161 */ compatible = "ti,ina226"; #io-channel-cells = <1>; label = "ina226-vcc-soc"; reg = <0x41>; - shunt-resistor = <2000>; /* R1186 */ - /* 0.78V @ 18A */ + shunt-resistor = <500>; /* R1702 */ + /* 0.80V @ 18A */ }; vcc_pmc: ina226@42 { /* u163 */ compatible = "ti,ina226";