From nobody Tue Feb 10 08:26:51 2026 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 4570332E749 for ; Sat, 27 Dec 2025 12:24:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766838279; cv=none; b=JyChhtRwa738y/P+oE5b+oyvr8KaM39iUTTzmjFH+rBKY6A1DhXQK2Sf0/i+vdBojJCEU+TH7JSwGSG9SLMCDZruzxkHnYDWSg+bizPOf1rpls8JLyfe2aZ96OtfKNn8LHXEaCrXtACdJSd3RmWTef7t9S5Vvb7VH/zeuyHXXKg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766838279; c=relaxed/simple; bh=Sa+/EIvgfLeQ0GYvhvwXdDpmw3zds0mNO7QpOW7aJP0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=N4YG9rKFA2x/wjSHWo8X2ohiRldQFYkJG5qsQla7mlu9gZW8NnbWfHbwfGbMN5mYgal9uWtzmgXCjZC9f9XhhAQ1LrNXCOF3VDjUtobYpySlcjR2QJbC9y+ET57cyjfiw7/mXfnu5WK2EKVc8wCoHUxvriFcwpnnsAGgmHkH8T0= 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=q+Imsscd; arc=none smtp.client-ip=209.85.208.42 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="q+Imsscd" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-64b4f730a02so13008448a12.0 for ; Sat, 27 Dec 2025 04:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766838272; x=1767443072; 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=q+Imsscd6e3Io91cQKSmMv0AG+p7pknEnMbtNQPVu85ElFe0qpUPeccsUfzPzW5gNm 3kW95v4PIALX8ZRw9IJDkMuFdFslgB9iaISpxjCgFKj8EaUtikf1yWzuAJed+wDCElFK XFTCNNH6S7q520+Wr0xyD+92RSGLFfTmLQHNMYDQw2aAYZe81rLrDxONAwboxzu1i8AM cm+9l6AUuTTVN84Zrm7O7d3GTFZUZ+XS1Rr0WNjbL8JI78m5P+ItVAe+nfQUd4Yl1/hn GWErdSDamiQJm0did2yucRI2NYHEaHIjV/9+b7WK9surdmEw9pPTSPTSX3CtVVyFdwmY BO6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766838272; x=1767443072; 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=Hb7qgpLEa2BKdunSU7uuMzx6wOwgEI7cvqnBLrUD8n+OAw3vVPTV/m1FOrIGOMWoFB NZfuJPXsxtN6XCtiKA1d9066Fuda8u96GRhW1BmZUdcO4vzkzgLblN28s1EcTnjPbuwx GaomHkTN3bh1dgoOXgdzexR4VEO3VrWhOpcyvtcd8Oa/hvonFobUO6OY+YXF5bXnYcSf p+PmvlXNYRp8aZqO1ZN4VHWDxa6fa9/oKv3TZyxbJUV9b4xjtK6mmVlE74YFhJ4v41PT Sm9d9pGN8c1O95OC2ypCFyphMTwD7C5izKelrdocxUTV6cMZpeMsbmBsbLtxenGF56CW /5Jw== X-Forwarded-Encrypted: i=1; AJvYcCUcAXH3gYDCbjuFVw1AcPe2NuAR/I5sOSWhiAXW4kbgJg1TwG6DdW08uxxLdJnOS2MkgwCRhszvli/rnjc=@vger.kernel.org X-Gm-Message-State: AOJu0Yy7bwny1HVACEqNqN10mVlYTFp8w0LXYGmshC0nWMPF7zrInwdm 40mqDQUsXz84tn6KovW/Mm2ke/zrmonnHGvnn43RGL/irIK7oalamEYmM+eGme38hpU= X-Gm-Gg: AY/fxX7RY9EOS7BKcVrXdqBpPL7tLnxmjqnD9itGrJ5dXl33f34n2AEQFkmI/4uvgcI GDrqe3E41eI4lMlvfcl3VejYUn+ZgDhxEORf5gewuQgfpH5DZEuMFk78qctEScybnu7Qx9a6w3+ BuaLMEuAIEnQgoNw3+slnpktIAZlFSvx/TCygbUtFg4bQMsjbBmMBvUfg90mjazzUJVXF21s+tm 0fHDmlaNIHkh4qsj8JTA2nh0xTO0R5zIOMLHSJVNjHG1uMkm7LUgQxyBD48V8jQRO2Qi4LQjtfO Um2e23dbB/RRQvcU7l6QR4hXWFtD4Cjn9lVResmgj5u7im3A6zTHU/Lk/3bG2+qAq54u3k4PRmE hn+e9PKxBqlUUcsI7SxqsqbVYV2uaDDzUChKxHMKMh2xSOpWaDyCAE0Ve+bNVbNIgsVBDEesKTS rJ1aqo+kz4YgPn3UoUg9zRBghUVRGFhFqvJdlELZSZVYbNnWgqiii2jkCvf1befVTWL3a5NF684 VgJ6w== X-Google-Smtp-Source: AGHT+IHjKhYBTBvWqO2W8/12tTR4DWjtT3htxTA2IN9EmSRdLTSfBMLtisk7LyXjZOtzhcPGroxtMg== X-Received: by 2002:a05:6402:1ed6:b0:64d:1f6b:f59c with SMTP id 4fb4d7f45d1cf-64d1f6bf81fmr18185315a12.32.1766838271649; Sat, 27 Dec 2025 04:24:31 -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-64b916adc61sm25932659a12.31.2025.12.27.04.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Dec 2025 04:24:31 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Sat, 27 Dec 2025 12:24:30 +0000 Subject: [PATCH v5 08/21] 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: <20251227-s2mpg1x-regulators-v5-8-0c04b360b4c9@linaro.org> References: <20251227-s2mpg1x-regulators-v5-0-0c04b360b4c9@linaro.org> In-Reply-To: <20251227-s2mpg1x-regulators-v5-0-0c04b360b4c9@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.351.gbe84eed79e-goog