HomeFreeBSD

ofw_spi: Parse property for the SPI mode and CS polarity.

Description

ofw_spi: Parse 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.

Reviewed by: loos
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D8614

Details

Provenance
manuAuthored on
Reviewer
loos
Differential Revision
D8614: ofw_spibus Parse spi-cpol, spi-cpha and spi-cs-high
Parents
rS310228: MFC r310013 (by cperciva):
Branches
Unknown
Tags
Unknown