Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp155169imn; Mon, 25 Jul 2022 12:29:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v4i98FHX512YCvm7Xp7R5+464hLLkXlNC0BHSkXhcv5cELupe7PMihLC/Bsc7UYJtDaze+ X-Received: by 2002:a17:902:d5c7:b0:16c:131:7409 with SMTP id g7-20020a170902d5c700b0016c01317409mr13785252plh.80.1658777391197; Mon, 25 Jul 2022 12:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658777391; cv=none; d=google.com; s=arc-20160816; b=x9hoFVEXJl3Q+pKGxe8mXe8ZXe86W9iZzKR3QHEyV2vvPDaQ1y6vXCUCHrekrc86hy 29RWHXHJYRoBb4IqUadULp8o5zAQFQIlSJYAVqqRxc6jMgxo5hZQOtaBsMSEVqxgUucs z4Mq+Um6TlJNTB6xSK5yrlJVYH6qS8qNGf4kEwNRbOSvjOvr/CqZh3y+rpnuMnmuTfeR z9xcJLlUKkyFCytjV+eHqBx2mRXxwLleuWCPa4JDtrAKLXUqrTLSIOmn6ccfHYbsIom6 FxDDqmQfS07N+oZmM/n+H6g2WmI4VVpXpdFJ8uFKleDtBPGG5cfaiSo8oy/GA3ehOWXA ngEQ== 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=P4Le5PcL1fFzKUHPMLPQL/+8TuKIOpHE90Y6Qri3JA4=; b=kriTJEgBP+XXdgvGxUmPtp2iZhTB90jtPNZic4/FKW5/dzyzVFJrwD3ZvgOQoUmU1V 0PwpszsPF/EeAHe8x4lSmF7Kgsjn2k+MKO/4R/2dHoZRxqtEAAA8pw/gpYtqSogy+YGp fWCtTmo/GmL57VgE/yDDNNzKjXX3gjPOocvxpcDTpxjQfnu1zlyNz/+ADM5IWBzrLWab uxXxjhqEIIxAQg4PDwHf9NVAcpkRrcB9JiPvw0JJF2xL+TesSCL56Hq0JVRTNlz6g0ZT B8tZe9bh91YhaQn3oRuQICN1IdOVf84+IbhvnxIvKbjalSxQa9TBw+T+o1jksYN52Mwv OIkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OemFMgPv; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv24-20020a17090af19800b001f22b47541bsi13107117pjb.158.2022.07.25.12.29.35; Mon, 25 Jul 2022 12:29:51 -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=OemFMgPv; 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 S231831AbiGYTPg (ORCPT + 99 others); Mon, 25 Jul 2022 15:15:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236396AbiGYTP3 (ORCPT ); Mon, 25 Jul 2022 15:15:29 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 470926428; Mon, 25 Jul 2022 12:15:27 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26PCXCOk014090; Mon, 25 Jul 2022 19:15:23 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=P4Le5PcL1fFzKUHPMLPQL/+8TuKIOpHE90Y6Qri3JA4=; b=OemFMgPvg44wsCMszaejmE21s59qx89/s/t1qy6z+gsfdO8JWO22tI0xpghJMFPMVTgn opUOf5fxsm9oHnbWJ1lmh95v+91PUAw/eBTOszZ5srR4+pANjrfZXtFvH+AKFddhaKLF vYz5cnEQGngJfc9AdoOFjaxbtglEAEjuUmtcSHxTaATuaRzWE6JHNxcwFV+8OxkUPdRB vD2wBE8bjmYhPrIqNz5sKS5aavMQRK1Rj6wAs9WQascH3mihzLH+Bc0/sPkHelw0Bd6R okQQ2u3MTJ8VOjpznULENvA3XdyhWO/H0397Dzcr/Fz1I8LiMlyXaxZizPUsle/3DJRR vw== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3hg8k6wg1v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Jul 2022 19:15:23 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.47.97.222]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 26PJFLbx021864 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Jul 2022 19:15:21 GMT Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 25 Jul 2022 12:15:21 -0700 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.986.22; Mon, 25 Jul 2022 12:15:21 -0700 From: Anjelique Melendez To: , , , , CC: , , , , , , , David Collins , Anjelique Melendez Subject: [PATCH v4 1/2] dt-bindings: power: reset: qcom-pon: update "reg" property details Date: Mon, 25 Jul 2022 12:13:15 -0700 Message-ID: <20220725191314.19456-2-quic_amelende@quicinc.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220725191314.19456-1-quic_amelende@quicinc.com> References: <20220725191314.19456-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: nalasex01c.na.qualcomm.com (10.47.97.35) 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: f73bndWjpuBMbLRjCFcXqZWiMZ9_Ez6b X-Proofpoint-ORIG-GUID: f73bndWjpuBMbLRjCFcXqZWiMZ9_Ez6b X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-25_12,2022-07-25_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 impostorscore=0 bulkscore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207250079 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_NONE, 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 From: David Collins Update the description of "reg" property to add the PON_PBS base address along with PON_HLOS base address. Also add "reg-names" property constraints. Signed-off-by: David Collins Signed-off-by: Anjelique Melendez --- Documentation/devicetree/bindings/power/reset/qcom,pon.yaml | 50 +++++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml index 353f155d..d7b6b875 100644 --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml @@ -15,18 +15,27 @@ description: | This DT node has pwrkey and resin as sub nodes. -allOf: - - $ref: reboot-mode.yaml# - properties: compatible: enum: - qcom,pm8916-pon - qcom,pms405-pon - qcom,pm8998-pon + - qcom,pmk8350-pon reg: - maxItems: 1 + description: | + Specifies the SPMI base address for the PON (power-on) peripheral. For + PMICs that have the PON peripheral (GEN3) split into PON_HLOS and PON_PBS + (e.g. PMK8350), this can hold addresses of both PON_HLOS and PON_PBS + peripherals. In that case, the PON_PBS address needs to be specified to + facilitate software debouncing on some PMIC. + minItems: 1 + maxItems: 2 + + reg-names: + minItems: 1 + maxItems: 2 pwrkey: type: object @@ -42,6 +51,39 @@ required: unevaluatedProperties: false +allOf: + - $ref: reboot-mode.yaml# + - if: + properties: + compatible: + contains: + enum: + - qcom,pm8916-pon + - qcom,pms405-pon + - qcom,pm8998-pon + then: + properties: + reg: + maxItems: 1 + reg-names: + items: + - const: pon + - if: + properties: + compatible: + contains: + const: qcom,pmk8350-pon + then: + properties: + reg: + minItems: 1 + maxItems: 2 + reg-names: + minItems: 1 + items: + - const: hlos + - const: pbs + examples: - | #include -- 2.35.1