Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1450416pxb; Sat, 23 Apr 2022 07:03:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhn6Mz6qa/yNXYAUmmbwbAQ66SNlAR0ujLz9574RIK1W/x5bET6NyiykOYgEaRC42gAbNH X-Received: by 2002:a17:90b:4b87:b0:1d3:d3:3f90 with SMTP id lr7-20020a17090b4b8700b001d300d33f90mr21640984pjb.232.1650722618238; Sat, 23 Apr 2022 07:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650722618; cv=none; d=google.com; s=arc-20160816; b=htyk38m6ADLC1ZDgyTDDA9VR62cZc1JGvp6nOuiwydVNlF8jA/gwpDwNEvgcFTBM5U hYMMnFAzcc7/GHznPKmT3oO9CdDYHQmBJGIIUAdWkAbOfRg1gg1ZXP2fgOcVKpeSV6+Q iRrLja4TZCQtjRDZ20oKldqVQDkrVkgHm7SJpzj2FoDWzO3g3/Ba9vlfbvJVKNc0mZkM ++Zn+XS6d3/eTUJ12wqYHNw9pFwEVtg+h5rvYSjIEoh8T/5vs3Abm/AM0s6mfb3YbuWO NMtPX01KnTTLwKnddM9L8FdQQhXyQZQJajaXjmP7kGaipZLrNgI1RjfuSMdCu6FYsL2f hBLQ== 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 :dkim-signature; bh=U+PN+GS0JECobt4d/ZN0bjvHqce0oNxs21CYm6No/tg=; b=ERIL+YDK2uzkKOpvAwk8Gyc01E/xGIDyaMc51F4//vsFVfKf2qKIR/FoUSubSYtfqE diBzOkk1CzUNCwavSpB44sjAUNhXy9djXBGaYtweBNXhP0TknRIDyLwJx/LKORLPnJWv yhvA6Pect1/dr2lXuXc1fJaPeSU9Z6Gs6XK2whgPGOtl92+ziu22hLGAy6BkUI0i+u/7 eKORRNHWucYY3SI19k/x+sR/9B2yWA1VBprPhGl2SygEUChBjVAF+NgXprXw/3+RXsUa +zTa8ozUs6vKAApWlAnK+ZiiV6yvZcSUwNCUE/HqDX0jS8A8mQlnSINAlOW1oGfsWZv/ /k3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=j6BV+kWR; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020a170902d4c500b00158eb7e5fcasi12749445plg.313.2022.04.23.07.03.22; Sat, 23 Apr 2022 07:03:38 -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 header.i=@gmail.com header.s=20210112 header.b=j6BV+kWR; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234301AbiDWI5I (ORCPT + 99 others); Sat, 23 Apr 2022 04:57:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234281AbiDWI5B (ORCPT ); Sat, 23 Apr 2022 04:57:01 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4163203F7E; Sat, 23 Apr 2022 01:54:04 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id v4so65936ljd.10; Sat, 23 Apr 2022 01:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=U+PN+GS0JECobt4d/ZN0bjvHqce0oNxs21CYm6No/tg=; b=j6BV+kWRL50dp4o5PLZRatbctyGekm6+QIrvMrBeksJYLLBx7OLhNmZYGDQsXsZ7mI B0UmHvIt2QSs7TyNZs4QkMGr6K2Pame2tQZtJBje2ZLYA8jUCph7OTP+nJc6g3zt0Dfg RmD3I3rs83kO9KIQn2ywUpTJpFeLdKtzjrQHc7og3aelNmgRmzxTMwrXO2aPr+vXc45K rDv/kGI316B+Qb2M4kI9CSpSNsrus73rDbr8KyWLj1w6kKM8RKNFRwbeowE7XWowSQVL p0doE1/b45THAJ1cs+l/k+NvP64cJISv6jdG4f4u/12gObntYtHPbIGRSLEb0BpbHchb m2AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=U+PN+GS0JECobt4d/ZN0bjvHqce0oNxs21CYm6No/tg=; b=1Gotm+NCnh0dfhFYyVhMDJGhGxtc7NzTrfNJCpS8MXspeTUD7z10NsZ1OHFj4xLdov t9SwXWeNE+SHowLbDKLZgLj9ImyZChJVt9u5oyvhqC/vrakSrNJh4SS0lsAkBxSwajTa QgNS6gnI8AIckbEylbeupZAvvuVzr1iOxV4rKVWhIQ1Q/X0hYHVClZqHoijMvspVGSM8 x7BcelBzBEQ2Lb7tLUF3g5x6/+FDs0fgrJsjXcisx4QJiJm4AzUYGlw/BeO+YbTP4jc4 hVXVMFvQnPYfNfpVPXT2vwNIsWILhD3ZwalCOUiNF+IAWQl5rjL2t+l+UvILPHF8TEds tYDA== X-Gm-Message-State: AOAM533njiL6YUa8jSS/1QZSP4pf6PXcW3SjSmOqvimlqqCdskRcR4eF sQdz0Kh1Jn/yJvd+TWrBOLWARcFo4Dg= X-Received: by 2002:a2e:bc05:0:b0:24b:212d:7521 with SMTP id b5-20020a2ebc05000000b0024b212d7521mr5083134ljf.243.1650704042927; Sat, 23 Apr 2022 01:54:02 -0700 (PDT) Received: from nergzd-desktop.localdomain ([194.39.226.133]) by smtp.gmail.com with ESMTPSA id p25-20020a2e9a99000000b0024dc3ccff47sm493677lji.32.2022.04.23.01.54.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Apr 2022 01:54:02 -0700 (PDT) From: Markuss Broks To: linux-kernel@vger.kernel.org Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Markuss Broks , Matti Vaittinen , Lee Jones , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , MyungJoo Ham , Chanwoo Choi , devicetree@vger.kernel.org Subject: [PATCH v5 2/5] dt-bindings: regulator: Add bindings for Silicon Mitus SM5703 regulators Date: Sat, 23 Apr 2022 11:53:15 +0300 Message-Id: <20220423085319.483524-3-markuss.broks@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220423085319.483524-1-markuss.broks@gmail.com> References: <20220423085319.483524-1-markuss.broks@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 This patch adds device-tree bindings for regulators on Silicon Mitus SM5703 MFD. Signed-off-by: Markuss Broks --- .../siliconmitus,sm5703-regulator.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml diff --git a/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml b/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml new file mode 100644 index 000000000000..75ff16b58000 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/siliconmitus,sm5703-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Silicon Mitus SM5703 multi function device regulators + +maintainers: + - Markuss Broks + +description: | + SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD + bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml + Regulator nodes should be named as USBLDO_, BUCK, VBUS, LDO_. + The definition for each of these nodes is defined using the standard + binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. + +properties: + buck: + type: object + $ref: regulators.yaml# + unevaluatedProperties: false + description: + Properties for the BUCK regulator. + + vbus: + type: object + $ref: regulators.yaml# + unevaluatedProperties: false + description: + Properties for the VBUS regulator. + +patternProperties: + "^ldo[1-3]$": + type: object + $ref: regulators.yaml# + unevaluatedProperties: false + description: + Properties for single LDO regulator. + + "^usbldo[1-2]$": + type: object + $ref: regulators.yaml# + unevaluatedProperties: false + description: + Properties for a single USBLDO regulator. + +additionalProperties: false -- 2.35.1