From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3932342C511 for ; Fri, 31 Jul 2026 14:34:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785508472; cv=none; b=OM/iDqQ2aYyqSPhzEKrwhYM+RjPPBuAXInf/tvH1+IRLfyu1rXfMa93NVKUTMa82V5SP0/qPmS12hVMezzMBKf9/0ZrazhRACki2uAGLxNSVl9aGsNlEPXLeU4BqpweV6qQBjgMYd5L1dYxHnMzWA7p3Z32XBehzBWnontGsvlk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785508472; c=relaxed/simple; bh=Lu9hJWM5FnkOlRaWVWjIRI/RDVl5jUP9oaZX7fCXZhY=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=chsduC0taomRdyJ8rid1ksCbgnwSEZfDZc7OuWjulhibSMHzIyr+95XLWUGmYgo/sGYd7r48Tp5uncOusEcGWzA1f4eRkWgsQIzhrmAoLOZdOPzN1ewTq4q4yhg9HB9Hp4oIDmHpBiMoiOFwp6b7m9T5Bqp24xgch81L1DrNME0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X+ByasTO; arc=none smtp.client-ip=209.85.167.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X+ByasTO" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-5b28c91fba5so1087719e87.1 for ; Fri, 31 Jul 2026 07:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785508469; x=1786113269; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=cEYf8XWt7uIQNYBnvw5HrwZeU0df85IjOKBJMRJ7Wzw=; b=X+ByasTObEzX5fSUAw2i3Y9aVdSdmy4R+Is2Uj0h1R8ZFdcMCEK7ijp3rGrmiO7ZvM qW+rIj6ajAqShR3qi9EFIDSOJmBLE4Jtpns8tCVzTH+X9HELyNdtLhNdYA+kv00ANwCU KLNnFhObk0PkcFMTw2OrrXFbaTNYyieiNeWja7zXH5qmvZuyHFuDM1IaeELjZP66r0IL TRrdBMWEprra6URU2F60Y7I6YYFQ3K0VfwBCK/6oTMz6yswd7KK/ULIJ4qYbwIklJGZx r1kHQ5SJZFtM1CludfBx5QwdID//sAmOcKI6/1Jbtz3qK3X5+E6+ofidePRNLk/FhC1i yqJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785508469; x=1786113269; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=cEYf8XWt7uIQNYBnvw5HrwZeU0df85IjOKBJMRJ7Wzw=; b=OOkexfF9npP2eB8K32Vrnkpt59ObeMfhb5oklxvSNhbtUjf2jmnvo3vcRYo2unlO9a gNITbfZbHDxPZ3tGff33pgCS7ScIXBWDVzuY7nW5bdltC6tXW/c/DdClp7PMR7Zrmktg uFtl+dhGyrTkvF1KZvK0wNd7777V5vqoqLApzfUbX8y27ixnCUUe2FfXoIYLx2C4cct4 EakuuID3jEaiNJU0CLcOE56jG27AJuacamz0k1EBgEujre4dy9dKQs+W/gOcQo6k/UJa 7WUxARU415lGosGZAuXgdvR2efoq67MouInAiknmAA8INbfhTnssz8lLsMaGVv4WXXGt zQtw== X-Forwarded-Encrypted: i=1; AHgh+Ro0OtKnAtSdplR32lSTtd2utQa1amNSo0PXhJPsOjroPXf5BKkayZv5q7B7mCLN4zSKUovQy7Xqh0J7@vger.kernel.org X-Gm-Message-State: AOJu0YxmVhVzgBNMOhl/N7gQjHw8XFKFNYw6uNTSzdE60pBdBBsCtq80 uDL7aP0VMIX4N8g1suSdwD65sz0+hMTzaOAa3haLac0glXpL9zDDY1JP X-Gm-Gg: AR+sD11mIZrgRpP9Pqis6YByWw76rhfrovkH/HkQM2Njy4ICfeCn0dpQIdAhVXsVWLZ ICv8owsF3bHILJV6Rj8h83fDwzDeGVHsOFEfXyR4N8ax3DJuDZjNEKX/gbZOMnmOGrCpo0mXTDp ru2RWy8NiwfSdl786k6kWFckZJw2S8eo80D0yEqS9qdO85KYGpBR5PoobQBDSb0a6M02QeAo4Zy pUncYjzHnfOzPruZgOKCzbVdAuq7+UxgtSrHdEHdQZaASDRZ40UylGepEnKoieJyvi3B0eO3x4+ LefDUOyvWv50QMiYdF8SNH0nbsGc5+3h8AqzUsMxalB+MyE+H43e5o4+k6fbM6RED9qasNOU/Ps WTW5X841T6bN0/mCss5RDzP4veT1VihNgkaWCw/i3pTlCN5aRBHBhaQykDh+YUZONyUs3/GHqO8 T8tCyyM4dmCj05zYupFysjXOeK2I1Pt8e7EmZENYkR9r1Um4e/HOqHfygkUAym/KGaGHK2IamF X-Received: by 2002:a05:6512:3d03:b0:5ae:acbd:439c with SMTP id 2adb3069b0e04-5b2e2422d22mr454761e87.23.1785508468894; Fri, 31 Jul 2026 07:34:28 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b2e2441db4sm332262e87.45.2026.07.31.07.34.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Jul 2026 07:34:28 -0700 (PDT) Message-ID: <7855a0c3-29ac-4842-8e07-352fcb535a63@gmail.com> Date: Fri, 31 Jul 2026 16:34:23 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 11/16] dt-bindings: usb: mediatek,mtk-xhci: Switch to ports for USB connections From: Konrad Dybcio To: Chen-Yu Tsai , Bartosz Golaszewski , Greg Kroah-Hartman , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , "Rafael J. Wysocki" , Danilo Krummrich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-acpi@vger.kernel.org, driver-core@lists.linux.dev, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Alan Stern , Krzysztof Kozlowski , Bartosz Golaszewski References: <20260721065413.2306137-1-wenst@chromium.org> <20260721065413.2306137-12-wenst@chromium.org> <38397324-56b0-41e9-960f-152a16ce8b12@gmail.com> Content-Language: en-US In-Reply-To: <38397324-56b0-41e9-960f-152a16ce8b12@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/31/26 4:33 PM, Konrad Dybcio wrote: > On 7/21/26 8:54 AM, Chen-Yu Tsai wrote: >> This reverts commit 454a1e3cd36c113341d7b71e8e691c6e47ab4a8a. >> >> MediaTek's XHCI implementation supports both USB 2.0 High Speed (HS) >> and USB 3.x Super Speed (SS). The block can also be synthesized with >> either HS-only capability or HS+SS capability. The SSUSB controller >> handles the device or gadget mode. Saying that SSUSB handles the HS >> portion is wrong. > > [...] > >> + ports: >> + $ref: /schemas/graph.yaml#/properties/ports >> + >> + properties: >> + port@1: >> + $ref: /schemas/graph.yaml#/properties/port >> + description: Super Speed (SS) data bus if SS-capable; >> + otherwise High Speed (HS) data bus. >> + >> + port@2: >> + $ref: /schemas/graph.yaml#/properties/port >> + description: High Speed (HS) data bus if controller is SS-capable. > > FWIW this is opposite vs what the (most common) DWC3 schema defines: (s/opposite/different to) Konrad > > > (also true for mediatek,mtu3 and renesas,usb3-peri) > > -- Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml > ports: > $ref: /schemas/graph.yaml#/properties/ports > description: > Those ports should be used with any connector to the data bus of this > controller using the OF graph bindings specified if the "usb-role-switch" > property is used. > > properties: > port@0: > $ref: /schemas/graph.yaml#/properties/port > description: High Speed (HS) data bus. > > port@1: > $ref: /schemas/graph.yaml#/properties/port > description: Super Speed (SS) data bus. > > Konrad