devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Serge Semin <fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
	srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	andrew-g2DYL2Zd6BY@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org
Cc: Sergey.Semin-vHJ8rsvMqnUPfZBKTuL5GA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Serge Semin
	<fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH v3 0/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver
Date: Wed, 30 Nov 2016 01:27:12 +0300	[thread overview]
Message-ID: <1480458434-22523-1-git-send-email-fancer.lancer@gmail.com> (raw)
In-Reply-To: <1480372701-30560-1-git-send-email-fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Changelog v3:
- Get rid of dev_*_idt() macros
- Replace to_pdev_kobj() macro with naked dev_get_drvdata() call
- Return naked 0 instead of SUCCESS macro
- IDT CSR debug file is moved to debugfs
- BIN_ATTR_RW is used to declare sysfs binary attribute
- Moved bindings file to a separate patch
- Need to create a specific bin_attribute structure for each device
- Perform a few read retries with delays if EEPROM is busy

Signed-off-by: Serge Semin <fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Serge Semin (2):
  eeprom: Add IDT 89HPESx EEPROM/CSR driver
  eeprom: Add IDT 89HPESx driver dts-binding file

 .../devicetree/bindings/misc/idt_89hpesx.txt       |   41 +
 drivers/misc/eeprom/Kconfig                        |   10 +
 drivers/misc/eeprom/Makefile                       |    1 +
 drivers/misc/eeprom/idt_89hpesx.c                  | 1574 ++++++++++++++++++++
 4 files changed, 1626 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/misc/idt_89hpesx.txt
 create mode 100644 drivers/misc/eeprom/idt_89hpesx.c

-- 
2.6.6

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-11-29 22:27 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1475450025-29507-1-git-send-email-fancer.lancer@gmail.com>
     [not found] ` <1475450025-29507-1-git-send-email-fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-28 22:38   ` [PATCH v2 0/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver Serge Semin
     [not found]     ` <1480372701-30560-1-git-send-email-fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-28 22:38       ` [PATCH v2 1/2] " Serge Semin
2016-11-29 19:34         ` Greg KH
     [not found]         ` <1480372701-30560-2-git-send-email-fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-29 19:37           ` Greg KH
     [not found]             ` <20161129193750.GD20341-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2016-11-29 21:16               ` Serge Semin
2016-11-29 21:24                 ` Greg KH
2016-11-29 21:45                   ` Serge Semin
2016-11-28 22:38       ` [PATCH v2 2/2] eeprom: Add IDT 89HPESx driver bindings file Serge Semin
     [not found]         ` <1480372701-30560-3-git-send-email-fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-29 19:34           ` Greg KH
     [not found]             ` <20161129193436.GB20341-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2016-11-29 21:15               ` Serge Semin
2016-12-05 14:46         ` Rob Herring
2016-12-05 15:25           ` Serge Semin
2016-12-05 17:27             ` Rob Herring
     [not found]               ` <CAL_JsqLbMGXSRLtTiD2d3Bsu4qc4bE029gieRN8x+QxPs=VbcA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-05 19:04                 ` Serge Semin
2016-12-09  1:57                   ` Serge Semin
2016-12-12 23:04                   ` Rob Herring
     [not found]                     ` <CAL_Jsq+GB85b4p+8JwZPy=ELOpeLGcKryqtwCd9e5PV=jbi_Cw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-13 14:08                       ` Serge Semin
2016-11-29 22:27       ` Serge Semin [this message]
2016-11-29 22:27         ` [PATCH v3 1/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver Serge Semin
     [not found]         ` <1480458434-22523-1-git-send-email-fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-29 22:27           ` [PATCH v3 2/2] eeprom: Add IDT 89HPESx driver dts-binding file Serge Semin
2016-12-13 14:22         ` [PATCH v4 0/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver Serge Semin
2016-12-13 14:22           ` [PATCH v4 1/2] " Serge Semin
     [not found]             ` <1481638971-6247-2-git-send-email-fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-11  8:21               ` Greg KH
     [not found]                 ` <20170111082119.GA26387-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2017-01-12 22:54                   ` Serge Semin
2017-01-13  7:22                     ` Greg KH
     [not found]                       ` <20170113072235.GA12825-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2017-01-13  9:47                         ` Serge Semin
2016-12-13 14:22           ` [PATCH v4 2/2] eeprom: Add IDT 89HPESx driver bindings file Serge Semin
2017-01-13 12:16           ` [PATCH v5 0/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver Serge Semin
2017-01-13 12:16             ` [PATCH v5 1/2] " Serge Semin
2017-01-13 12:16             ` [PATCH v5 2/2] eeprom: Add IDT 89HPESx driver bindings file Serge Semin
     [not found]               ` <1484309813-25008-3-git-send-email-fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-18 22:34                 ` Rob Herring

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=1480458434-22523-1-git-send-email-fancer.lancer@gmail.com \
    --to=fancer.lancer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=Sergey.Semin-vHJ8rsvMqnUPfZBKTuL5GA@public.gmane.org \
    --cc=andrew-g2DYL2Zd6BY@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@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 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).