From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=63.250.43.90 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796232630; b=UHZofKy/2QLfP3wDl724ApAwWA6ITitFRD7d5y9bBMEhPiATDjSmf0kqX26AZtezUOty 4z6/QlSsx/uPy7CqE0OJzHe40TItxr24wUfhu+gE+NACJKFgnoLt7CEor2DYcJEye/0MF Es4v+V+FrBJe6nh8IiwDX3i1Kpn/+uTg6mRCVFJ6URrIDzQKOFvMZlCm67ifp4DxGbJ8D 9CkHZkfMIbpZzyKa+/8SjnNQhK+TYwTXGM1SKsvx588GLap4RL5g+w7ETX0UUjLd9uxLI KiARbw+qe7VRFP+kQox5jXts2FLUQePt1F/TrCT0X2EWNJQNcrf+ci8cbi2w7LILkcg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796232630; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-Envelope-From; bh=h1iOakk9XxOOU0IP3VoT5t6EebkbEsNuqFmiNta2AGE=; b=EYZwKZcAGBvJl9JFW28I6m6rBM7jIFfnhWSCSzZ7HDoQmgUcTNnvI+w0URRtcZ4OO/VR 03si4Lg6stlwLf75cx3n4+v6m8c+Xfs98SjOJPxqLNh3gPnbEfCgnBylsi56W/QvUUvOn o5Z7EF1gf/eZ73jmmxYSmuvQc3PTb/ENXegVo9G258CBOXZEnZFT8jwKOZO3M5CVuyQUD FghEwt/8PF6UDG4l5hMYr8B7WQunZdjvj4Sybx6Q1Rw1q5YGrAaK/Cbh48oWOSzzPS99R aKyLQUCy+OTe19pBJick4XCUinkjmsGJX8379Rs+U3Nb7/5WlmAwRKNDaMTlS+dr1oA== 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="n2/Uab3j"; arc=none smtp.remote-ip=63.250.43.90 Received: from out-2uec-a90.jellyfish.systems (out-2uec-a90.jellyfish.systems [63.250.43.90]) (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 6D1DC606A323 for ; Wed, 2 Dec 2026 17:30:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6D1DC606A323 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=n2/Uab3j 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 4jflBm4GWFz8sWP; Wed, 02 Dec 2026 17:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrispinetinega.com; s=default; t=1796232616; bh=h1iOakk9XxOOU0IP3VoT5t6EebkbEsNuqFmiNta2AGE=; h=From:To:Cc:Subject:Date:From; b=n2/Uab3jwzZ5vY+MVsmDwDWdj7ctVbZE0AOtGbypuJmpvymMksZ9i5cQqmA8wKQip msT0WFiEev8a2JIo/mdVn4gcdVI49FqPCBuq1VzST3gnzSVvaVeKFPOGs63S2GF/QM M0guuFUU2GwDpOhw6kSS3hcnSK3mCck/Nsj7jDJInswCbZPbSrAtgXbX/8XofhE+GU KGBTSjA9dWslWnOUwHFlDI1WGMJyA1kWyBBGYFtiXOZW28AnAktob7ntosCGj1Td7K FcpEjR1HAr2880oA727FJgY8OQskx3Fbr3XDNiUdh79AcihnmMDvez5siODYMbvExL 4y2icIim+39zA== From: Chrispine Tinega To: Lee Jones Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Jerome Neanne , Markus Schneider-Pargmann , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, mfd@lists.linux.dev, Chrispine Tinega Subject: [PATCH v3 0/3] mfd: tps65219: Let a board run past the warm threshold Date: Wed, 2 Dec 2026 20:29:32 +0300 Message-ID: <20261202172935.1641341-1-dev@chrispinetinega.com> X-Mailer: git-send-email 2.53.0 X-Mailing-List: devicetree@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 v3: - Patch 2: drop '|' on description: and add Krzysztof's Reviewed-by. - Patch 3: use dev_err_probe() on the regmap_set_bits() failure path. (Lee) - Rebased onto mfd/for-mfd-next. 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. v2: https://lore.kernel.org/all/20261116185811.1907811-1-dev@chrispinetinega.com/ 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 .../devicetree/bindings/regulator/ti,tps65219.yaml | 10 ++++++++++ drivers/mfd/tps65219.c | 14 ++++++++++++++ include/linux/mfd/tps65219.h | 8 ++++++-- 3 files changed, 30 insertions(+), 2 deletions(-) base-commit: 93360adf279353f5518e4afdc79a67c256dd352a -- 2.53.0