commit | 4d1c90ee53be12fd5e0545e83342c84e72b47d5d | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Sun Aug 01 15:12:37 2021 +1000 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Tue Oct 05 19:24:18 2021 -0400 |
tree | 8cdd177ff5ef933255315a5b78b2d71d56109847 | |
parent | e706967d34afc0e4acb4e41b03167a7dbab6d46b [diff] |
spi: helper macro for constructing CS gpio_dt_spec Adds a helper macro, `DT_SPI_DEV_CS_GPIOS_DT_SPEC_GET`, that constructs a `struct gpio_dt_spec` corresponding with the CS gpio of an spi device. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au> Co-authored-by: Jordan Yates <jordan.yates@data61.csiro.au> Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com> Co-authored-by: Bartosz Bilas <bartosz.bilas@hotmail.com>