Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3060741iob; Sun, 1 May 2022 05:46:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzBzs4POSburlwrSxRtKNQQz0L9hLUe11vFy22mCTSiRagwoGfckX8mn7BeCBZvMMy06Qu X-Received: by 2002:a05:6512:3204:b0:472:4792:e29c with SMTP id d4-20020a056512320400b004724792e29cmr6037283lfe.553.1651409162353; Sun, 01 May 2022 05:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651409162; cv=none; d=google.com; s=arc-20160816; b=yRdiiB+uCBcnFYBsntkmw9TLYS6eDvMOhe8p6of2FexZanvYIWXawzHnOHP8Ia/meJ BANcbJIP5Dq8DJuKsNvqElg9oaCpx4FT7OACWLSsvtk4RAMiWZjrHY7B9yxub0W9Eha0 50wmrjPcUlXRM47KwQ4TuPUTht8xI8jLU+woxJvR+8vRwtSksLeNLwZjOLu0JtR1RatD ASwGWjW/KIty2jIVVsPur+lo5v/WmUwx/EXV1wzrK9AuoZpStlerAXx7sN2dfznIvr7A zjdjiiGADNzkfCY79eh0Oj9ZQWeBkPFCIHHusdksPjSwud3FzVOx7RiIH2yFpNeFYQDc +Zhg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Qf3Gnh0r/kH14MrLVG6iizA1sf1487qOGLkcc43P0Os=; b=PFChRg3W1GsN0Vhbu3l51XXJWERdZeYGR/WLagrTmkD5Ehp5kEMRMXZufhZ+zny4i+ gtYLG1VACOPPgLkfUi0D2HGLgW018uIR3lTBl7+A/nNUepVogpuvAfZDTt/Jdak/1aC1 UimlWuKmqkdu+shpW00StOimQWX3Q1y7gKgFN6qZVLhDY0LDiOHYJqnkHzc56jK6pByU a6R0X5LyLA4IDuiuQRCPQsid+bSuEG5CSAFwUsBleBK6VClTxCVAurSotNtW7PMUwuWg S53uv9i88W+EIHPKrVwjyHFpwsUDcG487m7XxGXYs4VZVuTDWr3HhpXslcSLzwgxVsyX yxHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eR7O1MdI; 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 e4-20020a2e8ec4000000b0024f131266e0si13480290ljl.572.2022.05.01.05.45.35; Sun, 01 May 2022 05:46:02 -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=eR7O1MdI; 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 S1358577AbiD2LnO (ORCPT + 99 others); Fri, 29 Apr 2022 07:43:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233241AbiD2LnM (ORCPT ); Fri, 29 Apr 2022 07:43:12 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27221C6671; Fri, 29 Apr 2022 04:39:54 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id y19so10180697ljd.4; Fri, 29 Apr 2022 04:39:54 -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:mime-version :content-transfer-encoding; bh=Qf3Gnh0r/kH14MrLVG6iizA1sf1487qOGLkcc43P0Os=; b=eR7O1MdIebnFj/Ml1zaxjL6DtmxxNFs71Suhqc/MESprUhT4GvoW/kWqjAoSoQJ45F y8i++NF841lIoNyIROqh/4dmZS7WJT8UL8Xs30lUixnsXqvcmeWjaRsgmetNVXSrji/X gSZnWf9mbdrTBFt0y5hBR5DyZT6TL5aD0vZXUt4geDCGTf9qfYbh8DCybGMW0vRCiVoh zDjxEsMK8rocGKJxs1Mud1dFZc784/f8QPPiABKHTXZr8K5Jzukir2q4p1FHuOQIRPpi RUFNI+ccskbIehnBa5lbqUmx1GICY3elF6ltEXMKS5E6kU8Vax2P3VIsItLf3xugp7/U gx7A== 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:mime-version :content-transfer-encoding; bh=Qf3Gnh0r/kH14MrLVG6iizA1sf1487qOGLkcc43P0Os=; b=eZBDutbVUq718a8rPaStGzjPQ1pf4K3oroVNe5+UF3VtGsnbTGcIIZs7eAzdJTrbOs mDvxp1SP0M+V8RdzbAmMDAwqGGBOflH7pVK+wJEpY5MpzyACxpOtQ3lnu1cCYdJrCgm5 5tNl//sr0YLXgAD3Bnj3KJP5wXxjeQxSGFytNGK8XL1uKvwUAXnc1GLyt8/okz12dJx/ XQ4wJXldkDoiU1M54bZhksioe9LoxN879Aqxl8dB6eChf6cgdTLXVAd7+f9rA17HwxeU 5yc8HW8V0E07emBhTMOiCcNwfWMLelLfISOYXVURb/aYrxoi5aFDoFEp4tBbqmONLpkw hQ4A== X-Gm-Message-State: AOAM533aALrR/NLqj2PqdA0+YjmhVjeAXbGwowgeLHUnrKgpFiCWBo7B Nc/tEmVna/HNXxiVXpMUwDNsIlhkyrI= X-Received: by 2002:a2e:a604:0:b0:24f:d33:6d7a with SMTP id v4-20020a2ea604000000b0024f0d336d7amr19272898ljp.117.1651232392220; Fri, 29 Apr 2022 04:39:52 -0700 (PDT) Received: from nergzd-desktop.localdomain ([194.39.226.133]) by smtp.gmail.com with ESMTPSA id v3-20020a196103000000b00472030b7f61sm217972lfb.270.2022.04.29.04.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 04:39:51 -0700 (PDT) From: Markuss Broks To: linux-kernel@vger.kernel.org, robh+dt@kernel.org, lee.jones@linaro.org, broonie@kernel.org Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Markuss Broks , Krzysztof Kozlowski , Liam Girdwood , MyungJoo Ham , Chanwoo Choi , devicetree@vger.kernel.org Subject: [PATCH v6 2/5] dt-bindings: regulator: Add bindings for Silicon Mitus SM5703 regulators Date: Fri, 29 Apr 2022 14:39:25 +0300 Message-Id: <20220429113927.5145-1-markuss.broks@gmail.com> X-Mailer: git-send-email 2.35.1 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 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..9d84117530ca --- /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: regulator.yaml# + unevaluatedProperties: false + description: + Properties for the BUCK regulator. + + vbus: + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for the VBUS regulator. + +patternProperties: + "^ldo[1-3]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single LDO regulator. + + "^usbldo[1-2]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for a single USBLDO regulator. + +additionalProperties: false -- 2.35.1