w1: Add 1-Wire uclass

We might want to use 1-Wire devices connected on boards such as EEPROMs in
U-Boot.

Provide a framework to be able to do that.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
[eugen.hristev@microchip.com: reworked]
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
Maxime Ripard
2018-09-18 10:35:24 +03:00
committed by Tom Rini
parent 620300043c
commit d3e19cf919
7 changed files with 295 additions and 0 deletions

View File

@@ -106,6 +106,8 @@ source "drivers/usb/Kconfig"
source "drivers/video/Kconfig"
source "drivers/w1/Kconfig"
source "drivers/watchdog/Kconfig"
config PHYS_TO_BUS