From patchwork Fri Feb 18 16:15:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 544039 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 C204BC433F5 for ; Fri, 18 Feb 2022 16:15:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236735AbiBRQPz (ORCPT ); Fri, 18 Feb 2022 11:15:55 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237572AbiBRQPs (ORCPT ); Fri, 18 Feb 2022 11:15:48 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FD632B2FC0 for ; Fri, 18 Feb 2022 08:15:31 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id D7B024031B for ; Fri, 18 Feb 2022 16:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645200927; bh=zU8PHhdXJ/Ueh121b9Q6oYq5mxpNaWQJcLKghCGJuJg=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=M12UUrx2HT3nJUtjmqoggHUbECHNBS82JtAWNw3fzVlA4nCnihIG9D84gJTEbve+B +xvTj7j7TkA+I0cnrJcrtnd2KqO0b8/25c/4gdS/o0pBbhPJIimeqMo7oApxKtI49o fXCatzU9romxxGuxxTrKCt5COkWkjT43ypCij9Ug76/7BSHtKFRa9bdVeRtVxGtYL3 Jh8Bt1qqtldmZQALAMxo7t6opcfcg8MYbRcKAFO28e79EITaIwWAebPEBHxpmXhALD YoYTTYBWewTgRpjjKftdspggXvQw1wudiUpGiFhOnHV4BJfGwYFYBqznXCnv0BC9x3 TLZ9NG5jgkbzg== Received: by mail-ed1-f72.google.com with SMTP id r9-20020a05640251c900b00412d54ea618so118600edd.3 for ; Fri, 18 Feb 2022 08:15:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zU8PHhdXJ/Ueh121b9Q6oYq5mxpNaWQJcLKghCGJuJg=; b=Rolk8nJhBOE+JO3tlJcFIHusLqKM+paNNFsqLh4cvSi/uIgdXGoweoXJxR1ELm5SUN EYMKDw3rk20+Jfdbg95MtdeSnXJcS6Fbz4VP663YSA/wIxbN64omOSec/Me1XWMpnloT 4SXX4LsOfsSObz8AiVFxpfsgtMfyRqQJPZJa3I3TE4JQa7Cn9lTFprote6ckFSJ8O3B2 +Imm3VomOc31QDF1jUrb+c3EddhUiA/MCvldvvVZt94aSRDkK0TegljCvWKqZf2W1ump VGidcPev03qCOIkfs6sYqATAp6YBYvpOPAeLfKZdVMyYj8+dmqn0fwn+qWJvPhqC8Y/a pP8w== X-Gm-Message-State: AOAM531p/AiwnSL8qzEWPBlzCiGfBwaQ8jIQGutnMeD/+EupiZm+oOj2 86Ahg5mlksAC30yO5HQqhJUQEc4iiHomy0apMxxhAx2uBFMZbW3eGxqFhPZLEdn9qBPrvJK0mDh 7oYMwnMOhIe8JxnXDWcuS+1R0ZAbvtWfMH7rYiw== X-Received: by 2002:a17:906:2ad3:b0:6ce:3662:8d68 with SMTP id m19-20020a1709062ad300b006ce36628d68mr7033229eje.71.1645200927399; Fri, 18 Feb 2022 08:15:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/wkrF7krrpsgkdvOicdEcCrW3UqlmOyhO7J1hrmzKSDRnQT9+nScW8jsxPc1cVoroQAhx+A== X-Received: by 2002:a17:906:2ad3:b0:6ce:3662:8d68 with SMTP id m19-20020a1709062ad300b006ce36628d68mr7033218eje.71.1645200927228; Fri, 18 Feb 2022 08:15:27 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id y21sm2325572ejq.185.2022.02.18.08.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 08:15:26 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Dinh Nguyen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: usb: dwc2: add iommus Date: Fri, 18 Feb 2022 17:15:20 +0100 Message-Id: <20220218161522.52044-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220218161522.52044-1-krzysztof.kozlowski@canonical.com> References: <20220218161522.52044-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The DWC2 node might use IOMMU (e.g. Altera Stratix10), so add "iommus" property. This fixes warnings like: arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dt.yaml: usb@ffb40000: 'iommus' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/dwc2.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml index 048e352c531a..1ba96706bbcb 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.yaml +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml @@ -68,6 +68,9 @@ properties: items: - const: otg + iommus: + maxItems: 1 + resets: items: - description: common reset