summaryrefslogtreecommitdiff
path: root/drivers/w1/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2018-09-18 10:35:25 +0300
committerTom Rini <trini@konsulko.com>2018-09-28 20:22:34 -0400
commit73aea285e3d78c070cce8b5cf924fce99e5cdecc (patch)
tree4d7601a4e71f369c9a928b12d6adcdff3414d2c1 /drivers/w1/Kconfig
parentd3e19cf9195e7308c6333bbbbc12f8db8fa2d079 (diff)
w1: Add 1-Wire gpio driver
Add a bus driver for bitbanging a 1-Wire bus over a GPIO. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> [eugen.hristev@microchip.com: fixed some issues] Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'drivers/w1/Kconfig')
-rw-r--r--drivers/w1/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig
index 64b27c6cd1..d6e045739d 100644
--- a/drivers/w1/Kconfig
+++ b/drivers/w1/Kconfig
@@ -13,6 +13,13 @@ config W1
if W1
+config W1_GPIO
+ bool "Enable 1-wire GPIO bitbanging"
+ default no
+ depends on DM_GPIO
+ help
+ Emulate a 1-wire bus using a GPIO.
+
endif
endmenu