From nobody Mon Feb 9 09:09:51 2026 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 555332E8E07 for ; Wed, 29 Oct 2025 02:33:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761705202; cv=none; b=XY2aaks7CvuK56Ly8PWfJ/jLujseY8jdEbNAkrCefbdqw7HZ4mgSvNB0L1cBdUITfy9FCWphLiSCH0/2cwBu+ETxRH2WKYa7TPHQInVW8wenMHw7CfIYa68ElzdbA9V0zl5yrb4bVf5HyyAQVSUQ1sYK8Cdzg2KudjjtZka8REY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761705202; c=relaxed/simple; bh=RG3VjxSuk1dPK3rWGefJjSSYxJn6F7W3FX+uCWi/X38=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=RSm8OhKEAWOvME+WL3A5vWuKUZ+f7rYkVR/BVvDCp00QRMKvDP5YyfWkjeCuZpNkcy2fBEWgzOCVW4AkLhK4pEhKdKjxvVBZZRTlX2sLixAgVlXuSVW5lrFjdfjiAS+g4Pwt47zNc/6qrIgw8PucWk6OQ6IOKHSrXcRKXM8EXV8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kaFTV6Wq; arc=none smtp.client-ip=209.85.210.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kaFTV6Wq" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-78118e163e5so441771b3a.0 for ; Tue, 28 Oct 2025 19:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761705200; x=1762310000; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9d/kXcE3zchMHrpNlcXGlLJoWMLUpaE86fchVvnzwz0=; b=kaFTV6Wq01dkYhr0PveqNQDRDfkFOtiMQKuv7fDTsaURBzr+tqwblsaVitkGpKTQy+ RVuwua5//V/ynws7C+jMalqOymtor0tP/tIBDdCgNp51ZUhhpaOun1HDgItMjnoyFHFT Nd0c7/4biLEXj/621eyW4CTbgk/h2U1dvuiLdUMewAOxAMqmuvxxuXO6D7z3w5RffFCF NTOZTyC/aRxEGO8P+QqZPA13wcrR6gPKa/SW5aMgbFydJ+j7Eps3EDYXtFRV2zJ9+RyQ 0DZSkmAmIicPALlvbqbJSsJXUAR/3N7J9hPqVUbuvlDhdXTY2siTkO0nw2ZI0GPJU5H0 KHBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761705200; x=1762310000; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9d/kXcE3zchMHrpNlcXGlLJoWMLUpaE86fchVvnzwz0=; b=EAi+K9TXdjod8H+cyH3eE1UmF+5DhXAi96FVjD4VYU6fO4wpemE39As/24T6uBG14m x63mAiaQ5hoxREISu/jBsTTAu57+0l/pp8R+5jEiAChcA/rqggGr6jcXoTaLC2s1gLPS M8acYbVWWNgfaK14hNRPp+7goPSyTCvDJ96TfS/tw/cTvUOWZf0GfBb218ZFQj99KDvr fUEZaUlBPDInF/u9lwcY5zncqnYhn5KovM+qy/Xbb2xitXVBK4rph0x0qIJ9Oj5aNy0D N8s2JXariMdoF5kwM8W8/ischtvw4e8jjbMdD5JIAgQqRgCu1wBd+V0DZJzoJ+VwKnlk yRMQ== X-Forwarded-Encrypted: i=1; AJvYcCWdyJMX1CQWD4try5B4+0RU+CcOgNUrKjZrymbDc1es5AW2x5wVPfp+L/BbWWyKn/B1ucuXnpLarymbtAM=@vger.kernel.org X-Gm-Message-State: AOJu0Yx5JpKRKwLUpM56bbUQ6qnFk2wL/wtzKavnR0OGOPtJmnriRseR luzhZll1t9Whlwi2BXj9F+lD/h3m9q/TFgg/097F+bp3vgUzAtqsuOrS X-Gm-Gg: ASbGncvNdcAPrWP6JVmCHt7fkN/YNEpXwVKFpXg/jirkw/M3H01O8ymnqB7pEHqXUTt 7WXvTN1WmdQWIFmDa7VOGAZxE2wx8EZml/9dB/ffSWaa8cGdCtdUqZ4SyDy1XA56PEXmjfv1uFA kxMk9jwVKIzBYxMNepzHmr83VYzfUbpYIflgd1TOR2zQqRzAhpBzvgy9WuXwEUOYOKTQISm7wIY odzQ2NGJ+FMy/Zz4Jwd1KpEDrM+/RRDdbt59rlh2LEgxcfJk123R4frrCHuhiW27ijUyr09oNUI yvPmje2U6+nkZ+GA+WU3ZgRypIHLlHNraKMtkhQGQn9QraelknuIoGRd2BXDDQ89X8LE4iDIFsD KmuL//kD7XnZRTMnEnGeFbT4440vA09E/lQom4p3pTMOt82VPbKEXl666qBJLF4ImeOunPrRn+J wIPdkxIkibuGLXoMb0/CUPLCklZ+uS3A== X-Google-Smtp-Source: AGHT+IGWfPejzIWvEWLTpc+YxVSh6qwG2ZKdFfLW6QYjD6u0iPEqoRuk88tPfjcThSD7tSNu7dCc8Q== X-Received: by 2002:a17:90b:2ecf:b0:33d:ad58:cb6a with SMTP id 98e67ed59e1d1-340286bc823mr3849615a91.8.1761705199443; Tue, 28 Oct 2025 19:33:19 -0700 (PDT) Received: from HYB-iPCgmhaB8Cy.ad.analog.com ([59.9.235.253]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b7127bf47a1sm11826966a12.10.2025.10.28.19.33.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Oct 2025 19:33:17 -0700 (PDT) From: Joan-Na-adi X-Google-Original-From: Joan-Na-adi To: Liam Girdwood Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Joan Na Subject: [PATCH v5 1/2] regulator: dt-bindings: Add MAX77675 regulator binding Date: Wed, 29 Oct 2025 11:32:52 +0900 Message-Id: <20251029023253.150257-2-joan.na@analog.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251029023253.150257-1-joan.na@analog.com> References: <20251029023253.150257-1-joan.na@analog.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Joan Na Add device tree binding YAML schema for the Maxim MAX77675 PMIC regulator. This defines the node properties and supported regulator names for use in device tree sources. Signed-off-by: Joan Na --- .../bindings/regulator/maxim,max77675.yaml | 186 ++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/maxim,max77= 675.yaml diff --git a/Documentation/devicetree/bindings/regulator/maxim,max77675.yam= l b/Documentation/devicetree/bindings/regulator/maxim,max77675.yaml new file mode 100644 index 000000000000..5d4a643ea5b1 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/maxim,max77675.yaml @@ -0,0 +1,186 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/maxim,max77675.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX77675 PMIC Regulator + +maintainers: + - Joan Na + +description: + The MAX77675 is a Power Management IC providing four switching buck + regulators (SBB0=E2=80=93SBB3) accessible via I2C. It supports configura= tion + of output voltages and enable controls for each regulator. + +allOf: + - $ref: /schemas/input/input.yaml + +properties: + compatible: + const: maxim,max77675 + + reg: + maxItems: 1 + + reset-time-sec: + description: Manual reset time in seconds + enum: [4, 8, 12, 16] + default: 4 + + maxim,en-mode: + description: | + Enable mode configuration. + The debounce time set by 'maxim,debounce-time-us' applies to + both push-button and slide-switch modes. + "push-button" - A long press triggers power-on or power-down + "slide-switch" - Low level powers on, high level powers down + "logic" - Low level powers on, high level powers down (no deb= ounce time) + $ref: /schemas/types.yaml#/definitions/string + enum: [push-button, slide-switch, logic] + default: slide-switch + + maxim,voltage-change-latency-us: + description: + Specifies the delay (in microseconds) between an output voltage chan= ge request + and the start of the SBB voltage ramp. + enum: [10, 100] + default: 100 + + maxim,drv-sbb-strength: + description: | + SIMO Buck-Boost Drive Strength Trim. + Controls the drive strength of the SIMO regulator's power MOSFETs. + This setting affects the switching speed, which impacts power effici= ency and EMI. + "max" =E2=80=93 Maximum drive strength (~0.6 ns transition time) + "high" =E2=80=93 High drive strength (~1.2 ns transition time) + "low" =E2=80=93 Low drive strength (~1.8 ns transition time) + "min" =E2=80=93 Minimum drive strength (~8 ns transition time) + $ref: /schemas/types.yaml#/definitions/string + enum: [max, high, low, min] + default: max + + maxim,dvs-slew-rate-mv-per-us: + description: + Dynamic rising slew rate for output voltage transitions, in mV/=CE= =BCs. + This setting is only used when 'maxim,fixed-slew-rate' is not presen= t. + enum: [5, 10] + default: 5 + + maxim,debounce-time-us: + description: Debounce time for the enable pin, in microseconds + enum: [100, 30000] + default: 100 + + maxim,en-pullup-disable: + type: boolean + description: Disable internal pull-up for EN pin + default: false + + maxim,bias-low-power-request: + type: boolean + description: Request low-power bias mode + default: false + + maxim,simo-int-ldo-always-on: + type: boolean + description: Set internal LDO to always supply 1.8V + default: false + + regulators: + type: object + description: Regulator child nodes + patternProperties: + "^sbb[0-3]$": + type: object + $ref: regulator.yaml# + properties: + maxim,fps-slot: + description: | + FPS (Flexible Power Sequencer) slot selection. + The Flexible Power Sequencer allows resources to power up un= der + hardware or software control. Additionally, each resource can + power up independently or among a group of other regulators = with + adjustable power-up and power-down slots. + "slot0" - Assign to FPS Slot 0 + "slot1" - Assign to FPS Slot 1 + "slot2" - Assign to FPS Slot 2 + "slot3" - Assign to FPS Slot 3 + "default" - Use the default FPS slot value stored in OTP and= read from the register + $ref: /schemas/types.yaml#/definitions/string + enum: [slot0, slot1, slot2, slot3, default] + default: default + + maxim,fixed-slew-rate: + type: boolean + description: + When this property is present, the device uses a constant 2 = mV/=CE=BCs + slew rate and ignores any dynamic slew rate configuration. + When absent, the device uses the dynamic slew rate specified + by 'maxim,dvs-slew-rate-mv-per-us' + default: true + + unevaluatedProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + max77675: pmic@44 { + compatible =3D "maxim,max77675"; + reg =3D <0x44>; + + reset-time-sec =3D <4>; + + maxim,en-mode =3D "slide-switch"; + maxim,voltage-change-latency-us =3D <100>; + maxim,drv-sbb-strength =3D "max"; + maxim,dvs-slew-rate-mv-per-us =3D <5>; + maxim,debounce-time-us =3D <100>; + + regulators { + sbb0: sbb0 { + regulator-name =3D "sbb0"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + maxim,fps-slot =3D "default"; + maxim,fixed-slew-rate; + }; + + sbb1: sbb1 { + regulator-name =3D "sbb1"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + maxim,fps-slot =3D "default"; + maxim,fixed-slew-rate; + }; + + sbb2: sbb2 { + regulator-name =3D "sbb2"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + maxim,fps-slot =3D "default"; + maxim,fixed-slew-rate; + }; + + sbb3: sbb3 { + regulator-name =3D "sbb3"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + maxim,fps-slot =3D "default"; + maxim,fixed-slew-rate; + }; + }; + }; + }; + -- 2.34.1