From patchwork Wed Jul 21 14:04:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 483665 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, 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 B69E2C6377B for ; Wed, 21 Jul 2021 14:05:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9832A61249 for ; Wed, 21 Jul 2021 14:05:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238580AbhGUNZE (ORCPT ); Wed, 21 Jul 2021 09:25:04 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:34293 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237349AbhGUNZD (ORCPT ); Wed, 21 Jul 2021 09:25:03 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 133375809CC; Wed, 21 Jul 2021 10:05:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 21 Jul 2021 10:05:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=dl9JkUAuyzpIr TOxu1i2v9vc4da4FlF7FRCf7MyfqZc=; b=c5khjbmbj+1WOoepaIcdlgsRmq8lT CYJQs6e28rgwSH3Wm5JPsgf9zqTq22H6K6ic/h3PEhCq3rNaMbOlDWk37MMOQokD OIQ9CdhwjCn2opdufG6Ci5eWYbAqq1iPGxmookiEk8CmsDRrkUFeJTthKfgh2OmE GBWAi0P3FJfdT1DmG9vgQ233iPrM5LHswk0fa4hB0MXgAxh2sqnS+AMwIV8NGioG f3ZwiKLmksbAeAETe6tFr1RRJqAdeY7boL2kD/+IroOMgAhRgCCd/5HDgKL6oA0k n23DTTvWrVxhkDlRvR0+FXd/TrdhTOqiLoWhwRiAOnRCM6fxqbIAN2NZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=dl9JkUAuyzpIrTOxu1i2v9vc4da4FlF7FRCf7MyfqZc=; b=a/6JFxB9 AnV07P1D5VOMudcesdDUJ/wr3lUuHjH8PSbBVi2caZQHFrATmpv7u1LuwcdEydSE kxik39AsDDgR47oruW9uQ9HJ6zxAxO3+TgyUCg8Zskly47pgO/CqtNojYkIoaSpq +NkZDYVn3KvICjcTzuzoxXaFxxieMUyy15JDWWHvP5B3ftBU3y+ZUPY4HIsqArXO nJP7zNZDJvJfVjRUnLY8t3O1j0ZOtqhQQW7MKGOrplkpZDaVvdmpxINc0oUESpA5 hDAuHiHdqm0sIirMFDOsZhJlxRfBH3Ex+b2A70cWo6XfjP4Cl+TJEZg5p7heoopq 8MXyWpAO81zLBQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeggdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Jul 2021 10:05:39 -0400 (EDT) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , devicetree@vger.kernel.org, Rob Herring , Frank Rowand Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 35/54] dt-bindings: usb: dwc3: Fix usb-phy check Date: Wed, 21 Jul 2021 16:04:05 +0200 Message-Id: <20210721140424.725744-36-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210721140424.725744-1-maxime@cerno.tech> References: <20210721140424.725744-1-maxime@cerno.tech> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The original binding was allowing any combination of usb2-phy and usb3-phy in the phys and phy-names properties. However, the current binding enforces that those properties must be a list of usb2-phy and usb3-phy, with exactly one element, effectively making usb2-phy the only value being valid. Let's rework the properties description to allow either one or two element picked with values either usb2-phy or usb3-phy. The rest of the tooling makes sure that we don't get any duplicate value, so this should be what we want. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 41416fbd92aa..6c3f7c9a76c0 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -73,15 +73,15 @@ properties: phys: minItems: 1 - items: - - description: USB2/HS PHY - - description: USB3/SS PHY + maxItems: 2 phy-names: minItems: 1 + maxItems: 2 items: - - const: usb2-phy - - const: usb3-phy + enum: + - usb2-phy + - usb3-phy resets: minItems: 1 From patchwork Wed Jul 21 14:04:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 483664 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, 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 5CC1BC636CA for ; Wed, 21 Jul 2021 14:05:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A79B61249 for ; Wed, 21 Jul 2021 14:05:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239130AbhGUNZI (ORCPT ); Wed, 21 Jul 2021 09:25:08 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36675 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237527AbhGUNZI (ORCPT ); Wed, 21 Jul 2021 09:25:08 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id C901C5C0140; Wed, 21 Jul 2021 10:05:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 21 Jul 2021 10:05:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=QyKlL+wTQSc+f ZVHGY1kOa8Mvop81twS43JV0O8gebQ=; b=gASts5VfM5pUBAAj9810o7z9LrtGV y2BTMzYVrALW2N0WB3RhbdbP1m2Sp6LNblgiDBZLKF6/IVTK5Wa14e0oqEyb13Kx 3hJ5n44szy3hiO0FMYSfRagyKpCVhjYY5TNLEx6DGYxl25KG5szAscHbuU7L+vdy J5rJfA22/lZWiAb+51qui75yUAFMJmTkqSZUvYA1IjXomzzwb9gGxwUHXXgxIWy4 xLCGkDUq83huO3JmdJAWlLE1xqpvMCQ/kcajl/Ag13YEUfgNuKpc08IkqpTce3zR g6ac/afSHRe9hplO0DLRW44RZm+WbyM0c9s/IJU6RUybq2EiIiNhLllbg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=QyKlL+wTQSc+fZVHGY1kOa8Mvop81twS43JV0O8gebQ=; b=oRzgK1vV pI4FaiqMv+GzR07VbYhXLUnXdZdxoYJs+UDHFoyAzjsJSQaCrQFpvDOUySJT9vpO hj2T7aYrmV2a5yt+xTNrqHyeg+swCj7AMgCfOcklB0e2D45joPXhY27yTZaHI770 3mQJnspqPdyO7+TCiGUTdfTWyrhOa7ariY1Zr/IxcaDHFy7Cr6s6cj/MONyzD/xZ Gjjop1QzWdmc7zgFdDJ8ammi+l4aVzjSQYZzQCxYXt0kwTQrB/blWExfegT7ndeE xun9AGY4Q0Amv3BDCeN6adVI540rH3J4sUuGFT4ceQYbLoicuGR5BcX7VDLwGUdv qzJWKqXK1iZGLQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeggdeijecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Jul 2021 10:05:42 -0400 (EDT) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , devicetree@vger.kernel.org, Rob Herring , Frank Rowand Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 37/54] dt-bindings: usb: ohci: Add Allwinner A83t compatible Date: Wed, 21 Jul 2021 16:04:07 +0200 Message-Id: <20210721140424.725744-38-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210721140424.725744-1-maxime@cerno.tech> References: <20210721140424.725744-1-maxime@cerno.tech> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The A83t OHCI compatible was introduced in device trees, but it was never documented. Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/usb/generic-ohci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml index 0f5f6ea702d0..700e95262a8e 100644 --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml @@ -24,6 +24,7 @@ properties: - allwinner,sun6i-a31-ohci - allwinner,sun7i-a20-ohci - allwinner,sun8i-a23-ohci + - allwinner,sun8i-a83t-ohci - allwinner,sun8i-h3-ohci - allwinner,sun8i-r40-ohci - allwinner,sun9i-a80-ohci