riscv: Improve support for the SiFive Unmatched board

Bug #1958374 reported by Heinrich Schuchardt
8
This bug affects 1 person
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 f6f7fbb89bf8dc9132fde55cfe67483138eea880
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@10030000/temperature-sensor@4c failed
      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 ad931d9b3b2e21586de8e6b34346d0a30c13721d
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 cd29cc8ad2540a4f9a0a3e174394d39e648ef941
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 8120393b74b31bbaf293f59896de6b0d50febc48
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 ea81b91e4e256b0bb75d47ad3a5c230b2171a005
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 298d03c2d7f1b5daacb6d4f4053fd3d677d67087
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
    Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt.

    [1] https://sifive.cdn.prismic.io/sifive/6a06d6c0-6e66-49b5-8e9e-e68ce76f4192_hifive-unmatched-schematics-v3.pdf

    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>

Tags: riscv64
affects: linux-meta (Ubuntu) → linux-riscv (Ubuntu)
summary: - riscv: Improve support for the SiFive Unmathed board
+ riscv: Improve support for the SiFive Unmatched board
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.