mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Maxime Ripard](/assets/img/avatar_default.png)
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>
26 lines
333 B
Plaintext
26 lines
333 B
Plaintext
#
|
|
# W1 subsystem configuration
|
|
#
|
|
|
|
menu "1-Wire support"
|
|
|
|
config W1
|
|
bool "Enable 1-wire controllers support"
|
|
default no
|
|
depends on DM
|
|
help
|
|
Support for the Dallas 1-Wire bus.
|
|
|
|
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
|