From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEAFC2DB7B8; Sat, 12 Sep 2026 14:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789222580; cv=none; b=nP+aQGm9Xg/Y+u+gQVLzmf29BG4y1ccsibna7InDYBZ3+GYBoXNl2hlP/tvm6D2/VhLZ9Udtgv+XLGI1FZUiltGtf16G/QGJ83Ns7CyR9E0fcYIA/6JEuEZyIZHWNLVuwOS/LOxEzrLaF5PI43Vf6ipgOfnIdJsZ3S8MHlNSJ3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789222580; c=relaxed/simple; bh=7c09pk02bZhFPwv719VsZ3Jgf2o+heQ8Nu9z5uSL5Pg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NbDkh0LRkCiUved8TaSrkcUuRNwLqL7hKn2JwjdH805AxXCVutnJKTF+sEpco6fOyJsPGO/P215RK6Lapja5qYJPYM4AUeA1jfYV9ccZcoji6cgx6Tm6vuC5ki0qCMOfpwE/ewvHJV3yLtcQtC9JV38HXSmdTeRFNxHnvidQCMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NAlOfzXg; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NAlOfzXg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 935B11F000FF; Sat, 12 Sep 2026 14:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789222579; bh=qIutXhYZ1lsi+cmICBQRan3hAvPpGyQFZTLD/9j4hpY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=NAlOfzXgbi0KZZgOERKlyJhJI+R8KbldYdJJ6A/ludGOdaVnQSmGBOfGjT1yLCRfY XklTRvwpV+/2RGm3K4ITHaSdHw68zsh+RIB634jHZS6x5ZGmiOQ1Au3viWMVVP3pks WtE/XJ0ZAeMweAs5cuTYTii8QhywKf8ak6j8ikN4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Michael Walle , Mark Brown , Sasha Levin Subject: [PATCH 6.6 0614/1424] regulator: tps6594-regulator: remove hardcoded buck config Date: Sat, 12 Sep 2026 08:50:46 +0200 Message-ID: <20260912065621.041011091@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065607.279695368@linuxfoundation.org> References: <20260912065607.279695368@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Michael Walle [ Upstream commit 180a135eafa9e05657559bb04cc9eb6a86ca45f3 ] Commit 00c826525fba ("regulator: tps6594-regulator: Add TI TPS65224 PMIC regulators") added support for the TPS65224 and made the description of the multi-phase buck converter variable depending on the variant of the PMIC. But this was just done for MUTLI_BUCK12 and MULTI_BUCK12_34 configs probably because this variant only supports a multi-phase configuration on buck 1 and 2. Remove the hardcoded value for the remaining two configs, too as future PMIC variants might also support these. This is a preparation patch to refactor the regulator description and is compile-time only tested. Signed-off-by: Michael Walle Acked-by: Mark Brown Link: https://patch.msgid.link/20250703113153.2447110-7-mwalle@kernel.org Signed-off-by: Mark Brown Stable-dep-of: 7fd28093b3ef ("regulator: tps6594: Fix device node reference leaks in multiphase loop") Signed-off-by: Sasha Levin --- drivers/regulator/tps6594-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/tps6594-regulator.c b/drivers/regulator/tps6594-regulator.c index 1284a702db8f2..5420c6eb3e1a8 100644 --- a/drivers/regulator/tps6594-regulator.c +++ b/drivers/regulator/tps6594-regulator.c @@ -695,14 +695,14 @@ static int tps6594_regulator_probe(struct platform_device *pdev) if (i == MULTI_BUCK123 || i == MULTI_BUCK1234) { error = tps6594_request_reg_irqs(pdev, rdev, irq_data, - tps6594_bucks_irq_types[buck_idx + 2], + bucks_irq_types[buck_idx + 2], nr_types, &irq_idx); if (error) return error; } if (i == MULTI_BUCK1234) { error = tps6594_request_reg_irqs(pdev, rdev, irq_data, - tps6594_bucks_irq_types[buck_idx + 3], + bucks_irq_types[buck_idx + 3], nr_types, &irq_idx); if (error) return error; -- 2.53.0