From patchwork Mon Feb 3 21:30:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13958290 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C07EFC02192 for ; Mon, 3 Feb 2025 21:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Iy+P/RvDsve7ykIrClWXAuIBOivLxkU7n7dWjRz+lU8=; b=dFQol0pui37QuLorlfKMAmUwIB mEbVwArIfKRvNwCz86QUBlaah+NIlkYCjCQNEX1H9FUauXsKTCqg464dYCTQZmAZn0mnzJGpsxkOA LZccwby/IPye0rjUHBRMrxW24xgFegNxxIHB17TnGDBsWm/eHjmGs7D9+FmRLGo9dB9Hq+NrUgaz1 fLpaNA1N+5cxFMqBcZhnRqNTwmFW3gVJ6NnnHO9CMiHY1Z4JfRfHgjl44GeG3tXRtxgsJLriepN/Z 5UDQ/A3kYqKe4X15fJ1nrrHTP+IA86MtSfMvEE9IdqGqpNQJ00Lk1+FoNwKKOXo6fWdoONCbtv6uU XfRVZUPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tf4B2-0000000Gh0D-1ChX; Mon, 03 Feb 2025 21:40:20 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tf423-0000000GfUP-0FfJ; Mon, 03 Feb 2025 21:31:04 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 12E69A41E12; Mon, 3 Feb 2025 21:29:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0E02C4CEE6; Mon, 3 Feb 2025 21:31:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738618262; bh=k9EUAUSdgz8Hi+LWzo64vfqQmxZJ++evupmA/smLcuw=; h=From:To:Cc:Subject:Date:From; b=YtUdTdOJt3vrSk8Om8vBARgbR43K0mYKeBkEP6EcvIl2FCHZRsUgQMPU5Vf8tIKNJ A6EjboDC0O0prEQl1HJE57uOkrm4f05KlArcI9kr0/6NEk5qf/sD/9D9W07ZVEReKR wfKTpDFsb70jeQWA3qrPOhU3MLFcuozsuC290Qrv/YQAG8z/0sxwJMuAjIyPPtGR6j xEjryUDro4usDCKwgSEcNt2Bz5IJIvHZS4vi15Di0tH5Uzb+l7fjIflrG4M2eOzCyO 86NyBid3WDvv3QgIAMfJR9oOwJKZiD4YTYIt4KW9REXORj8fgs95K2vQCiOgFKOmFn bnrKUBjIe+l/A== From: "Rob Herring (Arm)" To: Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Elaine Zhang Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: rockchip: pmu: Ensure all properties are defined Date: Mon, 3 Feb 2025 15:30:56 -0600 Message-ID: <20250203213056.13827-1-robh@kernel.org> X-Mailer: git-send-email 2.47.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250203_133103_157507_AA6371F9 X-CRM114-Status: UNSURE ( 7.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Device specific schemas should not allow undefined properties which is what 'additionalProperties: true' allows. Add the missing child nodes and fix this constraint. Signed-off-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml index 932f981265cc..52016a141227 100644 --- a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml @@ -53,11 +53,17 @@ properties: reg: maxItems: 1 + power-controller: + type: object + + reboot-mode: + type: object + required: - compatible - reg -additionalProperties: true +additionalProperties: false examples: - |