spacemit: P1 PMIC support on Banana pi F3 testing

Yixun Lan dlan at gentoo.org
Fri Jul 25 17:27:43 PDT 2025


Hi Anand,

On 15:26 Thu 24 Jul     , Anand Moon wrote:
> Hi Alex,
> 
> Thank you for your work on the P1 PMIC patch for Spacemit K1 SoC - Banana Pi F3.
> 
> I've been testing your patch series for the Banana Pi F3 [0] to enable SD card
> and eMMC functionality,
> 
> [0] https://patchew.org/linux/20250710175107.1280221-1-elder@riscstar.com/
> 
> While debugging, I cross-referenced the patch with the BPI-F3-V3 board
> schematic [1]
> and noticed several discrepancies in the power configuration:
> 
> [1] https://drive.google.com/file/d/19iLJ5xnCB_oK8VeQjkPGjzAn39WYyylv/view
> 
> Incorrect Voltage Ranges: The minimum and maximum voltage values for
> multiple regulators
> (including BUCKs, ALDOs, and DLDOs) In the patch, do not match the
> specifications in
> the schematic's power tree.
> 
> Missing/Incorrect Labels: Many regulators are missing accurate labels and names,
> which makes mapping them to the hardware difficult.
> 
> Device Tree Mapping: To configure the power sources correctly, the k1
> user names from
> the schematic needs to be properly mapped to its corresponding device
> tree nodes.
> 
> I’ve put together a set of local changes to better align the regulator
> definitions with the board schematic.
> These adjustments help improve the hardware mapping to the PMIC
> regulators, though some details
> may still need refinement. If you find the changes helpful, please
> consider incorporating them into
> the next revision of the patch.
> 
> I’d be grateful if you could Cc me on any future communication
> regarding testing.
> as I didn’t receive this patch series in my inbox.
> 
> Thanks
> -Anand
> 
> Here is the boot log [2] https://pastebin.com/cXybbVar
> 
> It's not working on my end., Neither the eMMC nor the SD card is
> getting detected.
the mainline driver in tree has no SD card support, but eMMC
so, you could only test eMMC for now.

-- 
Yixun Lan (dlan)



More information about the linux-riscv mailing list