devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v6 0/2] at24: support eeproms that do not auto-rollover reads.
@ 2017-12-08 15:37 Sven Van Asbroeck
       [not found] ` <1512747445-5817-1-git-send-email-svendev-fuHqz3Nb1YI@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Van Asbroeck @ 2017-12-08 15:37 UTC (permalink / raw)
  To: svendev, robh+dt, mark.rutland, wsa, brgl, nsekhar, sakari.ailus,
	david, javier, divagar.mohandass
  Cc: devicetree, linux-kernel, linux-i2c

v6 resend:
	added Reviewed-by: Rob Herring <robh@kernel.org>

v6:
	added newlines, asked by Bartosz
	no need for braces around ternary operator's condition:
		bits = (at24->chip.flags & AT24_FLAG_ADDR16) ? 16 : 8;
	but keep the braces anyway, as asked by Uwe Klein-Koenig

v5:
	at Rob Herring's request, renamed devicetree property:
		at24,no-read-rollover -> no-read-rollover

v4:
	renamed devicetree property:
		no-read-rollover -> at24,no-read-rollover
	dt-bindings update now a separate patch

v3:
	rebased against at24 maintainer's devel staging branch:
	git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git at24/devel
	clarified some of the comments and wording

v2:
	kbuild test robot feedback: correct
		"warning: comparison of distinct pointer types lacks a cast"
	build warning on some compilers / architectures.

v1:
	original patch

Sven Van Asbroeck (2):
  at24: support eeproms that do not auto-rollover reads.
  dt-bindings: add eeprom "at24,no-read-rollover" property

 .../devicetree/bindings/eeprom/eeprom.txt          |  5 +++
 drivers/misc/eeprom/at24.c                         | 37 +++++++++++++++-------
 include/linux/platform_data/at24.h                 |  2 ++
 3 files changed, 32 insertions(+), 12 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-08 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-08 15:37 [PATCH RESEND v6 0/2] at24: support eeproms that do not auto-rollover reads Sven Van Asbroeck
     [not found] ` <1512747445-5817-1-git-send-email-svendev-fuHqz3Nb1YI@public.gmane.org>
2017-12-08 15:37   ` [PATCH RESEND v6 1/2] " Sven Van Asbroeck
2017-12-08 15:37   ` [PATCH RESEND v6 2/2] dt-bindings: add eeprom "no-read-rollover" property Sven Van Asbroeck
2017-12-08 16:01     ` Bartosz Golaszewski

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).