From patchwork Fri Oct 20 18:22:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anjelique Melendez X-Patchwork-Id: 156255 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp1245312vqb; Fri, 20 Oct 2023 11:23:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1nfBYIFq4VdCFGfsi53xutpUwveWJub+xyu4P5p1019zgk/3rmeNNpgld3TeE24dfFcJo X-Received: by 2002:a05:6a21:a593:b0:16b:74db:8fe1 with SMTP id gd19-20020a056a21a59300b0016b74db8fe1mr3132951pzc.29.1697826192231; Fri, 20 Oct 2023 11:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697826192; cv=none; d=google.com; s=arc-20160816; b=pnZhHpXB4qiQHObrJoJHHO49yiwzT2wfIj9gW0XR2+joeoBYg2Sj4c81tjUJlF5XOP NyRnuDDrBXFVNe2R3VvSrk0a0FR1VEDefLzVxUY02n3kOlENmu6mMYVXelPWi6/BGZMa jvYhrC6GTMruJi+vvEalHjyopqxALgHWOx5xXY/AJCIWeBMkaedbOgXtdovyh42NyUrW bJhxx6uscv3rOshX22qXOmr18oDulWQi1RYbffRoTDnvePUrIDHsJamqlJk3MnU8Edyc z0zwze/IoEUaAzrW78PfAa+qCN32myrSXkN0ypmZTTaD5B290PptGMferAuiVQ2dhaPe biow== 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=LW86hCydP2Uyk/rGZkGVwEbU1MTfo4G9BbiLErTllnw=; b=sZlVz/j+wFpuFqMRePylYmvn1tJxtEwlxx5YMY1bv0tex3WYBDbF87AbYDEyxwGGwj aLXbuNqSTM4M0xowimvgOYzNYkNVGzCxNdtIq0pZIhLGUIgjrud/zNNfKb47W2U9sBYz g9vUaLirldr9ZtbFkfsWbRkH2U61QzH6uHRsdAHm68GHzVQ9ZFVr7gIxc82xDje+cfNB 3R/QEywkvMm+ib8V9SkbwEONC4Tnvs44Am9A11JeP1TXn+QFu4tzSt0i705+awRn9iEL N2kWqNl0v2Cm5gbIDwuvXUQJK08GL4bcRKrXOByYsxfvm9p2I0aLUPi01Zh0C99WaRjo 6cAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CuK2wEKx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bz39-20020a056a02062700b005648b1d63aasi2611428pgb.553.2023.10.20.11.23.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 11:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CuK2wEKx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 9C1458313353; Fri, 20 Oct 2023 11:23:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229836AbjJTSXB (ORCPT + 26 others); Fri, 20 Oct 2023 14:23:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjJTSWz (ORCPT ); Fri, 20 Oct 2023 14:22:55 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3901FD5F; Fri, 20 Oct 2023 11:22:53 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39KHNkqC003977; Fri, 20 Oct 2023 18:22:43 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=CuK2wEKxNzKMM2QLXbhhS6aamnQpHSQEAG9RDwPZ33+lHPIMf2Z7oSUAuQLbdHsKuWXl UJPwhuX7X9QUWNk2mEtm2EJJRA3vyLhF61Rqpo2CZ4e2sVnCQqrtef8PGUfKy90Pz0eq y3B+RbICwb+x3o5v+tBKXVHK0UhDwaEERehHq4+Kvsz9NwaV6vmBTUCW0iADFBLLN6tY LtyXAFt/+TFkgvmiIC5VOauZzUbjkX9QcF9Fk4sjOmwLHx/Mjr8iFpde15xESbG5at2s S6St92q+NB8tmAeL1dl9TQ7fTYnHVInmeQs4uC8sBGNbuVN6fPmzRpcjrrV25+zzE/5U yw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tubxhatds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Oct 2023 18:22:43 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39KIMfPA009055 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Oct 2023 18:22:41 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.39; Fri, 20 Oct 2023 11:22:41 -0700 From: Anjelique Melendez To: , , , , , , , CC: , , , , , , , , , , "Anjelique Melendez" , Krzysztof Kozlowski Subject: [PATCH v6 1/7] dt-bindings: soc: qcom: Add qcom,pbs bindings Date: Fri, 20 Oct 2023 11:22:11 -0700 Message-ID: <20231020182218.22217-2-quic_amelende@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231020182218.22217-1-quic_amelende@quicinc.com> References: <20231020182218.22217-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-GUID: CbRF4IjdlXuUU5OI7opNvZGMnPLUnc2V X-Proofpoint-ORIG-GUID: CbRF4IjdlXuUU5OI7opNvZGMnPLUnc2V X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-20_10,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 phishscore=0 bulkscore=0 priorityscore=1501 spamscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310200154 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 (snail.vger.email [0.0.0.0]); Fri, 20 Oct 2023 11:23:08 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780299797390468849 X-GMAIL-MSGID: 1780299797390468849 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>; + }; + };