* i2cget with 16-bit address, 16-bit data
@ 2013-05-23 4:27 Craig McQueen
[not found] ` <DB8F1B3EEF94C3439BFFE674EB05E3CC23FFBCB5-Y7gaLC3AO2b/4/2YxPzWhkKZ0KZ9iFohnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Craig McQueen @ 2013-05-23 4:27 UTC (permalink / raw)
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
I'm trying to read data from a SGTL5000 audio CODEC, which has 16-bit addresses and 16-bit wide data registers.
Unless I'm missing something, it looks impossible to read these registers using i2cget, because it only supports 8-bit addresses. Is there any other similar tool, or should I patch i2cget to support 16-bit addresses?
Regards,
Craig McQueen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: i2cget with 16-bit address, 16-bit data
[not found] ` <DB8F1B3EEF94C3439BFFE674EB05E3CC23FFBCB5-Y7gaLC3AO2b/4/2YxPzWhkKZ0KZ9iFohnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
@ 2013-05-23 15:24 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-05-23 15:24 UTC (permalink / raw)
To: Craig McQueen; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
[-- Attachment #1: Type: text/plain, Size: 539 bytes --]
On Thu, May 23, 2013 at 04:27:20AM +0000, Craig McQueen wrote:
> I'm trying to read data from a SGTL5000 audio CODEC, which has 16-bit addresses and 16-bit wide data registers.
> Unless I'm missing something, it looks impossible to read these registers using i2cget, because it only supports 8-bit addresses. Is there any other similar tool, or should I patch i2cget to support 16-bit addresses?
If you're running Linux why are you trying to use i2cget to interact
with the register map? There's a driver for the device using regmap...
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-23 15:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23 4:27 i2cget with 16-bit address, 16-bit data Craig McQueen
[not found] ` <DB8F1B3EEF94C3439BFFE674EB05E3CC23FFBCB5-Y7gaLC3AO2b/4/2YxPzWhkKZ0KZ9iFohnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2013-05-23 15:24 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).