From patchwork Fri Sep 29 00:38:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anjelique Melendez X-Patchwork-Id: 146461 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3881894vqu; Fri, 29 Sep 2023 02:05:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmE0R9Qgku1KPgrBx49S81d+VFE7oH7Qqk6PXtivf4syw2e2rViITFyioXyhk/+LPcevP8 X-Received: by 2002:a05:6870:829e:b0:1d6:266b:e58a with SMTP id q30-20020a056870829e00b001d6266be58amr4221494oae.14.1695978306898; Fri, 29 Sep 2023 02:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695978306; cv=none; d=google.com; s=arc-20160816; b=g3Qj9u9H6ElLPi3E5MQc5PWvVXxst6qxmnhkJQDiEaKKFLVA6u81gwUrtTAe0s+fma 8B0pr8V/CbXvsdmX8eZbE1vdkWqYKos+lns0fF/WcPHQm0I55HaraZKp64M9Q3JrEw7m XnetBGBtwb4XxbZEouVI5LCotH8SlF7GC289SEMKcRgSyI52GcVf8D8HItbQEu+MTlyA 2eD5lb2qvDCwhj7kgF+gdXSjznH9nCgTXuCCup0qF1+WnNEGJnWiNnPSmCxuCtTTHajZ hCcHKc36FRrJ2Mes01pwqINb5xl24to39P1B54CUt1HKptSfsi1Pb/ESjMlz3+d0zUIu zNjg== 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=kpE5sCFq3dmk4U1+LA8mrhI3/a/VConRpuJvlSn/PyE=; fh=m1rXeCsFpvFfWEZy92oW1bQXXqbPAPKXqgwp92gSUNw=; b=rzSfO1tRP7W83VCfDmq8R24EdLX/HijKCa80/o0AlZy7B5OHzKjO2e9z6wWb92uMcP t/f8E/slkrdveDVFP2HmlbCFYUDtquw4wBdloVz73UkZciblcQMK59AQxWQtC7MF5PDs ETF6vE/53g5KLeKCJtjh/Y5Et2XKUFAiUHeV6cJsEB+GHYE6BvTpVcDYP2Y1GrmTl85Z +tNd3OW5JVQ3dTVzaM9LlFp6VNWeoAHzfnJNfm5/8szLAOHuHVZlrjSJQ4vBI5n0O/xz lSXmJlL1O1Qq3ln3Op22qYpMh9H0SXV0GWqqtaqUr07QjA0r/6W71o6GNIstzDgcndns dciw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EBmMeZER; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id l70-20020a639149000000b005774aba519asi1060594pge.118.2023.09.29.02.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:05:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EBmMeZER; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 97D538533B42; Thu, 28 Sep 2023 17:39:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232366AbjI2Ajm (ORCPT + 21 others); Thu, 28 Sep 2023 20:39:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbjI2Ajk (ORCPT ); Thu, 28 Sep 2023 20:39:40 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 420DD11F; Thu, 28 Sep 2023 17:39:39 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38T0MqhG024992; Fri, 29 Sep 2023 00:39:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=kpE5sCFq3dmk4U1+LA8mrhI3/a/VConRpuJvlSn/PyE=; b=EBmMeZERHSg3+dyTQqX+2es9q/CJRrUCq/WUoV27QUck/SmQheR9znuC8Wqq0sJXyaFC v19VImIbqpJdQqO+BQm6s+9Z/h/aXWKplw1OhfLYV7z7hukR33KLeC2MMcAtNuYadQHt /4uR/2fNKWi16q653hJCjNGGSpkquoHurKeVp9QM3g0aB9qRiCg4RJ0LfyzmpxBd/BuF ClvsP4jlbmPGs/w4/P4H+okJlO6YWAjgCoJbUzTxSJTsLlVwnplp8+gooSukcRRBN+15 NbyQ0vexZVWu/AFuTbUF73NbydfnShRsJlx1EgYr/brdckfRTxSXEiO7YUpDosrXGXuW wg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tcvg9ay71-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 00:39:28 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38T0dQWg025883 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 00:39:26 GMT Received: from hu-amelende-lv.qualcomm.com (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Thu, 28 Sep 2023 17:39:24 -0700 From: Anjelique Melendez To: , , , , , , , CC: , , , , , , , , , , , Anjelique Melendez , Krzysztof Kozlowski Subject: [PATCH v5 1/7] dt-bindings: soc: qcom: Add qcom,pbs bindings Date: Thu, 28 Sep 2023 17:38:54 -0700 Message-ID: <20230929003901.15086-2-quic_amelende@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230929003901.15086-1-quic_amelende@quicinc.com> References: <20230929003901.15086-1-quic_amelende@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: EzFopPYGVOMkDfi7c4JEmEuEOyU75hU4 X-Proofpoint-GUID: EzFopPYGVOMkDfi7c4JEmEuEOyU75hU4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-28_23,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 impostorscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309290002 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 17:39:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778362148963377395 X-GMAIL-MSGID: 1778362148963377395 Add binding for the Qualcomm Programmable Boot Sequencer device. Signed-off-by: Anjelique Melendez Reviewed-by: Krzysztof Kozlowski --- .../bindings/soc/qcom/qcom,pbs.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml new file mode 100644 index 000000000000..b502ca72266a --- /dev/null +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,pbs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. Programmable Boot Sequencer + +maintainers: + - Anjelique Melendez + +description: | + The Qualcomm Technologies, Inc. Programmable Boot Sequencer (PBS) + supports triggering power up and power down sequences for clients + upon request. + +properties: + compatible: + items: + - enum: + - qcom,pmi632-pbs + - const: qcom,pbs + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + pmic@0 { + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pbs@7400 { + compatible = "qcom,pmi632-pbs", "qcom,pbs"; + reg = <0x7400>; + }; + };