From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 202BD31B825; Mon, 27 Oct 2025 18:46:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761590772; cv=none; b=MGASSJxZzWL8gZes15/yUB4+3PAODDXLQNx1L+Bza9TQivG4RbjbuA8fYjKSFpIJd6cJb+ALBdJpX4/7a0z0LDp8DzZuP5Sjmrl2ehS8u3RC3gtpoyc/96FRpKh3+F1yilqlEboGO6s8VUle8imbguk7zATbIJTxnuR/DKs2wM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761590772; c=relaxed/simple; bh=dqkIwr4mwCo60g7oAAHO7VjLhzUSGcXGcpv37D3cYz4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=B9VCmpz4sy5YvOZzdR2H6C9+ZndJmHyDZDe9SKECCAFh2BFLOFV3e2TtZW8/PYdfY1HsP+JIp3P+byLHXMH3Yxf1EShhT4lHwz1PtNkyPZbO1ESUou+ZroPdCL0A3fWe8KbfkCowYZHNnUbMfxzu6UBEhybL2Ug+GVP3CetrNeQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JBAbgm8p; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="JBAbgm8p" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27488C4CEF1; Mon, 27 Oct 2025 18:46:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761590771; bh=dqkIwr4mwCo60g7oAAHO7VjLhzUSGcXGcpv37D3cYz4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JBAbgm8pveL983dIaF8Ruq2gH4UXhXYvWNIJQprpJ3Os6W0mRKgZ8tH62JICoKjaA +8BCi+8C8576fDIIgYo2Y9TYkIaxZlBtf7jPmuH6N+dmmih+Ma4QKwVqSJQe55op5O 7/pJRJWZqKZSCZfJcYCfbiAsUTsiQoaRHqqPk5lU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Hans de Goede , Andy Shevchenko , Lee Jones , Sasha Levin Subject: [PATCH 5.4 139/224] mfd: intel_soc_pmic_chtdc_ti: Fix invalid regmap-config max_register value Date: Mon, 27 Oct 2025 19:34:45 +0100 Message-ID: <20251027183512.691768521@linuxfoundation.org> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251027183508.963233542@linuxfoundation.org> References: <20251027183508.963233542@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 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede [ Upstream commit 70e997e0107e5ed85c1a3ef2adfccbe351c29d71 ] The max_register = 128 setting in the regmap config is not valid. The Intel Dollar Cove TI PMIC has an eeprom unlock register at address 0x88 and a number of EEPROM registers at 0xF?. Increase max_register to 0xff so that these registers can be accessed. Signed-off-by: Hans de Goede Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20241208150028.325349-1-hdegoede@redhat.com Signed-off-by: Lee Jones Stable-dep-of: 64e0d839c589 ("mfd: intel_soc_pmic_chtdc_ti: Set use_single_read regmap_config flag") Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/mfd/intel_soc_pmic_chtdc_ti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/mfd/intel_soc_pmic_chtdc_ti.c +++ b/drivers/mfd/intel_soc_pmic_chtdc_ti.c @@ -81,7 +81,7 @@ static struct mfd_cell chtdc_ti_dev[] = static const struct regmap_config chtdc_ti_regmap_config = { .reg_bits = 8, .val_bits = 8, - .max_register = 128, + .max_register = 0xff, .cache_type = REGCACHE_NONE, };