Skip to content
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

overlays: Add trickle-voltage-mv parameter to RTCs #5549

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -1957,13 +1957,15 @@ Params: abx80x Select one of the ABx80x family:
"schottky" (ABx80x and RV1805 only)

trickle-resistor-ohms Resistor value for trickle charge (DS1339,
ABx80x, RV1805, RV3028)
ABx80x, BQ32000, RV1805, RV3028, RV3032)

trickle-voltage-mv Charge pump voltage for trickle charge (RV3032)

wakeup-source Specify that the RTC can be used as a wakeup
source

backup-switchover-mode Backup power supply switch mode. Must be 0 for
off or 1 for Vdd < VBackup (RV3028 only)
off or 1 for Vdd < VBackup (RV3028, RV3032)


Name: i2c-rtc-gpio
Expand Down Expand Up @@ -2027,13 +2029,15 @@ Params: abx80x Select one of the ABx80x family:
"schottky" (ABx80x and RV1805 only)

trickle-resistor-ohms Resistor value for trickle charge (DS1339,
ABx80x, RV1805, RV3028)
ABx80x, BQ32000, RV1805, RV3028, RV3032)

trickle-voltage-mv Charge pump voltage for trickle charge (RV3032)

wakeup-source Specify that the RTC can be used as a wakeup
source

backup-switchover-mode Backup power supply switch mode. Must be 0 for
off or 1 for Vdd < VBackup (RV3028 only)
off or 1 for Vdd < VBackup (RV3028, RV3032)

i2c_gpio_sda GPIO used for I2C data (default "23")

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,10 @@
<&ds1340>,"trickle-resistor-ohms:0",
<&abx80x>,"abracon,tc-resistor:0",
<&rv3028>,"trickle-resistor-ohms:0",
<&rv3032>,"trickle-resistor-ohms:0",
<&rv1805>,"abracon,tc-resistor:0",
<&bq32000>,"abracon,tc-resistor:0";
trickle-voltage-mv = <&rv3032>,"trickle-voltage-millivolts:0";
backup-switchover-mode = <&rv3028>,"backup-switchover-mode:0";
wakeup-source = <&ds1339>,"wakeup-source?",
<&ds3231>,"wakeup-source?",
Expand Down