I have a board with i2c device(accelerometer) connected to mcu. I inserted the device node to my device tree file and everything works fine - device is detected, i can read measurements etc.
However, in order to save energy i don't want to have this accelerometer active all the time and I have a switch controlled with gpio on board that cuts the power from the device when it is not needed. I want to start board with accelerometer turned off and turn it on later and then make driver to probe it somehow.
Is it possible to write something like this in dts file?