From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 32D87367B9D for ; Fri, 10 Jul 2026 16:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783700439; cv=none; b=b04710FkTeM4/U6s3wJ0/fpc4WpZ4RX8Ov46Gw12XuX0LEDMpJdwU9M7m7+eaXRp0ufsoY62lDdidamXQVoea2ZFbtlmLQwY1jLdq+xGnnfsFnwfgbkS56bhZLOAxXRKlFOACa3yRO7wiGtkWrGYT3pcI57mb+xr8XYvAjGdfl0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783700439; c=relaxed/simple; bh=fKVVvIqEhOaY4890nYcR3KSeZ/1TQ8Q+JpLER3c6NSw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=u9NzC8XR05sLfpII/QnVFyXhMGRGem52Noc5rWmatoW8TPdZhrcMYwMd4kmDRfeda0+PbNgq4vsczegKJy1nJyrnc5WGRjq8xMg0+tE+isS3CUt8bN26j7dSg46p0FjxRQbhYgi5zl63I02KoLaCUmjBxp7nNKtsBsdyL/TUrkk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=cJ0vvkgL; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="cJ0vvkgL" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-47df43bfb07so290231f8f.1 for ; Fri, 10 Jul 2026 09:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1783700431; x=1784305231; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=nuE7YP+ugHKtet/YjLsJjWZRMasE72CKIRTYH+lVWVI=; b=cJ0vvkgLKRd9t2G2aGieayF4OIPUw1qCkR+4bo+6d63ltEWumRxLYrWcoZ0QjA6a6Z oslh2XI3yh8CZUwjX5/lVMZSrPcPBHc++gbZI+TlXFghGWeJSMcvJUw1W3tHXHUJaVeJ CqCKohyYz4FD1LpX0j278gVcRWp8/O3tNvJXlRRRta2GVFLPV1LmfPjLUzFJVhvUNH8c g05Q6Vc6dvSV2wWtRV6fEHcDUvpfWBkyvOgjMWsTgSk2N8JOo1y2Xz4MrPtN5/NxcbDD Ej9q/tsIJre2S3h01nmPuElAFoJWhHRZ/tUznN2gk1LleKskd8PRgtxbcSaOFnoxC4Ni 926Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783700431; x=1784305231; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=nuE7YP+ugHKtet/YjLsJjWZRMasE72CKIRTYH+lVWVI=; b=b8JbhiruU0ES6PKGTsTnkr6MukENdEmhGAdfs2jY7WiAYdVPQfsDr1MPm4sGSEaPZ8 Aru9AOoErliJ+3u917Yam/pKXRxIF+ArrzWJurLewEtE+yoH0u6a9ztUE3rQOpiFy7lW Zox4+Eg1GvsBCxvrNioijtsoyR4IIWSxDA2hDdCDzXWnBvwhww4u6+9ErcrqpALuFPw4 jJvVbQr8B+UD9AykQiuQUpH/fBdvV0iEwjWd8MBSEO5DsoD1FrZdtBfWbQeVYCnilE+l 6LZmUi3o+0GR2zqwRjFHL9vpmE2gj1Wzpd4A7alQnwMym0n+YOQyHTttXQhggVEJYfI8 N0sg== X-Forwarded-Encrypted: i=1; AHgh+RqUv3KZnkO3/tO3KDMGlIdtAiKZlG5tKvy9wTjy/AqiYH1RvvW3Ng2PZynUWbeE1GVExvpmqz1VAXrdSX0=@vger.kernel.org X-Gm-Message-State: AOJu0YwmVkDwlzdccG0Yy6ibA02P2ocfJbGwD/BBVPYCcMQUnlMcTC5a HCefr3yOZqyKbY6N6XeEHa5bJpyCG3ayWmG5RpFU5BLy6i8DD7HKVvktGZa7EO3WrVM= X-Gm-Gg: AfdE7cmxTPTEpritS0UT51kyP6boYgtmX8BDcIL2DPwkciakUkir4QxEi3Tco7Ax+aS O3a483pH+k7ioSntB3egErw7aiZxe+BWs60s7tu3je05ytiZB6So3OR5VbS46qN8ItKXsuo3JgM o7oN5jADGMbLuQptn/RPUAQrVz7+7tO0j/CCr6tDH2sUU446KZDtAcjjgsAFL+FG2xuAhnemWpk 2+IWzRdNIuhHUc91T5qsD86mHE0VEVSRaXCAf+vkU5rodLqyPjdS7mSz6nAO02O8jjGHDLHFI8e yu13cMiEErqG8Yt8nX833XwHjRfEAIwEcugoceueBqjJ/GT02Bx2tuOzvQGk9B7cUT0P2ldb+X8 ZtzOnvpRTp8EWKI0lxgNNZYHiBphIHp7hflGKf34YvgV7H3Gu+vOStFonm715cI/qzPT3Ln/Atb t3b9fVAKOKiRU= X-Received: by 2002:a05:6000:455c:b0:47e:96f6:6dd3 with SMTP id ffacd0b85a97d-47e96f6714amr3807495f8f.17.1783700431519; Fri, 10 Jul 2026 09:20:31 -0700 (PDT) Received: from localhost ([2a01:e0a:3c5:5fb1:5e43:31e8:5645:d4e0]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-47aa0f214d2sm59995779f8f.33.2026.07.10.09.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 09:20:30 -0700 (PDT) From: Jerome Brunet Date: Fri, 10 Jul 2026 18:19:25 +0200 Subject: [PATCH v2 1/3] dt-bindings: mfd: x-powers,axp152: Document AXP318W 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: 7bit Message-Id: <20260710-axp318-regulator-v2-1-ee5f1c56b49f@baylibre.com> References: <20260710-axp318-regulator-v2-0-ee5f1c56b49f@baylibre.com> In-Reply-To: <20260710-axp318-regulator-v2-0-ee5f1c56b49f@baylibre.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Liam Girdwood , Mark Brown Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andre Przywara , Conor Dooley , Jerome Brunet X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3753; i=jbrunet@baylibre.com; h=from:subject:message-id; bh=wv1nTWnn872ufIVhbI4UCIkelK8ryXZIIeZU5j5xa5o=; b=owEBbQKS/ZANAwAKAeb8Dxw38tqFAcsmYgBqURvCPvWDmUocb0ozN84vyqLMjXQYhmrK2kmUy D7f8VzY2L+JAjMEAAEKAB0WIQT04VmuGPP1bV8btxvm/A8cN/LahQUCalEbwgAKCRDm/A8cN/La hX0wEACj3voA56xlqeu69E5GM33lAnjk0PaJCDliBPz1qMBlAU6quyg86muFinkqx3q8a+rE4rU HLpNsYCnYJQ+jU/2CW6z8od1yW42Py8FJYD7kIsPzZKyRQuUGvLZCb/q+YfqJrsfvorNwLS5PlB 6S3mwWtTJ3g+krMeAmlRCDCZCaYJwKAbynXzA3MQ+R+RHbqhIBvE9U52U9xCelBe7C1tZMbQT66 eZqrrVQY7zpciKh0mQTCZ384xt+JFwHhZ9t/oX1wtDk2aKG1LS/aVYGBeC5+F1WB5XZEfMpneUY rIVajX+vj72QnVydhL7lpqr9632l7plbH+fBSpAJ7ORTCYR4B90YyMuNQPagt86olP4hkJ0OeEu qIlFIfztopLk2IrhPtN/GeAaB5Gq0woACs/hOAELSIog4MPzeBglw+l0v6s1yxkF1Njdtk2nVIX oCbVKu4r30tRNntPA8FPDMGGPv795kR4mUKpGojQy/SxfcMbm3/Xh6OXSZ2ufg3vhlQ4WTXZ0W3 RB72WcG6Sg4u7e4qpzzzSd4lIMFe3sO8jnJLMAhTjgmm+kc6XJeGD599laRKylNi5a90vUNeaZX QzoPBc3bhD1vEMSHpGJ3VGmDnbmLbzwsI0HywNL/Cz4Tzz/MIQKj9KMsyyntqlHRrvIZA7EbRc6 OkaMM65F5eqHDbg== X-Developer-Key: i=jbrunet@baylibre.com; a=openpgp; fpr=F29F26CF27BAE1A9719AE6BDC3C92AAF3E60AED9 From: Andre Przywara The X-Powers AXP318W is a PMIC used on some newer Allwinner devices. Among a large number of both DCDC and LDO regulators it features the usual ADC/IRQ/power key parts. Like other recent PMICs, it lacks the DC/DC converter PWM frequency control register, that rate is fixed here (1.5MHz on DCDC1, 3 MHz on the others). Add the new compatible string, and add that to the list of PMICs without the PWM frequency property. Also add more input supply properties, for the split DCDC and ALDO supplies. The PMIC features *two* switched outputs, hanging of DCDC1, and the manual calls them swout1 and swout2, so follow suit here and add those names to the pattern for matching the node names. Signed-off-by: Andre Przywara Reviewed-by: Chen-Yu Tsai Acked-by: Conor Dooley Signed-off-by: Jerome Brunet --- .../devicetree/bindings/mfd/x-powers,axp152.yaml | 28 +++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml index 45f015d63df1..1bed19fc91ec 100644 --- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml +++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml @@ -83,6 +83,7 @@ allOf: contains: enum: - x-powers,axp313a + - x-powers,axp318w - x-powers,axp323 - x-powers,axp15060 - x-powers,axp717 @@ -102,6 +103,7 @@ properties: - x-powers,axp221 - x-powers,axp223 - x-powers,axp313a + - x-powers,axp318w - x-powers,axp323 - x-powers,axp717 - x-powers,axp803 @@ -156,10 +158,18 @@ properties: description: > DCDC1 power supply node, if present. + vin19-supply: + description: > + Combined DCDC1/DCDC9 power supply node, if present. + vin2-supply: description: > DCDC2 power supply node, if present. + vin23-supply: + description: > + Combined DCDC2/DCDC3 power supply node, if present. + vin3-supply: description: > DCDC3 power supply node, if present. @@ -168,6 +178,10 @@ properties: description: > DCDC4 power supply node, if present. + vin45-supply: + description: > + Combined DCDC4/DCDC5 power supply node, if present. + vin5-supply: description: > DCDC5 power supply node, if present. @@ -176,6 +190,10 @@ properties: description: > DCDC6 power supply node, if present. + vin678-supply: + description: > + Combined DCDC6/DCDC7/DCDC8 power supply node, if present. + vin7-supply: description: > DCDC7 power supply node, if present. @@ -220,6 +238,14 @@ properties: description: > ALDO* power supply node, if present. + aldo156in-supply: + description: > + ALDO* power supply node, if present. + + aldo234in-supply: + description: > + ALDO* power supply node, if present. + bldoin-supply: description: > BLDO* power supply node, if present. @@ -277,7 +303,7 @@ properties: Defines the work frequency of DC-DC in kHz. patternProperties: - "^(([a-f])?ldo[0-9]|dcdc[0-7a-e]|ldo(_|-)io(0|1)|(dc1)?sw|rtc(_|-)ldo|cpusldo|drivevbus|dc5ldo|boost)$": + "^(([a-f])?ldo[0-9]|dcdc[0-7a-e]|ldo(_|-)io(0|1)|(dc1)?sw|swout[1-9]|rtc(_|-)ldo|cpusldo|drivevbus|dc5ldo|boost)$": $ref: /schemas/regulator/regulator.yaml# type: object unevaluatedProperties: false -- 2.47.3