Extend simple_mfd driver to expose a syscon interface if
that node is also compatible with syscon. For instance,
Rockchip RK3399's GRF (General Register Files) is compatible
with simple-mfd as well as syscon and has devices like
usb2-phy, emmc-phy and pcie-phy etc. under it.
Details
Details
- Reviewers
manu
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 25179
Event Timeline
Comment Actions
Updated.
Used #include <dev/fdt/simple_mfd.h>
It compiles and working fine without sys/mutex.h (for instance sys/dev/extres/syscon/* files doesn't use it)
rid var is needed for bus_alloc_resource_any()