Device trees, cape manager question

I hope this is not another case of RTFM, but I cannot find the answer anywhere. I have developed a kernel driver module and a corresponding device tree. All seems to work well and I can activate my module with the following command:

echo my-module > /sys/devices/bone_capemgr.9/slots

My question is can I pass old style parameters to my module such as "modprobe my-module debug=1"? Or do I have to include these options as parameters in the device tree and modify my code accordingly?

Still a bit confused by all this device tree stuff.




Would you like to explain me what is a kernel module ? what it can do ?

Thx you very much,

My kernel module is a kernel device driver to handle a proprietary UPS cape. Its function is to perform an orderly shutdown in the event of a power failure. It also provides and monitors power to the BB/BBB via POE. Dave.