From patchwork Tue Jan 10 23:17:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13095772 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 50EA2C46467 for ; Tue, 10 Jan 2023 23:18:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232906AbjAJXSd (ORCPT ); Tue, 10 Jan 2023 18:18:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235319AbjAJXSB (ORCPT ); Tue, 10 Jan 2023 18:18:01 -0500 Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 607C0209; Tue, 10 Jan 2023 15:18:00 -0800 (PST) Received: by mail-oo1-f43.google.com with SMTP id t15-20020a4a96cf000000b0049f7e18db0dso3617859ooi.10; Tue, 10 Jan 2023 15:18:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BkffzaMKgEkAFzow+1H0ViuhO0ELE5aDY2zTJCKAxL8=; b=K5qV9FXdJ54pmT0009pjFZLThUEdBJk0sYMrc2O8j3mtQ+OJJX/XVpn8zYw6/OaQvB CBt6uTGIQMzx6f6jLvrn51C21V4tiAbhCAVww1rxAI7EDpXZvqQiwcU+SIirUdrAImwg Y8WZpFUIfuAYSFN14Hyx9fUXYLIh4yKEEONDBGC1ckN4vAuYthNWGECJuvGpO0EuLEO2 pa8FYHC0xShFczL06Qer9baPtis7zc2cZknpVTO/AN0aIdVauk5n4cz6LIRxJyGEq2uV A8V0o8xIeWRCE9blmP5Eixm4J8Zk+X51+DyuAYR0IRUor2ytraRv8+x1bTKsGsYXC6hm 7QTQ== X-Gm-Message-State: AFqh2krrLgJOWkYpHLyZWUb9UsnTzraVZvMl3WciDfvXpfUBIftA1pj8 2FNWFERZ2R5ioJyZXs5e+ZZ1+ryJkA== X-Google-Smtp-Source: AMrXdXsPUnlihCfZ58pdMoiErSCAf5PyyC5YskkNloNog96Pmb6ECnLgmGoZIrhTMwzUfjZO2S7H/A== X-Received: by 2002:a05:6820:387:b0:4f1:e2d8:47e4 with SMTP id r7-20020a056820038700b004f1e2d847e4mr75789ooj.9.1673392679634; Tue, 10 Jan 2023 15:17:59 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id q6-20020a4a9606000000b004a388af96f9sm6330128ooi.4.2023.01.10.15.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 15:17:58 -0800 (PST) Received: (nullmailer pid 3145662 invoked by uid 1000); Tue, 10 Jan 2023 23:17:55 -0000 From: Rob Herring Date: Tue, 10 Jan 2023 17:17:46 -0600 Subject: [PATCH 3/4] dt-bindings: usb: Convert Marvell Orion EHCI to DT schema MIME-Version: 1.0 Message-Id: <20230110-dt-usb-v1-3-8e366e326513@kernel.org> References: <20230110-dt-usb-v1-0-8e366e326513@kernel.org> In-Reply-To: <20230110-dt-usb-v1-0-8e366e326513@kernel.org> To: Greg Kroah-Hartman , Krzysztof Kozlowski , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, openbmc@lists.ozlabs.org X-Mailer: b4 0.12-dev Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The Marvell Orion EHCI binding is just some compatible strings, so add it to the generic-ehci.yaml schema. Signed-off-by: Rob Herring --- .../devicetree/bindings/usb/ehci-orion.txt | 22 ---------------------- .../devicetree/bindings/usb/generic-ehci.yaml | 2 ++ 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/ehci-orion.txt b/Documentation/devicetree/bindings/usb/ehci-orion.txt deleted file mode 100644 index 2855bae79fda..000000000000 --- a/Documentation/devicetree/bindings/usb/ehci-orion.txt +++ /dev/null @@ -1,22 +0,0 @@ -* EHCI controller, Orion Marvell variants - -Required properties: -- compatible: must be one of the following - "marvell,orion-ehci" - "marvell,armada-3700-ehci" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: The EHCI interrupt - -Optional properties: -- clocks: reference to the clock -- phys: reference to the USB PHY -- phy-names: name of the USB PHY, should be "usb" - -Example: - - ehci@50000 { - compatible = "marvell,orion-ehci"; - reg = <0x50000 0x1000>; - interrupts = <19>; - }; diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index 994818cb6044..85e41609b09b 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -74,6 +74,8 @@ properties: - const: usb-ehci - enum: - generic-ehci + - marvell,armada-3700-ehci + - marvell,orion-ehci - usb-ehci reg: