-
Notifications
You must be signed in to change notification settings - Fork 7.4k
drivers: current_sense: add offset binding #87988
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
Conversation
3612db9
to
98730d6
Compare
type: int | ||
default: 0 | ||
description: | | ||
The zero current voltage in mV. The default is <0>. The maximum value is <65535>. |
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.
please read https://docs.zephyrproject.org/latest/build/dts/bindings-upstream.html#rules-for-default-values and fix this
98730d6
to
aaccc70
Compare
for more context, here is screenshot of the current sensors datasheet I used in the test @fabiobaltieri I noticed you reviewed the initial PR for this, maybe you could take a look aswell and let me know what you think? Maybe an alternative would be to setup a new binding called |
aaccc70
to
0f03e52
Compare
0f03e52
to
c128583
Compare
c128583
to
352d228
Compare
resolved conflicts |
352d228
to
3590467
Compare
Im not sure why that test failed; I do not see it failing on main and my branch is rebased. Anything I need to do? |
I have seen that test fail on some of my PRs as well, it is unrelated. Just unlucky that twister decided that it should be part of this PR's testplan. You don't need to do anything. Created #88396 |
@mbolivar gentle ping |
some current sense amplifiers have a non zero offset voltage that correlates to zero current. adding this offset voltage binding allows the driver to be used with this type of circuitry. Signed-off-by: Brandon Allen <brandon.allen@exacttechnology.com>
f401f68
3590467
to
f401f68
Compare
|
some current sense amplifiers have a non zero offset voltage
that correlates to zero current. adding this offset voltage binding
allows the driver to be used with this type of circuitry.
Signed-off-by: Brandon Allen brandon.allen@exacttechnology.com