Allow more flexibility by kobj'ifying syscon and splitting out fdt specific bits in preparation of a move to the extres framework. The generic fdt driver has been moved to syscon_generic.c and the fdt requirement has been removed from the syscon interface.
Details
Details
- Reviewers
manu mmel - Group Reviewers
ARM arm64 - Commits
- rS327106: syscon: Introduce kobj and split out fdt bits
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 13747
Event Timeline
Comment Actions
Everything else looks OK for me.
sys/dev/syscon/syscon.c | ||
---|---|---|
101 | I don't think that we needs/wants default methods for read/write/modify. | |
254 | And whats if single device register multiple syscons? I think that we can store ofw node to struct syscon and then use it for search. OF_device_from_xref() is not right approach I think. |
Comment Actions
Something like this, perhaps?
- Remove default read/write/modify methods
- Allow creation of syscon node from specific ofw node not necessarily belonging to provider