From nobody Mon Feb 9 18:19:46 2026 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.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 443983F076C for ; Thu, 22 Jan 2026 15:43:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769096629; cv=none; b=DIuntq3fgNKissJyuyQ9+7c5CXZVvH98PsPbr4sxIz1CJggbnoFXZTLynlJmugEivIoWCZousT0hjCxJzvf9PTdi3hEb7EccEPdXIKcNiWe6O36W34BRCA/0PhcGcHT9kd3n/6N3am3/HetHJ1pVfku0C7VuQYySMDg5ilVS6ho= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769096629; c=relaxed/simple; bh=Bnqejdaa4hI/3mIGtB3IlQTGMv1yS7F4oLEOhXH3rRk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XLCWy1IQHK9gwlBBI8aP3kXSK1p5PDszK5jkLQXcyXSoNWIts9fLxWhO6pzSKS+rbcuOYbRl458xrnV7ETTHrhonnAaZs/dIBfqrpsPwVya2MHAT9ZUDs14dgdy+o20235MZCRrNytVXmLJlnLzaP4bBlYO2RCqed8VgIIKunpY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HdOd9E/p; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HdOd9E/p" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-658078d6655so2302344a12.3 for ; Thu, 22 Jan 2026 07:43:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769096620; x=1769701420; 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=qODehQYebDqLL7EwCAh2DU2WeYX+gdQf3MnpwlxtGlw=; b=HdOd9E/pCSyg0dubV/wmVSvRQtr2CwTMubYBhisE6Ok+jZ9Ftr/hMT1qc0Qei2vV2J kUMBuxbfbLJGXM9bcmcMr1PpUGUpixQs0dMUxXB8WeI62DF49BrMCZZyv8YmLF4SnCzM 6bvhgQaM1ye1lM8vKXWee8FR162RYr+5xj1EG+7qTyL5juAhl1OeSrn9koG4PE2OJRTG Bb58U+Bg3gnFQdUmoQLb7IzRhr2MVBz6H2ze+ABT3gHLX2Cf0vZXBNYepCS8Ij55tCh/ eKdRr0fj7Doa0TZxEhOlqY2lsO8Gqg90wuWqhFxOQORetYOYwNEdnLSFvwLCffGv4pRH zUpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769096620; x=1769701420; 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=qODehQYebDqLL7EwCAh2DU2WeYX+gdQf3MnpwlxtGlw=; b=ZIFX5CZjF3eDxMTBSwkz8oU5qhfYh/qR0E3gkiFIimj7QLz/x3h699Q5/8Dk0bPuaH 2DJUeoGE6ViQDydpdoWeKRiDku9w5YsgnbtbCXqhKg7yCBUL2JpTNP24Cx0q6bQNnxEU jNsEWLRYODdJZVgrhGZBGTfFFcvNlRi1UvcVsAOT6NV1rqCvIPzHt24a7fRMGRdnXrE7 O2Ad+S3n/4F034hXRXR2gHWPeoSqmQpfVtc7eLG0UTq/CqVau321dRWIKVwscrnAKpAF bEEYKLkWEx+/8e7TsVe8PJvqJt6VDbUWK88h+OK5TLjuZrUPuMaw2eP3XNV8PMu9LnHx G8Cg== X-Forwarded-Encrypted: i=1; AJvYcCUio9Kvl6H4DAgr5DFG7BgNVauYVGJ7n9rZVNc4fl1xfqH2T16HyUg4mQiD34AYCzNt6EF5XUWi/UfVAvk=@vger.kernel.org X-Gm-Message-State: AOJu0YwcKlnq0f66xB+YF4KYVqQPjNIdNUWbvvQneMKkvjqn5+7PyQkb V9KcFRJ1l2ZYAuTZa/vQwhcDt7ph3CZkSqjqcpax66GkhWaVBxEDYQ+S8Td3UBkjYTk= X-Gm-Gg: AZuq6aL3XEFDgSgvwwVGZDf3bGSZQ6lIMdFi5UE2cHtmBW8pm3PmPKI23C2m/2LxMUJ blvXVwTd0IPu74ZQV/ynx1cyO3CpIubU02juFgX3BlCO4EFHcFtGPROAMgcEpWG350Sb10mNbay loOlIxfdc8BP+NZ+Y3Ejg+8xeMd1ocVti/qj9y4lwtrvfWMUHjk+pcnAIHC4QuXp7x7xR0x/TkZ CgQ0ZPeyh+yJ6H2FbIgj21WaoxBRAPhmXW5Ywfcw+2+rvK8edVYJeCVCeQINSIflTx1cA5TbSHa M0Q3lBZKm0cwXCq5qevv2ez2sPNtzw6NvjZS/B2+nb059nVTM4N2c+4ejpQHHhJsXgLP6pcDQFU Y0LJ+Wuf2gb0j1s3sekwNWSWN8KqgURcvJPuGMJHyvrccF1sfbbfLzVkuJWG9hPIMi7VADRcWQu JdEkoiC7Je6pYHk5Q5ipFxc616sFBME/rUS2GebRB3xKDdhvjp7SLCQm6pfLYbJbJV+bQTDOtHN Hmuhw== X-Received: by 2002:a05:6402:268f:b0:658:1274:382c with SMTP id 4fb4d7f45d1cf-65848770a7cmr40127a12.15.1769096620351; Thu, 22 Jan 2026 07:43:40 -0800 (PST) Received: from puffmais2.c.googlers.com (244.175.141.34.bc.googleusercontent.com. [34.141.175.244]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-654535c49f4sm16334363a12.31.2026.01.22.07.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jan 2026 07:43:40 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Thu, 22 Jan 2026 15:43:34 +0000 Subject: [PATCH v7 07/20] dt-bindings: firmware: google,gs101-acpm-ipc: add S2MPG11 secondary PMIC 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: <20260122-s2mpg1x-regulators-v7-7-3b1f9831fffd@linaro.org> References: <20260122-s2mpg1x-regulators-v7-0-3b1f9831fffd@linaro.org> In-Reply-To: <20260122-s2mpg1x-regulators-v7-0-3b1f9831fffd@linaro.org> To: Tudor Ambarus , Rob Herring , Conor Dooley , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Lee Jones , Linus Walleij , Bartosz Golaszewski , Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski Cc: Peter Griffin , Will McVicker , Juan Yescas , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= , Krzysztof Kozlowski X-Mailer: b4 0.14.2 In a typical system using the Samsung S2MPG10 PMIC, an S2MPG11 is used as a sub-PMIC. The interface for both is the ACPM firmware protocol, so update the binding to allow the relevant node and update the example here to describe the connection for both PMICs. Since we have two PMICs here, but can not use the 'reg' property (as the addressing is based on software, i.e. the ACPM firmware), the node names reflect that with their respective suffix. The existing 'pmic' therefore becomes deprecated in favour of 'pmic-1'. While at it, update the example. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Andr=C3=A9 Draszik --- v4: - Krzysztof: - update commit message / subject - pmic -> pmic-1, pmic2 -> pmic-2 --- .../bindings/firmware/google,gs101-acpm-ipc.yaml | 50 ++++++++++++++++++= +++- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/firmware/google,gs101-acpm-i= pc.yaml b/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.= yaml index 4a1e3e3c0505aad6669cadf9b7b58aa4c7f284cb..e68f9c3ca5e2619bacc0c8d843e= c4984c0947fd8 100644 --- a/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml +++ b/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml @@ -37,6 +37,7 @@ properties: maxItems: 1 =20 pmic: + deprecated: true description: Child node describing the main PMIC. type: object additionalProperties: true @@ -45,6 +46,24 @@ properties: compatible: const: samsung,s2mpg10-pmic =20 + pmic-1: + description: Child node describing the main PMIC. + type: object + additionalProperties: true + + properties: + compatible: + const: samsung,s2mpg10-pmic + + pmic-2: + description: Child node describing the sub PMIC. + type: object + additionalProperties: true + + properties: + compatible: + const: samsung,s2mpg11-pmic + shmem: description: List of phandle pointing to the shared memory (SHM) area. The memory @@ -62,7 +81,9 @@ additionalProperties: false =20 examples: - | + #include #include + #include =20 power-management { compatible =3D "google,gs101-acpm-ipc"; @@ -70,10 +91,12 @@ examples: mboxes =3D <&ap2apm_mailbox>; shmem =3D <&apm_sram>; =20 - pmic { + pmic-1 { compatible =3D "samsung,s2mpg10-pmic"; interrupts-extended =3D <&gpa0 6 IRQ_TYPE_LEVEL_LOW>; =20 + vinl3m-supply =3D <&buck8m>; + regulators { ldo1m { regulator-name =3D "vdd_ldo1"; @@ -82,7 +105,13 @@ examples: regulator-always-on; }; =20 - // ... + ldo20m { + regulator-name =3D "vdd_dmics"; + regulator-min-microvolt =3D <700000>; + regulator-max-microvolt =3D <1300000>; + regulator-always-on; + samsung,ext-control =3D ; + }; =20 buck8m { regulator-name =3D "vdd_mif"; @@ -93,4 +122,21 @@ examples: }; }; }; + + pmic-2 { + compatible =3D "samsung,s2mpg11-pmic"; + interrupts-extended =3D <&gpa0 7 IRQ_TYPE_LEVEL_LOW>; + + vinl1s-supply =3D <&buck8m>; + vinl2s-supply =3D <&buck6s>; + + regulators { + buckd { + regulator-name =3D "vcc_ufs"; + regulator-ramp-delay =3D <6250>; + enable-gpios =3D <&gpp0 1 GPIO_ACTIVE_HIGH>; + samsung,ext-control =3D ; + }; + }; + }; }; --=20 2.52.0.457.g6b5491de43-goog