From nobody Mon Feb 9 17:57:40 2026 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 CF99932B999 for ; Mon, 5 Jan 2026 09:01:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767603710; cv=none; b=Acxu6PjHQZa0CrnMTB7yFBa26rhH6MnxKY0VPz7/KOYiiKGLFcf15SsQNYC80Qz8SwJawo3Jj3K/zwyj8SrtzJHngp2N9lUY9HI17ZqYGe5u9Y76OuSuictkKKHYOxietsL1yhvkKnxqK3uD1yF2Wi3O4RDIa36yw7TEpm+wkQ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767603710; c=relaxed/simple; bh=Sa+/EIvgfLeQ0GYvhvwXdDpmw3zds0mNO7QpOW7aJP0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HPberfs9VOQGVK4zPMujIyOt1qJVYSG9ttCRsLR4HqSD1KypN7LSYndQiISE5kbsA+OJLQXBgEh2znAnxbI4OMngJSRizWPYM0IcClQ+EwkbLHeXynRi6H4CxHrVlFvC0OBt7eMPvQHP+fU1xCCFHPLCOWkdWFkiCJD3JotVSLM= 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=ghKjoxxp; arc=none smtp.client-ip=209.85.218.47 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="ghKjoxxp" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-b7a72874af1so2341444966b.3 for ; Mon, 05 Jan 2026 01:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767603705; x=1768208505; 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=2EsAjr4P9fU1lByYIXjwfOyDc8iScS+Mv0Ho5Wv25Qo=; b=ghKjoxxpgGapqKcMIPuji8eoGIT0j+AYbbF9JiHVeRk4JbmxxNdjNJsEkewIWMowYN YThI87ryOqwdvHgfgfPKouXO4FWdGL5IFZOVB+Or/LcUCTs6HUn1XWLAWPxUAFIwvwvg XfwZU4upfhp0qv+nxGdHTyGZXWdg+sJbRNZZVySww1A5ZElg3oa/UvGrej/qkwTmsWJD 9RLz7w5tnRElV1HZvnDbGewP7vY/jl5mTs/zJFxIntsHt10hOqGUCEOBaNn5W0o5Vs/s Us5k0kNURKu7H5k4iuS0oApjWkLBoHDJ3jTDxzg0Z+kOVcbjVEHhSWLyOugDCxEA0UVr l8DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767603705; x=1768208505; 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=2EsAjr4P9fU1lByYIXjwfOyDc8iScS+Mv0Ho5Wv25Qo=; b=R7+4UmLFC/tMM7Qj5kOsSFSCUIQSM6VM9jWycNgjS0M3otX/FSgQ6V+bY6mztHolJJ gw6rQdlM4KuIWX8mVe8C0OfdpmTK0iSjkEPVFzAYAgQIJ/noU3DIvowxs+kTeJ6nwPo6 9CzfV3lKFnzQzk1OOh2mZ6JE/DK8RJeWzRLQ/CjCKCeL+JVKtICJ3XXzDmGym7tv8apz wUa0SkG++R4YbWNxQCpso8wr8Ylx8EgbEc/+If31wl3T4H5WRqHaQ5Kx1knqPTTkThyo TJXen8v1kQ64FF3vwXtBAPS3tGo8nRh2vBvt//d3tae2miRGcnwoQHTMRUwrVfEMUpse vygQ== X-Forwarded-Encrypted: i=1; AJvYcCVMM7fGCv8iNLdcKDn3DDGtpcBk2BEJFwPhGE2QCEPM6GRAU3uFte5y3IuZBqxhGRFEtmPE0XANyVD1qWU=@vger.kernel.org X-Gm-Message-State: AOJu0Yz32Zum9x0qcOkZwYPT890MWyfgF2Ff5tfgrDJtBTnAKwiq/82V V33HWRfGQo1YSDW1ZeH9M2k1w7twyyX2EJNWk8TxlWVRgR+M4NAQYavODVxN26GAiY0= X-Gm-Gg: AY/fxX6iTQr7yPIX6DBImFc560GPtUpxAOMVglrlyOKVbw7cZDlRpCGH6fSC3MUWBmg ETw4hjLXZn98sa5nsaQE4STpSyLh2zhc+QjzKMweJZeAyZ1ZjS2hTn+YCDEkd22uNFhXA3YBYUC BM2WyweBv+NS0xcsXlGP+lJLgpuqF8hZJpXuefHS+Ndu23iCejeY1zZDrWguWdo9zcki/HellDm 9f1HBeUjuqzC7l6bkPqa+BIJOilQ1NG/3HKb2h2Z0rrQ1aPtB6KOdEAYRUV9C1h9ADllmoMT80U Bg5Jgq1QaAPqw1HCwQ9mo64PI46wf9uDLomt3NFOz1g8KpPdy0yM1a/JuSs8sKVPT/f+PqocGM/ Y6wcLTVetd6zrVbHsgtcTJK74IB+pQrZoAlQpPLEli8zPqYiYLWrjSOIUnuz59ieaPnrZ11b34F G5qnQCgNIz1fih1MEhq6XD3X3QzWRgX92wzHsc+qfRKkdu+kZjtpM3WU4aScb0gZlxtVlIvfxYa XDIKg== X-Google-Smtp-Source: AGHT+IGsg4QwJJ6nE7YlYsRudVVd4JOd6AfmZvrJr/Ta5DTxaAWNYoHtWSW1zCMbsyPo8hVD+zmlFA== X-Received: by 2002:a17:907:948d:b0:b7a:1bde:1224 with SMTP id a640c23a62f3a-b80371e921fmr4785349666b.65.1767603704516; Mon, 05 Jan 2026 01:01:44 -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 a640c23a62f3a-b8037f0ecb9sm5384010466b.56.2026.01.05.01.01.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jan 2026 01:01:44 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 05 Jan 2026 09:01:44 +0000 Subject: [PATCH v6 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: <20260105-s2mpg1x-regulators-v6-8-80f4b6d1bf9d@linaro.org> References: <20260105-s2mpg1x-regulators-v6-0-80f4b6d1bf9d@linaro.org> In-Reply-To: <20260105-s2mpg1x-regulators-v6-0-80f4b6d1bf9d@linaro.org> To: Tudor Ambarus , Rob Herring , Conor Dooley , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Lee Jones , Bartosz Golaszewski , Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , Linus Walleij 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.351.gbe84eed79e-goog