All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Marek Vasut <marex@denx.de>,
	Alexandre Torgue <alexandre.torgue@st.com>,
	Patrice Chotard <patrice.chotard@st.com>,
	Patrick Delaunay <patrick.delaunay@st.com>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	linux-stm32@st-md-mailman.stormreply.com
Subject: [PATCH 09/22] ARM: dts: stm32: Repair PMIC configuration on AV96
Date: Sat, 28 Mar 2020 18:11:31 +0100	[thread overview]
Message-ID: <20200328171144.51888-10-marex@denx.de> (raw)
In-Reply-To: <20200328171144.51888-1-marex@denx.de>

The core and vdd PMIC buck regulators were misconfigured, which caused
instability of the board and malfunction of high-speed interfaces, like
the RGMII. Configure the PMIC correctly to repair these problems.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
---
 arch/arm/boot/dts/stm32mp157a-avenger96.dts | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp157a-avenger96.dts b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
index dfd9c2863e78..01ffb4c60caa 100644
--- a/arch/arm/boot/dts/stm32mp157a-avenger96.dts
+++ b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
@@ -178,7 +178,7 @@ regulators {
 
 			vddcore: buck1 {
 				regulator-name = "vddcore";
-				regulator-min-microvolt = <1200000>;
+				regulator-min-microvolt = <800000>;
 				regulator-max-microvolt = <1350000>;
 				regulator-always-on;
 				regulator-initial-mode = <0>;
@@ -196,8 +196,8 @@ vdd_ddr: buck2 {
 
 			vdd: buck3 {
 				regulator-name = "vdd";
-				regulator-min-microvolt = <3300000>;
-				regulator-max-microvolt = <3300000>;
+				regulator-min-microvolt = <2500000>;
+				regulator-max-microvolt = <2500000>;
 				regulator-always-on;
 				regulator-initial-mode = <0>;
 				regulator-over-current-protection;
@@ -275,6 +275,7 @@ vbus_otg: pwr_sw1 {
 				regulator-name = "vbus_otg";
 				interrupts = <IT_OCP_OTG 0>;
 				interrupt-parent = <&pmic>;
+				regulator-active-discharge = <1>;
 			};
 
 			vbus_sw: pwr_sw2 {
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2020-03-28 17:14 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28 17:11 [PATCH 00/22] ARM: dts: stm32: Repair AV96 board Marek Vasut
2020-03-28 17:11 ` [PATCH 01/22] ARM: dts: stm32: Add alternate pinmux for ethernet RGMII Marek Vasut
2020-03-28 17:11 ` [PATCH 02/22] ARM: dts: stm32: Repair ethernet operation on AV96 Marek Vasut
2020-03-28 17:11 ` [PATCH 03/22] ARM: dts: stm32: Add missing ethernet PHY reset " Marek Vasut
2020-03-28 17:11 ` [PATCH 04/22] ARM: dts: stm32: Add missing ethernet PHY skews " Marek Vasut
2020-03-28 17:11 ` [PATCH 05/22] ARM: dts: stm32: Add alternate pinmux for SDMMC1 direction pins Marek Vasut
2020-03-28 17:11 ` [PATCH 06/22] ARM: dts: stm32: Repair SDMMC1 operation on AV96 Marek Vasut
2020-03-28 17:11 ` [PATCH 07/22] ARM: dts: stm32: Add alternate pinmux for SDMMC2 pins 4-7 Marek Vasut
2020-03-30 11:11   ` Patrice CHOTARD
2020-03-30 11:17     ` [Linux-stm32] " Ahmad Fatoum
2020-03-30 11:22       ` Marek Vasut
2020-03-30 11:37         ` Ahmad Fatoum
2020-03-30 11:45           ` Marek Vasut
2020-03-31  8:58             ` Alexandre Torgue
2020-03-31 13:38               ` Marek Vasut
2020-03-31 16:39                 ` Alexandre Torgue
2020-03-31 16:44                   ` Marek Vasut
2020-04-01  9:49                     ` Alexandre Torgue
2020-03-28 17:11 ` [PATCH 08/22] ARM: dts: stm32: Add eMMC attached to SDMMC2 on AV96 Marek Vasut
2020-03-28 17:11 ` Marek Vasut [this message]
2020-03-28 17:11 ` [PATCH 10/22] ARM: dts: stm32: Repair PMIC interrupt " Marek Vasut
2020-03-28 17:11 ` [PATCH 11/22] ARM: dts: stm32: Add QSPI NOR " Marek Vasut
2020-03-28 17:11 ` [PATCH 12/22] ARM: dts: stm32: Add configuration EEPROM " Marek Vasut
2020-03-28 17:11 ` [PATCH 13/22] ARM: dts: stm32: Enable GPU " Marek Vasut
2020-03-28 17:11 ` [PATCH 14/22] ARM: dts: stm32: Add alternate pinmux for SDMMC3 pins Marek Vasut
2020-03-28 17:11 ` [PATCH 15/22] ARM: dts: stm32: Enable WiFi on AV96 Marek Vasut
2020-03-28 17:11 ` [PATCH 16/22] ARM: dts: stm32: Add alternate pinmux for USART2 pins Marek Vasut
2020-03-28 17:11 ` [PATCH 17/22] ARM: dts: stm32: Enable Bluetooth on AV96 Marek Vasut
2020-03-28 17:11 ` [PATCH 18/22] ARM: dts: stm32: Add alternate pinmux for LTDC pins Marek Vasut
2020-03-28 17:11 ` [PATCH 19/22] ARM: dts: stm32: Add bindings for HDMI video on AV96 Marek Vasut
2020-03-28 17:11 ` [PATCH 20/22] ARM: dts: stm32: Add bindings for audio " Marek Vasut
2020-03-28 17:11 ` [PATCH 21/22] ARM: dts: stm32: Add bindings for USB " Marek Vasut
2020-03-28 17:11 ` [PATCH 22/22] ARM: dts: stm32: Rename LEDs to match silkscreen " Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200328171144.51888-10-marex@denx.de \
    --to=marex@denx.de \
    --cc=alexandre.torgue@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=patrice.chotard@st.com \
    --cc=patrick.delaunay@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.