Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3717335pxb; Mon, 30 Aug 2021 09:02:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwL/oczS6Oy1XFyUjGdJgtblw/aPKQ/5s+ZZAmle4sOOVeBIA3doXHApmqv9ShFnf8wN/Me X-Received: by 2002:a05:6402:1d04:: with SMTP id dg4mr23854718edb.157.1630339331549; Mon, 30 Aug 2021 09:02:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630339331; cv=none; d=google.com; s=arc-20160816; b=Ab7mjhLFbhWRi5gpnkFg/umoDtN0EGd9B+1McniF0HZZf5yxKzbHeRh/+uhbHX1baw TiyZoihXlJSUxOyk/Y85lO5G1TIKdCrr+EMDxtpTtXsyyEYlxD7lrnPSWFUIVUaKm7+Q K72fViCiAplMLNu2vZWv3gmKyv34cna/lpYqB41IK7eBQqT4LEd6rJ+rb1jn6/xyFXXe jU4YKRf18nyNG03XrDPC20VcuUrvdrv6/CxMqXvHS+5inV9P8NI/8VYWnbOVY8Zayy13 NYDrxSk33LOoWjNpPWnk6xkvIuh4pmK708+quQR6VTWqas3hJKiL+uAhOgkK78P3nwax y+eg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oveQHB7IdXcHl8AM8auAoNrl5xf6elidMDarRIPD7LM=; b=fjvZcN6/FHGcuoJNNtjiX+0VKLxOg+IzmqcShuVEfns24YTvFT3JZJ2CICmAuEung5 LfPx976IbdeH7qGE5gFz6bVkDHFguunT9cPg9RCZ2eZ4qXOv5imrsoh3W4SOv+VYXD5G sLxnFknXdypyh70ycdOwgQeCIBxLAXYYOWfgpW/KLA/ptttHy68eoa1pqpA/65OVm5D0 PVq/62bb+o1x/ThfbaOh2lg+4zONNWnE3Gowa/yaBf9MD/RvcDZBXRLaZjTmAgcP7N/0 eTPTN8YM5T9pnf1zNmAo9f3InecDmye0E/Rujuiy42tFgA817JyaAptDBjbMpVZaq23+ 7v6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gorani.run header.s=MBO0001 header.b=mbIBYfAK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gorani.run Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t12si19426622edc.333.2021.08.30.09.01.25; Mon, 30 Aug 2021 09:02:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gorani.run header.s=MBO0001 header.b=mbIBYfAK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gorani.run Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237779AbhH3QAY (ORCPT + 99 others); Mon, 30 Aug 2021 12:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237542AbhH3QAW (ORCPT ); Mon, 30 Aug 2021 12:00:22 -0400 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050::465:102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C4E4C061575; Mon, 30 Aug 2021 08:59:28 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [80.241.60.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Gyw4F4ZJzzQk2q; Mon, 30 Aug 2021 17:59:25 +0200 (CEST) Received: from hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) by smtp202.mailbox.org (Postfix) with ESMTP id 510FC267; Mon, 30 Aug 2021 17:59:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gorani.run; s=MBO0001; t=1630339163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oveQHB7IdXcHl8AM8auAoNrl5xf6elidMDarRIPD7LM=; b=mbIBYfAKmq80Tj5gKBTh65NDmq0ftaS60M9LbITsks9ppu/KvV+MjrV8aCxlOphFgwp/eM WJblWMseT5Mt26siMj7PZz+FIDRfjnPLSQ6hHrra1gfBXTUuZl+/KqGHrErZwt4S+0Ihld ZKtpHkj5LewiiF6qXwYGm91VNTjXg7KQ6n40+9jNYDJ1ZfmV3Tfq4EbSFvYaJAU3Z1j1Xy fx+lMI8QSO2wfZDyIcITnymmaNRezx3FWLYdDOW6QHRvTUTGjB1du1zoIDWy13Mz2JeA/9 KACFsTKhb3e9JFl2REYhmZCUYmnDCUYUf6/Q+WbQTfOssOuOWh/CXGom6TFkxw== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp202.mailbox.org ([80.241.60.245]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id fWZT7BTQpqPS; Mon, 30 Aug 2021 17:59:22 +0200 (CEST) Received: from ms-v3.lan (unknown [211.58.59.88]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp202.mailbox.org (Postfix) with ESMTPSA id 4116A26B; Mon, 30 Aug 2021 17:59:17 +0200 (CEST) From: Sungbo Eo To: linux-mediatek@lists.infradead.org Cc: Rob Herring , Matthias Brugger , Bin Liu , Greg Kroah-Hartman , Frank Wunderlich , devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sungbo Eo Subject: [PATCH v4 0/2] Add MUSB for MT7623 Date: Tue, 31 Aug 2021 00:59:01 +0900 Message-Id: <20210830155903.13907-1-mans0n@gorani.run> In-Reply-To: <20210822041333.5264-1-mans0n@gorani.run> References: <20210822041333.5264-1-mans0n@gorani.run> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 510FC267 X-Rspamd-UID: 27d2ab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches add support for the MUSB controller on Mediatek MT7623. Tested on Mercury RUSH-318AC Wi-Fi router. v4: * DTS * add tested by Frank * musb * add userspace control flag patch v3: * dt-bindings * remove the queued patch * DTS * remove unnecessary status=okay from u2port2 v2: * dt-bindings * add reviewed by Matthias * DTS * rename usb3 label to usb0 * move usb0 & u2phy1 nodes to the right sorted place * disable u2phy1 by default * correct u2port2 node name to match its reg address Sungbo Eo (2): arm: dts: mt7623: add musb device nodes usb: musb: mediatek: Expose role-switch control to userspace arch/arm/boot/dts/mt7623.dtsi | 33 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt7623a.dtsi | 4 ++++ drivers/usb/musb/mediatek.c | 1 + 3 files changed, 38 insertions(+) -- 2.33.0