From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 140ED30ACE3 for ; Mon, 17 Nov 2025 06:44:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763361864; cv=none; b=T02qTPXyf/aFI7ZH7GSy9ixIhH1meT13Qp4ZHfNQMTqi2dHhe0OaWNs/C8HTuTGcvIQyQe1JNLqEOR7gcf5TpBAXLkC/ohZB5c6ITFf1DJYI81Z2URmR2mFY93/aikeCRQHRMxdZhdcpH1f2HUkc1pX3PMAotMgJfpD/YcRhkX0= 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.50 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-f50.google.com with SMTP id ffacd0b85a97d-42b38693c4dso1678457f8f.3 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=HIV6vwZelZaw+eD2+rfXO6nl3OrkZtuM+YRcLdHjViWvbnsHSfc+K14/5O+6rNqnBj 5+PMDO3tJ1YAGWOYkyJ2xtQCiJfmpxxgOgPx9XJwjk2dNbKlCwMg0jTGyPn5s++nmRpE K8HCWhn2kICKKuQnF3Kxbjpup6NxXLOaVlDZjUvZYJ1XZ1oU7fw9d/ki3pyWcxDHSNje HFcxb8XPk3vwhrEso8UBrJ041H6LK1EvJEb7M6UjmyAn4nnTCu6zgGeQY1YqoQLfqSu+ aofanOU4ISjBgq8fMqCHxSot1pG1w4Q7kPsAutwLVy95ceYg1iP5lBaXSwA45ThPUfsk 8afw== X-Forwarded-Encrypted: i=1; AJvYcCXpW6AbyMya4xcaT4153DCzb3mZnmvOS22b0PvX2tz4y1pDUYSAv+I4rzLBFpI3MaBqFsKdf8mMYjItbVg=@vger.kernel.org X-Gm-Message-State: AOJu0YyY2krk7+BYBsH+0H5yGo4ucwtZBkrPlwPyIWGiRGbnDxuJR51G yySKOP8iNP5+UYZGvWKqGP+g9XjhooPRCv3M8AlkBxOOTQzEpa2nAaYOZokaOwisGY8= X-Gm-Gg: ASbGncunu39sG2gmYTA5UEoabgC1qz6cxvVK+eIE9V6MgKhG9lQ/VOBUv5/T+ShscP4 1Tt2VNiW2D1/8ikWrEfJnvjgUc5/wtUqZGrZptBdf0Q7Eyo7oINPw9niP3rZ7VHHrtEI0nxT98Q dKPivMypcEhVyylNoDZocAer7+SDFDVZfeIZO2v7D2EjHB+1zHZWpfl0Lbjbhmkkzc+0JRN310U rKO5r+AVADyvJMkBOHYkHrixEhixw4ZHHjh9IWjNfXJLRPOyE8mkd3NB0xEtPEiwlGD0B7DtBV/ T+6W2EpYrkNqW1jtR+VOYXJuotQhtJwJI21VabrqUDMvaLoCQJua+uR6axRhP+bOyoRYO66+G6l CDoy2hAWAD5YBdnqzl7TFvBZZLugy7enk6MLmfdE8/G1sCNnel3xw4sN6HqWnvD3Fvqtl9YYTH1 LVXwDDLkxADf3pZd/3EM1ntvtriPLhtU1vMePoRVw= 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-kernel@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.