From nobody Sun Feb 8 22:42:51 2026 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 694C3261B6D for ; Fri, 6 Feb 2026 02:32:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770345148; cv=none; b=tGTCfJCfXaacy/9f2/yWjZCPm2UZ7icpktdw3mB4WxBOCqtDL/Oh3K9ZtqGkwG3UBlMoN1o1ESq+tlthBvQC9F+n8jj336vSrI71uZVrYgQXZ4Jovj9irIMVYZepbjVep34UnK5cb8ygQFzvBxY7xBDSAJsLMGhOpzDr1l6RfPo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770345148; c=relaxed/simple; bh=iMy9rZHDZ1KHqUwkSTaauxKt7AwZPgsiueniWIPJaR8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rm9VXRxqick9W0P/vHv8veZUK+zz0a/AG/jd6oBazX/tvKkoESWkuUIjp7JVgVS0yL8UJDNbuIYBsJqt1mshJsRQU+INzRPmi4MRWCFnqQb+ZW6rjXUbvsr8ZLeclS9TuFsUuWEaTmF5yFaBhDZTpIU9eRd2dkeUoR0imVB5bQ0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b=Eu/EZoqD; arc=none smtp.client-ip=209.85.215.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b="Eu/EZoqD" Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-c47ee987401so717131a12.1 for ; Thu, 05 Feb 2026 18:32:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1770345148; x=1770949948; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LGIwbpL1NqbuM+Upk52hsWmEQVIHxvtG9sbbv3Y97oI=; b=Eu/EZoqDOXMwgSmDrjI5OGfMsAgTqjkY0nH4HfhOK7DgRiRh+zXxUvjLy9T0Fpr1La tNgAc++c1u0qL77Ehwx9f8MBM5xEzRYB6LUtVigZ8c8FKklmV0S7qe+jgi7H1mYJNcxM lcjMkRAJermtQwl2lpB5ryv5BlABLrr5hIhGzp+ceEjjiiFFXvJp4fAdFxpFVoaB0jKz b7Z8jwmbjMH0EeayyQXF5D5rdFqYcmTZwDY5MO0j1Ud1zETtE+vVNCyi5reAV5/jZg+M 6Vz4+DShWkJI9cIUdrtP/R9EcOpBXuVzAWTZ0EsaWrXD+e2+N2YR0k57o/+Hbn4RJUG9 viMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770345148; x=1770949948; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=LGIwbpL1NqbuM+Upk52hsWmEQVIHxvtG9sbbv3Y97oI=; b=ZNYQ7zr5FGBP2u3HA6rnEr289p1QZG1jHm6gF58pnlmlHYQknMxHMNBGybArtYiOBO Cszgv6exaEC/2bMsDvMDI1IgfeatgTMwRZfaVNmi98YokOcRKGxrGr/vwvgDWUa5+amh s8UESSE9hsPytREAA67aFRgo2OaS4CK5qwT/RmnHhod7RTx59pS6Em3WgWFIyOkbyS8p PtnJ3ahUEUBUjIKzgaXsbpOWqbNcBSDNeVklu6+cDh0bO0Lm56cr781vz2v8VaL5ZH9k XWCwwwW5eAs2dizrHLdivV2qGqvbKSEiaIr5qiFOI9V52cLRGVYWwn3H99aQVXbvYKLG AnlA== X-Gm-Message-State: AOJu0YyolBV4K4HCzawqqusqg2iRkmxxBPwsyDiqjLQrO+L34Ri36IfP z4BrpBfrv94e9sjzvnbE87k3VrPJ3zjFjFvX/b7YrQ6i8Dfa4Pu7X8DfxbD08SLpTLa2IdXTDmR KJ4rG8chIqw== X-Gm-Gg: AZuq6aI+vuRn9QhrQEBaYDW9R5fPfYAjXWR6ZVru3mxgeoo0PBbo4Glqe569gKpDl2p wHGjVOaxAIXMdTTHY5inazPKPjr95HizxOYiKu2SCRzNeyTKGdpY5xJgPMWgwgwF+Sp/7G4+Bx8 BcEfzkJYhDG9s+sXt10WCrgjylGiFowoDjnpSg2o6OLds4OF+0OzsyrOSy0BMB6Xj2vNz8rdjtp dA5V3L80xQl9CthL3SLaa03Fm63QOQBbLfqrdzT5j7WCcpUS+jGZPh5vfWxMCvk2XPnZKYfsbhR xRNl60FgAOIxmTLURk4BQPM/CTy1C+0dOd2wPJPkVLWCLITBzmWoA1KbZPA0BBEUGfynPtKTTcX VyJZu4N6gfC0K/WuFtQrwLurZ9DNgmpx2H/1XMjx+qs5hfG041H9psKg30+4nRVl/lilncgYy7r 3OtJ8+IOCefnX1xMJU532keFD8EI8IXq3PreU+cdfwzbTaq1jJklNzmhk0lD0VXZR8gsOqj0Vj2 7HxBzTGUtKA9M5ivjI= X-Received: by 2002:a05:6a20:4c7:b0:38e:54b8:6085 with SMTP id adf61e73a8af0-393ada2dbf9mr1053712637.30.1770345147770; Thu, 05 Feb 2026 18:32:27 -0800 (PST) Received: from [127.0.1.1] (61-221-120-110.hinet-ip.hinet.net. [61.221.120.110]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-354b64a8a9esm158419a91.1.2026.02.05.18.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Feb 2026 18:32:27 -0800 (PST) From: Guodong Xu Date: Fri, 06 Feb 2026 10:32:02 +0800 Subject: [PATCH v4 1/3] dt-bindings: mfd: spacemit,p1: Add individual regulator supply properties Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260206-spacemit-p1-v4-1-8f695d93811e@riscstar.com> References: <20260206-spacemit-p1-v4-0-8f695d93811e@riscstar.com> In-Reply-To: <20260206-spacemit-p1-v4-0-8f695d93811e@riscstar.com> To: Liam Girdwood , Mark Brown , Yixun Lan , Alex Elder , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Troy Mitchell , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, devicetree@vger.kernel.org, Guodong Xu X-Mailer: b4 0.14.2 Add supply properties that match the P1 PMIC's actual hardware topology where each buck converter has its own VIN pin and LDO groups share common input pins. Supply names are defined according to the pinout names in the P1 datasheet. The existing "vin-supply" is dropped from the binding document as the updated spacemit P1 driver no longer parses it. Only the per-rail names ("vin1-supply", "vin2-supply", ...) are supported. Signed-off-by: Guodong Xu --- v4: Drop vin-supply and update the commit message. Intermittent dtbs_check warnings are expected while the binding and DTS changes land through different trees, but will resolve once both are merged. v3: Mark vin-supply as deprecated. v2: Remove providers from the dts example. Pass the 'make dt_binding_check' test. --- .../devicetree/bindings/mfd/spacemit,p1.yaml | 49 ++++++++++++++++++= +++- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/spacemit,p1.yaml b/Docum= entation/devicetree/bindings/mfd/spacemit,p1.yaml index c6593ac6ef6adb72fc48af570dc13fc9edf77ccb..c67b1c6e4e4f9235bd3965be6b6= 8f397734530a5 100644 --- a/Documentation/devicetree/bindings/mfd/spacemit,p1.yaml +++ b/Documentation/devicetree/bindings/mfd/spacemit,p1.yaml @@ -27,8 +27,41 @@ properties: interrupts: maxItems: 1 =20 - vin-supply: - description: Input supply phandle. + vin1-supply: + description: + Power supply for BUCK1. Required if BUCK1 is defined. + + vin2-supply: + description: + Power supply for BUCK2. Required if BUCK2 is defined. + + vin3-supply: + description: + Power supply for BUCK3. Required if BUCK3 is defined. + + vin4-supply: + description: + Power supply for BUCK4. Required if BUCK4 is defined. + + vin5-supply: + description: + Power supply for BUCK5. Required if BUCK5 is defined. + + vin6-supply: + description: + Power supply for BUCK6. Required if BUCK6 is defined. + + aldoin-supply: + description: + Power supply for ALDO1-4. Required if any are defined. + + dldoin1-supply: + description: + Power supply for DLDO1-4. Required if any are defined. + + dldoin2-supply: + description: + Power supply for DLDO5-7. Required if any are defined. =20 regulators: type: object @@ -58,6 +91,10 @@ examples: compatible =3D "spacemit,p1"; reg =3D <0x41>; interrupts =3D <64>; + vin1-supply =3D <®_vcc_5v>; + vin5-supply =3D <®_vcc_5v>; + aldoin-supply =3D <®_vcc_5v>; + dldoin1-supply =3D <&buck5>; =20 regulators { buck1 { @@ -68,6 +105,14 @@ examples: regulator-always-on; }; =20 + buck5: buck5 { + regulator-name =3D "buck5"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <3450000>; + regulator-ramp-delay =3D <5000>; + regulator-always-on; + }; + aldo1 { regulator-name =3D "aldo1"; regulator-min-microvolt =3D <500000>; --=20 2.43.0 From nobody Sun Feb 8 22:42:51 2026 Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08F9323B61E for ; Fri, 6 Feb 2026 02:32:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770345154; cv=none; b=B9/Ytkzjb5YGkaZ460vl8PniHcJYQgmfc2zKuGg2AHXE8VTXc/4HMAuRwLZ8M79oZWjsTbn8ioBLrT7PTWgJF4gKr1PCUftsmRNdOrXN9e1tk4c9Z45pnj8ubcw9anmC53HEO12gjJFQaWCw0HQamAl5Ydd7kMNop/j1WFLNo6w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770345154; c=relaxed/simple; bh=+EeOMbsrkVrQ/nWNRoy6GEJ8PsMj5M2eB9aEmRc4lyY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WDC25Axmv7RVT+HiPkuffKC90u+KM8qInNawBScKNJ9pWxc+qY5pee0gMuxA03IbBMEAFqOHPMfu6Gpi1o/UhLG2LQvolpgKy02ke0SjPxScZKWUlWTITN2u8vkXLeThP8Kl61X/cX3zd99R3ZfOKA7uyuhIDMqX1gHqrciIsB4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b=V+PN78qv; arc=none smtp.client-ip=209.85.216.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b="V+PN78qv" Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-3530e7b3dc2so1334556a91.3 for ; Thu, 05 Feb 2026 18:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1770345153; x=1770949953; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2ZvkXVSIOYFCtEBxE0jhzmf26iD9qAK0/wl2dxGNFLk=; b=V+PN78qvb5XRLI7tjU8i0NIFgsNI87H6oIB31mL5HkXKwKRqBjOsQRFsRYvGKj7dtQ 1nqm/aw8PIOJ+j0kTO8bGyy9roRvxV50MgXXdpgxP73sG/2Ifl/thgcathxDaxLKzPk1 B4+vXpaOz6iPjNybuqTQTxmWVLQoJXYSX8t+LL0IxPJqdOrYRSweuoETN/wbauiKO0cz wloWPj8bdDJU1ELBDRgg5zbOGdpTshWGmw/9xUovCyt3HpCktSYnrZLyrYs1Dlp3tcZw 3snkhdeoYi/5N3WGNB3hziN1OLq/pahqmzhh3DC/dzEG1EC9s7dL9GQg3jZjTWM0pnwD 1b8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770345153; x=1770949953; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=2ZvkXVSIOYFCtEBxE0jhzmf26iD9qAK0/wl2dxGNFLk=; b=ERR4xySXKawtfTPOYBFgpDimbWS5r+3/T1tjgjA4SEgsGxL27iF5y5rNcKDwBvQe7m 5VvircT4wujciJG1A2Up9YauUSP9NYcvjd7mXYj6lAonLqgceOfdLl9jsNbl05S/d8+s afVkJrZVts4G1Mol+/qqnVQhME59fMjYzsk1qLAvhS2p3uioTy+O/+RxH+L9odwUp2UA 8WJsYuYoFThUX5UgEYAggABf7YVB5audxFt7osVZ2FaC89r856iguRgKoWr5/yU25+mP a1oPhS3/0b8Da5wwkzddJuf73bwrVnnwWQuOHh4kOFgjv0WzHSlptMh8vGbP+T06AZr0 1McQ== X-Gm-Message-State: AOJu0Yzl1BmCRu3PO3esltiQI9FKxy5lwlziFOurqbLWbntjLnYSdBog bKzINuaWurfxCIj+gFlvtZ5Xw0Fwg3FnXig7GkezTwTlLfAj6ZxWS2S/wPAbTOW+rtQ= X-Gm-Gg: AZuq6aKwvvGKnhZn7UEA6vmFZOwPI3nXxsBcvLF5xhu4/VnaPwmI411NTu1nwrp5Y2v 9J4akiZOQhJLXHDOH1hSoUdvvV0lkEoDZ4BYd0WNF6NdTZLLAmvSuhksR+t8Z/QUo6Uq9WvXgrW DcL5gBto/1ekYUh4N7PMin2f9hGMOXrcKRrgINEdszRDUSv0CT4P57M/pjUff5vhdDVUTcNsN/K 5InefVknNb8Ch7ObCEOsMaSyEiMSiNCvcCmRuKi8oWcpiCr5e0S3ShJ1Lt7XCQjulokCkljQ3Ee oc61d1LvDdwWoKcd7B5kM/LTm20cCJJ8vksIeGJYtJcHVespVSFuO38d8md36mG4409vGcNJDuE pvI7EWAsl116OFjHN4bre/VJcmCzfK2S1bT3kR2xikS5pW5XZt3Ss3E3gYjt0ABloAGTAXlW8UZ ife+H8zInjAR3pusmxTqSxe9H92GL8zpIXVE1L2uGoPF6+pL1vAXtMq/VDBqS3BRksrsz2SjEk0 WqYBROIJ+SubFHtGxs= X-Received: by 2002:a17:90b:4e88:b0:34c:2db6:57d5 with SMTP id 98e67ed59e1d1-354b3ac0385mr944309a91.0.1770345153341; Thu, 05 Feb 2026 18:32:33 -0800 (PST) Received: from [127.0.1.1] (61-221-120-110.hinet-ip.hinet.net. [61.221.120.110]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-354b64a8a9esm158419a91.1.2026.02.05.18.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Feb 2026 18:32:33 -0800 (PST) From: Guodong Xu Date: Fri, 06 Feb 2026 10:32:03 +0800 Subject: [PATCH v4 2/3] regulator: spacemit-p1: Update supply names Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260206-spacemit-p1-v4-2-8f695d93811e@riscstar.com> References: <20260206-spacemit-p1-v4-0-8f695d93811e@riscstar.com> In-Reply-To: <20260206-spacemit-p1-v4-0-8f695d93811e@riscstar.com> To: Liam Girdwood , Mark Brown , Yixun Lan , Alex Elder , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Troy Mitchell , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, devicetree@vger.kernel.org, Guodong Xu X-Mailer: b4 0.14.2 Update supply names to match the P1 PMIC's actual hardware pinout where each buck has an individual VIN pin (vin1-vin6) and LDO groups have dedicated input pins (aldoin, dldoin1, dldoin2). This is an ABI change from the original "vin" and "buck5" supplies. The P1/PMIC regulator has no consumers in the DTS tree yet. For the two K1 boards in-tree (BPI-F3 and Jupiter), power settings come from boot firmware, so a probe failure has minimal impact. Signed-off-by: Guodong Xu --- v4: No change. v3: No code change. Update the commit message to state ABI change explicitly. v2: No change. --- drivers/regulator/spacemit-p1.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/drivers/regulator/spacemit-p1.c b/drivers/regulator/spacemit-p= 1.c index 2b585ba01a93d0ce163c33e14c8022a506bdce11..57e6e00a73fa416fd6e557eb5bc= ada7dc69df444 100644 --- a/drivers/regulator/spacemit-p1.c +++ b/drivers/regulator/spacemit-p1.c @@ -87,13 +87,16 @@ static const struct linear_range p1_ldo_ranges[] =3D { } =20 #define P1_BUCK_DESC(_n) \ - P1_REG_DESC(BUCK, buck, _n, "vin", 0x47, BUCK_MASK, 255, p1_buck_ranges) + P1_REG_DESC(BUCK, buck, _n, "vin" #_n, 0x47, BUCK_MASK, 255, p1_buck_rang= es) =20 #define P1_ALDO_DESC(_n) \ - P1_REG_DESC(ALDO, aldo, _n, "vin", 0x5b, LDO_MASK, 128, p1_ldo_ranges) + P1_REG_DESC(ALDO, aldo, _n, "aldoin", 0x5b, LDO_MASK, 128, p1_ldo_ranges) =20 -#define P1_DLDO_DESC(_n) \ - P1_REG_DESC(DLDO, dldo, _n, "buck5", 0x67, LDO_MASK, 128, p1_ldo_ranges) +#define P1_DLDO1_DESC(_n) \ + P1_REG_DESC(DLDO, dldo, _n, "dldoin1", 0x67, LDO_MASK, 128, p1_ldo_ranges) + +#define P1_DLDO2_DESC(_n) \ + P1_REG_DESC(DLDO, dldo, _n, "dldoin2", 0x67, LDO_MASK, 128, p1_ldo_ranges) =20 static const struct regulator_desc p1_regulator_desc[] =3D { P1_BUCK_DESC(1), @@ -108,13 +111,13 @@ static const struct regulator_desc p1_regulator_desc[= ] =3D { P1_ALDO_DESC(3), P1_ALDO_DESC(4), =20 - P1_DLDO_DESC(1), - P1_DLDO_DESC(2), - P1_DLDO_DESC(3), - P1_DLDO_DESC(4), - P1_DLDO_DESC(5), - P1_DLDO_DESC(6), - P1_DLDO_DESC(7), + P1_DLDO1_DESC(1), + P1_DLDO1_DESC(2), + P1_DLDO1_DESC(3), + P1_DLDO1_DESC(4), + P1_DLDO2_DESC(5), + P1_DLDO2_DESC(6), + P1_DLDO2_DESC(7), }; =20 static int p1_regulator_probe(struct platform_device *pdev) --=20 2.43.0 From nobody Sun Feb 8 22:42:51 2026 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A42726982C for ; Fri, 6 Feb 2026 02:32:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770345160; cv=none; b=Ou+QV/sWFxXc0SX6kg+AfnJC63JsuQJOKiY9k4+x3+0++YtE1YtBgpR49s0ZedgYmO8F72MpgGV7j00n56gxSxe2/Vo3fIrDhHJGZXbhIN8bv2DMotYF7jqgf8XReshTZyd3/hnE7sn2Lqc3RjeWrHcqy8+TF3YNXWrTeKN2/UY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770345160; c=relaxed/simple; bh=rqn+CyC4DmyPqdwEhCuUQzXXWD6gdAtHB88oVgs4zr8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T+2Sa1sEXX979HZxRyxD2yka0bzfAwqozXUR9buc7yEa3TxM6uKt1OljsalQ2UhbXefYGo5jNnZjYD2B4HbK/1Xl+gp2gIwLdclFFrNCOKfZhumQYzO+IvarIr/dWRiw8wcYHXBBWL1iQfOp1AyAqAj60oqqFWdJWr0vVasTTms= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b=grF+PcjQ; arc=none smtp.client-ip=209.85.216.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b="grF+PcjQ" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-3540266d356so1067775a91.0 for ; Thu, 05 Feb 2026 18:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1770345159; x=1770949959; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=/g6xXR3sCpk98fDtquSf1waAlnXZpFapLSMWL6yV+qI=; b=grF+PcjQLeGt38m3+JUKSfIj6A4qBO/coQRELjGYiinpQyHzEOR6qsdYAkOL3RkdoQ rO5P84BUK6vMCSrLMLtbmKm4h77SlEOJEmzXrCX6aBQKU7mikv5SWKzjxClC3+RUr1K9 QE92jzpWtw9kKnyuBtSMyVmpjP4OsOJe4jw2vR/6wPxrIBPFDxg+662OT8tA4BCn+LHv VrKcMiRmyKGT5vt5QEXkEeGJoAhTZr0itCowLysYf4LNMCozJ4U+Owg+TVAykhFGrRmw A+GUG/JEOz6lDAaJsAsq5EyUiNv1YdV+sSuN5bhCh6EM7quiRulnC8P7t3ftmeMa2YEM I27g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770345159; x=1770949959; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=/g6xXR3sCpk98fDtquSf1waAlnXZpFapLSMWL6yV+qI=; b=UzBThT1SyQ6xurr0p8X3tr2fFEYR5uGVJzitfjuROc/1DqdAxQssMLZ5uW4nroNM6w RMe7j+fKRdp9rLkgMOGc4ocnk45WmTE23/+KLxfbdKgjmnwhGJLzK/sJqrO7Hw+ojDeU BSXwIHgsUva8H+Wm6X5J165l+qSg/aEl2egwpUvdaT9z2hMtfek/zxJ0BlzKrcg7X2L8 AADs46DRAJogjwccc51Xhg3PPj28TItngP+qM7VhmwhZ3yDoEnUYE0vcctEpbTuKxmve 9345ImnL/9rokziBGLoxuezMYDVSaIhe+V8nrByYYo2s49RwZwCKJkh9cousup9zNL7b ndfA== X-Gm-Message-State: AOJu0YyM60L04thJ6QL6FoX2iFmBijjU44aylYMerZI68yM9Dh+khe9c iUtHPFnljQkqtH5sQ1YKK9lywWXfSUyB5t2RNpUbZho9wxsBwWIoiJwexFBxNnc/4Ww= X-Gm-Gg: AZuq6aIXy3pXF/yn/0FYR3xS9+6RqqwKt72amviWLdHwRsEh4mZ2fcpsORPXPyMlzW+ KKbQNOgDxaP/4PiF91pgrsjMP9lg9MA7kxkg3MpjGhk6BvEUun7sFdL8/5hQDvkKQyBRYL178oA G0iO0kTbAQEGwf08fwYtOjEbdgP93rj9nnP5lNjLmXpdxF+ocAlenIj1Um5/XiTiDo26zoB4ZMl ckP09zXe/e+Tbb9Kt8wxEPU8QyxlfQ+dxAlUjNuFbW1ODDW9uK7pxYfsgown6eqkN+Y/jCSiQPk NR3KX9l1IxrQL6By5wLiZbS4LXIff2vNkUeUVeJ5nNWn+Me0fdUiGM1iLdd+yEGkC55EITYfEi0 TZ1PX5ox4yc9rPg6N4naY3Eu9OT808vniWF0nccFzKHfPhZyCHAfj+n4PcJU4wFdOdvi3ZBhSVH HfihXDZPwrKcYJVBhVbX4PHqj4cCzHRNqMxdNHtaBFNniOOSWnw9XPBAffAxa/25+gxrNgjdqd0 8bp0+zzM3TgXMpKPtcKoOBrApF7Qg== X-Received: by 2002:a17:90b:4d85:b0:343:5f43:933e with SMTP id 98e67ed59e1d1-354b3e267bfmr956262a91.19.1770345159460; Thu, 05 Feb 2026 18:32:39 -0800 (PST) Received: from [127.0.1.1] (61-221-120-110.hinet-ip.hinet.net. [61.221.120.110]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-354b64a8a9esm158419a91.1.2026.02.05.18.32.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Feb 2026 18:32:39 -0800 (PST) From: Guodong Xu Date: Fri, 06 Feb 2026 10:32:04 +0800 Subject: [PATCH v4 3/3] riscv: dts: spacemit: Update PMIC supply properties for BPI-F3 and Jupiter Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260206-spacemit-p1-v4-3-8f695d93811e@riscstar.com> References: <20260206-spacemit-p1-v4-0-8f695d93811e@riscstar.com> In-Reply-To: <20260206-spacemit-p1-v4-0-8f695d93811e@riscstar.com> To: Liam Girdwood , Mark Brown , Yixun Lan , Alex Elder , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Troy Mitchell , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, devicetree@vger.kernel.org, Guodong Xu X-Mailer: b4 0.14.2 Use per-regulator supply names in pmic "spacemit,p1" node to specify each board's power tree topology and match the updated dt-binding. Signed-off-by: Guodong Xu --- v4: No change. v3: No code change. Updated commit message to be more precise. v2: Added the pmic supply properties for K1 Milkv Jupiter. Updated the commit message accordingly. --- arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 12 ++++++++++-- arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts b/arch/riscv/b= oot/dts/spacemit/k1-bananapi-f3.dts index 5971605754b3533e1cf3713a27c48448aeb4d96f..444c3b1e6f44e98b8b2fd5e2982= 0c5c75282abe1 100644 --- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts +++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts @@ -190,7 +190,15 @@ pmic@41 { compatible =3D "spacemit,p1"; reg =3D <0x41>; interrupts =3D <64>; - vin-supply =3D <®_vcc_4v>; + vin1-supply =3D <®_vcc_4v>; + vin2-supply =3D <®_vcc_4v>; + vin3-supply =3D <®_vcc_4v>; + vin4-supply =3D <®_vcc_4v>; + vin5-supply =3D <®_vcc_4v>; + vin6-supply =3D <®_vcc_4v>; + aldoin-supply =3D <®_vcc_4v>; + dldoin1-supply =3D <&buck5>; + dldoin2-supply =3D <&buck5>; =20 regulators { buck1 { @@ -221,7 +229,7 @@ buck4 { regulator-always-on; }; =20 - buck5 { + buck5: buck5 { regulator-min-microvolt =3D <500000>; regulator-max-microvolt =3D <3450000>; regulator-ramp-delay =3D <5000>; diff --git a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts b/arch/riscv= /boot/dts/spacemit/k1-milkv-jupiter.dts index 800a112d5d7054508f03089f0e2adb9965879ebe..e2702a781734beffb331982907a= 12b20009e37db 100644 --- a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts +++ b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts @@ -100,7 +100,15 @@ pmic@41 { compatible =3D "spacemit,p1"; reg =3D <0x41>; interrupts =3D <64>; - vin-supply =3D <®_vcc_4v>; + vin1-supply =3D <®_vcc_4v>; + vin2-supply =3D <®_vcc_4v>; + vin3-supply =3D <®_vcc_4v>; + vin4-supply =3D <®_vcc_4v>; + vin5-supply =3D <®_vcc_4v>; + vin6-supply =3D <®_vcc_4v>; + aldoin-supply =3D <®_vcc_4v>; + dldoin1-supply =3D <&buck5>; + dldoin2-supply =3D <&buck5>; =20 regulators { buck1 { @@ -131,7 +139,7 @@ buck4 { regulator-always-on; }; =20 - buck5 { + buck5: buck5 { regulator-min-microvolt =3D <500000>; regulator-max-microvolt =3D <3450000>; regulator-ramp-delay =3D <5000>; --=20 2.43.0