From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=63.250.43.98 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794855529; b=tS0ttSD20mf/eo3VRIYdFVtPu0HI5KqKKdp8A0yO0JTOHNclO2EbCbenlpiXWn8a5d8m +4IlI6pg6esmMWZGeToUHn4xre0lbzMFxsEsg8b79JjUMB2QGbvBImPB9+prLd7wj3h9p /BKH79eJi2QmY08XPWyulpm3PJ2MGLdYfsVqq/ojhC6caoSCFUdzLFx3SFH51tmfHRlqK ZnBCMVndrwjnfffTVR0x9JrzEViiiRTtRNl/aOeH1iOQl2HKnLBqoz/achbvj20+ze/mC sOJiS/oGP0KzPy5JvJVNRxi8g0waC+fOpHSDLxooIP5UN7mpaar5/vjUpd+Z+Tcsc2A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794855529; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-Envelope-From; bh=OnERbGbeZyB4DLRh/yAtoGCkeRPa0jQKYunCmHKvjZ8=; b=ijP42BvdnlpAyUw2LM0rVX+B7Fcv2AS2KK+jZMb4VvfxlzulZZ5/Xy64eHn+w0mlEMtH YGbR2cEyvELUpPRV7Kg8ELTv+lBTt76WfQP1WyoPhgW4HP0CqwMCpu9T7Qs2R2X1EyQxe bPUmkkAiFp+MOt3lWFJj+7l82ztuM3zsUsx4pt+8BZX01k0CY4t2v4e3yqsh2Glgfb69S dNa2b7XQW1LhsuJe1YAqBCfYMhFpLxQrZkmkptork2oWPLnYnd7uPh4PxBHCjEsHoczFl O/nqiC0UxJCy8suwEwt5+DfoPIWsbTLxoDrxEgG19w5MBZclJAT7Nz7OYLmSIZT+Fpw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=chrispinetinega.com; spf=pass smtp.mailfrom=chrispinetinega.com; dkim=pass header.d=chrispinetinega.com header.i=@chrispinetinega.com header.a=rsa-sha256 header.s=default header.b=uQ6QP9qj; arc=none smtp.remote-ip=63.250.43.98 Received: from out-2uec-a98.jellyfish.systems (out-2uec-a98.jellyfish.systems [63.250.43.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97EE2606A8A8 for ; Mon, 16 Nov 2026 18:58:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 97EE2606A8A8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chrispinetinega.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chrispinetinega.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=chrispinetinega.com header.i=@chrispinetinega.com header.a=rsa-sha256 header.s=default header.b=uQ6QP9qj Received: from mail.privateemail.com (unknown [62.8.90.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 4jSxvv4QzWz8sWS; Mon, 16 Nov 2026 18:58:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrispinetinega.com; s=default; t=1794855506; bh=OnERbGbeZyB4DLRh/yAtoGCkeRPa0jQKYunCmHKvjZ8=; h=From:To:Cc:Subject:Date:From; b=uQ6QP9qjtMfL1xyoY0p5DQkJsjPV8GcHjzwZMLGFt2XTkFz+ZG8S3V/77PWtQkrtH 0LxHx0rVcj6KYhC0y0jQvPAx3ILqg0eWMdsS+39ewAbySmx3hvkl227W2auY6N5ad2 /pHr+D48jqFkGvahmcKAb9PasmQgSpoROoWksgWCN1dq+bMHzoGw06RFTX9ipKzJV8 AFwlADs93WWGtqBUcs/awBYtlfe0RjZ7ieEh2niLcdJjnJJGOgRTpyuyRBrrqb60P1 pEo6LRWrZuO2MjNbsDM1wbZ7WMxsDkDwH5/lfMEdL4+KiA8Mi3mZyPyUIZ/Xq5nxCo Iuw4YpXlAhNsw== From: Chrispine Tinega To: Lee Jones Cc: lgirdwood@gmail.com, broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, aaro.koskinen@iki.fi, andreas@kemnade.info, khilman@baylibre.com, rogerq@kernel.org, tony@atomide.com, jerome.neanne@baylibre.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, mfd@lists.linux.dev, Chrispine Tinega Subject: [PATCH v2 0/3] mfd: tps65219: Let a board run past the warm threshold Date: Mon, 16 Nov 2026 21:58:08 +0300 Message-ID: <20261116185811.1907811-1-dev@chrispinetinega.com> X-Mailer: git-send-email 2.53.0 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Envelope-From: dev@chrispinetinega.com The TPS65219 has four die temperature sensors, each with a warm and a hot threshold. With a sensor's warm warning unmasked, the PMIC sequences all its outputs down at the warm threshold, 110 to 130 C. With all four masked, it only reports the warning and powers off at the hot threshold, 130 to 150 C. The masks come from NVM, so a board that wants the second behaviour has to set them on every boot. The BLIIoT ARMxy BL350, an AM6254 industrial controller rated to 85 C ambient, ships a vendor kernel that does this from a devicetree flag. This series adds a binding for it and the driver code, and corrects the MASK_EFFECT macro on the way: it named bits 2:1 of MASK_CONFIG, which are warm masks, instead of bits 6:5. Nothing used it yet. The property is limited to the TPS65219. I have not checked the MASK_CONFIG layout of the TPS65214 and TPS65215. This series is build-tested for arm64 with W=1, and dt_binding_check passes. It has not run on a board in this form. On a BL350, the vendor's equivalent code sets the same four bits, and the PMIC reads MASK_CONFIG = 0xef. A runtime override, for a user who wants the PMIC to shut down at the warm threshold anyway, is left for a follow-up once someone needs it. Changes in v2: - Patch 1: add the Fixes: tag. (Sashiko) - Patch 2: the binding no longer says the operating system reacts to the warning, since nothing does today. Mark's Reviewed-by added. v1: https://lore.kernel.org/all/20261114032457.3434248-1-dev@chrispinetinega.com/ Chrispine Tinega (3): mfd: tps65219: Correct the MASK_EFFECT field of MASK_CONFIG regulator: dt-bindings: ti,tps65219: Add ti,no-warm-shutdown mfd: tps65219: Keep running past the warm threshold when asked .../bindings/regulator/ti,tps65219.yaml | 10 ++++++++++ drivers/mfd/tps65219.c | 15 +++++++++++++++ include/linux/mfd/tps65219.h | 8 ++++++-- 3 files changed, 31 insertions(+), 2 deletions(-) base-commit: c92739a23a80f5f0a7c6f3c10aa792102d252ac4 -- 2.53.0