Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp5206391pxb; Tue, 5 Oct 2021 20:55:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwh1lCvyoRXBGZOc3IbOdeOfzIB4Y5UjOXNxgG/hJkr7nWc+xiSMO/yhvqHFSjt9Pqn+c5H X-Received: by 2002:a05:6a00:1484:b0:44c:85f9:55b6 with SMTP id v4-20020a056a00148400b0044c85f955b6mr5652374pfu.54.1633492545320; Tue, 05 Oct 2021 20:55:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633492545; cv=none; d=google.com; s=arc-20160816; b=o1Aizu+1qHZ8rcM4DH8W32Pe29EizdOce5HsnXs3jUZ7ZzKg+QjfVam2Cqr7k/6mck c21vOVe5+FQiAuuDdE/Wu5OUKPZHMWqmtHGTNfLV1WyFqPUBPsigGsPyFzv19VdSM8Vt ezS5wtC9Fwz7vBF01vCMvYWnm1u1V71ZISRB/ldmvWJjgoK/k1GIvbQf5oebF/63qQGw /WDmF03W1IqhmDNoVXduMvHEo+Z/ElY3FpLPzyOeHX+Z6JnzsWKFQrkJUQ5RxqmWhlo8 AoYOnehmIvg+J9HmLS21i2XnHffsMr3O/6OcNRe4AHfkOHa985RBDP2vkoRFiCyxe4VZ gOTw== 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=0QbCWpC0YUHd4oM8ALhGkUXV2GRwREBEvhvGaNVxQyo=; b=LvqaYctw/72abRu2kGzQoVmt/kxxzUCiZGLXpxAf75TzIGHoDcIuMXI+N3x72PmBK/ LP/nOs/pJoPDOEvgBZFbkzGE7HZiJMhDEdI74xf0Z9oHC4wCC6v/3uq2hcaQWmlQd09A BWUidHXcvycKrcr0RIrb9sbLpYF1mDX60h5hzf5flfGgt4XPKCYy9UrKiqNXR3vagPyK Pt9NODsGYt8c41ArWuWVzJ8UV5YIzCgK2aicqYwZznqdDXgTcydd471IjTsrZsUJnvXv 8B6+BwDAg4XDg7tc3E6DZOlMN4qS3supQm2gIwJzEfJoVAa5XVr2Cj3cgTmLN6ZqP8/y hykg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=he2kT439; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si23957133plb.369.2021.10.05.20.55.33; Tue, 05 Oct 2021 20:55:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=he2kT439; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237400AbhJFD4M (ORCPT + 99 others); Tue, 5 Oct 2021 23:56:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230527AbhJFD4F (ORCPT ); Tue, 5 Oct 2021 23:56:05 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1E77C061749 for ; Tue, 5 Oct 2021 20:54:13 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id t9so4631894lfd.1 for ; Tue, 05 Oct 2021 20:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0QbCWpC0YUHd4oM8ALhGkUXV2GRwREBEvhvGaNVxQyo=; b=he2kT439AhNtxiuqDLrNaZpNYt38+4H16zAkk/pYeKvytO6jQI9YrfDulq+/ku2ae6 QcjskLIWgJBzMoIQi0R91D2cctBB27lEMBdcuYBNl1HRLoyuq5WQRO/M8fZI0e/eaEWd sINOv6L6kKh0sh5q3Gj4F1V2jcH1vNu7KSKbOJFm7UG2hdj6vvWkvE73ie0jGA+nIM0Y t6Z1V4bddNVkkWhw8u7pOiI2jhSPajejhaCgdcxmdmpZkHfz35vCMKx36LYu5awMpEY2 nVj9Hb4/4m9nCEHG9DRzBH3FEma/IlB2fgdRMh3xMWOJE1+ti3mLeKUTppV80/OiPgZ5 eS1w== 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=0QbCWpC0YUHd4oM8ALhGkUXV2GRwREBEvhvGaNVxQyo=; b=RdExO42A5Lm3w50CXNjsz/F51QIfJnAC5zuGpKQQ7RlUb7f0smtOKbUWMMEcYDCkFE 6DPgWywPWrn/GUm9w+4fA00xxbB/0ZOku9H/4rp+R/9ynCiXsKi2lKL+uFiGWMEujyZA l29aU3lfgGYgLu8syoaOHHV1xgRdr060hfPQ0m3wAYfUWLy9S7zZOV39wmtg5y/jUiMX amndq6XU+EidBhYx9vEZaqI8YclVqSUDmn8n6q8rU+VBhqdgnKlBctnKvBTp6IqsS4sj ybuvJQv0YnZUpzYH6uSAQAgAV6KBa/2/ShZ2g3+z38+SIAiA99Tf5xW5k2OabH6l2zwy yz2Q== X-Gm-Message-State: AOAM530nkQ61euSWtI+aoe5mPM48vcMQzvkE6uWTxHMcnsjIc8b/SuIn VYx7sRlp2Is38MlwfkI+oexlyQ== X-Received: by 2002:a2e:550:: with SMTP id 77mr27560874ljf.478.1633492452244; Tue, 05 Oct 2021 20:54:12 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm2142967lfd.103.2021.10.05.20.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 20:54:11 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Ulf Hansson , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Kalle Valo , "David S. Miller" , Jakub Kicinski , Stanimir Varbanov Cc: linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1 01/15] dt-bindings: add pwrseq device tree bindings Date: Wed, 6 Oct 2021 06:53:53 +0300 Message-Id: <20211006035407.1147909-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> References: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings for the new power sequencer subsystem. Consumers would reference pwrseq nodes using "foo-pwrseq" properties. Providers would use '#pwrseq-cells' property to declare the amount of cells in the pwrseq specifier. Signed-off-by: Dmitry Baryshkov --- .../bindings/power/pwrseq/pwrseq.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/pwrseq/pwrseq.yaml diff --git a/Documentation/devicetree/bindings/power/pwrseq/pwrseq.yaml b/Documentation/devicetree/bindings/power/pwrseq/pwrseq.yaml new file mode 100644 index 000000000000..4a8f6c0218bf --- /dev/null +++ b/Documentation/devicetree/bindings/power/pwrseq/pwrseq.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/pwrseq/pwrseq.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Power Sequencer devices + +maintainers: + - Dmitry Baryshkov + +properties: + "#powerseq-cells": + description: + Number of cells in a pwrseq specifier. + +patternProperties: + ".*-pwrseq$": + description: Power sequencer supply phandle(s) for this node + +additionalProperties: true + +examples: + - | + qca_pwrseq: qca-pwrseq { + #pwrseq-cells = <1>; + }; + + bluetooth { + bt-pwrseq = <&qca_pwrseq 1>; + }; +... -- 2.33.0