Message ID | 20230725193423.25047-2-quic_amelende@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2691570vqg; Tue, 25 Jul 2023 12:38:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlH2ly8s6001VeWvgSHUeEbMiRN0W8j+CyEzyiBm7JMgPDsJU2W/HE8qqg93+JOIIBVDiwwd X-Received: by 2002:a05:6a00:c93:b0:668:69fa:f78f with SMTP id a19-20020a056a000c9300b0066869faf78fmr184977pfv.1.1690313917872; Tue, 25 Jul 2023 12:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690313917; cv=none; d=google.com; s=arc-20160816; b=pOFWXMG9diYMEw/unMxiq3VGrwa0p+iPXKsUN+/2zbaa7RG+tBo2QUkX3Qqk8Xw3qm qp80c2V0AJWtxkyF2GP1qdZ1ysBzAg/arogOQ6xe860AOk4XVPzHUhYLhCK7qJ/ipS5w OYSCkw7HSJu9LWBAPH8P4KiNilWj1rxntrYoB4fN63xgvMaE8K6HLrwXjxeuse25T91/ 5ZUDFFM3HYa+54+m3PlP7E86uYB8gWPiKEiYDAAbshqIDxYStYj6RZ8LZkjUchPsx5f1 YhFITB09Gq3pTbcWHUSkabuEvf22kt6iIsFY2fe0IhbNTzjzqakKFVGUidNTwq7PlquF bzrA== 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=QtJF5wgaBvehP7d9fsxXQtjfvf/fr8L0A/2icee2Sa8=; fh=e9QPDPfZqr2INXAAFs0dB1hDuKVrayNdZis8MpQoYQo=; b=AuTQxIyTW1k2lHqEpbLqsL2YVkP55SsBoXPWBr7zFZiDl4gMyoRTFKqk1uyJ3OUBHT H36/AB31ZrJXlPdhb3nnHyh53ywEdsFH5buhqQ75fVwNNMKWOzzr4wMsUOYkzQMet6/I 8vVTqBDjemZDrI0stAKyO4qdpdqdcX0o6Jo/5LbCcO37Rl0lWOTuFlrjdjnToOz0B3Sd d+mv31E8kq3VNRezfsTU2WmIS3T+8vCR15ATTQNAndKCJ/bKwXpBFJWQHOFiw0mVzmTw d/qRRG4pGmdRNpxZQxXIVKZvE/5TASHv6Lk/ZK8OM6s82H7Sx0UxBo2Xdwmvto8SvH5J HcKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="id/gCFnp"; 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=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8-20020a056a00248800b00682d2ab09dbsi12307932pfv.306.2023.07.25.12.38.24; Tue, 25 Jul 2023 12:38:37 -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=@quicinc.com header.s=qcppdkim1 header.b="id/gCFnp"; 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=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbjGYTgR (ORCPT <rfc822;kautuk.consul.80@gmail.com> + 99 others); Tue, 25 Jul 2023 15:36:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbjGYTgQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Jul 2023 15:36:16 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72ED52102; Tue, 25 Jul 2023 12:36:13 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36PF1Wnd024140; Tue, 25 Jul 2023 19:36:03 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=QtJF5wgaBvehP7d9fsxXQtjfvf/fr8L0A/2icee2Sa8=; b=id/gCFnpVDejCSvs25PSe0ZBLVn/6VpS+96+fwL+Qtlql3WzzdoZBf0T3VDSXw84DZYW t4S8IikPkAut0VOL9zKM99uoU5YT/jSm/0iZTfj+6dseCfrTibSYr5bUJSknqCCyXzK+ k5tPCSh3+9LG5W2cFV8HonlDwqIcVkqIonqk/Nlx4P+leMK6a4fDvphrTyYjAU9uWSc/ mX3IronEOQXzDD/fjDUz8l5YLydqtenFpyqQLsHpxcEa5PvBOCA6ARb3FEmtcQTHqlpf AamvRWOJKlYD/LukEfxUCXyNd4P3IMkDlL4fpKqfSTDyjHYDjcNFkopfSKaTWhQUv5h8 uw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s2gp1rjyh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Jul 2023 19:36:03 +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 36PJa2TQ029070 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Jul 2023 19:36:02 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.30; Tue, 25 Jul 2023 12:36:01 -0700 From: Anjelique Melendez <quic_amelende@quicinc.com> To: <pavel@ucw.cz>, <lee@kernel.org>, <thierry.reding@gmail.com>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <agross@kernel.org>, <andersson@kernel.org> CC: <luca.weiss@fairphone.com>, <konrad.dybcio@linaro.org>, <u.kleine-koenig@pengutronix.de>, <quic_subbaram@quicinc.com>, <linux-leds@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <linux-pwm@vger.kernel.org>, Anjelique Melendez <quic_amelende@quicinc.com> Subject: [PATCH v2 1/7] dt-bindings: soc: qcom: Add qcom-pbs bindings Date: Tue, 25 Jul 2023 12:34:17 -0700 Message-ID: <20230725193423.25047-2-quic_amelende@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230725193423.25047-1-quic_amelende@quicinc.com> References: <20230725193423.25047-1-quic_amelende@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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: AwYNbJN1cCraSszhwpHM4ZcZyOBOjTux X-Proofpoint-ORIG-GUID: AwYNbJN1cCraSszhwpHM4ZcZyOBOjTux X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-25_10,2023-07-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 clxscore=1015 lowpriorityscore=0 bulkscore=0 phishscore=0 malwarescore=0 spamscore=0 suspectscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307250168 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772422606716380129 X-GMAIL-MSGID: 1772422606716380129 |
Series |
Add support for LUT PPG
|
|
Commit Message
Anjelique Melendez
July 25, 2023, 7:34 p.m. UTC
Add binding for the Qualcomm Programmable Boot Sequencer device.
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
---
.../bindings/soc/qcom/qcom-pbs.yaml | 40 +++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom-pbs.yaml
Comments
On Tue, 25 Jul 2023 12:34:17 -0700, Anjelique Melendez wrote: > Add binding for the Qualcomm Programmable Boot Sequencer device. > > Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com> > --- > .../bindings/soc/qcom/qcom-pbs.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom-pbs.yaml > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: Documentation/devicetree/bindings/soc/qcom/qcom-pbs.example.dts:18.16-26.11: Warning (unit_address_vs_reg): /example-0/pmic@0: node has a unit name, but no reg or ranges property doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230725193423.25047-2-quic_amelende@quicinc.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
On 25/07/2023 21:34, Anjelique Melendez wrote: > Add binding for the Qualcomm Programmable Boot Sequencer device. > > Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com> > --- > .../bindings/soc/qcom/qcom-pbs.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom-pbs.yaml Again not tested. Also, you missed comments. :( This is a friendly reminder during the review process. It seems my previous comments were not fully addressed. Maybe my feedback got lost between the quotes, maybe you just forgot to apply it. Please go back to the previous discussion and either implement all requested changes or keep discussing them. Thank you. Best regards, Krzysztof
On 7/26/2023 12:53 AM, Krzysztof Kozlowski wrote: > On 25/07/2023 21:34, Anjelique Melendez wrote: >> Add binding for the Qualcomm Programmable Boot Sequencer device. >> >> Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com> >> --- >> .../bindings/soc/qcom/qcom-pbs.yaml | 40 +++++++++++++++++++ >> 1 file changed, 40 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom-pbs.yaml > > > Again not tested. > > Also, you missed comments. :( > > This is a friendly reminder during the review process. > > It seems my previous comments were not fully addressed. Maybe my > feedback got lost between the quotes, maybe you just forgot to apply it. > Please go back to the previous discussion and either implement all > requested changes or keep discussing them. > > Thank you. > > > Best regards, > Krzysztof > Hi Krzysztof, Sorry about the testing, found that my dt_binding_checker was out dated and that is why it has not been picking up those dt_binding errors :/ I went back to take a look at the original comments I missed and just wanted to list them for a quick double check. 1. Rename binding to be qcom,pbs so that it matches compatible 2. Include Soc specific compatibles i.e. compatible: items: - enum: - qcom,pmi632-pbs - const: qcom,pbs 3. Fix the example node Thanks, Anjelique
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..753a3e9cc5fe --- /dev/null +++ b/Documentation/devicetree/bindings/soc/qcom/qcom-pbs.yaml @@ -0,0 +1,40 @@ +# 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 <quic_amelende@quicinc.com> + +description: | + The Qualcomm Technologies, Inc. Programmable Boot Sequencer (PBS) + supports triggering power up and power down sequences for clients + upon request. + +properties: + compatible: + const: qcom,pmi632-pbs + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pmic@0 { + #address-cells = <1>; + #size-cells = <0>; + + pbs@7400 { + compatible = "qcom,pmi632-pbs"; + reg = <0x7400>; + }; + };