Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
DIOT Zynq Ultrascale-based System Board
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
DIOT Zynq Ultrascale-based System Board
Commits
eb190b08
Commit
eb190b08
authored
May 31, 2022
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw/patches/linux: read correct register in hartmann_psu driver
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
f3c75633
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
0019-hwmon-pmbus-Add-Hartmann-PSU-driver.patch
...ches/linux/0019-hwmon-pmbus-Add-Hartmann-PSU-driver.patch
+2
-2
No files found.
sw/patches/linux/0019-hwmon-pmbus-Add-Hartmann-PSU-driver.patch
View file @
eb190b08
...
@@ -3,7 +3,7 @@ From: Adam Wujek <dev_public@wujek.eu>
...
@@ -3,7 +3,7 @@ From: Adam Wujek <dev_public@wujek.eu>
Date: Wed, 20 Oct 2021 22:54:23 +0200
Date: Wed, 20 Oct 2021 22:54:23 +0200
Subject: [PATCH] hwmon: (pmbus) Add Hartmann PSU driver
Subject: [PATCH] hwmon: (pmbus) Add Hartmann PSU driver
Add support for D575.00520 Power Supply Unit
Add support for
Hartmann
D575.00520 Power Supply Unit
300W cPCI Serial power supply, 3U, AC/DC, 8 HP wide
300W cPCI Serial power supply, 3U, AC/DC, 8 HP wide
Signed-off-by: Adam Wujek <dev_public@wujek.eu>
Signed-off-by: Adam Wujek <dev_public@wujek.eu>
...
@@ -145,7 +145,7 @@ index 000000000000..c8585730f079
...
@@ -145,7 +145,7 @@ index 000000000000..c8585730f079
+ if (val < 0)
+ if (val < 0)
+ return val;
+ return val;
+
+
+ ret = pmbus_read_byte_data(client, page, PMBUS_
READ_VOUT
);
+ ret = pmbus_read_byte_data(client, page, PMBUS_
VOUT_MODE
);
+ if (ret >= 0) {
+ if (ret >= 0) {
+ /*
+ /*
+ * If a valid PMBUS_VOUT_MODE is available,
+ * If a valid PMBUS_VOUT_MODE is available,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment