[PATCH 4/5] fsi: Add cfam char devices

2018-07-23 Thread Benjamin Herrenschmidt
This aims to deprecate the "raw" sysfs file used for directly accessing the CFAM and instead use a char device like the other sub drivers. Since it reworks the slave creation code and adds a cfam device type, we also use the opportunity to convert the attributes to attribute groups and add a

[PATCH 4/5] fsi: Add cfam char devices

2018-07-23 Thread Benjamin Herrenschmidt
This aims to deprecate the "raw" sysfs file used for directly accessing the CFAM and instead use a char device like the other sub drivers. Since it reworks the slave creation code and adds a cfam device type, we also use the opportunity to convert the attributes to attribute groups and add a