From patchwork Sun Jul 23 07:11:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 124422 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp1145534vqg; Sun, 23 Jul 2023 00:38:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlEjZQdG3BKFE7yBKqDMgc5Zv3AaclcyQthQzDh6hnCUkDX6PDOeHltRaYNOmECANQtCps2S X-Received: by 2002:a17:902:7889:b0:1bb:7996:b269 with SMTP id q9-20020a170902788900b001bb7996b269mr5177230pll.19.1690097924246; Sun, 23 Jul 2023 00:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690097924; cv=none; d=google.com; s=arc-20160816; b=EkJ8XWIBlIIqyiKJr1aiG4+/iKN7N/g5HuXNb25ZUDBz3H+niIgfVV9SFkcEzRnbBH n8hT4PjItcDKEzOnaQdX3jZZ/1GHhqwmt+O1g+Lynr86F+ulPU9242gOvy4YsXYTamSm OZYVIh1HNkz4etAIYmQwXr+Z37TPNBDBJ5SnlLtm2VKc8kwYjLzLefB75mpD2I1lKMq0 KSCdQzgSM0o+fFez3/YcUFh8N+lkRrmy8f37CjXmra2Pnw9A0c7ToHlCGwVaTvINohRJ PpgP3jAh2BqZ2ljubLyzvJha9U8uRbsNlunjVRoW5s+k3MYoUuAMqeM4Tk7xsUhY3DEM 7nig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BSnPyqSVu2gHuo4+AEA/XPUph33hXuxTtyCncXN2YGE=; fh=V0z5+hCl2i59B7pdGT9rLL7hqU8tMmFpHoUkeAbyGVk=; b=bTTrj8tC+a9RjTlqDsqACft4uvUdKm96X8OHz6+Eu1pGPlMnRwccyakytBQLPXgUY9 t2K+H2WSsDytTtQqEKqXfGa+Mbc3Po2nnsjm4ea2gEbR6fA/mpmwrV5SFB487qSAk1gV h5ziMiSFPJj5rmmTsHVdjmaUT8GjDRw9JHdYGtuioqk1Q6QwjYr1u0p/9WZxWteXh2Y5 uYoswa9w5GYOSQ+/cKihkOtx16cOPMoKXohN+NVJn4jgS4UwTy6sIUcJFlMHH1Jtlv14 3nRP9Vno2SlLycriuFJQQrl0G9JMHIudDLmf8LrjwG3Afuzol7p6b6vkLYTaGsrvnTkm UAjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CbuvaxRC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a170903228b00b001b9d2982362si7368138plh.36.2023.07.23.00.38.29; Sun, 23 Jul 2023 00:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CbuvaxRC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbjGWHLR (ORCPT + 99 others); Sun, 23 Jul 2023 03:11:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbjGWHLP (ORCPT ); Sun, 23 Jul 2023 03:11:15 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1630E5C for ; Sun, 23 Jul 2023 00:11:10 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-993d1f899d7so572019266b.2 for ; Sun, 23 Jul 2023 00:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690096269; x=1690701069; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BSnPyqSVu2gHuo4+AEA/XPUph33hXuxTtyCncXN2YGE=; b=CbuvaxRC2zvv3P0eIIxrewtQjuqAVLctBR2m/DK3a2/J9tofsuzchHLy2zAbS2aKV7 5ewjm2fM6XC+ugXghFd5KdRBK+QcERtuU12p3F4cxKYl4q0Sjd/+AB6Nx3p29fSil6uM 4YzFnlmhyPAyCsDfPlgmsD5bucxqnPBLPueRgRw2XPtUDkOnBCos6qbZWaglamY8Zzrv rZflz8T5CgF+bXSWzwhjBjto/+c3QaV3hg/4HP5LnLqwJakWLEYdoBDt+e8v7U95yYwa 1+UazmkzHpIxjRWxSAzyqtOEPlwsyNiA9Z2at61Sg+KbY//dXxnizdvDE7ViiGpUbbci OPQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690096269; x=1690701069; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BSnPyqSVu2gHuo4+AEA/XPUph33hXuxTtyCncXN2YGE=; b=C8HESlWg3oYR+1nOPwtdyZ894OiJr5xIyRSHcLXlZDiaL+1feu3zt0QNwdGtz1DyAQ 7mdTiOhYAlI36bmDwlCquM+py4KWLjeICF79VyTwyzc2wLhrJ0m9dcBXuubY/GYkFnk0 M5C7kwCK2i6SFDkQXQSdh0S7bN13wayjr0tG5LutMNo605zwi+JFyvNA8uY0LOQ/7NI/ 5SBdmsLnle5v/GNA0HIOY9ZhpqgVj2TFXFd9HvfLRvAU1bPU3mFUYINfGLLlQGf8TGcU KoWYJYhShvppSOXwj/nLRz6eVIVXuDXfTczAvVRLY0WeOUybydbDuOrEmoCWIVG5hsVM ShoA== X-Gm-Message-State: ABy/qLbWvfZzP5S2TWpQx+GMCqPCRqj7dSwDEmcUY6zjXfhkv6bKeM4e /+LfGcPptBNOgFUNzz2BunYzVlz200HmwaOgId0= X-Received: by 2002:a17:906:648a:b0:997:eab5:f1c6 with SMTP id e10-20020a170906648a00b00997eab5f1c6mr7319944ejm.30.1690096269496; Sun, 23 Jul 2023 00:11:09 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id x17-20020a170906299100b00989828a42e8sm4639518eje.154.2023.07.23.00.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jul 2023 00:11:09 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chunfeng Yun , Matthias Brugger , AngeloGioacchino Del Regno , Jagan Sridharan , ChiYuan Huang , Min Guo , Gene Chen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: usb: add missing unevaluatedProperties on USB connector Date: Sun, 23 Jul 2023 09:11:05 +0200 Message-Id: <20230723071105.40157-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772196121145480709 X-GMAIL-MSGID: 1772196121145480709 The usb-connector.yaml schema allows any additional properties, thus its usage should finish with unevaluatedProperties: false. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/usb/maxim,max33359.yaml | 1 + Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml | 1 + Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml | 1 + Documentation/devicetree/bindings/usb/mediatek,musb.yaml | 1 + Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml | 1 + Documentation/devicetree/bindings/usb/richtek,rt1719.yaml | 1 + 6 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/maxim,max33359.yaml b/Documentation/devicetree/bindings/usb/maxim,max33359.yaml index 276bf7554215..45e093978b82 100644 --- a/Documentation/devicetree/bindings/usb/maxim,max33359.yaml +++ b/Documentation/devicetree/bindings/usb/maxim,max33359.yaml @@ -25,6 +25,7 @@ properties: connector: type: object $ref: ../connector/usb-connector.yaml# + unevaluatedProperties: false description: Properties for usb c connector. diff --git a/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml b/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml index 053264e60583..42b9d3a35c67 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml @@ -29,6 +29,7 @@ properties: connector: type: object $ref: ../connector/usb-connector.yaml# + unevaluatedProperties: false description: Properties for usb c connector. diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml index a59d91243ac8..7eb880e4a270 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml @@ -144,6 +144,7 @@ properties: connector: $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false description: Connector for dual role switch, especially for "gpio-usb-b-connector" type: object diff --git a/Documentation/devicetree/bindings/usb/mediatek,musb.yaml b/Documentation/devicetree/bindings/usb/mediatek,musb.yaml index a39d38db7714..924f74d45baa 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,musb.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,musb.yaml @@ -66,6 +66,7 @@ properties: $ref: /schemas/connector/usb-connector.yaml# description: Connector for dual role switch type: object + unevaluatedProperties: false dependencies: usb-role-switch: [ connector ] diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml b/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml index 8da4d2ad1a91..980235e27a7f 100644 --- a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml +++ b/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml @@ -36,6 +36,7 @@ properties: connector: type: object $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false description: Properties for usb c connector. diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1719.yaml b/Documentation/devicetree/bindings/usb/richtek,rt1719.yaml index 4ced2f68e2a9..27978580b234 100644 --- a/Documentation/devicetree/bindings/usb/richtek,rt1719.yaml +++ b/Documentation/devicetree/bindings/usb/richtek,rt1719.yaml @@ -34,6 +34,7 @@ properties: connector: type: object $ref: ../connector/usb-connector.yaml# + unevaluatedProperties: false description: Properties for usb c connector.