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=1796229847; b=HTsRDVN4oGtQ7kajY/xraBpMW+ZG7dtMtP/Qql3Pzm3H8Udjnvu2dxblzbQ8oYaRjDDr SULOAVj+6nwsIn1b9MRKhEaFtx8QsLakNWfZNSN2+Ukdl7aI0g50b+yQhavCRFJxYYdgK ASB10JDMGLsG9S9H5+f4n2So4qNoX2tbn8qM49Df66AtBVbZgXHgZKx1qvAfrnGsEpsGz gv2q5Cl/kew4nK3RsL4aaSH0Mo1tU47VEyWbsbJKFRmot0ANF5BwmTzvwovXNDl04ZFof 8WKyY7NKTFMmmPdmThsGX0lJ05pHgmXS8zvhnj1Birwfm415DTT08u1nJsGQUVQ2Ddg== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796229847; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=iWa+HYOR6UXpQMsQfwP+GuqgmyQtw0kYga6XCmWfWS8=; b=GwKKR3B9gu5YqpSVAEYbpZKWWl805IrTOmRdi/4/wcmIh5Gz9yQg/8BegseS1VIYxfCZ ceNwdj/2zJMUG+rpPTU4GJTKghx8POQkjlaoCFUSfcuFgcnoEOBHpVyR1uWbemTsAIMm3 9TVEnWE+ocqBF73smZDUfRP9XGcgdY8AXCJtHtoj4qxy1b48C7R4V+iR4un9BmTvl4IjB gABwYxDKAFVOxyw834ZDIasp+tAp7TRawSxUBqu9nyhqbx5Ltsa2WKP1I6K+cpkhgg3EK q2W3YOxWouNyAvkLcvImPeSeV6vJjaYQr74dfYkkJ83BIaAKPgg29mlCtRuEW85MGUg== 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=HfDDqip+; 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 8D8C6606A325; Wed, 2 Dec 2026 16:44:07 +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=HfDDqip+ 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=1796229847; b=abOWkCiTk60sRG71NenQ+vz5WXRp8mij7CPVEtpw/lYocSfj5BVb7iNs+MsjRcjy/d7j /Xu/uMPmPoNFOQGp4sfDzKSWNprGalGwWtFIvQffcgagp2P9GXpyWur/KbZq9NjJOh6KF MGRGwBGxE/Rz8f7hB2R1gKA1B+4o1raa0HYhHCgoHaqYfaEURlAs3qM7F3vuNfw/sTvFf YjTph5V7y4PXOz2nVTm36nY9NdYUP+XWp5qXDn27P+vaoseyUoVbq5HTSCrJeEgcSPLoc 1XN96HUoNW9D2jPeOFXutZ3I9Nbi+JBNZG8LdSAcCl0T8vEwsKgOJM9trjk+VIqBa+Q== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1796229847; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=iWa+HYOR6UXpQMsQfwP+GuqgmyQtw0kYga6XCmWfWS8=; b=2ntJZn1CdI3VC+y5TuZO1TmaqiVRqnihNTvGlNJ22UPja7pgP1kwScuSPNspdlTJy8M2 pKBN9Z3T47ZSq9Sc7Egv5261t0YNNAD7CIddp22pBx5++QQxT57cMwrr801G6N48ffTOI gLFIUs2aMnQ1uYXWn3ol9Hbwtk7NyUtgcv0lsbyl7d5euRTKKA/E6Jci3+Fy/qFKwHEL5 jz0Vw6WcARfDNay+Ff/1dc53a58uGmXnpzMlncS3k2GCZ4SL0ZZS6g8krVYicU6o5ELMZ s/2O6yreOvVxIYuDKZth7gxGCb3Z7EOUInEM4Zm81xCkhhHMEXYOlU4WcTJ0jVclQxg== 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 CE25C1F0093B; 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=1796229847; bh=iWa+HYOR6UXpQMsQfwP+GuqgmyQtw0kYga6XCmWfWS8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=HfDDqip+7Oz7OnTiSpTKdiorOBJp4vet5hW5bwie/2tX2KBO9IyrgLmLrc0mO7agZ BcRp43miKDTtlNOCOr0Vek1dcxufa7bvlq5Q0KNp+Nk7ZuT9x87ScuKpESjEj1mt1O /Lh2/fq6lSmh0+shqBCs1SNvAbKK4QfpRxmNk2Z9elUqqWCxB3Gqj4GhgUiS3jYjdp lMaG9Ewnb6AxanzbDVQUTyhx3r3T15ySkujBYRq1Fu2YcylmFrs8Zq1twr3jQT7oWP wM+HdrR2tcnuog6127wYJ1rDn3WXbdUe/WsCOHe4zOykA0sn9Y0P8d4BZGVdOPPAck bmAcPw6C4QiNg== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 5B89E4F514; Wed, 2 Dec 2026 16:44:00 +0000 (UTC) From: Michiel van Beers via B4 Relay Date: Wed, 02 Dec 2026 17:43:38 +0100 Subject: [PATCH 1/3] regulator: dt-bindings: Add Maxim MAX17135 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" Message-Id: <20261202-max17135-v1-1-beae6b70d575@gmail.com> References: <20261202-max17135-v1-0-beae6b70d575@gmail.com> In-Reply-To: <20261202-max17135-v1-0-beae6b70d575@gmail.com> 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=5481; i=michielvanbeers@gmail.com; s=20261107; h=from:subject:message-id; bh=W9kSeITXesPMvD9ZHzvarF3Et5cgsAotdsE2VYwpEfY=; b=CGkWFmYSCZa/dtoEHuBLcj1kNP26pIQp2b6nN/fCw+SJ3Qwh3f4T4HPPRHSUiJdA1vGIulcbG 5vWVoIXlv8cBCuXpfSfYBVwI/wfBHhVf/opZPMzyPpLtjPA9dFmi5Tn 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 Content-Transfer-Encoding: 7bit From: Michiel van Beers The MAX17135 is a power management IC for E-paper displays. It provides the source and gate driver rails, a VCOM amplifier with a non-volatile preset and a temperature sensor. Describe the whole chip, including the pins and settings that a first driver does not use yet. Signed-off-by: Michiel van Beers --- .../bindings/regulator/maxim,max17135.yaml | 155 +++++++++++++++++++++ 1 file changed, 155 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/maxim,max17135.yaml b/Documentation/devicetree/bindings/regulator/maxim,max17135.yaml new file mode 100644 index 000000000000..a4883827e58f --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/maxim,max17135.yaml @@ -0,0 +1,155 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/maxim,max17135.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX17135 Power Management IC for E-Paper Displays + +maintainers: + - Michiel van Beers + +description: | + The MAX17135 powers an electrophoretic (E-paper) display. It provides the + source driver rails POS and NEG (+15 V and -15 V), the gate driver rails + GVDD and GVEE, a VCOM amplifier with a non-volatile preset, and a + temperature sensor with an internal and an external diode channel. + + POS, NEG, GVDD and GVEE are sequenced together and are described as one + regulator, vposneg. VCOM is a second regulator supplied by the first. + + Datasheet: + https://www.analog.com/media/en/technical-documentation/data-sheets/MAX17135.pdf + +properties: + compatible: + const: maxim,max17135 + + reg: + maxItems: 1 + + enable-gpios: + description: + EN pin. Starts the power-up sequence of the display rails. If absent, + the rails are switched through the Enable register and the pin must be + low or unconnected. + maxItems: 1 + + vcom-ctrl-gpios: + description: + CEN pin. Enables the VCOM output. If absent, VCOM is switched through + the Enable register and the pin must be low or unconnected. + maxItems: 1 + + pwr-good-gpios: + description: + POK pin. High when all display rails are in regulation. + maxItems: 1 + + interrupts: + description: + FLT pin. Open drain, low while a fault is latched. + maxItems: 1 + + vin-supply: + description: + Supply of the IN and INN pins (2.7 V to 5.5 V). + + vdd-supply: + description: + Supply of the VDD pin, the logic and I2C supply (1.6 V to 5.5 V). + + maxim,power-up-delays-ms: + description: + Delays t1 to t4 of the power-up sequence, for GVEE, NEG, POS and GVDD + in that order. If absent, the values preset in the non-volatile memory + are used. + minItems: 4 + maxItems: 4 + items: + maximum: 255 + + maxim,power-down-delays-ms: + description: + Delays t5 to t8 of the power-down sequence, for GVDD, POS, NEG and + GVEE in that order. If absent, the values preset in the non-volatile + memory are used. + minItems: 4 + maxItems: 4 + items: + maximum: 255 + + regulators: + type: object + additionalProperties: false + + properties: + vposneg: + type: object + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + description: + The display rails POS, NEG, GVDD and GVEE. + + vcom: + type: object + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + description: + The VCOM output. The voltage is negative; it is given as a + positive magnitude from 500000 to 3050000 microvolts. If no + voltage is given, the value preset in the non-volatile memory is + used. + + properties: + vposneg-supply: + description: + The vposneg regulator of this chip. + + required: + - vposneg-supply + +required: + - compatible + - reg + - pwr-good-gpios + - vin-supply + - regulators + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@48 { + compatible = "maxim,max17135"; + reg = <0x48>; + pwr-good-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; + vcom-ctrl-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>; + interrupts-extended = <&gpio2 0 IRQ_TYPE_LEVEL_LOW>; + vin-supply = <®_epd_3v3>; + vdd-supply = <®_1v8>; + maxim,power-up-delays-ms = <30 60 90 120>; + maxim,power-down-delays-ms = <30 60 90 120>; + + regulators { + epd_vposneg: vposneg { + regulator-name = "epd-vposneg"; + }; + + vcom { + regulator-name = "epd-vcom"; + regulator-min-microvolt = <1250000>; + regulator-max-microvolt = <1250000>; + vposneg-supply = <&epd_vposneg>; + }; + }; + }; + }; -- 2.43.0