Parse OFW property for the SPI mode and CS polarity.
As cs is stored in a uint32_t, use the last bit to store the active high flag as it's unlikely that we will have that much CS.
Details
Details
- Reviewers
loos - Group Reviewers
ARM - Commits
- rS310229: ofw_spi: Parse property for the SPI mode and CS polarity.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
It looks good to me, but I guess we need to sweep existing code to mask the result of get_spibus_cs() now ?