riscv: Improve support for the SiFive Unmatched board
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-riscv (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The following patches should be considered for inclusion into the v5.15 linux-image-generic kernel for the Jammy release:
commit f6f7fbb89bf8dc9
Author: Vincent Pelletier <email address hidden>
Date: Tue Nov 16 23:57:42 2021 +0000
riscv: dts: sifive unmatched: Link the tmp451 with its power supply
Fixes the following probe warning:
lm90 0-004c: Looking up vcc-supply from device tree
lm90 0-004c: Looking up vcc-supply property in node /soc/i2c@
lm90 0-004c: supply vcc not found, using dummy regulator
Signed-off-by: Vincent Pelletier <email address hidden>
Signed-off-by: Palmer Dabbelt <email address hidden>
commit ad931d9b3b2e215
Author: Vincent Pelletier <email address hidden>
Date: Tue Nov 16 23:57:41 2021 +0000
riscv: dts: sifive unmatched: Fix regulator for board rev3
The existing values are rejected by the da9063 regulator driver, as they
are unachievable with the declared chip setup (non-merged vcore and bmem
are unable to provide the declared curent).
Fix voltages to match rev3 schematics, which also matches their boot-up
configuration within the chip's available precision.
Declare bcore1/bcore2 and bmem/bio as merged.
Set ldo09 and ldo10 as always-on as their consumers are not declared but
exist.
Drop ldo current limits as there is no current limit feature for these
regulators in the DA9063. Fixes warnings like:
DA9063_LDO3: Operation of current configuration missing
Signed-off-by: Vincent Pelletier <email address hidden>
Signed-off-by: Palmer Dabbelt <email address hidden>
commit cd29cc8ad2540a4
Author: Vincent Pelletier <email address hidden>
Date: Tue Nov 16 23:57:39 2021 +0000
riscv: dts: sifive unmatched: Expose the PMIC sub-functions
These sub-functions are available in the chip revision on this board, so
expose them.
Signed-off-by: Vincent Pelletier <email address hidden>
Signed-off-by: Palmer Dabbelt <email address hidden>
commit 8120393b74b31bb
Author: Vincent Pelletier <email address hidden>
Date: Tue Nov 16 23:57:38 2021 +0000
riscv: dts: sifive unmatched: Expose the board ID eeprom
Mark it as read-only as it is factory-programmed with identifying
information, and no executable nor configuration:
- eth MAC address
- board model (PCB version, BoM version)
- board serial number
Accidental modification would cause misidentification which could brick
the board, so marking read-only seem like both a safe and non-constraining
choice.
Signed-off-by: Vincent Pelletier <email address hidden>
Signed-off-by: Palmer Dabbelt <email address hidden>
commit ea81b91e4e256b0
Author: Vincent Pelletier <email address hidden>
Date: Tue Nov 16 23:57:37 2021 +0000
riscv: dts: sifive unmatched: Name gpio lines
Follow the pin descriptions given in the version 3 of the board schematics.
Signed-off-by: Vincent Pelletier <email address hidden>
Signed-off-by: Palmer Dabbelt <email address hidden>
commit 298d03c2d7f1b5d
Author: Bin Meng <email address hidden>
Date: Wed Jun 16 15:46:45 2021 +0800
riscv: dts: unmatched: Add gpio card detect to mmc-spi-slot
Per HiFive Unmatched schematics, the card detect signal of the
micro SD card is connected to gpio pin #15, which should be
reflected in the DT via the <gpios> property, as described in
Documentati
Signed-off-by: Bin Meng <email address hidden>
Fixes: d573b5558abb ("riscv: dts: add initial board data for the SiFive HiFive Unmatched")
Cc: <email address hidden>
Signed-off-by: Palmer Dabbelt <email address hidden>
affects: | linux-meta (Ubuntu) → linux-riscv (Ubuntu) |
summary: |
- riscv: Improve support for the SiFive Unmathed board + riscv: Improve support for the SiFive Unmatched board |
This will be handled as part of 1962010, marking this bug as duplicate of that one, as that's the one that will be closed in the changelogs.