From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: raffaele.tranfaglia@gmail.com
Cc: Mark Brown <broonie@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Danilo Krummrich <dakr@kernel.org>,
Johan Hovold <johan@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Jonathan Cameron <jic23@kernel.org>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
driver-core@lists.linux.dev, linux-sound@vger.kernel.org,
Neo Chang <YLCHANG2@nuvoton.com>
Subject: Re: [PATCH v2 3/3] regmap: kunit: add tests for values wider than val_bits
Date: Wed, 25 Nov 2026 15:42:16 +0200 [thread overview]
Message-ID: <awbluNv_9F9vjx5s@ashevche-desk.local> (raw)
In-Reply-To: <20261125-regmap-kunit-val-bits-v2-3-81db3b79cd3f@gmail.com>
On Wed, Nov 25, 2026 at 08:09:32AM +0000, Raffaele Tranfaglia via B4 Relay wrote:
>
> Add two test cases writing 0xffffff0f with regmap_write() to a regmap
> with val_bits = 16, and check that only the low 16 bits reach the bus
> and can be read back:
>
> - write_wider_than_val_bits uses the RAM regmap, a bus that only
> provides reg_write()/reg_read();
> - raw_write_wider_than_val_bits uses the raw RAM regmap, which goes
> through the value formatters.
If I haven't given a tag earlier
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
as test cases are always warmly welcome!
--
With Best Regards,
Andy Shevchenko
prev parent reply other threads:[~2026-11-25 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 8:09 [PATCH v2 0/3] regmap: handle values wider than val_bits consistently Raffaele Tranfaglia via B4 Relay
2026-11-25 8:09 ` [PATCH v2 1/3] ASoC: codecs: nau8360: set val_bits to the widest register size Raffaele Tranfaglia via B4 Relay
2026-11-25 13:25 ` Andy Shevchenko
2026-11-25 8:09 ` [PATCH v2 2/3] regmap: mask values to val_bits on write Raffaele Tranfaglia via B4 Relay
[not found] ` <awbk6Ah554O_Nxg5@ashevche-desk.local>
2026-11-25 13:49 ` Andy Shevchenko
2026-11-25 8:09 ` [PATCH v2 3/3] regmap: kunit: add tests for values wider than val_bits Raffaele Tranfaglia via B4 Relay
2026-11-25 13:42 ` Andy Shevchenko [this message]
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=awbluNv_9F9vjx5s@ashevche-desk.local \
--to=andriy.shevchenko@intel.com \
--cc=YLCHANG2@nuvoton.com \
--cc=broonie@kernel.org \
--cc=dakr@kernel.org \
--cc=driver-core@lists.linux.dev \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=johan@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=rafael@kernel.org \
--cc=raffaele.tranfaglia@gmail.com \
--cc=tiwai@suse.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 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®