From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 0212C1F791E for ; Wed, 26 Mar 2025 16:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743006237; cv=none; b=KfCpryqHHrDf96C90YCICLJX/vjWgDX0unok/rvuHwgGJShNZ0R2hxstM6/IybT1WMJ/JLJicf5M7h698ihDA8jwtPBTNoNwU/bDXWDdk8WamlmVWos0YA6AQY+HLA8WgpkT6fRp2+Iab0U6pyHM1J2o00Z2tNnc0qiTpINs/M4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743006237; c=relaxed/simple; bh=sbUdINhLsUhhAyV0mvnO02l63FQfC+wlrb8lw8RlunI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NOJBtPgJwwHVmpSd4qWK91vrOmmKdjCRCaDeZSbh+UbH+juQ+eTUztt+CkeBjIA9KoJ+7JoV10SiHwaE8YgnssnqOLu84LOjTWCnWixgFN996B7bIQXdnKnzeISn9rIyjFX+j6sIWHUF1mqz1WaW75WlEUcJfoC+M70e8Nh1y9k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=thaumatec.com; spf=pass smtp.mailfrom=thaumatec.com; dkim=pass (2048-bit key) header.d=thaumatec-com.20230601.gappssmtp.com header.i=@thaumatec-com.20230601.gappssmtp.com header.b=oe34fiHG; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=thaumatec.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=thaumatec.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=thaumatec-com.20230601.gappssmtp.com header.i=@thaumatec-com.20230601.gappssmtp.com header.b="oe34fiHG" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-ac2902f7c2aso1186080766b.1 for ; Wed, 26 Mar 2025 09:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thaumatec-com.20230601.gappssmtp.com; s=20230601; t=1743006233; x=1743611033; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rLyts1UbCS80soWAIK/VLH5pGMtL6M9HaPrhO/pX88s=; b=oe34fiHG3kkHN9Y77t8+woUpON5Tf3n0OYlG6JrkYsP69+LDaujhzmXyUbXOdt6xFI xVODB/v5msQ3nmXC/Jsc5bx3gFVWYX4YZi2VCVrYRyypbNCg1VqEAu2x2+Gw9DmTRVzW bByApbbVQ6DK/Clcx5h5ESF3ngQDYjsSfDm9bO8C3Js+rNFpTa/QisPfZ0gXizbgtan0 cwfNgKaGaCEBM1LjT4EQ9kHzoXS1b11/EgC/8TskzwNr/1bsZ1Ud0O90gHlNfUBLzF8p ExMu9LBpO/zJYQdmvrE72v4ySnPiJOuNfwQqozNkZFuqHglvqS1A5lbmlw4HA2rEfbmZ 2KzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743006233; x=1743611033; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rLyts1UbCS80soWAIK/VLH5pGMtL6M9HaPrhO/pX88s=; b=dXx6eXmcM8CzEfXFyYOilu8GcpkF+vX+IWz7RhPdpb5WPvHqrk/8HzlAyucacYQuqp WaI1EbbCKOU9r4gpHP2ZSZs0a9aI2ZSvq3Gz6lLHdwjoqzx7fPmV5AHbYjXc8QsfSgh9 rItCWbIbBKdmgqC9pp7PAzaJPshQnMz6z5KX76qn4y86CKRNyeYIYN6grzylI365ouDr FC2hn+RbYfFcd3uidFOMuhXljr+FMcuPwYhBAOIvb09t8Fu2V/nOLAU5ZPVWF7pchgUL LjjSCgyuxdbRQtqXk7ymm3rPcAwOnHXwHsFMjjLFOcFtUr4DyuujI8NnYtwTo3xw9yOd PwuA== X-Forwarded-Encrypted: i=1; AJvYcCUUDcgZlyAfJ19hSDVOGX8YE4hqpX8FZg9vkdgEc0h4Nqc2pPQsSRn7/J8F7UQyRnbNhNrQzRwVsHJ0@vger.kernel.org X-Gm-Message-State: AOJu0YwOxnK+187c6AcdL7FDx3kHgJUHw8qW/s/yGdwvdHPp9KrYhZWe QfkyBqU8YfGUeSt6teRHu03zBJYBOKFol0NlHzkVYRZDKI3pI9/HokpAe3HNcQ0= X-Gm-Gg: ASbGncvFLlfMfDIK1gZ1/pUpCusmRr1xVyO5J7x6WpCl8VLcDOAgssBSVPYuqbe0jg3 4pUX+BPVZ8JyrUqgsDWl7uzC6otW6OkRxrJKVTKFc/pBd+Gh5ENj6M1t2KCa1OlG4tJ8J38aPHQ IXoLWWy3RFBCuiWh9G5OlM3pvSBTWx/khqYQRuX37Fu0qmc/kD3lYCP26ow/Sx5+2V8iTR6WX16 LKSR+IKRj+ufRBqARKRdPIDFCPfERqeUucYDhi46wOTH2wMwpk3sk/dApUFdiBWiuyVWXZ+JYbt vHhUK1tnkbM50LTzRPfqwKT1o/Mkb+idwXRScDsjT1RMEoOEHWI0rDzHWw== X-Google-Smtp-Source: AGHT+IGuL6Nt4ApMHrsVVJxTN8kmsE+fO+syqOdRHUYnjFPTrq5knLFF6NaAbaKnyWcocuiQ/Tst8w== X-Received: by 2002:a17:906:4fd4:b0:ac6:b639:5a1c with SMTP id a640c23a62f3a-ac6faefef90mr4899766b.22.1743006233086; Wed, 26 Mar 2025 09:23:53 -0700 (PDT) Received: from [127.0.1.1] ([91.90.172.13]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac6f0f498ecsm76678866b.135.2025.03.26.09.23.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Mar 2025 09:23:52 -0700 (PDT) From: Lukasz Czechowski Date: Wed, 26 Mar 2025 17:22:59 +0100 Subject: [PATCH 4/5] arm64: dts: rockchip: disable unrouted USB controllers and PHY on RK3399 Puma Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250326-onboard_usb_dev-v1-4-a4b0a5d1b32c@thaumatec.com> References: <20250326-onboard_usb_dev-v1-0-a4b0a5d1b32c@thaumatec.com> In-Reply-To: <20250326-onboard_usb_dev-v1-0-a4b0a5d1b32c@thaumatec.com> To: Matthias Kaehlcke , Greg Kroah-Hartman , Benjamin Bara , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Klaus Goger Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Lukasz Czechowski , quentin.schulz@cherry.de X-Mailer: b4 0.13.0 From: Quentin Schulz The u2phy1_host port is the part of the USB PHY1 (namely the HOST1_DP/DM lanes) which routes directly to the USB2.0 HOST controller[1]. The other lanes of the PHY are routed to the USB3.0 OTG controller (dwc3), which we do use. The HOST1_DP/DM lanes aren't routed on RK3399 Puma so let's simply disable the USB2.0 controllers and associated part in USB2.0 PHY. No intended functional change. [1] https://rockchip.fr/Rockchip%20RK3399%20TRM%20V1.3%20Part2.pdf Chapter 2 USB2.0 PHY Fixes: 2c66fc34e945 ("arm64: dts: rockchip: add RK3399-Q7 (Puma) SoM") Signed-off-by: Quentin Schulz Signed-off-by: Lukasz Czechowski --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index 3a9049372e12..d0d867374b3f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -579,10 +579,6 @@ &u2phy1 { u2phy1_otg: otg-port { status = "okay"; }; - - u2phy1_host: host-port { - status = "okay"; - }; }; &usbdrd3_1 { @@ -611,11 +607,3 @@ hub_3_0: hub@2 { reset-gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; }; }; - -&usb_host1_ehci { - status = "okay"; -}; - -&usb_host1_ohci { - status = "okay"; -}; -- 2.43.0