From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 426BA42CB1B for ; Fri, 31 Jul 2026 14:34:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785508472; cv=none; b=SDsgNQuYrcqm6z/nPFxmUA1p1L3FQ8x97Bzb92ebJcM1ImDJziqwjEu4nCANxA76DLeojtLSFC4cx8EkjM+AJTQcBmbGLNne/ealMV4gFNTpWCYo57rAQGBRZXTsZz7wN6msFtZ4q2XnII3krWjws8I1u7Z3VlWQVhcc6en5A04= 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.208.180 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-lj1-f180.google.com with SMTP id 38308e7fff4ca-39dbe684115so18289691fa.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=BbQsWiDefLY/NSJgFxn+9c+YH34RffpPaMJ/PNSP7aDlMCnpuM4BFDqiolETikoMJM u5b4gzTrF2tqvCb7/1dRO8YegLJndq3/6VxHClOn96ifrjxjCHhEP+kH/CGRaO0DH2PM XPkuW2Dyaq0gNDS2epw+RTcXoQJsAxMxCm+AhkVkNw/yfRNeBOyU/wBo3PprcIvrL+1R 1BQXDl/UxgjvyHE88KVO2Eo31Ojkh2rwAPg/F3C8skUo5E15MLHAcfR4p5xo3NstTdDC Mfh+etPf4CpnbbFEt4eE1zE5R4Q90Q2Ko9NoSRpJo6TtEIzG0VVLygN9SWA9cFNfYV7Y Dt5w== X-Forwarded-Encrypted: i=1; AHgh+RpeTcq0QXICfMerfj8i2q5jAJJdYZ4B1SI+M/i5szCuAPriFZBawfJGnlnSBS3fleZStHGrgbHgEQ==@vger.kernel.org X-Gm-Message-State: AOJu0YyFfcjRStK51EUn8ONKYFPTBIoeFChoABMzQJLySqKJWQ2QNnTk uvgpoLWktvViM5+hyQvydTGWxjOxaEWMN7qtekVYGvBTAoNSuKrbuGpq X-Gm-Gg: AR+sD11eYgvF5JIRLG7bBnAVUVSDBVvShM6023nG3aSV1EyjyayXJmf9x6Dvn0WG05a h3wSSfjj1xmcaz15Mo1YtSNDY7WmjYkPeMOGnbi/tGldLdSzs6/zbj7XzKltFuu6WUVumHIcdzJ v/Huzoh6bKQRfG8qPoi9KKyxJ+eaanRaXSyC6Iyz5ITzejz4YmyrslLLHgGI5RIYtyk+gSWur5a gD1V4pBh6e073/Ybr3L+7ejrdgCbv4RS07j8c3YPOXx6fsba44Oz+Xz4gSowOh1BpUC2epyKJEh kEXIrzfkTko+mmZ4tm7r1jhTd1TaL63ykCpOyeGX/P1twlcL/lm/sITiTShDCfLaKcY2gVBET9M 26otB5A3yqF0B4RTh/NUBWZKxi0Cwb4n72T4PoFQIKruLHzso0TBaohY9nn+Xw9VTUJ3pqWGrbs OhQxup34b3e2Tzdq9fEItwobW9XCEGx71hldYOPIMOnTox5Kmwd+zfNzWHH+zcwP3bQaMD/VZw 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: linux-pm@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