From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C82CC314B6A; Mon, 24 Nov 2025 16:02:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764000162; cv=none; b=ejdGNatTniBnt2MqFkQA7BADLnFOyNNB0Dm1fQhp1vRv4FFwiqcs9KFZ47X+QpStd9KjnoiSWdwcmi54O9xcSwooGmFFJCGfr1sf32PHn6ab022yl9h/lut+DlynU9Kto6TYc52Y4kKZFzr/CHKnY+BgNbVKei7o5zyncSyrBl4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764000162; c=relaxed/simple; bh=5Q+VikH8axfZlkzsYeZld/28ixnUIrc2DukFEZtwOPY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=B4JaPK7wamMqoS8udRO9RQRJRCdG+w93QjIc8DHXCSX/lYY+NwTPgL/ppzSGLHLtTuPWAZ+oaITRE+Ef1uf2u8hG0E37x+cWPoRrSbUny6oLVD7/YyHlShLRfWV+IDPZXx3G2+1LBzmHTPFATgBiZEgJRK3pRsA9TX+bBkZv7Ms= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=23udfwRH; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="23udfwRH" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 382594E418A2; Mon, 24 Nov 2025 16:02:39 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 0CFEF60705; Mon, 24 Nov 2025 16:02:39 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 8569410371A40; Mon, 24 Nov 2025 17:02:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1764000156; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=fSwjEBFFDA7v4bZHV1Jm9ubAIPIsgOhP8uG9o5XCi3w=; b=23udfwRHWY7LPrwckXXVkKWtIY8/eTNFCxCxQWXtjDVTJ3DRPxhsKBikUYSYQORgje6CfI Uj0uzPLpyPefkgYCQVeW/eBaaXFS4BJr8RNGi+1iy91XiIL3CsJhIcwHld7ZhcrnTzLsos /KrNNrVd+eZVVCHWi/UzDkWw6jo5WJ7c50lLUi8UwiyiOAm7ArWsJL86sYoxm1eLHptku9 S4iBPNHAB7Hlw7ubbePM5/A97LXQv8Cg5Naj0CNOC1a+vVOiqALNKbPLhffpETcy5bQb7W bJlpVwC81gpwBBgLKILszMA6tPpRo1nN9vMHFgx+mFx2CsYzS4BkK9jesRKLmA== From: Romain Gantois To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , David Lechner , Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , Guenter Roeck Cc: Thomas Petazzoni , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Conor Dooley , MyungJoo Ham , Chanwoo Choi , Peter Rosin , Mariel Tinaco , Lars-Peter Clausen , Michael Hennerich , Kevin Tsai , Linus Walleij , Dmitry Torokhov , Eugen Hristev , Vinod Koul , Kishon Vijay Abraham I , Sebastian Reichel , Chen-Yu Tsai , Support Opensource , Paul Cercueil , Iskren Chernev , Marek Szyprowski , Matheus Castello , Saravanan Sekar , Matthias Brugger , AngeloGioacchino Del Regno , Casey Connolly , Pali =?UTF-8?B?Um9ow6Fy?= , Orson Zhai , Baolin Wang , Chunyan Zhang , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Claudiu Beznea , Jaroslav Kysela , Takashi Iwai , Sylwester Nawrocki , Olivier Moysan , Arnaud Pouliquen , Maxime Coquelin , Alexandre Torgue , Dixit Parmar , linux-hwmon@vger.kernel.org, linux-input@vger.kernel.org, linux-phy@lists.infradead.org, linux-pm@vger.kernel.org, linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Andy Shevchenko Subject: Re: [PATCH v4 0/6] Add support for the LTM8054 voltage regulator Date: Mon, 24 Nov 2025 17:02:21 +0100 Message-ID: <5820146.Sb9uPGUboI@fw-rgant> In-Reply-To: References: <20251124-ltm8054-driver-v4-0-107a8a814abe@bootlin.com> <23111366.EfDdHjke4D@fw-rgant> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2407312.OBFZWjSADL"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Last-TLS-Session-Version: TLSv1.3 --nextPart2407312.OBFZWjSADL Content-Type: multipart/alternative; boundary="nextPart2232231.yKVeVyVuyW"; protected-headers="v1" Content-Transfer-Encoding: 7Bit From: Romain Gantois Date: Mon, 24 Nov 2025 17:02:21 +0100 Message-ID: <5820146.Sb9uPGUboI@fw-rgant> In-Reply-To: MIME-Version: 1.0 This is a multi-part message in MIME format. --nextPart2232231.yKVeVyVuyW Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" On Monday, 24 November 2025 16:40:37 CET Guenter Roeck wrote: ... > > > > Do you think that using the IIO consumer API is not correct here? What > > other > > > > method do you think I should use? > > Ok, I had a look into the datasheet. Unless I am missing something, the chip > doesn't have a digital control or monitoring interface such as I2C or SPI. > > At the same time, you copied the hardware monitoring mailing list on this > summary and on (at least) one of the patches, but apparently not on all of > them. This lead to my apparently wrong assumption that iio is used to > monitor (not [just] control) something on the chip. I wrongly assumed that > IIO is used to report chip status (voltage, current, temperature) using an > internal DAC. Obviously that was a wrong assumption. Sorry for that. > > Apparently you copied the hwmon mailing list for the introduction of an IIO > namespace and its use in a couple of hwmon drivers in one of the patches. > My personal opinion is that this should not be part of this series but a > series of its own. That is just my personal opinion, though. I understand. I can split it out. Thanks, -- Romain Gantois, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --nextPart2232231.yKVeVyVuyW Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="utf-8"

