From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.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 17709315D21 for ; Mon, 17 Nov 2025 06:44:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763361864; cv=none; b=oeJ+zO7TpJ4KZqhf18WPC+inwC+9ghnyVO+IJTrd0CnHeahooDxDEe/O3VY7Z/6iW8iUuvoieeQWjbHFn5Y152rfbSf9vpvTTOjvYXNJcr+0Sw5pJQ1hyW0BVbfJzfSsBzCEFDXMHFexroz4GYTwK7Vc4SuC5WwAd7Io37GDbso= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763361864; c=relaxed/simple; bh=BSHRaWHAGUB8v+6+TObTc9Igi8FYpiAVAk4Ip+k2cgc=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=QICoB6qEc6xZU9gwz+67wjqgV7/VdDtDC8PTl7hMHekmf0gZ5d3VZ4+1QTCsIIkiyJndhgYMxVcQwOo1vNYBJb2sBl/GBRnC8bB5oBtaS1405uNTku9sZHme9IJeKhkGJ6BTgF88ppMWd+a350NnrSSd72qU9Ye61PoJ6Hrb6q8= 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=ZqY0bwSx; arc=none smtp.client-ip=209.85.221.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="ZqY0bwSx" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-42b2e9ac45aso2444355f8f.0 for ; Sun, 16 Nov 2025 22:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1763361861; x=1763966661; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=FrySMrt3UwGtQkvIQfdOgxfySxJPiiEl8hprUUf1lDg=; b=ZqY0bwSxWfBdjipEyOpFspa27RkvvOb2c/u2C5lPF8Sr1MioW4eLq3+0Jt9jaHowdm c9x6uqwaQqVNFEX8bis6YuAsTbsiXBjWl2/CF1T1n3WaOYDAcllVHztoUBtp9AfY8AWU Ltd5AMq9+A6xQV9KScMK/1IxgyTsaxZ1UJmKX4QIlIuybA/flZKnjb11bd2RzDi8zutg 5lS2N0f0GavkJbkd6MNn/9QgGHSX/YRZIKxtRI3pirT/6e5bUp+1P510+tY+e1hDiR9U JFUR+pnXGjIbhkHLztp6RKdnaxvve/OjgxeMhSJv0iS7lru3Vbfu2JCXz4DRBMD4Y6XQ MvOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763361861; x=1763966661; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FrySMrt3UwGtQkvIQfdOgxfySxJPiiEl8hprUUf1lDg=; b=MV/XsJt2fPfVl3y3lIVn2WDUL20dYYzmyBNI2SDDb8EBEBzUquD1IG59UiJmCJhwnl D+Symu8G8SZGVdMhHOYUfZ5WvPjRyhbNo8jkxLRmE8CNbbEFsDJSWlWuvjk/bfiXxBtO flfvUORrvDvv2qch/u5H7wlG1k3CVpsNBY8FCpctmOP8S1oWpLLc/p27dFhKfMeZhJY0 T+NqjGClxD4KlJfnWCdaaYtZ6Rnb3qHLAZLGX+xpbNV45qOwMiECI99wiVo7ufEqIt9F Nkd8J3Bc/byClymyvya+fitDWOtoP/dqUhylBIzhNMUuu1i0GUvwgcSpufkD/00fZgZf +OYQ== X-Forwarded-Encrypted: i=1; AJvYcCVAIzFdJux/U915weR6hxit2yX0Rvni1p70AgVAQ+OPTf6qRhNR2UvetGf+fdpslRnKGAaouM9FrCft@vger.kernel.org X-Gm-Message-State: AOJu0YxZYkkE7WXgOh7dJxjXLvqAhUAPSPFPtRZCHUtC2GvERWyvLZlZ +FYevdikyMDhqoABQdONKBOj+Wn6uF/DOtWAV+viqzZTaHc13Kts1TX5XaxCiIf+suw= X-Gm-Gg: ASbGncv7etYJfN2qkLo4Qjs1DeAywUgLMAg101KwUWTiI8OxRE8wJmb6viGWZ4XuSzw rTeQ2adWHKI5xJLmJELMtPACU9bpux5gULjJNGsatd/DDEkf+ynmVFbA+YKyvx/5JCpXe5hgdz+ pT+nR7RCrMdmMkuK8+TB9zx68fkIZ/OPDwEvgfgiGIaOTAqO4f+V24CzZA0c5LuIkwNWVSBk4e2 wnnDtlJ+47Fw0pzpj5iB2oMK8OYsvhqewrwZyl+wNNECYI3sWXwmBkWL3MHz1HurM8qNFMu/Yhg hblfTbOVWWsYlTqppS1GPb8XtTvbWC8mzDSig1QGTBNiMUEeZY9fy8H5p5NdqPkVLfqKPqHwkwj c4iASq9/C92rZxGrfxAodV5266qFsSF23DqDQr4lpJij+FhVyc9nNICfrxQVA+AiQ83h5nV3C/l DEy+W6TDbjcH+wiLTLVpLNqLJrvH3RMgnNXFdikQ8= X-Google-Smtp-Source: AGHT+IHGf7t7PNqLY6EKlBGDR801fpfVT+O04gNE2DbvAjsFlpnI7P8GiwkCXEw4Ef7oTb4QHY9CgQ== X-Received: by 2002:a05:6000:22c1:b0:42b:3ab7:b8a4 with SMTP id ffacd0b85a97d-42b5938b4b1mr10192510f8f.33.1763361861412; Sun, 16 Nov 2025 22:44:21 -0800 (PST) Received: from draszik.lan ([212.129.83.193]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53f203afsm24850910f8f.39.2025.11.16.22.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Nov 2025 22:44:20 -0800 (PST) Message-ID: Subject: Re: [PATCH v3 09/20] mfd: sec: Add support for S2MPG11 PMIC via ACPM From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Mark Brown Cc: Lee Jones , Tudor Ambarus , Rob Herring , Conor Dooley , Krzysztof Kozlowski , Liam Girdwood , Linus Walleij , Bartosz Golaszewski , Krzysztof Kozlowski , Peter Griffin , Will McVicker , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org Date: Mon, 17 Nov 2025 06:44:18 +0000 In-Reply-To: References: <20251103-s2mpg1x-regulators-v3-0-b8b96b79e058@linaro.org> <20251103-s2mpg1x-regulators-v3-9-b8b96b79e058@linaro.org> <20251113162534.GO1949330@google.com> <45ce203c03ec34631a0170baa7e4cf26c98b9cd3.camel@linaro.org> <845ca29cf8af53bd3093d1dcbea64cc3e04432f2.camel@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-2+build3 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Mark, On Sun, 2025-11-16 at 16:46 +0000, Mark Brown wrote: > On Sun, Nov 16, 2025 at 12:49:55PM +0000, Andr=C3=A9 Draszik wrote: >=20 > > The typical use of the S2MPG10 PMIC is in combination with an S2MPG11 > > PMIC in a main/sub configuration. Bucks of one are usually used as > > supplies for LDOs of either itself or of the other: several S2MPG10 > > LDOs are consumers of various S2MPG10 bucks & S2MPG11 bucks, and > > several S2MPG11 LDOs are supplied by various S2MPG10 bucks & S2MPG11 > > bucks. >=20 > If you're doing something to resolve such rats nesting of PMICs you > should do something that works as standard rather than just bodging this > one driver in a way that treats this specific device as a special > snowflake.=C2=A0 That might reasonably mean going and refactoring existin= g > drivers to look like this one, I have no insight into which other drivers / setups might have a similar problem. > it is a fairly obvious approach.=C2=A0 We > should really have a uniform approach that works well rather than random > variation between devices though. >=20 > We could also do this at the regulator level by arranging for the > devices we make for the regulators to have deferrable drivers, that'd > be a core only change. That should work, yes, I'll investigate a little. Thanks A.