Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp453099pxb; Thu, 9 Sep 2021 04:57:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzPH0idVraOMtyrJEZCZYBCpi3EqgGBvQlScmBZjyB9h6LRbQ5nljrG2OcGlrhnuJQnwpL X-Received: by 2002:a17:907:785a:: with SMTP id lb26mr3042973ejc.77.1631188659133; Thu, 09 Sep 2021 04:57:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631188659; cv=none; d=google.com; s=arc-20160816; b=WgzEFGXSTrt1s6NbHTqYiMy8/3lnB6vCTmXz1sZfbrXz5kwnC9tD6ZFRhyckcDf5C8 t/JjNcoTVe8Sx1jYZmehVvcM5Sm1b6wya7wROEYGHA8wunJvnNH3QmJHqMKVO2qg+lPe Bx5auMKh0CZcNRia68voxYJrkz4anpUiFX8WuKEcvaLYR999bWX+WuqjUxE9uc+OzXmZ xvoq846Js92YerIDD6kGmfajmMs6tFQxW4EzGwwkXO58FTZ1HjJqsJg7MLe2YnxjarlE w4C30YJ1bTF0NBrJbja3zBM7rQl7IRXA/n/H4IyontrfAd3NOxaWYDpOgCeBopT9skcJ CzTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=96U2ljTNQ7L7yJiyIidyWrKpnaDlt8vHu7Qb4UWoEXU=; b=T0KWiWrIlA452uc889i9LZsLj3pjSlWgKaqoIdWGAyfwD9CNZijx4Il5frJoFnwKwT fyiTtwCC4ll/DYGdV/5wcQUP17edX1GPJMn5wUsdrKJjX1ENuT0nerdP0EH+2Wh3fhl0 794egd3/gLK1uRP9NAplH2eeFFWPUE6RmbyBJs9TlQ1s6otrFy+NOgYuMFJBWfCWa5Vu Eujouh3ars+Tb9AmK7q8R3k8ssjn/UI8vyb6NViuCVwCf3v5SuWT60dlRIFMqAsYeGQ3 KvnhQFNq7yYmfjJ7rB/URu2lK7sqYul/mk1APY0yMvf2ziZgI+r2NW/wkT69IQl46xZf lszQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xbj1sgXC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j18si1627706edp.44.2021.09.09.04.57.15; Thu, 09 Sep 2021 04:57:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xbj1sgXC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240066AbhIILzx (ORCPT + 99 others); Thu, 9 Sep 2021 07:55:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:55050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239060AbhIILwy (ORCPT ); Thu, 9 Sep 2021 07:52:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D6E696136A; Thu, 9 Sep 2021 11:44:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631187866; bh=V/R0gN+i0MHEYolSOZeJFTGWHbbe7nMpSoRfbptweFk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xbj1sgXCBwurQpz6zIt8AqHXyk3RP9ITTlNswwNLoCeQp8kM/BQOgMtwBoz9XCVWD owSQElxchM7TR77eXZ97xmXIDJg/u67lRRGcD1EI311Asuh90BKlfhmFP7GqMBNJrK 8JZKzznhjXq+ys7N9vGGBPHbZdVdXqY2YJ26KJ4X6YEqAdSowVB7XpAnx60m5xSaUW T42KWme1l+SVa62z1zyckZBdysoQU9TsN6KCVWf7zsqHK+xz9MO8SX3r4FaVDAEKzQ /C9s7ntm2nXsTMyqVvYkFhhC3z/M5lG+gvHaDSg3LgGL8V3vPyxIUjJSXpaunqPiQN IdP4E8Mj+Mclg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Tim Harvey , Shawn Guo , Sasha Levin , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 5.14 153/252] arm64: dts: imx8mm-venice-gw700x: fix mp5416 pmic config Date: Thu, 9 Sep 2021 07:39:27 -0400 Message-Id: <20210909114106.141462-153-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114106.141462-1-sashal@kernel.org> References: <20210909114106.141462-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tim Harvey [ Upstream commit 092cd75e527044050ea76bf774e7d730709b7e8b ] Fix various MP5416 PMIC configurations: - Update regulator names per dt-bindings - ensure values fit among valid register values - add required regulator-max-microamp property - add regulator-always-on prop Signed-off-by: Tim Harvey Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- .../dts/freescale/imx8mm-venice-gw700x.dtsi | 56 ++++++++++++------- 1 file changed, 37 insertions(+), 19 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi index c769fadbd008..11dda79cc46b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi @@ -283,65 +283,83 @@ pmic@69 { reg = <0x69>; regulators { + /* vdd_0p95: DRAM/GPU/VPU */ buck1 { - regulator-name = "vdd_0p95"; - regulator-min-microvolt = <805000>; + regulator-name = "buck1"; + regulator-min-microvolt = <800000>; regulator-max-microvolt = <1000000>; - regulator-max-microamp = <2500000>; + regulator-min-microamp = <3800000>; + regulator-max-microamp = <6800000>; regulator-boot-on; + regulator-always-on; }; + /* vdd_soc */ buck2 { - regulator-name = "vdd_soc"; - regulator-min-microvolt = <805000>; + regulator-name = "buck2"; + regulator-min-microvolt = <800000>; regulator-max-microvolt = <900000>; - regulator-max-microamp = <1000000>; + regulator-min-microamp = <2200000>; + regulator-max-microamp = <5200000>; regulator-boot-on; + regulator-always-on; }; + /* vdd_arm */ buck3_reg: buck3 { - regulator-name = "vdd_arm"; - regulator-min-microvolt = <805000>; + regulator-name = "buck3"; + regulator-min-microvolt = <800000>; regulator-max-microvolt = <1000000>; - regulator-max-microamp = <2200000>; - regulator-boot-on; + regulator-min-microamp = <3800000>; + regulator-max-microamp = <6800000>; + regulator-always-on; }; + /* vdd_1p8 */ buck4 { - regulator-name = "vdd_1p8"; + regulator-name = "buck4"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-max-microamp = <500000>; + regulator-min-microamp = <2200000>; + regulator-max-microamp = <5200000>; regulator-boot-on; + regulator-always-on; }; + /* nvcc_snvs_1p8 */ ldo1 { - regulator-name = "nvcc_snvs_1p8"; + regulator-name = "ldo1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-max-microamp = <300000>; regulator-boot-on; + regulator-always-on; }; + /* vdd_snvs_0p8 */ ldo2 { - regulator-name = "vdd_snvs_0p8"; + regulator-name = "ldo2"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <800000>; regulator-boot-on; + regulator-always-on; }; + /* vdd_0p9 */ ldo3 { - regulator-name = "vdd_0p95"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <800000>; + regulator-name = "ldo3"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; regulator-boot-on; + regulator-always-on; }; + /* vdd_1p8 */ ldo4 { - regulator-name = "vdd_1p8"; + regulator-name = "ldo4"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; + regulator-always-on; }; }; }; -- 2.30.2