From nobody Tue Feb 10 07:40:24 2026 Received: from mail-dl1-f43.google.com (mail-dl1-f43.google.com [74.125.82.43]) (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 9D05127AC54 for ; Wed, 4 Feb 2026 13:23:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770211397; cv=none; b=tfY2vn3zbh8y4K7oxdr9qVmLeglsQJfRj4bHYqT7Hbr19kQCaHmf0jO8Y3Gglw8R3Zt+pSn4AHZHoDq/nVAEZTesLLl8QZn2H/3I3ckJgidyRTLrLoHEATo0K6EZ29TveBtwBljkELudUTUSaSl+qwKFTHoy4K1+gSaZOZ6ZSO8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770211397; c=relaxed/simple; bh=4zb7DJEBy1RtessL+tA6ArL1y8kBIwpVEsbmJH+s0rw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RWkKQYVUTnGTRWZNJJ/Fy5mC9qvBJNUfyywHYhtCldXguDw9u00x0EvZRODenPeAQ7eXW61AlX5Z2ROTCv9Dr3+85n5pGw2NQRWZKn+1fVmVBS+FWSVj2Zqu1T4O4o70JpMZ52fKibhf2zoIOEh+w6VqRG5LwJn7Yi+s5gemgMQ= 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=PuPCg11V; arc=none smtp.client-ip=74.125.82.43 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="PuPCg11V" Received: by mail-dl1-f43.google.com with SMTP id a92af1059eb24-1233bb90317so700050c88.1 for ; Wed, 04 Feb 2026 05:23:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1770211397; x=1770816197; 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=od7qXbwDJz6jtm4G2t06KDZlfQtmuOYuFdFOxoNtva0=; b=PuPCg11VJM1SHlfWWNrFmO5/C9FlJZ6N++HQ8IcU82KFY/L+bfwX9+HEKDcMh/OIGA BwUGI6ahbFoQ3ByVUjBgPiuKSywM45gY84zSzls5ZQ43P0enCqcoqJH3TtO+ub88V2xv 1DSPngwyPNi82ArdokeqT90jr2kWYM8bf7VgkEYBMTY5d4IZKNFsA+groE8SD/Nn6Hrm ArZQypd99ksBFUk2x8m6QWItRU37BK8GNpE+lZ5z6XxBjTTuWTBUWSYjV1ezKRNDXXQu rCOypqCVS3LXz2ggeDb5l+Nsq3EpoFbh2vNn5BmKec6QcjWb5KFFH2YGdDxLYvzW1WZ0 2xCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770211397; x=1770816197; 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=od7qXbwDJz6jtm4G2t06KDZlfQtmuOYuFdFOxoNtva0=; b=qj8TQdUpFfaJP4CIY8C8VGw6u5/ByJsxwpI+uQK9YszbnWfjgI6gkmlLAvf62VK0IU XgELj+WOiJyJ9AEzINdd0fC8If98exsRv76HICOgx6iLlqsTIqShfLreWvISWu56UI4l EfyI7v12QJfRVc7jn92/Hey2wSynUhkETmQUtR54lOgh4epjmYI+kFR8XZ7JBM5gXwMW /lnPXPC6W7okcqoVRa6qLOAKTeCnhXsZp1tzoIbtiynHNaXJ10wIEyXAeBdWHGSDed9P pYrNtVVh/d5wrgNExr9kk7KJeOX1k2ZnIACJ30ojboVmZwUwBkSl3kzgKGezKwblHToi VGgQ== X-Gm-Message-State: AOJu0Yx4wB7p0RCHj7/iNIKNVu1d/7NiIfDL478kcX0bR9PRJ27TmaJy /z47q37pW0NGspBgRfNiWXSqoE/9HUclj7PqufeHDGYGPT/UxYudsMWnlkIjCZaIE9g= X-Gm-Gg: AZuq6aLR59nv3OVYjoLPwiSmopesdr7Zi0M0MgK5zEVVUtBiWtfuNSc9DCOJN8ZUEoj e0cwExVqYwWEvYkHahrkVSqoVz/W8WP+Gx6oFddhzhKHVpnadNsFoVvXt2qAUEaBv1Q5xaR9VoC rwrOnpGVvfHFIj8l8nCCoIu8chn72cXRdwTzNCtkGGIP45sxc3jiRMOzJRVl46CEtTHHRRnh/Zg BTa5VHyIhT3dXEhMqXc5sz0gcZYsCayiSOFNFT/uxlWk1C7FD8VlfSafEvnHv+GO9b+9y5iF9r9 seDrDXEwhpoDXVbB3a6HR8gRUW7i/WdfjcTewZcKTZBigj7SIchcgUsSiAHVXBbfF+kG3TIZd+F VmlOoJBhLeuqb51fiTTYHr3AOacIak7WDlewMCilo/XJKF0EmC4a19BxVWjCgtNn5Z6qTbnlMxH 6RXpemwkKrr05lTVsbrYRfcVbY21ug44o= X-Received: by 2002:a05:7301:1988:b0:2a6:a306:efdb with SMTP id 5a478bee46e88-2b832d7c5c4mr1189345eec.3.1770211396750; Wed, 04 Feb 2026 05:23:16 -0800 (PST) Received: from [127.0.1.1] ([2604:a840:3::303d]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b832fc1d50sm1416731eec.27.2026.02.04.05.23.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Feb 2026 05:23:16 -0800 (PST) From: Guodong Xu Date: Wed, 04 Feb 2026 21:23:01 +0800 Subject: [PATCH v3 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: <20260204-spacemit-p1-v3-1-a894b3057026@riscstar.com> References: <20260204-spacemit-p1-v3-0-a894b3057026@riscstar.com> In-Reply-To: <20260204-spacemit-p1-v3-0-a894b3057026@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.3 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 marked as deprecated to avoid warnings as dts and dt-bindings go via different trees. Signed-off-by: Guodong Xu --- 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 | 53 ++++++++++++++++++= +++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/spacemit,p1.yaml b/Docum= entation/devicetree/bindings/mfd/spacemit,p1.yaml index c6593ac6ef6a..41f784408e29 100644 --- a/Documentation/devicetree/bindings/mfd/spacemit,p1.yaml +++ b/Documentation/devicetree/bindings/mfd/spacemit,p1.yaml @@ -28,7 +28,46 @@ properties: maxItems: 1 =20 vin-supply: - description: Input supply phandle. + deprecated: true + description: + Main power input (deprecated). Use individual vin1-6, aldoin, + dldoin1, and dldoin2 supply properties instead. + + 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 +97,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 +111,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