Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp31135lfe; Fri, 15 Apr 2022 18:01:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAAEE460Uu4994wkZ2+KS5F/JcwWgIFhin7s3DxRaUsf9YQWLuQ0AiDXZSHcPBCsk8Lxvd X-Received: by 2002:a65:6a07:0:b0:39d:8c35:426b with SMTP id m7-20020a656a07000000b0039d8c35426bmr1215671pgu.171.1650070885784; Fri, 15 Apr 2022 18:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650070885; cv=none; d=google.com; s=arc-20160816; b=bbLO0J7A1eLNOcgyX7eOZt5iHr2D9o02o/0A79xz0H3iadNmZSacIUUZr9Rtc6HSe8 gQHZGBN+kENDjaKfK4OJkCTmu2k2s7rZPDQxyFSGb8IoqbzcfiPcNfJS9Bxbq0tZS9+e V3jeiVMf+92G9lBnEBqYqkVJ4R1YH6LGbqPBtTF77Euqj6SWhlJezqP3WxFfYOg32nYU cVxaey15iPy6jVt/fmmDUUUfxWCxlKOE1+27LdD+WQcdnXV17YEGPNMcA3jYy9tCQfj3 jasRm4lnMRmDg88eGmouZDf3S6af8ZgGTlaSa71B8NlDEXxG7f0TrW+fEYPYlSu44CXN UK0Q== 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=/92dgGLUolkAH3AU+1is8vSs4x9gInGUtOx7kaljC1s=; b=IPiIDGaaQjPwvMmmYbdP8IKKm4QzyxR5hFVezG1Hu842t03uA97xVjaHDkhvsrfD7y LEcDXlM+tIPFRTxYI6k2ZA2D5uY23x4+iXm2LShzi1qfasGixJBiY6KKmNVA4V8FI3r+ zbWjY/36y0XSP3VOeJaSMHOO7hk/xD2a/fnvYkA4kUTPOspyguydAUYBVjDrorj+/lz+ nwW/acmoV6EQUOr78IpxwFvto5LRbw9HYIHa/F7PLPagYLBRuorZ2iwf/32mnmlgeMWx F2tPIkw8BbfueElVzaFeThyrO0JyNqKGXwpx6S4NHO9tVwIjQkIBXcfdMVMuTHWuUOKE u4dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Am27YhT/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k16-20020a056a00135000b004fa71774ff7si3072848pfu.66.2022.04.15.18.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 18:01:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Am27YhT/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1C9A72737; Fri, 15 Apr 2022 17:44:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355939AbiDOQqp (ORCPT + 99 others); Fri, 15 Apr 2022 12:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355917AbiDOQqh (ORCPT ); Fri, 15 Apr 2022 12:46:37 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DDDED5EA4; Fri, 15 Apr 2022 09:44:08 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 17so10069965lji.1; Fri, 15 Apr 2022 09:44:08 -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=/92dgGLUolkAH3AU+1is8vSs4x9gInGUtOx7kaljC1s=; b=Am27YhT/YQqKjARXR7UdZ55vxftUnAqRTESqB3PFnTudWku9ohh7f5BSNnI2F+mX14 BICwtF9+gFnQBTq2i15BwmwZ2iyYKXgMo2vup92dIUfiz7kG3M/kER+nSY2/GUzLxtek zmxxFrhPwrzB3TktO8i4bt+cFPcsmVIBGpeORHWwRIS/6LbCW/nAqWWGYUDiwJFrlO0C oC6tnjp2bOJGu7z1sjyC5h37WAUa6CpwbaHPSNoQmUElwovvJFMiXcLnzhVoAjcEWgUk 5MJw8vPZp4+Ptk5ZfardaLKMURaMSl9WdBSBULni46EIP9SZhlX4UP0fZgAcI7KuLPd6 9UrA== 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=/92dgGLUolkAH3AU+1is8vSs4x9gInGUtOx7kaljC1s=; b=bjGGj+RGjloDD2xJb0mboUp85MH2yLS9jTkx1Ruh8pEIiTEfBLN8YITRM+B2hvuTQu oXrA+nTp8OES5afSEzt3w/mxnTN7ZoLtcPIPCbVZCMZf3vTQc8RLCPMbjDnL/u0pxnuA sCqRy3i+2U9pFToh+eyHMTrQ6wKBXdGpPeVHq3zRiZad+Bhg0JZ/8n9DjTcqXBXsaBzu QduKcwTtBnSTGhCpWd8SGucc6mh6N4DHuY5A4cwjjqBSKjCAYXzZgMnzFXLvSmZ0HIuk BOLW9xViQq0+0N02ekf11P/VHSFx3dHOmD8qijHjQpZqfUgr+ua8QnxEv0krbJTjjxat 5AoA== X-Gm-Message-State: AOAM533pJka9EZtPUyXef8zV0NROFuNYu8joWJ+hmEzWvB826TA3Rd7y viq4PBY3x4U6TvgA1XNjHy5U88yazZ0= X-Received: by 2002:a2e:9e81:0:b0:24b:4d4:aba0 with SMTP id f1-20020a2e9e81000000b0024b04d4aba0mr2211ljk.283.1650041046777; Fri, 15 Apr 2022 09:44:06 -0700 (PDT) Received: from nergzd-desktop.localdomain ([194.39.226.133]) by smtp.gmail.com with ESMTPSA id h22-20020a056512339600b0046bc4ceaeb6sm383787lfg.27.2022.04.15.09.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 09:44:06 -0700 (PDT) From: Markuss Broks To: linux-kernel@vger.kernel.org Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Markuss Broks , Lee Jones , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org Subject: [PATCH v3 1/4] dt-bindings: regulator: Add bindings for Silicon Mitus SM5703 regulators Date: Fri, 15 Apr 2022 19:43:52 +0300 Message-Id: <20220415164356.25165-2-markuss.broks@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220415164356.25165-1-markuss.broks@gmail.com> References: <20220415164356.25165-1-markuss.broks@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 | 48 +++++++++++++++++++ 1 file changed, 48 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..560df4c020ca --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml @@ -0,0 +1,48 @@ +# 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: + compatible: + const: siliconmitus,sm5703-regulator + + buck: + type: object + $ref: regulator.yaml# + description: + Properties for the BUCK regulator. + + vbus: + type: object + $ref: regulator.yaml# + description: + Properties for the VBUS regulator. + +patternProperties: + "^ldo[1-3]$": + type: object + $ref: regulator.yaml# + description: + Properties for single LDO regulator. + + "^usbldo[1-2]$": + type: object + $ref: regulator.yaml# + description: + Properties for a single USBLDO regulator. + +additionalProperties: false -- 2.35.1