Message ID | 20230401001850.4988-2-andre.przywara@arm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp943005vqo; Fri, 31 Mar 2023 18:06:15 -0700 (PDT) X-Google-Smtp-Source: AKy350YxJAdaHFZZkk8BZRE9sx3qxVx0mcRWUo7klr7QuNypxiGAX5fh+Tdk/OJSmkY/T+qqJGmJ X-Received: by 2002:a17:902:e84e:b0:1a1:8860:70e5 with SMTP id t14-20020a170902e84e00b001a1886070e5mr36021398plg.57.1680311175575; Fri, 31 Mar 2023 18:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680311175; cv=none; d=google.com; s=arc-20160816; b=kjIvZiT3CQglyRjJx0wbXvcnGoydNw3xUDMnfKdpmC0cBhYn30ENqJ7Oeiyj7fd1Kh +I1hnWJu6Ewi0hH01ppQK5cM3aI0PUnycGoniLMVRkt4ZVDB2f8xIToRfTN/u8kTwjla G4kz6lRjCHeoHkh6+rmL1MSdy2ASDXy9bWAlZ5asCkOxTknBlCjcjm79gSRx/h2Qzmz1 ShkMkXoK2imqJSMDNQ5W1wXTpscqgQPNe8Ya48g7zonJhF3Rl3Fm6WDpCRObo4zML0sD OOFnIXEBNAmR9FSeR8PSmg0B670vqTedmeTa3Pu1ivoamwuC4ogBkNpZj50b00sEFO1Q 30KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=qn4cF06vFz+tVlNxGfIqRoaR1uEwJsH0sMC09skinwQ=; b=iiz0bwfXM7Uu0bs7oE5ceEDJSfKga4WDg8m8Bz8mRwB6+C9+SpMoDYnmPHjrdo8fdz q/I9MXwrdyei0sHuio19oHN2u4MnkZu0oCDFj4peiBtkc7b5Cb96rxgXSL6q0S7eFs75 xcDTr3RUBKQDA2SA4KAYtUyB2Gm3fme+QeRxqQ9oI/zWDNIQjFha/DQ7JkwGQvL3+UBX wLwYi9w7lS/1ngRUY9DjV6ttJWb4BErytZvWj5qnUiAYyWLpBOp3r8fM0ChOjbuxVOMA rmn1/IKXhGPcv6eRd8B6edcj5Qiy+DVAYe/Z2uGcu81wQLFHQLwTKBDmJ0lpl/+k8Jfk CAAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 197-20020a6301ce000000b0050bf50ed4f6si3464850pgb.628.2023.03.31.18.06.02; Fri, 31 Mar 2023 18:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233441AbjDAATE (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Fri, 31 Mar 2023 20:19:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233399AbjDAATD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 31 Mar 2023 20:19:03 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B81A61D2D1; Fri, 31 Mar 2023 17:19:01 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DA98611FB; Fri, 31 Mar 2023 17:19:45 -0700 (PDT) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D88323F6C4; Fri, 31 Mar 2023 17:18:58 -0700 (PDT) From: Andre Przywara <andre.przywara@arm.com> To: Lee Jones <lee@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>, Chen-Yu Tsai <wens@csie.org>, Mark Brown <broonie@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org> Cc: Martin Botka <martin.botka@somainline.org>, martin.botka1@gmail.com, Shengyu Qu <wiagn233@outlook.com>, Samuel Holland <samuel@sholland.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v10 1/3] dt-bindings: mfd: x-powers,axp152: Document the AXP313a variant Date: Sat, 1 Apr 2023 01:18:48 +0100 Message-Id: <20230401001850.4988-2-andre.przywara@arm.com> X-Mailer: git-send-email 2.35.7 In-Reply-To: <20230401001850.4988-1-andre.przywara@arm.com> References: <20230401001850.4988-1-andre.przywara@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761933970912273498?= X-GMAIL-MSGID: =?utf-8?q?1761933970912273498?= |
Series |
regulator: Add X-Powers AXP313a PMIC support
|
|
Commit Message
Andre Przywara
April 1, 2023, 12:18 a.m. UTC
From: Martin Botka <martin.botka@somainline.org> The X-Powers AXP313a is a PMIC used on some devices with the Allwinner H616 or H313 SoC. According to the datasheet, the DC/DC converter PWM frequency is fixed (to 3 MHz), so disallow the property that lets us set this frequency for the other PMICs. Signed-off-by: Martin Botka <martin.botka@somainline.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com> --- .../devicetree/bindings/mfd/x-powers,axp152.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+)
Comments
On 01/04/2023 02:18, Andre Przywara wrote: > From: Martin Botka <martin.botka@somainline.org> > > The X-Powers AXP313a is a PMIC used on some devices with the Allwinner > H616 or H313 SoC. > According to the datasheet, the DC/DC converter PWM frequency is fixed > (to 3 MHz), so disallow the property that lets us set this frequency > for the other PMICs. > > Signed-off-by: Martin Botka <martin.botka@somainline.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Sat, Apr 1, 2023 at 8:19 AM Andre Przywara <andre.przywara@arm.com> wrote: > > From: Martin Botka <martin.botka@somainline.org> > > The X-Powers AXP313a is a PMIC used on some devices with the Allwinner > H616 or H313 SoC. > According to the datasheet, the DC/DC converter PWM frequency is fixed > (to 3 MHz), so disallow the property that lets us set this frequency > for the other PMICs. > > Signed-off-by: Martin Botka <martin.botka@somainline.org> > Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
On Sat, 01 Apr 2023, Andre Przywara wrote: > From: Martin Botka <martin.botka@somainline.org> > > The X-Powers AXP313a is a PMIC used on some devices with the Allwinner > H616 or H313 SoC. > According to the datasheet, the DC/DC converter PWM frequency is fixed > (to 3 MHz), so disallow the property that lets us set this frequency > for the other PMICs. > > Signed-off-by: Martin Botka <martin.botka@somainline.org> > Signed-off-by: Andre Przywara <andre.przywara@arm.com> > --- > .../devicetree/bindings/mfd/x-powers,axp152.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) Applied, thanks
diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml index 2691ac08f5362..ed76b1c58cdf4 100644 --- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml +++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml @@ -73,6 +73,16 @@ allOf: required: - interrupts + - if: + properties: + compatible: + contains: + const: x-powers,axp313a + + then: + properties: + x-powers,dcdc-freq: false + properties: compatible: oneOf: @@ -82,6 +92,7 @@ properties: - x-powers,axp209 - x-powers,axp221 - x-powers,axp223 + - x-powers,axp313a - x-powers,axp803 - x-powers,axp806 - x-powers,axp809