From nobody Tue Feb 10 01:31:20 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 Acked-by: Conor Dooley --- 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