From: Michiel van Beers Date: Wed, 02 Dec 2026 17:43:38 +0100 Subject: [PATCH 1/3] regulator: dt-bindings: Add Maxim MAX17135 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 List-Id: B4 Relay Submissions 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