From nobody Mon Feb 9 20:10:56 2026 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 7799844A72B for ; Thu, 22 Jan 2026 15:43:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769096629; cv=none; b=BgbB8heVv+XIUPonVtPP7j13amrM4st9uLE3Heur3aF6GYynRMZG8KodS5MN/MDDXDJ+BoxNMjQdU7xpbq/+Jwy+uf0kCXTdx0YB1Qj2TI12SSeF87B317btrLbWuSq/vTncXqJiw+olRJ9xSQ+0xpNF072guXxhGOxTsnqXpyc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769096629; c=relaxed/simple; bh=mvLpDBDtjjTy7WC1hkY3vl1ccJiFCt7eD41ttUSpx+U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=krYxX3Os2gYSB/yv6M3dCHoQMdPNf+KjfM2UvFHqFxhAqTBXJb5vGISjKNdlEkXv1TDkcGRUBD8wpSy2xV98ZEttZC9IkMHvC5JdQTfsEMGKVhtIvdYAR2RoxHkp+/gV0AkcciLVFOahRrt5TC0KHpP40w4bxk87JFHgPcsyEeM= 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=D8Aa+9Nf; arc=none smtp.client-ip=209.85.208.51 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="D8Aa+9Nf" Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-658034ce0e3so2055430a12.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=1769096621; x=1769701421; 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=JjAudqG82zBneeIXc6AyLX5P/jBbCjeUnuIz0dqoYGk=; b=D8Aa+9NfSwRfvFE9J8LVFGnQBCFxZJBJUpfzXI8sfw61cgY2YjNsctyot9MjAdXTgh +4kCgmTz6FVYOiAxXSOVpb0plaTkuuVNVLqdZ+x8sMSiHlMg4Gmqd/XSCE2bZ5JQW9+9 drNe2yWNV8yMvo54IGIKoTJ0Ao3xyc9HKdjH2lKRHG91SDzTZ4ToSSZx/rDjIRGPnn1h GkavFaMbwHm016ZByak6DnTOqpHThlZ02GMArS7e9m5uHJW3e4aGExlhzp5gbsDN0QlK wNng27pp0xj3VfSo2rlJx7qNlEFV3rZ4wclAsqPpvd/KySQatvb4xBjgzACAvUP5GTIL /o/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769096621; x=1769701421; 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=JjAudqG82zBneeIXc6AyLX5P/jBbCjeUnuIz0dqoYGk=; b=CEKcPL+Zof24bGMTMWplVuEW0zZSfM95+W3eKO30wVj2aB7TRUdXQVFXATh6r6I7s5 D2kdWAve1AcwK+YNuIUbHOFOXutcWS2+mPi6MbXkhFCeeVxFfdnhJ4FuMOk4qZn0aScI vUnVTzMkP29hZzsKxX6qqhPQSTLqSQIoIojbjKNhsDgHto0aTGsCH+g+OZXGIogA9E4U QM2X3sx5FZ5baK29135RpXFLw+v4BmXuKAH7zn0V7JiMslQMT9ek0jl1yenUe7Z8RYFE a5dSdAqwBH3KclhYoahCKBk/JO8vQv5TQJqfv+S/fUh+kOYdMsm1wpmJKSgDfolajEeZ REWQ== X-Forwarded-Encrypted: i=1; AJvYcCUOiAFf58y+FoT3HpnA+4eplmhVyump360ujJsxs9RCqw1C+aPjW93SdvSKyo3a9fNqDQLXRsZYamUvJaw=@vger.kernel.org X-Gm-Message-State: AOJu0YxMDJOi0xsDBQB3LYGnSwORiAeFC1KCY26rD3yMpyRQmMlA9t/B /JpqkdLYS8OZHzi7j+1/RD4sr6yyqkZZ0puHhhNw0AGbPld6PBLpmZ4LFCJRCPzxH4Y= X-Gm-Gg: AZuq6aKsWZ/skmFA0ClF1+a7kqi/RhMmCOjIAS4BqpeS/FWoJfa/DrD0NUDmxA5LBog XbU6y6X7L2hRmqiQnT2dSxY/YkbhRU8obzNHnxFAGMFQxMRXTRBPk7NJrNJPOJMvubrE5SonTe7 midgx3qazlgqolkQkU3OEgABmRA4HaPQAnQnYAY7g0oxfiKhAR+p8Ckz+duoj8JzqE6DWQwZeiz u14n+fPin2GlD7fUCxOtw8k9/uvV3Y+V4J5LxFQXKieJqqdc6H+/DSLwUng8esLUMO8B+pJibLS hO5BpZkiGLUs2bPlkSM1UfmHC+QTmnMdZqvI6D+wBihDWk8yS8w39QQC3nd902aaF5EtSsZDmIf ZagQxaJM+qUPKCnezKdg/MmQjJTsX/emtsP+Ckykup7wSCiAu8ra2BSs9F5ZYkp2Bj9D5LFbP+W t4RJ7zE5EBFV8Oa74eROvRwKl/tlwN3uricL94rfhak9QATruyZap+VSTl8KBO9eEr2HuSwzRIa dX9Ow== X-Received: by 2002:a05:6402:350c:b0:64c:fc09:c956 with SMTP id 4fb4d7f45d1cf-658487b7eb7mr24682a12.29.1769096620921; 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.40 (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:35 +0000 Subject: [PATCH v7 08/20] mfd: sec: s2mpg10: reorder regulators for better probe performance 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-8-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?= X-Mailer: b4 0.14.2 Bucks can reasonably be supplies for LDOs, but not the other way around. Since rail registration is going to be ordered by 'enum s2mpg10_regulators', it makes sense to specify bucks first, so that during LDO registration it is more likely that the corresponding supply is known already. This can improve probe speed, as no unnecessary deferrals and retries are required anymore. Signed-off-by: Andr=C3=A9 Draszik --- include/linux/mfd/samsung/s2mpg10.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/linux/mfd/samsung/s2mpg10.h b/include/linux/mfd/samsun= g/s2mpg10.h index 9f5919b89a3c286bf1cd6b3ef0e74bc993bff01a..aec248c51f366359ff323f421e4= 53a0ec1d1dfa3 100644 --- a/include/linux/mfd/samsung/s2mpg10.h +++ b/include/linux/mfd/samsung/s2mpg10.h @@ -407,6 +407,16 @@ enum s2mpg10_meter_reg { =20 /* S2MPG10 regulator IDs */ enum s2mpg10_regulators { + S2MPG10_BUCK1, + S2MPG10_BUCK2, + S2MPG10_BUCK3, + S2MPG10_BUCK4, + S2MPG10_BUCK5, + S2MPG10_BUCK6, + S2MPG10_BUCK7, + S2MPG10_BUCK8, + S2MPG10_BUCK9, + S2MPG10_BUCK10, S2MPG10_LDO1, S2MPG10_LDO2, S2MPG10_LDO3, @@ -438,16 +448,6 @@ enum s2mpg10_regulators { S2MPG10_LDO29, S2MPG10_LDO30, S2MPG10_LDO31, - S2MPG10_BUCK1, - S2MPG10_BUCK2, - S2MPG10_BUCK3, - S2MPG10_BUCK4, - S2MPG10_BUCK5, - S2MPG10_BUCK6, - S2MPG10_BUCK7, - S2MPG10_BUCK8, - S2MPG10_BUCK9, - S2MPG10_BUCK10, S2MPG10_REGULATOR_MAX, }; =20 --=20 2.52.0.457.g6b5491de43-goog