From patchwork Tue Feb 2 17:54:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 1434874 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4DVXcq4hh7z9sVF for ; Wed, 3 Feb 2021 04:59:07 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233761AbhBBR5Q (ORCPT ); Tue, 2 Feb 2021 12:57:16 -0500 Received: from mail-oi1-f169.google.com ([209.85.167.169]:36811 "EHLO mail-oi1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238009AbhBBRzX (ORCPT ); Tue, 2 Feb 2021 12:55:23 -0500 Received: by mail-oi1-f169.google.com with SMTP id d18so23712767oic.3; Tue, 02 Feb 2021 09:55:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cTCXVmitXXn3fQmPZHNdgxN+Fe/Yj7/HlyhpJQ2WZf4=; b=FWHD49kWXuQwdGObI2Fc1QUo6TxM5R4aEyTUMpNnC2wIQe2y1zBOmVfxXUpBM1lxqk y2BFGFgiMAsoQ6dC5PhO98pM2GhBqFfqAeOBQ4TrXVfEjI9aygh3NMTDl7t4sDzaoQq6 O7pfFKRUdVmZcKbZC7ed3gCLT4+vJAizbb1+uY+zKJ+bDl38gLv39pbIKjwdKdnaMypi AvltH77hFz1KFdyh9N+XLDy8sineqsFP66FtWpvB8VNafWQvSATwzgsoOWmEHVzokEo5 3OGkM15BC0rsw8wZFkoAZjxmKIIJwdC7k4MpSL+LGUPcrcsHVvqKJS5mhtTUBo5gaHFH iFKg== X-Gm-Message-State: AOAM532mcBcediqvXx5npj/LbWsLLUyVPhZkpWuIWf3vVE5yUayuYBE3 ASACfZ11fMIHATZofd6tvIg0/jQNMw== X-Google-Smtp-Source: ABdhPJwFc8pZEisPntEJbdAIBt64U/p0hsPlXbKd+sDd+pH6sxG9akObhxAMWdg0hBPjE8jQ8PD0rQ== X-Received: by 2002:aca:c30a:: with SMTP id t10mr3670240oif.178.1612288481607; Tue, 02 Feb 2021 09:54:41 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id l7sm6552otr.81.2021.02.02.09.54.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 09:54:40 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: usb: generic-ehci: Add missing compatible strings Date: Tue, 2 Feb 2021 11:54:38 -0600 Message-Id: <20210202175439.3904060-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The generic EHCI binding needs to document all the specific compatible strings so we can track undocumented compatible strings. Add all the compatible strings from in tree users. Turns out we also have the generic 'usb-ehci' compatible which is pretty much the same binding and the correct one for the example, so let's add it. Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/usb/generic-ehci.yaml | 51 +++++++++++++++++-- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index 247ef00381ea..6816de7dfc00 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -24,8 +24,53 @@ allOf: properties: compatible: - contains: - const: generic-ehci + oneOf: + - items: + - enum: + - allwinner,sun4i-a10-ehci + - allwinner,sun50i-a64-ehci + - allwinner,sun50i-h6-ehci + - allwinner,sun5i-a13-ehci + - allwinner,sun6i-a31-ehci + - allwinner,sun7i-a20-ehci + - allwinner,sun8i-a23-ehci + - allwinner,sun8i-h3-ehci + - allwinner,sun8i-r40-ehci + - allwinner,sun9i-a80-ehci + - aspeed,ast2400-ehci + - aspeed,ast2500-ehci + - aspeed,ast2600-ehci + - brcm,bcm3384-ehci + - brcm,bcm63268-ehci + - brcm,bcm6328-ehci + - brcm,bcm6358-ehci + - brcm,bcm6362-ehci + - brcm,bcm6368-ehci + - brcm,bcm7125-ehci + - brcm,bcm7346-ehci + - brcm,bcm7358-ehci + - brcm,bcm7360-ehci + - brcm,bcm7362-ehci + - brcm,bcm7420-ehci + - brcm,bcm7425-ehci + - brcm,bcm7435-ehci + - ibm,476gtr-ehci + - nxp,lpc1850-ehci + - qca,ar7100-ehci + - snps,hsdk-v1.0-ehci + - socionext,uniphier-ehci + - const: generic-ehci + - items: + - enum: + - cavium,octeon-6335-ehci + - ibm,usb-ehci-440epx + - ibm,usb-ehci-460ex + - nintendo,hollywood-usb-ehci + - st,spear600-ehci + - const: usb-ehci + - enum: + - generic-ehci + - usb-ehci reg: minItems: 1 @@ -101,7 +146,7 @@ additionalProperties: false examples: - | usb@e0000300 { - compatible = "ibm,usb-ehci-440epx", "generic-ehci"; + compatible = "ibm,usb-ehci-440epx", "usb-ehci"; interrupt-parent = <&UIC0>; interrupts = <0x1a 4>; reg = <0xe0000300 90>, <0xe0000390 70>; From patchwork Tue Feb 2 17:54:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 1434879 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4DVXhP5xZGz9tlN for ; Wed, 3 Feb 2021 05:02:13 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233962AbhBBSBv (ORCPT ); Tue, 2 Feb 2021 13:01:51 -0500 Received: from mail-oi1-f180.google.com ([209.85.167.180]:39213 "EHLO mail-oi1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238014AbhBBRzZ (ORCPT ); Tue, 2 Feb 2021 12:55:25 -0500 Received: by mail-oi1-f180.google.com with SMTP id w124so23678673oia.6; Tue, 02 Feb 2021 09:55:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PY1eqlCJkvXHbJWD80MmmPmZKyzxd9wr3f3PYIBpUVc=; b=j2A07y3d62hZyuNsSzk8N3+XBzUTeBkTqao3ARvqjHoZyFq9okLRknULxt5PjAyxeK QJvnlVIUlWXrRSscLFXbvnaa+y9HuqqXPTbvJ3LW3sw3srncRt/XrtrihAb0A9wyIdWd m7zNmgTp7JzlMC2GuL39vCzXw9C4tn+H0QoqZ05fW6NTKlCOTkUf6clMN3huyumgQ19a ZSXkTwfn/RDHEHq41UXZBDDaqc+7kj7kd8x/pdL+KSCtbdyvQVrbGxI2eyL0X6AutEpE UI/cSQK7vMkQhYla/vEoVe07bz55bYjQKiqSgANef0FOcRes2U4espQwPxpv2Zs1ymrw oAhA== X-Gm-Message-State: AOAM533QoLhfRCBUgEfYYbn5RudnVqgqQAYGVQtR1GndZES6eOtAJSBJ j+fUZKROSzRVi9bV8gCUqSJlRzmuVA== X-Google-Smtp-Source: ABdhPJxQVjkQxH7g11QJoQLfO7bARahwERaBawAPzAhaaOebgvT6fKeVG53K1OiEb7+d/ps6f6UBWQ== X-Received: by 2002:a05:6808:48e:: with SMTP id z14mr3503610oid.167.1612288484209; Tue, 02 Feb 2021 09:54:44 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id l7sm6552otr.81.2021.02.02.09.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 09:54:42 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: usb: generic-ohci: Add missing compatible strings Date: Tue, 2 Feb 2021 11:54:39 -0600 Message-Id: <20210202175439.3904060-2-robh@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210202175439.3904060-1-robh@kernel.org> References: <20210202175439.3904060-1-robh@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The generic OHCI binding needs to document all the specific compatible strings so we can track undocumented compatible strings. Add all the compatible strings from in tree users. Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Rob Herring Acked-by: Greg Kroah-Hartman --- .../devicetree/bindings/usb/generic-ohci.yaml | 34 +++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml index 2178bcc401bc..53df281f618c 100644 --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml @@ -14,8 +14,38 @@ maintainers: properties: compatible: - contains: - const: generic-ohci + oneOf: + - items: + - enum: + - allwinner,sun4i-a10-ohci + - allwinner,sun50i-a64-ohci + - allwinner,sun50i-h6-ohci + - allwinner,sun5i-a13-ohci + - allwinner,sun6i-a31-ohci + - allwinner,sun7i-a20-ohci + - allwinner,sun8i-a23-ohci + - allwinner,sun8i-h3-ohci + - allwinner,sun8i-r40-ohci + - allwinner,sun9i-a80-ohci + - brcm,bcm3384-ohci + - brcm,bcm63268-ohci + - brcm,bcm6328-ohci + - brcm,bcm6358-ohci + - brcm,bcm6362-ohci + - brcm,bcm6368-ohci + - brcm,bcm7125-ohci + - brcm,bcm7346-ohci + - brcm,bcm7358-ohci + - brcm,bcm7360-ohci + - brcm,bcm7362-ohci + - brcm,bcm7420-ohci + - brcm,bcm7425-ohci + - brcm,bcm7435-ohci + - ibm,476gtr-ohci + - ingenic,jz4740-ohci + - snps,hsdk-v1.0-ohci + - const: generic-ohci + - const: generic-ohci reg: maxItems: 1