From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796229852; b=4R2vk/tuYzLMUqpf7GnGWD+5SxrOgSaLP9t1Cw0ohrXr0JjGq/74ua9bWzGPlsevbzht CteHd9BIv4+QWNQA/yb8dvcteUtqg8ZyIkyo4NPsyZY3dSTVWNwMNF2beM+cXOylia4W2 xhSvIW5biU9WS6rdxDM2hMKI0HbFQGM9bWoQ2XYgtB9mTWa2ufDUkU5YeItIX8f370193 PbfztIV3guUI7iRGNCsFJdYCd6jNIbvZDNElp/VsyXpbB9qcMk2pA96uqnN/N4DyxieTY MZ7mQIm42tLJXcv3BgcYeRBs2jdTgh7wWiYaxic25EFGO/X2ADe0wyAA8gMHas4n6yw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796229852; h=Received:DKIM-Signature:Received:From:Subject:Date:Message-Id: MIME-Version:Content-Type:Content-Transfer-Encoding:X-B4-Tracking: X-Change-ID:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-Endpoint-Received:X-Original-From:Reply-To; bh=F2mrN1Xl1w+epQ10L1KFDNR83DooAQwADl1pisJnJOM=; b=aTUoZ3llGEhplbfqpbc3XoOogpfW8mwW3hPRMRBI84p4HEYWrwYF1NVxdIC8qdFVR0ya p3XPtJ1vdru7PxRw/jlsU0KdswyA8Ks9KgQcOzdDx8qoZ77d+/mE7IKJt9cJbhx5CSu4P bZqNg4UUiXxM0F1MAjT7z2id+rqOjlehNm1RJHdMOqL3pFPPGaM/eqQVQDxrSY9Ym3xSe gaWVdKq07c5CD+jlGmkx904ubjUWZE9LdrpGfOj0Y9ydxm68ByPj8nxOgiFxTedpK+o8o Ouod40O/Jrj1Bb7imOk3JaPAps1PN09PWHPCuRqcLr1c4kRU2dvTeE8swUEu6QHaIag== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WrYMsw3Z; arc=pass header.oldest-pass=0 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 5705E606A322; Wed, 2 Dec 2026 16:44:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WrYMsw3Z Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1796229851; b=sml/q5N2+7u3SU+J8BCAwgRHViurdpx1sOpTNHWSA0dSbjQ5IR0xoHsZDw+KN+4iKbAo 3bL6IfW2I4mOoDU53/RYxo/BIQMCoTyE9FC0d9lXayCT56vTzSEv5LIk6w5cVFreNjrfY yi+7bPIBr6PbuEEduhWxPIWkNOGKTS5BpHe9XEovkQQxV+dwfAvi6Dj5a95viBdEg6w45 6zdtJUDUY/YZPLOKj+d6lJZr5Z2xSqTMmeExscWxckD53nd1/CLmj2/xShwDlOA76T1dA aORHxcfd5dsh6zMShz9MtOUoW3HEFXj9uGai/K4EA/cEpk02RcvygMwM7mlJ4HzdyMw== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1796229851; h=DKIM-Signature:Received:From:Subject:Date:Message-Id:MIME-Version: Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To: Cc:X-Mailer:X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To; bh=F2mrN1Xl1w+epQ10L1KFDNR83DooAQwADl1pisJnJOM=; b=t1RzTMiA76FOhDZ2+2PDJSk01nPOBUuZaDk21gcOctLixpAdqc95C42ERwsb4JWF260l hnh2fjs8lxFcIlLHfcbt0/wu77dtvX2x7DJ7ZWh9ndNxLfsROv98bVJxZnuaptViGm2jC 0larWqzL03AQ+ilU7V+tM7IYaJOJBrzcK6JeeQjNa/IKB+VM5XkV/UI4X2TlY8ro6xYT/ u6hFAk/b13SQxcYMHObK5dYVg15YPRuk44AVGV2f2NBdBCFq6C/T0Z5Bt5eOl+7NB+Gbl 2LsiZ2U9o4YpIowqWZ57+5EMXRp6KRprI9Op8fFdGPpdHOqb0K6jGWX7q6mQdylXG+A== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (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.kernel.org (Postfix) with ESMTPS id CB0341F0093A; Wed, 2 Dec 2026 16:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796229851; bh=F2mrN1Xl1w+epQ10L1KFDNR83DooAQwADl1pisJnJOM=; h=From:Subject:Date:To:Cc:Reply-To; b=WrYMsw3ZJz/Q1CAs5vCNZPi0bjRuW5fdPtCZmDWW3sq1HwkUCXw+P/59PiYOi4Z8r d7Quh4gDaBgBk+zzkd7ScjQ0eqTUMcqud+k427rgY/rbqqlwNvzJB3iLhmNbQAJldN 20cWD83ETjvhnJfo/7Fu2SL4QDqAtVV1IiWLTX7V8BqTWWDRc+lD6OAx/UMICaAnxm 1F5vekJ2CG8jJMyGiuDonmh2RzX4SVJFDLHz1UJHir37wDAt6vq40BuoLrEZQn4MxN txqbk+BeLz1MM9B5zXiefbVoWudSYNz/UrbUh8BdLVcN8rpvYxZECc7weC5KfahYqA fp+A6sWNk7Q9g== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 2BC954F525; Wed, 2 Dec 2026 16:44:00 +0000 (UTC) From: Michiel van Beers via B4 Relay Subject: [PATCH 0/3] regulator: Add Maxim MAX17135 E-paper PMIC driver Date: Wed, 02 Dec 2026 17:43:37 +0100 Message-Id: <20261202-max17135-v1-0-beae6b70d575@gmail.com> X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALlKEGsC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzNDIKGbm1hhaG5obKprkGqZnGRibmqUZpGmBFReUJSallkBNio6FsIvLk3 KSk0uAelXqq0FAHtsh7tsAAAA X-Change-ID: 20261202-max17135-0e9cb4752f8f To: Michiel van Beers , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Guenter Roeck , Jonathan Corbet , Shuah Khan , Randy Dunlap Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, Andreas Kemnade , Pablo Mazzini X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796229839; l=2801; i=michielvanbeers@gmail.com; s=20261107; h=from:subject:message-id; bh=8nS225yepYLY0rzSLBVzxYZDJIIdroAu2YqNQFyii+0=; b=Nnb51gOFyRRDzwu20bLPJ5xij423WliUmV/uxEZegYzr6HINIbEB8zL+/lCesCU1qp6UGuuMj nzpeWHrbbYiA6XK31XNTyPbfWoF7G/fXjYI7ZTWDt1Znp+cYNSqEX3H X-Developer-Key: i=michielvanbeers@gmail.com; a=ed25519; pk=C+lOje7u3+2x3o2NLMXrwz2veP2++eXfIi9MtYsUo4k= X-Endpoint-Received: by B4 Relay for michielvanbeers@gmail.com/20261107 with auth_id=1444 X-Original-From: Michiel van Beers Reply-To: michielvanbeers@gmail.com This series adds support for the Maxim MAX17135, a power management IC for E-paper displays. It provides the source and gate driver rails, a VCOM amplifier and a temperature sensor. My use case is the Onyx Boox Leaf e-reader (SDM636). The board devicetree is not upstream yet. The layout follows the TPS65185, FP9931 and SY7636A drivers. Patch 1 adds the binding, patch 2 the regulator driver and patch 3 the hwmon driver, which needs the header that patch 2 adds. The chip keeps VCOM and the sequencing delays in a non-volatile memory that survives only a few writes. The driver never writes it; both are only set through the volatile registers. Testing: - Onyx Boox Leaf, 7.2.y kernel (sdm660-mainline) with this series and two local patches: devm_kzalloc() instead of devm_kzalloc_obj(), which 7.2 lacks, and a board specific supply and preset check. 14 display updates, one of them after a suspend to idle and resume, all drew correctly. The die temperature reads 22.5 to 25.5 degrees C. - dt_binding_check, arm64 build with W=1 and sparse, x86_64 build with W=1 and CONFIG_OF disabled, htmldocs: no warnings. Not tested, as this board does not use them: switching with the EN and CEN GPIOs, and setting VCOM and the delays from the devicetree. The power good timeout and fault paths did not trigger. AI disclosure: I prepared this series with Claude Code (Anthropic, Claude Fable 5.2). It drafted the binding, the drivers and the commit messages from the datasheet and my requirements. The builds and tests above were run under my supervision; I checked the display in the hardware tests, reviewed every line, and take responsibility for the patches. --- Michiel van Beers (3): regulator: dt-bindings: Add Maxim MAX17135 regulator: Add Maxim MAX17135 driver hwmon: Add Maxim MAX17135 temperature sensor driver .../bindings/regulator/maxim,max17135.yaml | 155 +++++ Documentation/hwmon/index.rst | 1 + Documentation/hwmon/max17135.rst | 37 ++ MAINTAINERS | 10 + drivers/hwmon/Kconfig | 11 + drivers/hwmon/Makefile | 1 + drivers/hwmon/max17135-hwmon.c | 135 +++++ drivers/regulator/Kconfig | 14 + drivers/regulator/Makefile | 1 + drivers/regulator/max17135.c | 643 +++++++++++++++++++++ include/linux/regulator/max17135.h | 18 + 11 files changed, 1026 insertions(+) --- base-commit: b042f5dd8365861242946476b0e298bb95a32927 change-id: 20261202-max17135-0e9cb4752f8f Best regards, -- Michiel van Beers