Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] riscv: dts: spacemit: Add PMIC and regulators constraints for Milk-V Jupiter
@ 2025-12-06 13:44 Javier Martinez Canillas
  2025-12-06 13:44 ` [PATCH 1/3] riscv: dts: spacemit: Enable i2c8 adapter " Javier Martinez Canillas
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2025-12-06 13:44 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alex Elder, Javier Martinez Canillas, Albert Ou, Alexandre Ghiti,
	Conor Dooley, Krzysztof Kozlowski, Palmer Dabbelt, Paul Walmsley,
	Rob Herring, Yixun Lan, devicetree, linux-riscv, spacemit

Hello,

This patch series enables the i2c8 adapter, the PMIC, and voltage regulators
for the Milk-V Jupiter board.

The power management hardware design on the Milk-V Jupiter is identical to the
Banana Pi BPI-F3, so the DT Nodes were copied from the k1-bananapi-f3.dts file.

I have verified the I2C address and regulator constraints against the vendor's
downstream DTS to ensure accuracy. I have also dumped the regulator_summary
debugfs entry to check that the regulators and constraints are registered:

$ cat /sys/kernel/debug/regulator/regulator_summary
 regulator                      use open bypass  opmode voltage current     min     max
---------------------------------------------------------------------------------------
 regulator-dummy                  1    0      0 unknown     0mV     0mA     0mV     0mV
 dc_in_12v                        2    1      0 unknown 12000mV     0mA 12000mV 12000mV
    vcc_4v                        7   10      0 unknown  4000mV     0mA  4000mV  4000mV
       buck1                      1    0      0 unknown  1050mV     0mA   500mV  3425mV
       buck2                      1    0      0 unknown   900mV     0mA   500mV  3425mV
       buck3                      1    0      0 unknown  1800mV     0mA   500mV  1800mV
       buck4                      1    0      0 unknown  3300mV     0mA   500mV  3300mV
       buck5                      3    7      0 unknown  2100mV     0mA   500mV  3425mV
          dldo1                   0    0      0 unknown  1200mV     0mA   500mV  3125mV
          dldo2                   0    0      0 unknown   500mV     0mA   500mV  3125mV
          dldo3                   0    0      0 unknown   500mV     0mA   500mV  3125mV
          dldo4                   1    0      0 unknown  1800mV     0mA   500mV  3125mV
          dldo5                   0    0      0 unknown   500mV     0mA   500mV  3125mV
          dldo6                   1    0      0 unknown  1800mV     0mA   500mV  3125mV
          dldo7                   0    0      0 unknown   500mV     0mA   500mV  3125mV
       buck6                      1    0      0 unknown  1100mV     0mA   500mV  3425mV
       aldo1                      0    0      0 unknown  1800mV     0mA   500mV  3125mV
       aldo2                      0    0      0 unknown   500mV     0mA   500mV  3125mV
       aldo3                      0    0      0 unknown   500mV     0mA   500mV  3125mV
       aldo4                      0    0      0 unknown   500mV     0mA   500mV  3125mV

Best regards,
Javier


Javier Martinez Canillas (3):
  riscv: dts: spacemit: Enable i2c8 adapter for Milk-V Jupiter
  riscv: dts: spacemit: Define fixed regulators for Milk-V Jupiter
  riscv: dts: spacemit: Define the P1 PMIC regulators for Milk-V Jupiter

 .../boot/dts/spacemit/k1-milkv-jupiter.dts    | 135 ++++++++++++++++++
 1 file changed, 135 insertions(+)

-- 
2.52.0

base-commit: bb3a1f127972ea262f98eee55068de1e54ab8d57
branch: milkv-jupiter-pmic


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-12-19 21:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-06 13:44 [PATCH 0/3] riscv: dts: spacemit: Add PMIC and regulators constraints for Milk-V Jupiter Javier Martinez Canillas
2025-12-06 13:44 ` [PATCH 1/3] riscv: dts: spacemit: Enable i2c8 adapter " Javier Martinez Canillas
2025-12-06 13:44 ` [PATCH 2/3] riscv: dts: spacemit: Define fixed regulators " Javier Martinez Canillas
2025-12-06 13:44 ` [PATCH 3/3] riscv: dts: spacemit: Define the P1 PMIC " Javier Martinez Canillas
2025-12-19 11:39 ` [PATCH 0/3] riscv: dts: spacemit: Add PMIC and regulators constraints " Yixun Lan
2025-12-19 21:42 ` Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox