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 1D535EE3F00 for ; Mon, 11 Sep 2023 20:52:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237383AbjIKUva (ORCPT ); Mon, 11 Sep 2023 16:51:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239183AbjIKON7 (ORCPT ); Mon, 11 Sep 2023 10:13:59 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D275ACF0 for ; Mon, 11 Sep 2023 07:13:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24CEBC433CD; Mon, 11 Sep 2023 14:13:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1694441632; bh=qf9khgTQ6Ls27khNMmLk4ckh4ufb9wzgSUrIYOFK7sw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OxdLC1RX+qGOro3QDKcJx3pAVxBYR2QxGegj69cjjjE69nMV47XJ3p+L3U0c1+HKQ IWclRzQgPk698xOt5Q2od6sUbMp23GQPJ6lpUggK/ZaO2Jk6IZk3p93+NYZmplWcee nR0b7F5kiU8Ljd1ydS/NzaPHzE0/vRbuSgBSkAkg= 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.5 464/739] dt-bindings: extcon: maxim,max77843: restrict connector properties Date: Mon, 11 Sep 2023 15:44:23 +0200 Message-ID: <20230911134704.111138633@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230911134650.921299741@linuxfoundation.org> References: <20230911134650.921299741@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.5-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