mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
	Lakshay Piplani <lakshay.piplani@nxp.com>,
	linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org,
	dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org,
	marcelo.schmitt1@gmail.com, gregkh@linuxfoundation.org,
	viro@zeniv.linux.org.uk, peterz@infradead.org,
	jstephan@baylibre.com, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, devicetree@vger.kernel.org,
	ilpo.jarvinen@linux.intel.com, jonathan.cameron@huawei.com,
	akpm@linux-foundation.org, chao@kernel.org, jaegeuk@kernel.org,
	vikash.bansal@nxp.com, priyanka.jain@nxp.com,
	shashank.rebbapragada@nxp.com, Frank.Li@nxp.com
Subject: Re: [PATCH v2 2/2] iio: temperature: Add driver for NXP P3T175x temperature sensor
Date: Tue, 2 Sep 2025 14:06:47 +0300	[thread overview]
Message-ID: <aLbPx8yPP_EgzTmW@smile.fi.intel.com> (raw)
In-Reply-To: <20250901164717.6cba2d50@jic23-huawei>

On Mon, Sep 01, 2025 at 04:47:17PM +0100, Jonathan Cameron wrote:
> On Sun, 31 Aug 2025 18:46:32 +0200
> Krzysztof Kozlowski <krzk@kernel.org> wrote:

...

> This device does have a novel definition of register. There
> are 4 of them, 3 of which are 12 bits zero padded to 16 and
> the other 8 bits.
> 
> So, I think only way to wrap that up fully in regmap would be
> a pair of regmaps one of which has only a single register in it.
> 
> Agreed though that using bulk accesses is not a good plan.
> I'd been assuming that was actually a pair of registers, not
> a single larger one.

Why is it a problem? We have PMICs which have 16- and 8-bit registers and we do
use the bulk transfers. Yes, we have also an exception when it's required to
use byte transfers to make device work, but otherwise it works fine.

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2025-09-02 11:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-27 10:31 [PATCH v2 1/2] dt-bindings: iio: temperature: Add NXP P3T175x support Lakshay Piplani
2025-08-27 10:31 ` [PATCH v2 2/2] iio: temperature: Add driver for NXP P3T175x temperature sensor Lakshay Piplani
2025-08-27 14:36   ` David Lechner
2025-08-29 15:43   ` Andy Shevchenko
2025-08-31 16:46   ` Krzysztof Kozlowski
2025-09-01 15:47     ` Jonathan Cameron
2025-09-02 11:06       ` Andy Shevchenko [this message]
2025-08-27 13:59 ` [PATCH v2 1/2] dt-bindings: iio: temperature: Add NXP P3T175x support David Lechner
2025-08-31 16:01 ` Jonathan Cameron
2025-08-31 16:47 ` Krzysztof Kozlowski

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=aLbPx8yPP_EgzTmW@smile.fi.intel.com \
    --to=andriy.shevchenko@intel.com \
    --cc=Frank.Li@nxp.com \
    --cc=akpm@linux-foundation.org \
    --cc=andy@kernel.org \
    --cc=chao@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=jaegeuk@kernel.org \
    --cc=jic23@kernel.org \
    --cc=jonathan.cameron@huawei.com \
    --cc=jstephan@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=lakshay.piplani@nxp.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.schmitt1@gmail.com \
    --cc=nuno.sa@analog.com \
    --cc=peterz@infradead.org \
    --cc=priyanka.jain@nxp.com \
    --cc=robh@kernel.org \
    --cc=shashank.rebbapragada@nxp.com \
    --cc=vikash.bansal@nxp.com \
    --cc=viro@zeniv.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®