Skip to content

common: xdpe12284c sensor reading support#368

Closed
DelphineChiu wants to merge 1 commit into
facebook:mainfrom
Wiwynn:Jerry/main/xdpe12284c
Closed

common: xdpe12284c sensor reading support#368
DelphineChiu wants to merge 1 commit into
facebook:mainfrom
Wiwynn:Jerry/main/xdpe12284c

Conversation

@DelphineChiu

Copy link
Copy Markdown

Summary:
Add new Infineon VR sensor: xdpe12284c

Test plan:
Build pass on fby35

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 28, 2022
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Comment thread common/dev/xdpe12284c.c
Comment on lines +37 to +51
switch (vout_mode & 0x1f) {
case VR12:
if(val > 0) {
return ((val - 1) * 5 + 250);
}
case VR13:
if(val > 0) {
return ((val - 1) * 10 + 500);
}
case IMVP9:
if(val > 0) {
return ((val - 1) * 10 + 200);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add break; for all cases

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @GoldenBug,

Force update the commit by your suggestion, please help review it again, thanks.

Regards,
Jerry

Summary:
Add new Infineon VR sensor: xdpe12284c

Test plan:
Build pass on fby35
@Jerry-wiwynn Jerry-wiwynn force-pushed the Jerry/main/xdpe12284c branch from 92f9309 to c16028a Compare June 29, 2022 01:23
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@DelphineChiu has updated the pull request. You must reimport the pull request before landing.

@Jerry-wiwynn Jerry-wiwynn deleted the Jerry/main/xdpe12284c branch July 24, 2025 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

4 participants