On Monday, 24 November 2025 16:40:37 CET Guenter Roeck wrote:

...

> >

> > Do you think that using the IIO consumer API is not correct here? What

> > other

> >

> > method do you think I should use?

>

> Ok, I had a look into the datasheet. Unless I am missing something, the chip

> doesn't have a digital control or monitoring interface such as I2C or SPI.

>

> At the same time, you copied the hardware monitoring mailing list on this

> summary and on (at least) one of the patches, but apparently not on all of

> them. This lead to my apparently wrong assumption that iio is used to

> monitor (not [just] control) something on the chip. I wrongly assumed that

> IIO is used to report chip status (voltage, current, temperature) using an

> internal DAC. Obviously that was a wrong assumption. Sorry for that.

>

> Apparently you copied the hwmon mailing list for the introduction of an IIO

> namespace and its use in a couple of hwmon drivers in one of the patches.

> My personal opinion is that this should not be part of this series but a

> series of its own. That is just my personal opinion, though.


I understand. I can split it out.


Thanks,


--

Romain Gantois, Bootlin

Embedded Linux and Kernel engineering

https://bootlin.com


--nextPart2232231.yKVeVyVuyW-- --nextPart2407312.OBFZWjSADL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEIcCsAScRrtr7W0x0KCYAIARzeA4FAmkkgY0ACgkQKCYAIARz eA7Sbw/+IYj1nxQCZiCtv+dhusxsoeEnMc+7km6Tdiz5j2SjZJRD/edgkVP7TjRx wVQcHHDUrVzdLDYyWfvYZ0F1/gPV3ucv6nxkzKsluOW/atgPproy8w1sbLq+ISP+ uLXFWne5Rdt+OhRG8kGDHcP5XKa98L1b/IFCoTdTe/jINYXwYDR2CxyFURJQrNSL naSNbJjMu1adFjsOKsemwKKQOI4lVy6xd7zVfKRAlquVAP3NW1LV71QrEhVfnKFg XY+Q0KMQp+EVd5BKw2C0PNkrrjC3kJ1YWEBV861/Cs/eK207rHf0vNPiaDCLntfz csXkzjesTqOs7KlwU6MTPAE9yDRA6bzJjWr/GHfBxkYoNoSmEml90yeFLaPSJg/L pMhv+nUSVazSCwI5ALEd/lNu/JXEn4j/Ec1WJVcTIiL4iRDZxJkokTXim2oV6lY6 F8f834u+ZEhjk/0qFRPTOCBbPD94TMRL+0rd6pnm/+uqOeK5mJicMQzEjx9JRsh/ ksjQoJ68S+fLTpNLKGZ2JWb/e7TgVnyJmenjVT3sAO/VAPxvBr3KqaWi9w9bjY+1 2Y6b49RMZ3BVqxwfKe8Za3xO2q6W1Uznm8M7yOUJ31tf7pcxVLYgB8Vbeb3Ackkv IJbePktWu8NRDvwSQ1495EHaLKPtXsC1mT0yoAd41nvKbvte21U= =W/xS -----END PGP SIGNATURE----- --nextPart2407312.OBFZWjSADL--