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

schemas: core: Introduce "fail-needs-probe" status #141

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

wens
Copy link

@wens wens commented Sep 11, 2024

Some components can not be absolutely determined to exist on a given device when the device tree is written or compiled. However such components can either be probed using I2C transfers, or determined to exist based on runtime information, such as GPIO or ADC strappings, or extra information passed over from boot firmware or read from some flash chip.

Such an arrangement of components are commonly seen in the consumer electronics world, where the manufacturer will swap out electrically compatible components due to inventory or price constraints. These components are commonly attached to the baseboard with a standardized ribbon cable, and the ribbon cable may contain strapping resistors if necessary.

Introduce a new "fail-needs-probe" status string that corresponds to devices or components that "might" exist. (The term "component" shall be used to avoid confusion with the actual "complete device".) This status signals that the implementation needs to do extra probing to determine the exact state of the component.

Some components can not be absolutely determined to exist on a given
device when the device tree is written or compiled. However such
components can either be probed using I2C transfers, or determined to
exist based on runtime information, such as GPIO or ADC strappings, or
extra information passed over from boot firmware or read from some
flash chip.

Such an arrangement of components are commonly seen in the
consumer electronics world, where the manufacturer will swap out
electrically compatible components due to inventory or price
constraints. These components are commonly attached to the baseboard
with a standardized ribbon cable, and the ribbon cable may contain
strapping resistors if necessary.

Introduce a new "fail-needs-probe" status string that corresponds to
devices or components that "might" exist. (The term "component" shall
be used to avoid confusion with the actual "complete device".) This
status signals that the implementation needs to do extra probing to
determine the exact state of the component.

Signed-off-by: Chen-Yu Tsai <[email protected]>
@robherring robherring merged commit 52c380e into devicetree-org:main Sep 11, 2024
6 checks passed
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.

2 participants