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: 374640 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp427851jah; Tue, 2 Feb 2021 09:59:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5NmkE7JN/iO88KjAFkou/TqHQD06MOxtaIgoo6DVyB06kb34+b95t1DRpD69026WAzkt4 X-Received: by 2002:a17:906:15ca:: with SMTP id l10mr22878650ejd.402.1612288748407; Tue, 02 Feb 2021 09:59:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612288748; cv=none; d=google.com; s=arc-20160816; b=DrLROAYKyxtRPzSMVtwhoyJE0buu98fyQhjlUgVpSKyBfTX4ZDfNXw9lXWMjEtx4gX sC77uHAI3ZiAk8SmKBQ34kJeRxihefchfX6tj10mUdNsC6a48xLhd1fYIiea6iqAdgYC 05UFP0L2cVD2DDqDCvE0iM/mN45KUZHDN61O6vsV4nuoUB2N9XK8pE6FkBVXs2729eS9 xEe4oqBv9Qc3qNWWWmVD0wC8Xj1d5ayj8018DLiSsZogNho/yAF1VA37Ot94YpacXa3h JoSOG08TZzh3x1+NfUUAVH9BSWkE2oMhTGaKoL0uApsP+fu5Vt2VivV9di+iRh6Rj4w7 p1AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=cTCXVmitXXn3fQmPZHNdgxN+Fe/Yj7/HlyhpJQ2WZf4=; b=nFvpu7dh6yEfu1pb+krYC6GcYRzwsnSue0h7KfqAroP3Tx1U+lxRc3gianns7i9207 5k88tT3d3Rk96Gz+Wbma/D1X4wCrhTdTQttwlf9qVgYBXG6d1ksr5M5OVAgbDotu0vZI 1eWZclEMq5r9deVm1P3gEYYb0xW+oQXaNl4xyri5BhL1TLN4aJKINjxWOMlxkAX2p+qG WWtRbsLCrCPOb6CvqnM36r31OBPj4Y5P/bkJNT8I1KGnVMCO3T9sod8xPZWvQocFTSZT qJ42buTvXfQeQHDKiq+f0qRFwXk3Sn2CrfZK7U6/5HILUUDtaYFQOKVJ1lDS3gEvLItT 8BzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si4525148eja.434.2021.02.02.09.59.08; Tue, 02 Feb 2021 09:59:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-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 S234221AbhBBR5W (ORCPT + 3 others); Tue, 2 Feb 2021 12:57:22 -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-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: linux-usb@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(-) -- 2.27.0 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: 374929 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D15AC433E6 for ; Tue, 2 Feb 2021 18:02:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6ADAE64FA6 for ; Tue, 2 Feb 2021 18:02:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237979AbhBBSBw (ORCPT ); Tue, 2 Feb 2021 13:01:52 -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: linux-usb@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 --- .../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