From patchwork Tue Oct 31 18:28:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elliot Berman X-Patchwork-Id: 160308 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b90f:0:b0:403:3b70:6f57 with SMTP id t15csp433887vqg; Tue, 31 Oct 2023 11:28:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEi4xhxM0hO2vm5g+860LrnqDp44YabiLPzY+sfMwY9x9pU/BCwO+k4mf+LPMClXq5oCCmP X-Received: by 2002:a17:902:e494:b0:1c9:d948:33d5 with SMTP id i20-20020a170902e49400b001c9d94833d5mr8066800ple.64.1698776929397; Tue, 31 Oct 2023 11:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698776929; cv=none; d=google.com; s=arc-20160816; b=i+rVHMrsISl73SNmHQ8oNdp6wXVRe8qF/lZP6Xg4YxJkh0ztuX5IWROKoiIIbkHTDv lnZda/G2hmscjFsjRKEvz117nMQ0jBN5tubv6BOxcHwK1l24XEpvv5Ql9r4SLdITmi0P yQphGidFCpZVcYh6Cr+i0lUYjF0WnmRiuQWUwxi9RHKIMwNRdTkFgm0UyM8NqNbOhfgU QmNah7Q4d1Uu8HGAKOKlq3Y9dYJeljDHGgwB2h9EmGPgibCKtywEjTOM/gzhfDt7r8MK SDSpm2Zqyi8x9GL3nS3pARfV1nLSvry7OQbBDRf3AWunJRaR+8BnLH5pyWR0YdjM8SP7 +CfQ== 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=I4RFhQ2hQV6Tnj5dqkgWY77r7FlmVBG3/GztMCq120Y=; fh=TaFSWysom33zGYjvfp2gbCKatZ4Pp8Pbh80iv+/JXG0=; b=o8EeseOF1oJvsGvF/ynQ+lnysmbJ1/cY+uTUf//Hztf6wX4JEPKzLL307aLQn0Xv+i keGoQQNped7aDhG5r+0r/iAYhEyPBMa/TrY9J3F4zsCQG4QE2IRJ4heU2xjzfdJYg89f YGRoB4i9ffGCqlnPr3Jl6gZOZ4YTxrTsUnPM/A6SeliJGggoVexfyZVyqxlGemg88hvX 56xlr7gErnin+ffezTJWRzNgKhO67z2aNJGy3jG1CQroqwot1DRAL9qKp2jBjs3Jp46g GvQSRDvJqRPrfl6YJaDUdRkxlaHaaFgQo+37EDqSWu21++Ocln+fdnCAinqtMSB4A8+n YKhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QHrR4KGl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id d20-20020a170902e15400b001b8a67f1c10si1249580pla.468.2023.10.31.11.28.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 11:28:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QHrR4KGl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 63885801B334; Tue, 31 Oct 2023 11:28:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231985AbjJaS2l (ORCPT + 33 others); Tue, 31 Oct 2023 14:28:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231423AbjJaS2k (ORCPT ); Tue, 31 Oct 2023 14:28:40 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20475A3; Tue, 31 Oct 2023 11:28:37 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39VHbc5L031484; Tue, 31 Oct 2023 18:28:33 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=I4RFhQ2hQV6Tnj5dqkgWY77r7FlmVBG3/GztMCq120Y=; b=QHrR4KGlVQ0xGDhzFqSYDrr6q7lzZ/jBGw6slv7J1eAZZpXx4OfUsYDO7RXENOjkav/o XPZv+2Et2DIA07GSm8W5jAmuropbZa2ZoSBeiS9aDOx3472xeS+DNkreBeyC6a88/Fyf qkbc9iBkU92omK01FJyQiSMspsHAZMLNGcyNr/fcO0RWcrpWIM4DDhmdf5bzF3eoCOkv +nkA7G9mfKi017yzWWd5bMk/rubmoO/Hy1iIUUmnkXmiSMNjqD7as9qdLYjknr59kqa2 ZjY9Djk/ilY9mjxAAlld2j8g0COaSq1fQkYyLliWvtr6EhRog+bQ+4UmoKymoNE4dZ5p Qg== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u34sc0dj6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Oct 2023 18:28:33 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39VISWDn024967 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Oct 2023 18:28:32 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:28:31 -0700 From: Elliot Berman Date: Tue, 31 Oct 2023 11:28:22 -0700 Subject: [PATCH] dt-bindings: power: reset: $ref reboot-mode in nvmem-reboot-mode MIME-Version: 1.0 Message-ID: <20231031-ref-nvmem-reboot-mode-v1-1-c1af9070ce52@quicinc.com> X-B4-Tracking: v=1; b=H4sIAEVHQWUC/x2MSwqAMAwFryJZG2htqehVxIWfqFm0lVaKIN7d4 G4G5r0HMiWmDH31QKLCmWMQ0XUFyzGFnZBXcWhUY7QyGhNtGIonLzTHeKGPK6E2rutaZY0jC7I 9JeP7/x3G9/0AIPVzXmcAAAA= To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bartosz Golaszewski CC: , , , Elliot Berman 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-ORIG-GUID: s4FXohjvNU5aT42GKCEaqyCip83tRORd X-Proofpoint-GUID: s4FXohjvNU5aT42GKCEaqyCip83tRORd 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 suspectscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 priorityscore=1501 mlxscore=0 spamscore=0 clxscore=1015 adultscore=0 impostorscore=0 malwarescore=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 fry.vger.email 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 (fry.vger.email [0.0.0.0]); Tue, 31 Oct 2023 11:28:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781296717852888809 X-GMAIL-MSGID: 1781296717852888809 nvmem-reboot-mode.yaml should $ref: reboot-mode.yaml, but instead rewrites the properties. Update so it $refs instead. Signed-off-by: Elliot Berman Reviewed-by: Rob Herring Reviewed-by: Mukesh Ojha --- .../devicetree/bindings/power/reset/nvmem-reboot-mode.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) --- base-commit: ffc253263a1375a65fa6c9f62a893e9767fbebfa change-id: 20231031-ref-nvmem-reboot-mode-1369970436e4 Best regards, diff --git a/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml b/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml index 14a262bcbf7c..627f8a6078c2 100644 --- a/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml +++ b/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml @@ -28,17 +28,15 @@ properties: items: - const: reboot-mode -patternProperties: - "^mode-.+": - $ref: /schemas/types.yaml#/definitions/uint32 - description: Vendor-specific mode value written to the mode register +allOf: + - $ref: reboot-mode.yaml# required: - compatible - nvmem-cells - nvmem-cell-names -additionalProperties: false +unevaluatedProperties: false examples: - |