| Message ID | 20250514082507.1983849-2-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRB25GSHAQMGQEWPK4XWI@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com
[209.85.128.70])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1B1D53F049
for <linux-amarula@patchwork.amarulasolutions.com>;
Wed, 14 May 2025 10:25:16 +0200 (CEST)
Received: by mail-wm1-f70.google.com with SMTP id
5b1f17b1804b1-43ce8f82e66sf34163835e9.3
for <linux-amarula@patchwork.amarulasolutions.com>;
Wed, 14 May 2025 01:25:16 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1747211116; cv=pass;
d=google.com; s=arc-20240605;
b=g3vsd50WBE4sxt6T3+xc6ei/Wb3ZRHejtBdo72szJ7EBu3+Q0/Vho6qcYiRADmmGh4
dA11/KVau7UIz0ItqYC4Su6U6IQIaHotJmCNk4Tp96q5ZmhyzXi5ForYS4ACRIaVy3ue
xoNlxFim271r4pmkgMG7ZxW7y1/IsaUf1am7f3KGTpknYVlEdpQZWhrfSqUMZJ0x0Plp
v69g6o0cmExgl7yAml/ZFHDxAh9GBpkoETBNBeHEHRY7q58kesGLPCGRy5rVpMEqrwcy
Tl12MOpifj4PhNEOrLYwQYUsoNVrmj8EvLOY3+BLEDYXgTxNwZ0ZGsYJ6VaKW06gFPRN
nW4w==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=AvNjz4sFjNHTpHaZ8m/O/PTu/QvTdeeL1oVKJAXIp9M=;
fh=25PrFkF9Ygv5szQPeHwp/ja39REjjaMBVwkUNsXhvLI=;
b=hyVM/O0O261+kUO60TW4icooPSPkneQk6nT4Ls1QRXRJglZxvEbh1ntBQfUvzy/g8o
GWLfsKi1T7uxGxXGrB1sewV4qDbiIRyoNowEBn3125jkjMZr+dhaL1xVTkf8Td54vrWY
m5UCdYQcyzRmByjq8rbxAQmVo9erZrpPdZwBslwnYxJgv4UoulbfC8yADU8lv5ZPMSkW
xd9PJ9J1SbWycJntCDPaJdPPf0DgGmLbpf7x1KfwRGzU0s/eZGflzqDDA0KNUeQSs6+n
NG69Fqf6UqCRset/CgSgwIAmOt5XmAff621iyOdksq48tgZ/ql0fdq+s7vDFvyz2V7aI
Kd3A==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=X5VgG6Py;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1747211115; x=1747815915;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:x-original-authentication-results
:x-original-sender:mime-version:references:in-reply-to:message-id
:date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=AvNjz4sFjNHTpHaZ8m/O/PTu/QvTdeeL1oVKJAXIp9M=;
b=hwaIcGkG+XxQPjRkTNKeDqdwLbbUZZx/C7df6MHeVMRiP9vkNRptd5FLUWO74Dx5th
c0MDYCYDJZ8MW73Pl1nmHsXqgR0XrHXM3SCUb/pRw2elDcsB2nYpZx5aNFGFKQCLFANc
HrrV4viUY0EC3IBiJdsnHva2b3IXX1wwFqrVE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1747211115; x=1747815915;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:references:in-reply-to:message-id:date:subject:cc:to:from
:x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=AvNjz4sFjNHTpHaZ8m/O/PTu/QvTdeeL1oVKJAXIp9M=;
b=dN2oInY2NjxDPySKRIWucW0sjMrAE/h5qLEidooJHVd7l/5Eyk3qT90nIjyCID0GkC
p3wuYqoWBXbcmsLisg/SzxlzCu9pFl0F4GctSLVTNleoxjjjq0u7y0uHNqsW8/wHUxAe
JGFSgz5cKBtF2ZhsLNC7sgQlD8F5arhmV/2kzYBp3DoK8CodqrtiXsvJjQQCvu+kTUk0
QB72QaqD0BbZoKsfL2eQJ13Is6dzV2hJeDbjyffdKe/letIkemRd/+WNheixWMFK0Qk0
mvqcNAofCLwia1C9iBajcmwlW1rvHj5wN8xFAYS3C7GswMviwAl3o7i7KAL0vEZTQvHB
o3TA==
X-Forwarded-Encrypted: i=2;
AJvYcCUXX/GFTYoI1Dal9uz/PagwJVFvPQcRp+Jd8Xt+SelapqYKuWnVHr51p/OdFjM6l79fcg+gs1SYUAWL+fER@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YwPoU3wAFvO14pfP/fDMxObY4nD29NF6Z+dLxc6tFtdMmwFweWt
Nnnp/tLdVFu3nC6qYi9K56Jc73fVvzj966TUCPjlSQKBUMjlqgife/TltfELs4lIjg==
X-Google-Smtp-Source:
AGHT+IFJuxo9IHMHMsffpJk1IAeyPktK+T9q6ZbCbUa6CZy7fGG/TsAYlk3/2aRGUg6xjw2Bw9KDfQ==
X-Received: by 2002:a05:600c:1e84:b0:43d:2313:7b4a with SMTP id
5b1f17b1804b1-442f20b91cemr24474795e9.3.1747211115600;
Wed, 14 May 2025 01:25:15 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h=AVT/gBEbIm9PDh2uppORXbOBOm4gU7Bi7rz8VknflzRzdkvhPw==
Received: by 2002:a05:600c:1da8:b0:43d:1776:2ebe with SMTP id
5b1f17b1804b1-442d046803els11844015e9.2.-pod-prod-08-eu; Wed, 14 May 2025
01:25:13 -0700 (PDT)
X-Forwarded-Encrypted: i=2;
AJvYcCUdPLXRWyj7v9eP5ccXHr0icuIJL5dOAdnpBNrXBThfJ+71q2DTSlq4KvKoiu6VArqg3BarNuvhYQSc5q1A@amarulasolutions.com
X-Received: by 2002:a05:600c:1c2a:b0:43d:683:8caa with SMTP id
5b1f17b1804b1-442f20fc9b4mr20995235e9.15.1747211113227;
Wed, 14 May 2025 01:25:13 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1747211113; cv=none;
d=google.com; s=arc-20240605;
b=WIuWjAc/EOYxbxdyRosrxQ6iiLmrpVJoMdUkOQEUaK7sQT6wvXsmzv8Lb4l8wZFcVG
T5m2fhAR1fkgFSsXhtxvVLYNXV05B8cK6KBLjnpPnlqIxcaWbJHL7XiaGdCRmDEotU5p
Gb5C974kTU7fJidjogjmtzScDAIDLaB7ncR+caF/aCWBudmRxhTUIKcDsHQpm4duR2Mk
QEvUm3Z69C1juRECNP6lYVWiaOKgTs9dUglOZc5PZvU5Dj8dlN6W/WTOwCndBFNv8w7k
6re9NvANWe5F7MlreJ8loxm1viDVAVacOyd59/iHpynz1CL/MgHY2D2yhA1mNrQEs8tj
fS1w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=APXOpnkKR2dL3UO348/Gsh5gr4ZIHC6LxJe7czOv/OQ=;
fh=3MjDy73GaIVnXPXiLSOQBhQ96CFQNCRS0aeCheVeYHk=;
b=MaETXbkeoVugePg4n/5pQIS3vVMT+YSpZf8IbtSTY1cPtIY6Qq3WQIVnYuax39cN1M
f8J4VhxenzeFzLi/WaxP7KK18BV1sfb5aBaD1CSrB22AGPZW9/6JAOLE6ciw5ltzUOxZ
kNDqxluHLm1wfQrdoZ/t+q9vuyQL6A8X9cy6TjcorjWMy89Q7gce8gC5AXrfStmFWzvO
x1JNpDvQ6GbJAyLXPprnM45Oo0u2HRL9ZdwwRL3KcHE1SJa1erb75fJVgE5kpKL2vafS
jHL0ZjP56lfadxLCdd40T/KKP39HjzivqV+R27t1Tf7nR/J/Cjt5SsSqck+nX7jyVDKm
hw1w==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=X5VgG6Py;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com.
[209.85.220.41])
by mx.google.com with SMTPS id
5b1f17b1804b1-442d686070dsor37731755e9.8.2025.05.14.01.25.13
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Wed, 14 May 2025 01:25:13 -0700 (PDT)
Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Forwarded-Encrypted: i=1;
AJvYcCVCHNntCyhplSr42gOBtlLgRX9Mft97S0BHWcCJkQBJnDouxo91QlK35kfHJHxN8wtAFGPrwm0OuqmMD6LA@amarulasolutions.com
X-Gm-Gg: ASbGncsZBuH4d2jhVFrdnEwwlBGjSexUZlvZODqiOGjilGl3KT/gRDKnRU1OmHCd8zg
B4dhKIe2q9MOXXq0cSHECqpnfMfwNhRZMEAFeLBH/FU9sf2Hv9p0mTxP/AvxOiJLzJlAxqRRWHg
UB/n1qb6X/RgL07ys5N262VwY00RCBMclLV2bcGj9ufKiTgZyPn7d04wkjuiq2riu7WPbZTURtk
FBy0+/RoWGNDEW2qukdD63gy7s5RoKv4MO8nHLXOtYR5/Uf6GoM2CYA3isi2Fa0GsaiF0trh356
1UGsZEM0yj9+kYqmdzg+Alwz0SxbjxaeqonZr5WRW8FMWbinAzrRIOTRLLZnENLsfvXqR0emQfs
8CJSG/xRsxgVjv+qFTfbFDRepJ8jLf/RoZX3GwJPKZv8=
X-Received: by 2002:a05:600c:a378:b0:43c:f050:fed3 with SMTP id
5b1f17b1804b1-442f20d9d37mr19135815e9.11.1747211112873;
Wed, 14 May 2025 01:25:12 -0700 (PDT)
Received: from dario-ThinkPad-T14s-Gen-2i.client.m3-hotspots.de
([46.189.28.43])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-442ebda7d2csm30987365e9.3.2025.05.14.01.25.11
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 14 May 2025 01:25:12 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: Simon Holesch <simon.holesch@bshg.com>,
Karthikdatt Anantharamrao <karthikdatt.anantharamrao@in.bosch.com>,
michael@amarulasolutions.com,
linux-amarula@amarulasolutions.com,
Wolfgang Birkner <wolfgang.birkner@bshg.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Conor Dooley <conor+dt@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Rob Herring <robh@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
devicetree@vger.kernel.org,
imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/9] arm64: dts: imx8mn-bsh-smm-s2-common: Define suspend
voltage threshold
Date: Wed, 14 May 2025 10:24:55 +0200
Message-ID: <20250514082507.1983849-2-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20250514082507.1983849-1-dario.binacchi@amarulasolutions.com>
References: <20250514082507.1983849-1-dario.binacchi@amarulasolutions.com>
MIME-Version: 1.0
X-Original-Sender: dario.binacchi@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=X5VgG6Py;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list linux-amarula@amarulasolutions.com;
contact linux-amarula+owners@amarulasolutions.com
List-ID: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
DTS updates for BSH SMM S2[PRO] boards
|
|
Commit Message
Dario Binacchi
May 14, 2025, 8:24 a.m. UTC
From: Michael Trimarchi <michael@amarulasolutions.com> Voltage threshold should be adjust according to the worst case. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- .../boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
Comments
On 14/05/2025 11:24, Dario Binacchi wrote: > From: Michael Trimarchi <michael@amarulasolutions.com> > > Voltage threshold should be adjust according to the worst case. I would love to understand why these voltages are set. Could you please explain a bit further why this change is done. What worst case? What happens if voltages aren't adjusted? What is the current voltage (before this patch is applied?). > Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > --- > > .../boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi > index bbb07c650da9..5a1ec2f6a552 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi > @@ -105,6 +105,12 @@ buck1_reg: BUCK1 { > regulator-boot-on; > regulator-always-on; > regulator-ramp-delay = <1250>; > + > + /* enable autosuspend threshold */ > + rohm,dvs-run-voltage = <850000>; > + rohm,dvs-idle-voltage = <850000>; > + rohm,dvs-suspend-voltage = <850000>; > + rohm,no-regulator-enable-control; The commit message does not explain why the software control of the regulator's enable state is changed? Maybe this should be in the 2/9? > }; > > buck2_reg: BUCK2 { > @@ -115,6 +121,11 @@ buck2_reg: BUCK2 { > regulator-boot-on; > regulator-always-on; > regulator-ramp-delay = <1250>; > + > + /* enable autosuspend threshold */ > + rohm,dvs-run-voltage = <960000>; > + rohm,dvs-idle-voltage = <860000>; > + rohm,no-regulator-enable-control; same here? > }; > > buck3_reg: BUCK3 { Yours, -- Matti To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi index bbb07c650da9..5a1ec2f6a552 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi @@ -105,6 +105,12 @@ buck1_reg: BUCK1 { regulator-boot-on; regulator-always-on; regulator-ramp-delay = <1250>; + + /* enable autosuspend threshold */ + rohm,dvs-run-voltage = <850000>; + rohm,dvs-idle-voltage = <850000>; + rohm,dvs-suspend-voltage = <850000>; + rohm,no-regulator-enable-control; }; buck2_reg: BUCK2 { @@ -115,6 +121,11 @@ buck2_reg: BUCK2 { regulator-boot-on; regulator-always-on; regulator-ramp-delay = <1250>; + + /* enable autosuspend threshold */ + rohm,dvs-run-voltage = <960000>; + rohm,dvs-idle-voltage = <860000>; + rohm,no-regulator-enable-control; }; buck3_reg: BUCK3 {