Skip to content

add 1-wire support

Jean-Christophe PLAGNIOL-VILLARD barebox 2 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyApplied
  2. v15 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5clock: introduce non interruptible timeoutcommon/clock.c include/clock.h+12 -50 replies
2/5add 1-wire supportdrivers/Kconfig drivers/Makefile drivers/w1/Kconfig +7 more+817 -00 replies
3/51-wire: add gpio busdrivers/w1/masters/Kconfig drivers/w1/masters/Makefile drivers/w1/masters/w1-gpio.c +1 more+149 -00 replies
4/51-wire: add ds2431 supportdrivers/w1/slaves/Kconfig drivers/w1/slaves/Makefile drivers/w1/slaves/w1_ds2431.c+305 -00 replies
5/51-wire: add ds2433 supportdrivers/w1/slaves/Kconfig drivers/w1/slaves/Makefile drivers/w1/slaves/w1_ds2433.c+207 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/5 v2] add 1-wire support

Hi,

v2: use is_non_interruptible_timeout as name
use is_non_interruptible_timeout for ndelay as we will never call poller_cal anyway

The following changes since commit 72703410feff9ed44779b54a41ff30312e781279:

misc JTAG: include fixes (2012-10-26 09:08:51 +0200)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git tags/w1

for you to fetch changes up to acaa716bce8cd1373cb5dabff54332fb1da7355b:

1-wire: add ds2433 support (2012-10-29 04:46:21 +0800)

----------------------------------------------------------------
add 1-wire support

export for each device via param
the familly id (fid)
the id
the full reg_num

so for simple 64bit memory rom(ds2401/ds2411/ds1990*) no need driver.

with ds2431 and ds2433 eeprom support

Based on linux implementation, cleaned and re-implement the master/slave support to use the device/driver model correctly.

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (5):
clock: introduce non interruptible timeout
add 1-wire support
1-wire: add gpio bus
1-wire: add ds2431 support
1-wire: add ds2433 support

 common/clock.c                |   16 ++-
 drivers/Kconfig               |    1 +
 drivers/Makefile              |    1 +
 drivers/w1/Kconfig            |   14 +++
 drivers/w1/Makefile           |    6 +
 drivers/w1/masters/Kconfig    |   14 +++
 drivers/w1/masters/Makefile   |    5 +
 drivers/w1/masters/w1-gpio.c  |  116 ++++++++++++++++++++
 drivers/w1/slaves/Kconfig     |   27 +++++
 drivers/w1/slaves/Makefile    |    6 +
 drivers/w1/slaves/w1_ds2431.c |  294 +++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/w1/slaves/w1_ds2433.c |  196 +++++++++++++++++++++++++++++++++
 drivers/w1/w1.c               |  621 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/w1/w1.h               |  152 ++++++++++++++++++++++++++
 include/clock.h               |    1 +
 include/linux/w1-gpio.h       |   25 +++++
 16 files changed, 1490 insertions(+), 5 deletions(-)
 create mode 100644 drivers/w1/Kconfig
 create mode 100644 drivers/w1/Makefile
 create mode 100644 drivers/w1/masters/Kconfig
 create mode 100644 drivers/w1/masters/Makefile
 create mode 100644 drivers/w1/masters/w1-gpio.c
 create mode 100644 drivers/w1/slaves/Kconfig
 create mode 100644 drivers/w1/slaves/Makefile
 create mode 100644 drivers/w1/slaves/w1_ds2431.c
 create mode 100644 drivers/w1/slaves/w1_ds2433.c
 create mode 100644 drivers/w1/w1.c
 create mode 100644 drivers/w1/w1.h
 create mode 100644 include/linux/w1-gpio.h

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox