Message ID | 20231031-ref-reboot-mode-v1-1-18dde4faf7e8@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b90f:0:b0:403:3b70:6f57 with SMTP id t15csp433127vqg; Tue, 31 Oct 2023 11:27:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFFzuma3uvMYvkAKM6Dd6/Hu4HebZYfJ5u4/25ydFRb53YxWjbHkTLdE+Gf6x+zI825RGo0 X-Received: by 2002:a05:6a20:5645:b0:17e:4f56:f5be with SMTP id is5-20020a056a20564500b0017e4f56f5bemr12746010pzc.22.1698776841112; Tue, 31 Oct 2023 11:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698776841; cv=none; d=google.com; s=arc-20160816; b=pN1OLrz10ZeGE4Bax2ptIxYFa/HTafmUgYgEia8dwrOFQNo3m1iYBiSnY6X4oSXF3X sDtTOAh5Q+73veMprpkITEmfD2lPkjUBZzATG4PIm187/9t8+kLRzx1RngN4cba6gNun QZrXB/bNp1inAFWmkXsDkUqhZAxSXc76Rn0dm1mHHWa103iBa61FkGmf+jLaRXJJCYqj mjTzxHL4um/8oF0h5h370yBQ1haIMQkFPO7bzRQ2n/4ECc9rPN2QwiXna7PEAa/U0x0p Ca2JB128PWT12Nq7wsNlnNupl2MsI0V5eCl7Admm9MN7nfQNvUZviln0sdfUmBRNhodn e3jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=1aiqPfkqrfk24xscMr9ACJG5fDGrPxUrkLLtvpjW5+c=; fh=BjK0BzO6B6IrtQ5ESZL7qk9O75YKtjai/G2GMolrAwY=; b=hL2xxEai9Xl79ni9IUeZyTMxFXc7ke2TAKN9M2RxWeM1sWaSJcMNUCvO17bHa/OiTR lTc9/cP71rIsjJ9X+mIbmeZXu6vjFM3P21pGeAYBC01kjd3HHnZbNZHNy58xGjRjz8J8 hS8of18IdiQUwFjeI4J8MH3uG6lIJRiPLXuqY+iH7z7ie+qFxQOu3AKAgMdOTGJOFuCQ xxg3UEFTJb/X8Sa19zNI0XfiyRSL1yx/f4/0wYLaTufc5MVBwXm/NMM2h1I5PzdHDLYt KWfBTMe1rJWd5kV366axRP7CsQ4R4wGcZQsIIPPD0fJ8172Pw057lFXZwvzIxEQj9F/1 d4aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QxhqddAS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u11-20020a6540cb000000b005b92bac2e53si1286397pgp.263.2023.10.31.11.27.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 11:27:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QxhqddAS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id CA969804B29C; Tue, 31 Oct 2023 11:27:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231550AbjJaS1M (ORCPT <rfc822;chrisjones.unixmen@gmail.com> + 33 others); Tue, 31 Oct 2023 14:27:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbjJaS1L (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 31 Oct 2023 14:27:11 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA37EA3; Tue, 31 Oct 2023 11:27:08 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39VEhXBa017754; Tue, 31 Oct 2023 18:27:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : date : subject : mime-version : content-type : content-transfer-encoding : message-id : to : cc; s=qcppdkim1; bh=1aiqPfkqrfk24xscMr9ACJG5fDGrPxUrkLLtvpjW5+c=; b=QxhqddASfaQkzNbmIYP+03ntGnE8tmSfJyXoisOotsm0g/xDo9EFX4ebMDsz0W5URsxP cTd5xIjS853ouRf2d443tx50lu1Zwon98zoP0GwW80Whqkk+lIH5vod0VDHkQx2stlzt op2d3tszUkiovmnyUE3dmY3Tie4JdNmcv4VDTLkTmiIZe2M/8boynhPWmOjRBwovzU3c kpPbc75lyy06MlsXNkc7tgRwdTm4FsYvXBl1jLTfJ5Dj6pLovui3LPSK4OzH/X/LtKKH +ZCT2vVFUxrxrpOZl+lFiQOrAqCxX6DevN6aiZPRQE8ZrId8uAGPJ6T+N0499sPtnIXf xg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u30xe9are-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Oct 2023 18:27:05 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39VIR5Uv030324 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Oct 2023 18:27:05 GMT Received: from hu-eberman-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Tue, 31 Oct 2023 11:27:04 -0700 From: Elliot Berman <quic_eberman@quicinc.com> Date: Tue, 31 Oct 2023 11:27:00 -0700 Subject: [PATCH] dt-bindings: power: reset: $ref reboot-mode in syscon-reboot-mode MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20231031-ref-reboot-mode-v1-1-18dde4faf7e8@quicinc.com> X-B4-Tracking: v=1; b=H4sIAPNGQWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDA2ND3aLUNCBOys8v0c3NT0nVTUtNSrOwSElNNDBPUgLqKgAqyKwAmxg dW1sLAHcrPx5hAAAA To: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> CC: <linux-pm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Elliot Berman <quic_eberman@quicinc.com> X-Mailer: b4 0.13-dev X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 4-gsh6VaMGoQ-hNXe2ytBmMeok-j81h- X-Proofpoint-ORIG-GUID: 4-gsh6VaMGoQ-hNXe2ytBmMeok-j81h- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-31_05,2023-10-31_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 clxscore=1011 mlxscore=0 priorityscore=1501 malwarescore=0 adultscore=0 impostorscore=0 mlxlogscore=998 phishscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2310310148 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 31 Oct 2023 11:27:18 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781296625035561541 X-GMAIL-MSGID: 1781296625035561541 |
Series |
dt-bindings: power: reset: $ref reboot-mode in syscon-reboot-mode
|
|
Commit Message
Elliot Berman
Oct. 31, 2023, 6:27 p.m. UTC
syscon-reboot-mode.yaml should $ref: reboot-mode.yaml, but instead
rewrites the properties. Update so it $refs instead.
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
---
.../devicetree/bindings/power/reset/syscon-reboot-mode.yaml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
base-commit: ffc253263a1375a65fa6c9f62a893e9767fbebfa
change-id: 20231031-ref-reboot-mode-febf88dea07b
Best regards,
Comments
On Tue, 31 Oct 2023 11:27:00 -0700, Elliot Berman wrote: > syscon-reboot-mode.yaml should $ref: reboot-mode.yaml, but instead > rewrites the properties. Update so it $refs instead. > > Signed-off-by: Elliot Berman <quic_eberman@quicinc.com> > --- > .../devicetree/bindings/power/reset/syscon-reboot-mode.yaml | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > Reviewed-by: Rob Herring <robh@kernel.org>
On Tue, 31 Oct 2023 11:27:00 -0700, Elliot Berman wrote: > syscon-reboot-mode.yaml should $ref: reboot-mode.yaml, but instead > rewrites the properties. Update so it $refs instead. > > Applied, thanks! [1/1] dt-bindings: power: reset: $ref reboot-mode in syscon-reboot-mode commit: 160dff476f81b928ee4a4d2be95066fa32513483 Best regards,
diff --git a/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml b/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml index 9b1ffceefe3d..b6acff199cde 100644 --- a/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml +++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml @@ -29,12 +29,10 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 description: Offset in the register map for the mode register (in bytes) -patternProperties: - "^mode-.+": - $ref: /schemas/types.yaml#/definitions/uint32 - description: Vendor-specific mode value written to the mode register +allOf: + - $ref: reboot-mode.yaml# -additionalProperties: false +unevaluatedProperties: false required: - compatible