USB: ice40: Add changes to support static compilation of ice40 driver
Userspace will come to know about uicc card insertion and use sysfs
interface to activate driver and binds driver. Add the requires module
parameter and fail the probe for uicc card till userspace activates this
driver through sysfs.
Userspace has to run following commands to activate driver:
1. echo Y > /sys/module/ice40_hcd/parameters/uicc_card_present
2. echo spi0.0 > /sys/bus/spi/drivers/ice40_spi/bind
Userspace has to run following commands to deactivate driver:
1. echo spi0.0 > /sys/bus/spi/drivers/ice40_spi/unbind
2. echo N > /sys/module/ice40_hcd/parameters/uicc_card_present
CRs-Fixed: 693926
Change-Id: I89db6d26c3cc13f73e4e5db6861a3d3cfaf35f8d
Signed-off-by:
Tarun Gupta <tarung@codeaurora.org>
Loading
Please register or sign in to comment