Maxime Ripard | d3e19cf | 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 | d3e19cf | 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 | 73aea28 | 2018-09-18 10:35:25 +0300 | [diff] [blame] | 15 | config W1_GPIO |
| 16 | bool "Enable 1-wire GPIO bitbanging" |
Maxime Ripard | 73aea28 | 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 | a2e99a7 | 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 | 8ba5960 | 2021-09-09 07:54:50 -0400 | [diff] [blame] | 23 | depends on ARCH_MX31 || ARCH_MX5 |
Martin Fuzzey | a2e99a7 | 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 | d3e19cf | 2018-09-18 10:35:24 +0300 | [diff] [blame] | 34 | endif |
| 35 | |
| 36 | endmenu |