June 17, 2020
6:33 p.m.
On Wed, 17 Jun 2020 16:26:49 +0200, Tomek The Messenger said:
Yes separate drivers but the actions do by them is to create the same files in sysfs. So if somebody use intel, texas instrument or xilinx soc then in order to read reset reason or other stuff he will use sysfs. So this will look likes: /sys/resetreg - 3 separate drivers plus one core driver where there is common part
That should be /sys/something/something/resetreg where the somethings put it in the same place in the /sys tree as all the other sysfs entries for your devices.