From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D736CCA0EC6 for ; Mon, 11 Sep 2023 21:29:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235515AbjIKVVH (ORCPT ); Mon, 11 Sep 2023 17:21:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240676AbjIKOus (ORCPT ); Mon, 11 Sep 2023 10:50:48 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CBFCE40 for ; Mon, 11 Sep 2023 07:50:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 559DDC433C7; Mon, 11 Sep 2023 14:50:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1694443843; bh=a79bmNhlYyVgK6BP0Pw+JZjw69F6A+hsDTacbw4WQsc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u9pp6GAqD1joHlJoo2xiMqVYerv7fkrZVAgjEG5pVNcEBB+atedUDOO6fLlNwISvW NM4rObUN0VFAmIl8CdPzAEuhiE6Kh3iS9j5mKDPiFsy5Lo17ue+ULgQcsRP16haDeE KLLbkmqnmfMWwmV6sES9NXOzRZhx16VHwT2eajwY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Krzysztof Kozlowski , Chanwoo Choi , Sasha Levin Subject: [PATCH 6.4 494/737] dt-bindings: extcon: maxim,max77843: restrict connector properties Date: Mon, 11 Sep 2023 15:45:53 +0200 Message-ID: <20230911134704.374775941@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230911134650.286315610@linuxfoundation.org> References: <20230911134650.286315610@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 6.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Krzysztof Kozlowski [ Upstream commit fb2c3f72e819254d8c76de95917e5f9ff232586c ] Do not allow any other properties in connector child, except what usb-connector.yaml evaluates. Fixes: 9729cad0278b ("dt-bindings: extcon: maxim,max77843: Add MAX77843 bindings") Signed-off-by: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Signed-off-by: Sasha Levin --- Documentation/devicetree/bindings/extcon/maxim,max77843.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml b/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml index 1289605456408..55800fb0221d0 100644 --- a/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml +++ b/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml @@ -23,6 +23,7 @@ properties: connector: $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false ports: $ref: /schemas/graph.yaml#/properties/ports -- 2.40.1