Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: convert to *_dt_spec #37514

Merged
merged 8 commits into from Aug 10, 2021
Merged

Conversation

JordanYates
Copy link
Collaborator

Converts the LED strip and some sensor drivers to new devicetree API's.

@JordanYates JordanYates force-pushed the 210807_dt_spec branch 3 times, most recently from f0a304e to 73acae0 Compare August 8, 2021 08:00
@github-actions github-actions bot added area: Devicetree area: Tests Issues related to a particular existing or missing test labels Aug 8, 2021
Jordan Yates added 3 commits August 8, 2021 21:46
Ensure that the sensor build_all test builds the i2c version of bmi160.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Convert apa102 LED strip driver to `spi_dt_spec`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Convert ws2812 LED strip driver to `spi_dt_spec`. Also moves the init
function implementation outside the declaration macro.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
@JordanYates JordanYates force-pushed the 210807_dt_spec branch 2 times, most recently from dcc98e5 to 27ccb98 Compare August 8, 2021 23:45
Jordan Yates added 5 commits August 10, 2021 10:22
Convert lpd880x to use `spi_dt_spec`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Convert adxl362 driver to use `spi_dt_spec` and `gpio_dt_spec`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Convert adxl372 driver to use `spi_dt_spec` and `gpio_dt_spec`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Convert bme280 driver to use `spi_dt_spec` and `i2c_dt_spec`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Convert bmi160 driver to use `spi_dt_spec`, `i2c_dt_spec` and
`gpio_dt_spec`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
@cfriedt cfriedt merged commit 3682eb9 into zephyrproject-rtos:main Aug 10, 2021
@JordanYates JordanYates deleted the 210807_dt_spec branch August 15, 2022 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree area: Tests Issues related to a particular existing or missing test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants