-
Sergei Miroshnichenko authored
Add a new driver named "switch" for run-time selection of wanted devices in DT based on gpios: configuration_switch: configuration_switch { compatible = "emcraft,configuration-switch"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_switch>; }; ... pinctrl_switch: switch { st,pins { /* e5 = 4*16 + 5 = 69 */ status_pullup = <&gpioe 5 IN PULL_UP PUSH_PULL LOW_SPEED>; }; }; ... &usb_fs { ... configuration-switch-gpios = <&gpioe 5 GPIO_ACTIVE_LOW>; };
74ebeb68
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | ||
_ashldi3.S | ||
_ashrdi3.S | ||
_divsi3.S | ||
_lshrdi3.S | ||
_modsi3.S | ||
_udivsi3.S | ||
_umodsi3.S | ||
board.c | ||
bootm.c | ||
cache-cp15.c | ||
cache.c | ||
config.mk | ||
div0.c | ||
eabi_compat.c | ||
interrupts.c | ||
reset.c |