-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'armbian:main' into main
- Loading branch information
Showing
264 changed files
with
114,834 additions
and
193 deletions.
There are no files selected for viewing
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,8 @@ | ||
# Allwinner R8(A13) single core 512Mb (NextThing C.H.I.P.) | ||
BOARD_NAME="NextThing C.H.I.P." | ||
BOARDFAMILY="sun5i" | ||
BOARD_MAINTAINER="TheSnowfield" | ||
HAS_VIDEO_OUTPUT="yes" | ||
BOOTCONFIG="CHIP_defconfig" | ||
KERNEL_TARGET="current" | ||
KERNEL_TEST_TARGET="current" |
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
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
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
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
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
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
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
44 changes: 44 additions & 0 deletions
44
patch/kernel/archive/rockchip64-6.12/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 <[email protected]> | ||
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 <[email protected]> | ||
--- | ||
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 | ||
|
Oops, something went wrong.