-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fixed rockchio6.10 tinker-edge-r bug #7112
Open
ARC-MX
wants to merge
12
commits into
armbian:main
Choose a base branch
from
ARC-MX:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bf06a1a
fixed Tinker-edge-r HDMI 4K bug
ARC-MX 728f29b
Merge branch 'armbian:main' into main
ARC-MX ed89650
Merge branch 'armbian:main' into main
ARC-MX 06d86d7
Fixed tinker-edgr-r board GPU bug, drivers:regulator:fan53555:add new…
ARC-MX a6f516a
Merge branch 'armbian:main' into main
ARC-MX e3022e4
Rename drivers-regulator-fan53555-bug-fixed:add-new-device-chip-id.pa…
ARC-MX 58a370f
Rename drivers-regulator-fan53555-bug-fixed:add-new-device-chip-id.pa…
ARC-MX 9e5d598
Merge branch 'main' into main
ARC-MX f8834e7
Merge branch 'armbian:main' into main
ARC-MX ae54ce4
fixed rockchio6.10 tinker-edge-r bug
ARC-MX 8fa6b40
Merge branch 'main' into main
ARC-MX 472de39
Merge branch 'main' into main
ARC-MX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
patch/kernel/archive/rockchip64-6.10/drivers-regulator-fan53555-bug-fixed.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
From b95c594a0969e469ef627c3e1724566dc5aa3016 Mon Sep 17 00:00:00 2001 | ||
From: ARC-MX <wmx129674@126.com> | ||
Date: Thu, 25 Jul 2024 17:44:54 +0800 | ||
Subject: [PATCH] drivers:regulator:fan53555:add new device chip id | ||
|
||
drivers:regulator:fan53555 | ||
|
||
When I use fan53555, I see an error: | ||
|
||
FAN53555-regulator 0-0060: Chip ID 0 with rev 12 not supported! | ||
|
||
So I fixed this bug | ||
|
||
Signed-off-by: ARC-MX <wmx129674@126.com> | ||
--- | ||
drivers/regulator/fan53555.c | 5 +++++ | ||
1 file changed, 5 insertions(+) | ||
|
||
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c | ||
index 17c9bf204..c8a2e9405 100644 | ||
--- a/drivers/regulator/fan53555.c | ||
+++ b/drivers/regulator/fan53555.c | ||
@@ -113,6 +113,7 @@ enum { | ||
enum { | ||
FAN53555_CHIP_REV_00 = 0x3, | ||
FAN53555_CHIP_REV_13 = 0xf, | ||
+ FAN53555_CHIP_REV_23 = 0xc, | ||
}; | ||
|
||
enum { | ||
@@ -301,6 +302,10 @@ static int fan53555_voltages_setup_fairchild(struct fan53555_device_info *di) | ||
di->vsel_min = 800000; | ||
di->vsel_step = 10000; | ||
break; | ||
+ case FAN53555_CHIP_REV_23: | ||
+ di->vsel_min = 600000; | ||
+ di->vsel_step = 12500; | ||
+ break; | ||
default: | ||
dev_err(di->dev, | ||
"Chip ID %d with rev %d not supported!\n", | ||
-- | ||
2.25.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You may want to update your Git version or your OS release, this version is 4 years old.