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: spi: mark old spi_cs_control fields deprecated #39338
drivers: spi: mark old spi_cs_control fields deprecated #39338
Conversation
af9f9dd
to
ab8032b
Compare
This is a stable API change. |
I am not sure I get this. We are deprecating structures, how is that a stable API change? By definition we call a Stable API change one that does not follow the standard deprecation process. |
Exactly my point. This change needs to follow the process for changing a stable API as described here: https://docs.zephyrproject.org/latest/reference/api/api_lifecycle.html#introducing-incompatible-changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking pending the process for changing a stable API has been met.
@henrikbrixandersen maybe there is some confusion here :) |
Apologies for closing this, I clicked on it by mistake. |
Sorry, meant to link to https://docs.zephyrproject.org/latest/reference/api/api_lifecycle.html#deprecated. |
FYI: that's not a ready MR since there is a couple of places where the old spi_cs_control members are being used but I'm periodically rebasing it and checking the buildkite results. I think DNM label should be set here... |
ab8032b
to
e0671a9
Compare
e0671a9
to
1b7a832
Compare
1b7a832
to
f5f93a3
Compare
f5f93a3
to
a16d5e2
Compare
a16d5e2
to
8699448
Compare
8699448
to
595cd02
Compare
595cd02
to
0d1665c
Compare
0d1665c
to
ccaa448
Compare
ccaa448
to
d82a4a6
Compare
cc @carlescufi @henrikbrixandersen issue #44956 created |
In the meantime, someone has committed a new code where the deprecated members are being used... I will try to fix that soon. |
@carlescufi @henrikbrixandersen hotfix #44968 ;) |
Since gpio_dt_spec is finally available within spi_cs_control struct, mark the old fields deprecated in order to use gpio_dt_spec struct. 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>
d82a4a6
to
09a62ca
Compare
Since gpio_dt_spec is finally available in the spi_cs_control struct, mark the old fields deprecated in order to use the gpio_dt_spec struct.
Depends on #37498 and #39341
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