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

Staging/no os device #2276

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

Staging/no os device #2276

wants to merge 29 commits into from

Conversation

dbogdan
Copy link
Contributor

@dbogdan dbogdan commented Aug 13, 2024

Pull Request Description

Add no_os_device.h

To be included in all no-OS drivers.

PR Type

  • Bug fix (change that fixes an issue)
  • New feature (change that adds new functionality)
  • Breaking change (has dependencies in other repos or will cause CI to fail)

PR Checklist

  • I have followed the Coding style guidelines
  • I have performed a self-review of the changes
  • I have commented my code, at least hard-to-understand parts
  • I have build all projects affected by the changes in this PR
  • I have tested in hardware affected projects, at the relevant boards
  • I have signed off all commits from this PR
  • I have updated the documentation (wiki pages, ReadMe etc), if applies

To be included in all no-OS drivers.

struct no_os_device will hold, among other details, the mandatory compatible
string information.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
Declare a device driver compatibility list for each driver.

Signed-off-by: Dragos Bogdan <[email protected]>
@dbogdan dbogdan marked this pull request as ready for review August 13, 2024 12:52
* @brief Device driver compatibility list.
*/
const struct no_os_device ad74413r_device_table[] = {
{.compatible = "adi,ad74413r"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AD74412R is also supported by this driver.

@buha
Copy link
Contributor

buha commented Aug 19, 2024

next step would be to add no_os_device.h in src.mk files

@buha
Copy link
Contributor

buha commented Aug 19, 2024

and the next next step would be to actually use these compatible strings in device driver initialization, currently they are unused globals

@buha
Copy link
Contributor

buha commented Aug 19, 2024

and a question: should these also be marked with static ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants