a2e99a71b2
Two variants of controllers are supported: V1 (bitwise only) found in i.MX21, i.MX27, i.MX31, i.MX51 V2 (byte operations) found in i.MX25, i.MX35, i.MX50, i.MX53 Only tested on i.MX53 hardware but in both modes (by modifying the device tree). Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
40 lines
792 B
Plaintext
40 lines
792 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.
|
|
|
|
config W1_MXC
|
|
bool "Enable 1-wire controller on i.MX processors"
|
|
default no
|
|
depends on ARCH_MX25 || ARCH_MX31 || ARCH_MX5
|
|
help
|
|
Support the one wire controller found in some members of the NXP
|
|
i.MX SoC family.
|
|
There are currently two silicon variants:
|
|
V1: i.MX21, i.MX27, i.MX31, i.MX51
|
|
V2: i.MX25, i.MX35, i.MX50, i.MX53
|
|
Newer i.MX SoCs such as the i.MX6 do not have one wire controllers.
|
|
|
|
The driver supports both silicon variants.
|
|
|
|
endif
|
|
|
|
endmenu
|