Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795039612; b=IZsZDoLMCJ+nWeQNHF/+x+h94BRMiOS6pVXmZzCtrZO9SBmKwqGvTIiibnuIH2XUyIhE 5bPPb/wsrFVPC7Ko6yF9lu8CkYFrkNVs9U/bvRaMRslf3mlu9bOALxwIWOfpSoqoDU8bv bTBRR2M1+7GEylkc0hXsgZlnTkZmY0qIH+wbjh6lreo7Wx+IgBY4v5kkbM++1Cwp6Q/9/ vPIx3K9WTz3RowDaM2Uof/qjZlK2KL+17NtVKIbkLWcRbN+4QU0gvdDpHTAcBU8caWzYy yGev0U2lRIsyQznyXw9Ok3Q8mGFZnEVMWyDGVA/zSafgAUZREZ13R/Eoo+lqHFCwv1w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795039612; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=tbzUOWa4fIXaQ5B4BSHUHpwBq5RA7yJiCAkk9qfBqiw=; b=bY75GSeuEPlKz6DsCQEARmeSOsvOTEpBUn85DxObJh7YMBPqU1FWCSdwVlTd5lgnyoU3 XAn1XsWk/XCJPG2IjFylNRrSWBzVxCZSQQy12xaDCSazT9f8CgL2Lrf8dwj8pU3D2a+tO txa6godHmj6p9OByr5HhHadtgwkgJUQdGJrem1yzTz80dDxa4W05o30/Y6YgK+ZujAwuW oqjTlz0qF6JmOLIi3F7XIOAviw9mJ2+rToBFolQ+eI4vNOYTWDr4NQL9VC3XWZ8lCcQWq D4DxfEYW5wup2JbA+1H2T/49V7guyh4QBmq1vd8ZnqqBh0lAxLM3nlo2vGjaA1ppxQQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=T3vlo+YA; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C17C3606A31C; Wed, 18 Nov 2026 22:06:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=T3vlo+YA Received: by smtp.kernel.org (Postfix) with ESMTPSA id 246FC1F000C4; Wed, 18 Nov 2026 22:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795039612; bh=tbzUOWa4fIXaQ5B4BSHUHpwBq5RA7yJiCAkk9qfBqiw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=T3vlo+YAYCOnVkyDthGW8/02alm/O0AVaK2cqTnaLHzZXRrK5d0F9mUpnlCnQLd6S xEKsZl30tpsH97vMnhy4VlDwT5xuLaTrKsn8S8ISy7inZQjH1+aeO6TEqsbfJTH7Wr gbTSCcVSOKL4B8t16zeOJnjjwInf1QuacPlKv2q4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Linus Walleij , Mark Brown , Sasha Levin Subject: [PATCH 6.6 2163/3318] regulator: ab8500: Handle AB8505 VINTCORE selector 7 Date: Wed, 18 Nov 2026 15:46:25 +0100 Message-ID: <20261118150426.898544184@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261118150313.527275416@linuxfoundation.org> References: <20261118150313.527275416@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Linus Walleij [ Upstream commit 4ec4df7e54182edb6955caace37684e535e462dc ] The AB8505 VINTCORE table exposes only selectors 0 through 6. The hardware also accepts selector 7 and maps it to 1.35 V, just like selector 6. Omitting it can make an OTP-programmed selector 7 appear invalid to the regulator core. Give AB8505 its own eight-entry selector table while leaving the AB8500 table unchanged. Reference: AB8505 User Manual, DM00046744 Rev 3, p. 223 Fixes: 547f384f33db ("regulator: ab8500: add support for ab8505") Assisted-by: LLM Signed-off-by: Linus Walleij Link: https://patch.msgid.link/20260901-ux500-dts-snowball-regulator-v2-3-fe88b01829bf@kernel.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/ab8500.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 07d96f8ff944f..5e24e6cdc7732 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -266,6 +266,17 @@ static const unsigned int ldo_vintcore_voltages[] = { 1350000, }; +static const unsigned int ldo_vintcore_ab8505_voltages[] = { + 1200000, + 1225000, + 1250000, + 1275000, + 1300000, + 1325000, + 1350000, + 1350000, +}; + static const unsigned int fixed_1200000_voltage[] = { 1200000, }; @@ -1095,8 +1106,8 @@ static struct ab8500_regulator_info .type = REGULATOR_VOLTAGE, .id = AB8505_LDO_INTCORE, .owner = THIS_MODULE, - .n_voltages = ARRAY_SIZE(ldo_vintcore_voltages), - .volt_table = ldo_vintcore_voltages, + .n_voltages = ARRAY_SIZE(ldo_vintcore_ab8505_voltages), + .volt_table = ldo_vintcore_ab8505_voltages, }, .load_lp_uA = 5000, .update_bank = 0x03, -- 2.53.0