From nobody Fri Dec 19 14:36:07 2025 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 158DE280336 for ; Sun, 7 Dec 2025 03:29:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765078168; cv=none; b=AL1gLkkpem/RpZgfgWkgRf+a6GN4hdfLLDpMKEqdrtY4ZCC+IOPRrUS7KCMtUDKbaANDI24X0hUXDXoMe7AqxAPjFi5FwR2lSH7OQsU9YJ5lpwlLfjCdjIn9XEcW56WgVWdojJ+wTtjFcgvjw4ThbZe2LAvzpc7KSYbyspsNU6A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765078168; c=relaxed/simple; bh=aVyhAwj08USspuhJUw/MNCjYLB+JDjh3dBDT+0Bkq9g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=VaXQGF107x5pxXSGer3FslDrUj2DsaygWvjV/i0mT0ahnc3z8drvqQzPsSK/IZMWnnLzycmURl8K2c66Ou/9o0eUYB9L6ozwUzKDbZpkBpSEg8G3YtGJhEUmVw6SB1R3xrarLaWjMj6OJAQk80U4jy71Z7t4v+/H9ff09G9OdPc= 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=VdPm/OIM; arc=none smtp.client-ip=209.85.210.173 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="VdPm/OIM" Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-7aa9be9f03aso2988306b3a.2 for ; Sat, 06 Dec 2025 19:29:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765078166; x=1765682966; 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=Z1zFgKHnAZZAmKAurQwJ89AFEIFZ9UbXmFTE0V6kqGY=; b=VdPm/OIMLIa0c4xE53vqqUC7MXLk91646DOBWwol+s8dYj7VGwifGWOh1yrNCag75+ aAckn9YSJ/ItURy4ADfYToRWR6p5//W9Rvyv/5G1L22VnaV52K7Dj5shI6c+18bSSbLn 4hlob3dUZ0dPWYCmXSGSYTEhoH0E677CjSbRhNmGDAJN3K1KAC57mdqkY6keLWNqTJ+u tXpNEAqbo1YwxNGOOj+DnR6OsP1nS/ByXMCnUqfsB9GQvZHijqJR8wzpYXLim2urS0eU RIaUcTXSZpS8niDqOUosF5PZMbzsr3DNnwaAK+Mt0eSYqDcThm0xOJTWNQMB6OPjZ8fp RDPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765078166; x=1765682966; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Z1zFgKHnAZZAmKAurQwJ89AFEIFZ9UbXmFTE0V6kqGY=; b=jer/Qv+YAF6i0QV2k0ZHV1DU8ONdTx8C7ccVyQamQ0HAxcUSiC4B0GHS/eSx/u0Wk+ GLdYsuVKD1fjlBgLItK2oQqHWKnx67ewpmOcPIYJK/NySmJVckn4JFyd34Nc36ioZ0dD jisPk5eH8jEzOVS9HXpwzLWkiLHnSxrOrJydRo34TNdF/B+N2xG0iFSZgI3NtTCKwXsn gVQSaaaSFfrShmkoW0FbpGKrxanj5p3hzdbXK4dzARk/URBCqqmyYSSphOC2JZ5Ui59a WkYgwhYci5judhfCPb3W89DptKDkzRSMh660dFclNHP/tdjgdi6CrmrKo6ThQVu6PN9r DX3Q== X-Forwarded-Encrypted: i=1; AJvYcCVtA5HhmBktBefJrWjwHyrgSbljWt8XKT9SMHGBCzVwNHULVm0jXpWb343MX88u2Va/lPmHwd1ptTPYCTY=@vger.kernel.org X-Gm-Message-State: AOJu0YzynQHVT65iMMlqU+7eisnMtBqbt+/GU/ySjYzmEKMbuY4L3N10 iFqWShR06BT+va2j1g7JGPinfyBHz6UkH8pFT+B0XUycBwczIubqi74A X-Gm-Gg: ASbGncvA6snmvgaeo00IBiPQHbdD3HOIQi1LZsa1bePgyLMynqI+plTVbswETcgsC/W 3xbaot9jv6oSgwwfYTCGFEdSS3aZuS7nBvi1MpI+ZdDjoj+FMYxmt1sg7EYlYPZNLfOy0sHTVOl 9oANaF0hK8c0Fd2zSdDtKUMT1tS/hgNx2Gk4/I5ML3PZ0VjC+XuXmmfirizrbO8A1C1+RtPht5N U7juUdXciuNaX7G0sjXw8W0k/T+0M1QeKl8pZCbZrlQgGsKrMyLdCi7ZVXW+6jfSP9NgxtN+nDB oyQcgbXsA4mKO3/hCMkJyjTtVNqZfkC/bvNqRf0WS8MZEvqLpQmjkg95y+RljaROCr9scwiXUcI waRZ1q83KShLc31JmdxkywQrdx7tFQ8OLl4wASbevjj3KzBZWKXU6ndHmkCZsJA5vDsK+2E8v1o YncvqGwTjUrhuPUoqZXX8mbGi2yXodzbmX6Ba3b8icrg== X-Google-Smtp-Source: AGHT+IHTI5x5ZjIeM1l2OON3tkvn8JiFPS7mp0m+cR2wmK9byD1ZRsbKXrUTUDAxuAFcpQM2YfHENQ== X-Received: by 2002:a05:6a00:3ccd:b0:7a5:67cc:c837 with SMTP id d2e1a72fcca58-7e8c2f6e8c3mr3747915b3a.18.1765078166333; Sat, 06 Dec 2025 19:29:26 -0800 (PST) Received: from HYB-iPCgmhaB8Cy.ad.analog.com ([122.35.77.229]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7e2adc5c355sm9036217b3a.33.2025.12.06.19.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Dec 2025 19:29:26 -0800 (PST) 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 v8 1/2] regulator: dt-bindings: Add MAX77675 regulator Date: Sun, 7 Dec 2025 12:29:06 +0900 Message-Id: <20251207032907.4850-2-joan.na@analog.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251207032907.4850-1-joan.na@analog.com> References: <20251207032907.4850-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. Signed-off-by: Joan Na Reviewed-by: Rob Herring (Arm) --- .../bindings/regulator/adi,max77675.yaml | 184 ++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/adi,max7767= 5.yaml diff --git a/Documentation/devicetree/bindings/regulator/adi,max77675.yaml = b/Documentation/devicetree/bindings/regulator/adi,max77675.yaml new file mode 100644 index 000000000000..c138e61380a4 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/adi,max77675.yaml @@ -0,0 +1,184 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/adi,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 + - $ref: /schemas/pinctrl/pincfg-node.yaml + +properties: + compatible: + const: adi,max77675 + + reg: + maxItems: 1 + + reset-time-sec: + description: Manual reset time in seconds + enum: [4, 8, 12, 16] + default: 4 + + bias-disable: + type: boolean + description: Disable internal pull-up for EN pin + + input-debounce: + description: Debounce time for the enable pin, in microseconds + items: + - enum: [100, 30000] + default: 100 + + adi,en-mode: + description: | + Enable mode configuration. + The debounce time set by 'input-debounce' applies to + both push-button and slide-switch modes. + "push-button" - A long press triggers power-on or power-down + "slide-switch" - Low : powers on, High : powers down + "logic" - Low : powers on, High : powers down (no debounce ti= me) + $ref: /schemas/types.yaml#/definitions/string + enum: [push-button, slide-switch, logic] + default: slide-switch + + adi,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 + + adi,drv-sbb-strength: + description: | + SIMO Buck-Boost Drive Strength Trim. + Controls the drive strength of the SIMO regulator's power MOSFETs. + This setting affects switching speed, impacting power efficiency 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 + + adi,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 'adi,fixed-slew-rate' is not present. + enum: [5, 10] + default: 5 + + adi,bias-low-power-request: + type: boolean + description: Request low-power bias mode + + adi,simo-ldo-always-on: + type: boolean + description: Set internal LDO to always supply 1.8V + + regulators: + type: object + description: Regulator child nodes + patternProperties: + "^sbb[0-3]$": + type: object + $ref: regulator.yaml# + properties: + adi,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 register + $ref: /schemas/types.yaml#/definitions/string + enum: [slot0, slot1, slot2, slot3, default] + default: default + + adi,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 'adi,dvs-slew-rate-mv-per-us' + + unevaluatedProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + max77675: pmic@44 { + compatible =3D "adi,max77675"; + reg =3D <0x44>; + + reset-time-sec =3D <4>; + input-debounce =3D <100>; + + adi,en-mode =3D "slide-switch"; + adi,voltage-change-latency-us =3D <100>; + adi,drv-sbb-strength =3D "max"; + adi,dvs-slew-rate-mv-per-us =3D <5>; + + regulators { + sbb0: sbb0 { + regulator-name =3D "sbb0"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + adi,fps-slot =3D "default"; + adi,fixed-slew-rate; + }; + + sbb1: sbb1 { + regulator-name =3D "sbb1"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + adi,fps-slot =3D "default"; + adi,fixed-slew-rate; + }; + + sbb2: sbb2 { + regulator-name =3D "sbb2"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + adi,fps-slot =3D "default"; + adi,fixed-slew-rate; + }; + + sbb3: sbb3 { + regulator-name =3D "sbb3"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + adi,fps-slot =3D "default"; + adi,fixed-slew-rate; + }; + }; + }; + }; + -- 2.34.1