From: Curt Brune <curt-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR@public.gmane.org>
To: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: at24: writing with SMBUS and no I2C_FUNC_SMBUS_WRITE_I2C_BLOCK
Date: Wed, 5 Mar 2014 10:33:05 -0800 [thread overview]
Message-ID: <20140305183305.GS27140@cumulusnetworks.com> (raw)
Hello -
I have a system that uses SMBUS, but without the
I2C_FUNC_SMBUS_WRITE_I2C_BLOCK functionality. As it is today at24.c
will only support read-only mode for this case.
Looking at at24_eeprom_write() the comments indicate it only supports
page writes as the alternative is too slow. This decision seems to be
the root of why SMBUS without I2C_FUNC_SMBUS_WRITE_I2C_BLOCK gives the
read-only situation.
The notion of "slow" seems a bit arbitrary to me. Is there some other
technical reason or gotcha hiding here that you know of?
Would a nicely written patch that adds write support for this case be
acceptable? I have not written it yet, but would like to.
Cheers,
Curt
next reply other threads:[~2014-03-05 18:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 18:33 Curt Brune [this message]
[not found] ` <20140305183305.GS27140-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR@public.gmane.org>
2014-03-05 20:15 ` at24: writing with SMBUS and no I2C_FUNC_SMBUS_WRITE_I2C_BLOCK Wolfram Sang
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=20140305183305.GS27140@cumulusnetworks.com \
--to=curt-quqiamftcip+xzjcv9emoeeocmrvltnr@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.