From patchwork Tue Jan 24 03:05:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 47510 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1939702wrn; Mon, 23 Jan 2023 19:10:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXt7/oaS9vrXB9UEQGUiYyhMrL+YdeCsODUzLQ4iuIIdrazrjwnDOi+X9Jw9+r/droskVVP8 X-Received: by 2002:a05:6a00:bef:b0:58b:ca6e:af26 with SMTP id x47-20020a056a000bef00b0058bca6eaf26mr25798265pfu.23.1674529804853; Mon, 23 Jan 2023 19:10:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674529804; cv=none; d=google.com; s=arc-20160816; b=ywOfZb8nQuT5yFAVy9NxBJq5PWd/pKnaXcxGg4PDhxy9oUg1pHDhaKAtSPjDKW56Sn isV7HcIQCoQS4rWhQ4C2p9uteABEJtLhExMFbALJSAHHDqZBgFBiDoUdBfVAYvtSkJce 6ZrM/5+lfN6uWuVnNSAfaFyvaABeCr1fEDXEvnEBYOmYoH7QI7KV8ZbWjKTf0pge6yOl PaPs5SGbyDZZcjhNbVceIYhSITPTAYVNhXjAMCIJnJg2p3wtwyBJ1aOWuiOF6J2NTqFI SDvvZsi+Z80l+cbMGjalmq27Kb+ZXyp6kTElv698BBiE+tLX9IF/QtU5vT9gCr62/upF 91wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=l/w7cp6YVGNbkVTPnnS6fPAfMJMQm9O9TtAZyHYNnBw=; b=IqiYiXUu/fDT45pVxUn15uCThsmEp8NTxHLd9Fys1msflOZv7jqP9Jcy2Kx3sBIdfa TzEhzjA69oOVuqf71NT+dJ3J/sMyL0ozuRK/DAckVyNnfqsffavjiY2HHMMBQr8kuvrm 2TyCGh1kL+yHIDtUeKiCI6O/n/Keev488SnKMvIYyPGA70js0bYyU2ZsbFBWX4CxHQin WmccKVtseqL6xxFhT3eSQOo28JpXrS3020KXXrZdNWX2L1lsRzvVInYX40EgAwQZixvP eS5jfm+l7F2abkWMdIU5WrKqef8lMO9RKNOVy7wrHl3N+Wfy+aA7sLJ7Mu0Zb6BDQfr0 Oldg== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a056a0023c700b00588a0da3b50si1114510pfc.61.2023.01.23.19.09.52; Mon, 23 Jan 2023 19:10:04 -0800 (PST) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232631AbjAXDFr (ORCPT + 99 others); Mon, 23 Jan 2023 22:05:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbjAXDFa (ORCPT ); Mon, 23 Jan 2023 22:05:30 -0500 Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB7053B0D9; Mon, 23 Jan 2023 19:05:28 -0800 (PST) Received: by mail-ot1-f49.google.com with SMTP id u13-20020a056830118d00b00686def09868so1164437otq.7; Mon, 23 Jan 2023 19:05:28 -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=l/w7cp6YVGNbkVTPnnS6fPAfMJMQm9O9TtAZyHYNnBw=; b=GvOgIiWUn3BqGIM5PPHhRje9Oj+0jj0NoZCSgvSnKviCtSA0NFh7Wpb9JRHwjw/ii/ pM2aU2erZAq0XLwy8IP+WKID7xKc/QaVa3u43f9PYlj6aFqxjrrmY7c5RzUzTcfFF/Qq O4L4AynyOWtE0WdzRtDXxIVKbW69EmUdfcHeTuePCLZSvZcR9nxpD0Gq1VgpahhZa34U sydrdmsMdxmwgqmlqAvom9XaENLJ/9fdriYki8ZRMveJ3mgZwWKmMjF0e0iaXMPJw7rh k7d4Q/TJxfm8iUWcWpyHh72T0Oo7yj/vY/TojrllzGbPV/4ArPuzqyRGDDugXzSOl6le VWcA== X-Gm-Message-State: AFqh2kpVPn06FDMVjKF6P6WKI2+B5d/9V/6OHIcI2d4hXCFfPJRPTkq3 YxCFsqNM+NKvo7XGsYvEKA== X-Received: by 2002:a05:6830:670a:b0:684:e1cb:df87 with SMTP id cr10-20020a056830670a00b00684e1cbdf87mr15320609otb.8.1674529528074; Mon, 23 Jan 2023 19:05:28 -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 cr11-20020a056830670b00b00661a3f4113bsm419338otb.64.2023.01.23.19.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 19:05:27 -0800 (PST) Received: (nullmailer pid 3266346 invoked by uid 1000); Tue, 24 Jan 2023 03:05:20 -0000 From: Rob Herring Date: Mon, 23 Jan 2023 21:05:18 -0600 Subject: [PATCH v3 4/5] dt-bindings: usb: Convert Marvell Orion EHCI to DT schema MIME-Version: 1.0 Message-Id: <20230110-dt-usb-v3-4-5af0541fcf8c@kernel.org> References: <20230110-dt-usb-v3-0-5af0541fcf8c@kernel.org> In-Reply-To: <20230110-dt-usb-v3-0-5af0541fcf8c@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 , Lee Jones 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 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755871764719076362?= X-GMAIL-MSGID: =?utf-8?q?1755871764719076362?= 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 2d382ae424da..ebbb01b39a92 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 - ti,ehci-omap - usb-ehci