Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4325538rwr; Mon, 8 May 2023 06:17:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4utW/ivYUoSOFqRc9gY9DkOUnosBhVBEaKsgNjPx6OQihCvFQcGIzJBP2rpzQcdxud0FxE X-Received: by 2002:a17:90a:ca08:b0:24e:bb9:e4e6 with SMTP id x8-20020a17090aca0800b0024e0bb9e4e6mr10562481pjt.28.1683551864786; Mon, 08 May 2023 06:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683551864; cv=none; d=google.com; s=arc-20160816; b=BykA0027fpwOLm1yDceu3SpHgzBweZMlCoFB/38JZu4WwYUBBtZlZ1DekKkpDWtq2P geIPB6VDSzf/KrPdWxE5aBgowWEK3VuvMJcyVawZRAnC8CgFtNzIc5C8SJF33b9j2oiX EyWl9g3L7wwkpgjWNcrprf+VftCKdqJrCxCzTtCtyxuZxUirR+ggmYbIID3M11LbTp0j iFs2MWjS/2Ih/TjTkuCycq+Nb5B0OWhSokvK+mnjQ7WUteGJB/AdPGLnAAE/DyTdRbHa TlwJh0V1a/EJR8ynJHJCzjgdg3mM/ik2hEagiZd/lml8tkPu35quqiJI2D19eQS9yaX7 5m3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=TtHpwat9GIEkB+1blW10QNVbCuv3L2YzA9AyRKP7Tts=; b=aEIZS3/l96r5b1EU0yWGCkaBCYQKfnw4Tu1voqqt0Chj6Jb15Dx1YcTezkfhN4QcT/ 5ThaJCqh8YLbsRGXB4Rq2Lr8ng1Ccu2+nu8HDtMyw1SZ3uHgEYjBF7UcPUU5+/fNsGWX 5LMRG1b9Be7mWBex8PeUtEg3i+cz5wC/VTweau6uR4s6MO5Si7mGN04dY3mWIFVVdBTX hrtg2pboXHrLGoaqXpxthgMmRY67+vIcZDLkP4Jyf5sNsTKm8JJe6EJ7LR1jmRp/z4EU qxPfIzDHt+jj1fEhBD5R9W3ZeoXKb4btd4v8DCLxFHB3pg8Ir5pADNAwwPOzyoi1YCen MwAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=hYvACVQw; 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=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n30-20020a63721e000000b00524f18e3d13si2149427pgc.35.2023.05.08.06.17.31; Mon, 08 May 2023 06:17:44 -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; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=hYvACVQw; 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=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233974AbjEHNOc (ORCPT + 99 others); Mon, 8 May 2023 09:14:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233557AbjEHNO3 (ORCPT ); Mon, 8 May 2023 09:14:29 -0400 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB89C86A2; Mon, 8 May 2023 06:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1683551668; x=1715087668; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=TtHpwat9GIEkB+1blW10QNVbCuv3L2YzA9AyRKP7Tts=; b=hYvACVQw1Ff2L+FCnhACMQ6eC3lf1rXy8ZqkrVeOXHDVOhZf7Q+PLwyD DQXbPRePuTsIZElypBJ9rQuLobWWAyfOl88+lw5Ijju0Xhu5T2f7JZo6c Rt4dYU9+pXFyQGkXE36vMK2Z8Z+p70lL2D5KlJSA5eEOrtNjN6H9yUhiw mvEnAo/K4lZ8wlLczpieRiSEqo2MH0Ck6UIU7NBvy/GDu7oMbHFTCDecS vdTSefXzvIZxiHz/auDqO1Ngoxybbh/3Y+w/cJoourzaUOWP5IAMFKzJp CLJ52EIIBYTAB/VAiDmusVa03BIeBOhMMuYSf0wvmQy/p6VGPifGxnapy w==; From: =?utf-8?q?M=C3=A5rten_Lindahl?= Date: Mon, 8 May 2023 15:14:07 +0200 Subject: [PATCH v3 1/2] regulator: dt-bindings: Add bindings for TPS6287x MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-ID: <20230502-tps6287x-driver-v3-1-e25140a023f5@axis.com> References: <20230502-tps6287x-driver-v3-0-e25140a023f5@axis.com> In-Reply-To: <20230502-tps6287x-driver-v3-0-e25140a023f5@axis.com> To: Liam Girdwood , Mark Brown , "Rob Herring" , Krzysztof Kozlowski CC: , , , =?utf-8?q?M=C3=A5rten_Lindahl?= X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1683551664; l=1676; i=marten.lindahl@axis.com; s=20230329; h=from:subject:message-id; bh=KARdrRBkfobsUPZuEvNegZELY7vBi0k9NmejXd4gaFw=; b=nyLrWgIMZg9mzlaoZyM0bh+lRW/6/OZxjEGHU1urwrHpvGEMIVsSJbSlT+POd41G1AbONnto2 x3LDXeAXzndDGZzgkCnMOojZ0z8hwCykgBw6InCf1JV3R3EJlAwaQ7s X-Developer-Key: i=marten.lindahl@axis.com; a=ed25519; pk=JfbjqFPJnIDIQOkJBeatC8+S3Ax3N0RIdmN+fL3wXgw= X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for the TPS62870/TPS62871/TPS62872/TPS62873 voltage regulators. Signed-off-by: Mårten Lindahl --- .../devicetree/bindings/regulator/ti,tps62870.yaml | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/ti,tps62870.yaml b/Documentation/devicetree/bindings/regulator/ti,tps62870.yaml new file mode 100644 index 000000000000..386989544dac --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/ti,tps62870.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/ti,tps62870.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI TPS62870/TPS62871/TPS62872/TPS62873 voltage regulator + +maintainers: + - Mårten Lindahl + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + enum: + - ti,tps62870 + - ti,tps62871 + - ti,tps62872 + - ti,tps62873 + + reg: + maxItems: 1 + + regulator-initial-mode: + enum: [ 1, 2 ] + description: 1 - Forced PWM mode, 2 - Low power mode + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@41 { + compatible = "ti,tps62873"; + reg = <0x41>; + regulator-name = "+0.75V"; + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1675000>; + regulator-initial-mode = <1>; + }; + }; + +... -- 2.30.2