From patchwork Sat Mar 4 13:03:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13159854 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 8F704C678DB for ; Sat, 4 Mar 2023 13:03:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbjCDNDI (ORCPT ); Sat, 4 Mar 2023 08:03:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjCDNDH (ORCPT ); Sat, 4 Mar 2023 08:03:07 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC06EC52 for ; Sat, 4 Mar 2023 05:03:06 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id s11so20673055edy.8 for ; Sat, 04 Mar 2023 05:03:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677934984; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OkSvhC1gVfb8PyCSyQ+RtHNDDmsSooTX9+nQ9I0Jmpg=; b=CsMkJGA9hdUF74PfJmmoeCH0DL3C3DQkcn3WbRdCnBbGCyU9OkW+5cJ9QCyhnmmDQG ZeSxOGq0vxhK9SIU8zRSIKAklNq2GcSW0uuq+abPjH/dBA/jpBYWsq8vD2FBWEPSRi/6 i5WUVB4Et5JVJF/lzyw/T9pSIABQC4LlI/SiSHl7Nd/A7qtMD2sb54A0Gd+gb8WLYNbQ ZFsBKj8fum5dKIgsxzBFaEYCjNQyUjPRGYjixNwcF7GLfdybvCiXQtAv4175FJtGbAHf iUSn4eOUrEaII19HtkVfd8yzWAoFEVPa6ru0QRLIS5vFahcrT9alcWYrnP4JXVipv6F5 9Q7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677934984; 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=OkSvhC1gVfb8PyCSyQ+RtHNDDmsSooTX9+nQ9I0Jmpg=; b=cmOAibXM0DR56oq9jMx2HRq4j38YpNr0eeA/INhZLfdsxcMJUswQI6u03q7dIj6w1j 2889jd9z6QcK2LVIoA5ce3UVBa3htTZArJXuE7jXngt21KaO3K9GHylh8Nrf+/I6+2I1 IsSiS3+cscCovzcrgo1jjDGUYccSyn+pkg5Bsicq9+dXO5SvhT8hy2KPErNerETgVH/A SxItmoQ4Z1AvMq4GeN0zFzuQgCSQgkBHODA0yM3kJSBEk/HkbdhucwTK31/5QyDw3pno 878kd72Q+258Qk/JcUcfwEU1edwBywgm+O2NvIEXivl1zFstWDn5L9Kh6EZbC37P1cC1 zyZA== X-Gm-Message-State: AO0yUKVjJ7rGT4sXVacT8plIjv6hthldzLOsG5RkatqabNi31LIyxbtB 4RETvqpgYdZUdk9dRwdxHRAQ/Wzq3m7OYRlH6Oo= X-Google-Smtp-Source: AK7set/bmaqwN4R25kvMcexrvDGMzPZaZh0bC495ArZrsGl7hCUyTreDKEyqyPdHv1z9BivBfzFSvQ== X-Received: by 2002:a17:906:4cd4:b0:8f8:eded:4254 with SMTP id q20-20020a1709064cd400b008f8eded4254mr5027030ejt.65.1677934984748; Sat, 04 Mar 2023 05:03:04 -0800 (PST) Received: from krzk-bin.. ([2a02:810d:15c0:828:b758:6326:1292:e2aa]) by smtp.gmail.com with ESMTPSA id x8-20020a170906440800b008e8e975e185sm2052734ejo.32.2023.03.04.05.03.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:03:04 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: usb: snps,dwc3: document extcon property Date: Sat, 4 Mar 2023 14:03:02 +0100 Message-Id: <20230304130302.51497-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The DWC3 USB Linux driver and several DTS use extcon property, so document it, even though it is deprecated, to fix warnings like: sm6125-sony-xperia-seine-pdx201.dtb: usb@4ef8800: usb@4e00000: Unevaluated properties are not allowed ('extcon' was unexpected) Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index be36956af53b..cad2efd5f8c9 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -70,6 +70,10 @@ properties: dma-coherent: true + extcon: + maxItems: 1 + deprecated: true + iommus: maxItems: 1