Maxime Ripard | bdbdca3 | 2018-09-18 10:35:24 +0300 | [diff] [blame] | 1 | # |
| 2 | # W1 subsystem configuration |
| 3 | # |
| 4 | |
| 5 | menu "1-Wire support" |
| 6 | |
| 7 | config W1 |
| 8 | bool "Enable 1-wire controllers support" |
Maxime Ripard | bdbdca3 | 2018-09-18 10:35:24 +0300 | [diff] [blame] | 9 | depends on DM |
| 10 | help |
| 11 | Support for the Dallas 1-Wire bus. |
| 12 | |
| 13 | if W1 |
| 14 | |
Maxime Ripard | e95bf2e | 2018-09-18 10:35:25 +0300 | [diff] [blame] | 15 | config W1_GPIO |
| 16 | bool "Enable 1-wire GPIO bitbanging" |
Maxime Ripard | e95bf2e | 2018-09-18 10:35:25 +0300 | [diff] [blame] | 17 | depends on DM_GPIO |
| 18 | help |
| 19 | Emulate a 1-wire bus using a GPIO. |
| 20 | |
Martin Fuzzey | 6215c6d | 2018-10-24 10:21:18 +0200 | [diff] [blame] | 21 | config W1_MXC |
| 22 | bool "Enable 1-wire controller on i.MX processors" |
Tom Rini | eac76b8 | 2021-09-09 07:54:50 -0400 | [diff] [blame] | 23 | depends on ARCH_MX31 || ARCH_MX5 |
Martin Fuzzey | 6215c6d | 2018-10-24 10:21:18 +0200 | [diff] [blame] | 24 | help |
| 25 | Support the one wire controller found in some members of the NXP |
| 26 | i.MX SoC family. |
| 27 | There are currently two silicon variants: |
| 28 | V1: i.MX21, i.MX27, i.MX31, i.MX51 |
| 29 | V2: i.MX25, i.MX35, i.MX50, i.MX53 |
| 30 | Newer i.MX SoCs such as the i.MX6 do not have one wire controllers. |
| 31 | |
| 32 | The driver supports both silicon variants. |
| 33 | |
Maxime Ripard | bdbdca3 | 2018-09-18 10:35:24 +0300 | [diff] [blame] | 34 | endif |
| 35 | |
| 36 | endmenu |