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

Add optional '#nvmem-cell-cells' #89

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dtschema/meta-schemas/nvmem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ properties:
nvmem-cells:
$ref: "cell.yaml#/array"

'#nvmem-cell-cells': true

Copy link
Member

Choose a reason for hiding this comment

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

Not needed in meta-schema. What you do need is:

#nvmem-cell-cells:
enum: [ 0, 1 ]

In nvmem.yaml in the kernel. (Really, I'd like to move those here.)

The exact constraints depends on if you want to globally define how many and what the cells contain.

Copy link

Choose a reason for hiding this comment

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

Any plans for working on this? I guess after almost 2 years not really.

dependentRequired:
nvmem-names: [nvmem]
nvmem-cell-names: [nvmem-cells]