From patchwork Thu Dec 12 13:08:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 13905190 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 ECE072144B1 for ; Thu, 12 Dec 2024 13:08:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734008930; cv=none; b=IrhYwoSBmJOCtJl6CgDXRhzXa0IvBgUVi5n+3aq2X82iBx74TI4skZfAHaoxyQrcDIortJKtZyf3bq8OF2hieYBbWUZdp41ANAWHre98PR92mjVMYYLApjy1rHPWtMIZm3aohvenR9wQN24wMIAhU8r/fSZYmXo4kV6gc9WSWGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734008930; c=relaxed/simple; bh=uXl2hEmCTQKufHaw3qRwm8b6rrSxvV0DnO8x+QbHetM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oYzLPQE5qxjSHLBBhzv3xOvNe/U5lBeaCpC0Rfe/tCza9seLxB6zXvaahFfpaVrqbiypZ1KVcX0kK4tDblDnMNkiFpfZ/q5v24ko4dC7G9FmSUJWxTnzoyKu9EWzbN5ssaxr/aGf/4uH7yoZSZUmP1BSje1q6S2NuAWukWSa5Us= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=FBygXNsa; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FBygXNsa" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-38633b5dbcfso583629f8f.2 for ; Thu, 12 Dec 2024 05:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734008927; x=1734613727; 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=Laarec9Gcg77CSK8knsrpRMAwU44ByomzCcpHvi92jc=; b=FBygXNsayRPSRtU8g2upnjxMiyH7vY7IQVm3GFfMVtImtv7do/4mV/DaxwxeGbczid BuMVQ2XKVlT6ZRQmb0ED11sQYGt3pi10M26G+RVJpmqX87CGYBIYqGVJSChwVC3MmNX/ GGh/69V4TduLFfg6AhIcsh33ET+rKS0VqyUJI3ovfv0CJF5HpAq1rmFju12423VQhvBu 1ERlx9q8k0IjKTr/U327U6BZhXX3Th9HYLaSyy/nYvoY0J3CVGeAjCKDX11QEgnLs3wV y6178naeU4eH8gi3ihzRbyWo14xgX72qLF1Dk8E7l6KIdphOUY+csbxCYwRmDoUtlTOp GoNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734008927; x=1734613727; 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=Laarec9Gcg77CSK8knsrpRMAwU44ByomzCcpHvi92jc=; b=Ir1GEh3SyRzcdqbc2h+CQejEOyt163d9ONquUTO+PazzMAhUH/dx0j8hzqRKdDI12H HqMr8pci2icQnP7NGVWBREamK33mrsR1u0CDpJK1SulexVk7+rrjuzwmHHEh6/AuSmmN d0W3KGb+5V7cl0nhS0DwZN5+8IigDKIHHWJYX1vQzUGYGjOLswzeumjS2ZT92cjPolCw pjnXUgPXitv+aedfwffsC/5klMTnO7vgEcYzq06yCocEoDtU0tFyNv9ritSx879yyPQV 560LWdz1cbL9C3mq06iCMBlizJsTFnl4v5JVZYGeMng0RoVW2zfUteYBdt6QhLoikrUn b/ZA== X-Forwarded-Encrypted: i=1; AJvYcCWr2j12tN6mKUZT32a3OPddJbVGJ40fl+biInUQH1p7E71zX8nftEGud7p/6VraEUB4aLFwOMvgGh4=@vger.kernel.org X-Gm-Message-State: AOJu0YzlvYLY0pr3Tbun8yx1gxYCXlGD0tsQAgiJjleZcxOiX9EcqYiF tntwrf+G0/P10hbzndkUNlO+duQgZvMpXNA4mcGdGMAsWVLhCiqp0Aksn1kLoMw= X-Gm-Gg: ASbGncso8I79ONFw8GDh0kpM42Dq9k4aaZvBDw+fBEayc/1nytZIsbOBDXrZxw0laDz oISwUliX3EOL3uNFWOkCvBG/oCQs8Y8AytA1PsgbJ2u3XIUkjpcXbPIM5DcyYGJO5BWZlcFVGmN Veigbnhgw9v0ok1Iy1xuI4M5rK0+aMTQpHhTSYJIxkQmv6lgEIPema39xdc49WReXFqo+0vfz5A 0fYCppXRCsU3va3rSQNN6OIj9Yg8Z+VX1XnsTb+sp0MYfApAB8HB67T95J4YKTlaP2eSA== X-Google-Smtp-Source: AGHT+IE278mQiSqfLuj53e2L8BLf2OCaH8QWc+w2KN9nQLaegzE1t3lgp9B26uV3jFUsqIGi89QwRg== X-Received: by 2002:a5d:59ae:0:b0:385:ee3f:5cbf with SMTP id ffacd0b85a97d-3864ce96d73mr5779300f8f.20.1734008927226; Thu, 12 Dec 2024 05:08:47 -0800 (PST) Received: from [127.0.0.2] ([2a02:2454:ff21:ef40:3c0e:7a2d:e7e3:9cf8]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa6845ab4absm605843366b.73.2024.12.12.05.08.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 05:08:46 -0800 (PST) From: Stephan Gerhold Date: Thu, 12 Dec 2024 14:08:25 +0100 Subject: [PATCH 3/3] arm64: dts: qcom: x1e80100-qcp: Enable external DP support Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241212-x1e80100-qcp-dp-v1-3-37cb362a0dfe@linaro.org> References: <20241212-x1e80100-qcp-dp-v1-0-37cb362a0dfe@linaro.org> In-Reply-To: <20241212-x1e80100-qcp-dp-v1-0-37cb362a0dfe@linaro.org> To: Greg Kroah-Hartman , Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Abel Vesa , Johan Hovold X-Mailer: b4 0.14.2 Now that the FSUSB42 USB switches are described, enable support for DP on the three USB-C ports of the X1E80100 QCP. It supports up to 4 lanes, but for now we need to limit this to 2 lanes due to limitations in the USB/DP combo PHY driver. The same limitation also exists on other boards upstream. Co-developed-by: Abel Vesa Signed-off-by: Abel Vesa Signed-off-by: Stephan Gerhold Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index cc0561debdb0b5c89f5d7f298d34f1feaf183b61..f45df1396eae55896a66e140b7db96c6089fbe38 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -711,6 +711,30 @@ &mdss { status = "okay"; }; +&mdss_dp0 { + status = "okay"; +}; + +&mdss_dp0_out { + data-lanes = <0 1>; +}; + +&mdss_dp1 { + status = "okay"; +}; + +&mdss_dp1_out { + data-lanes = <0 1>; +}; + +&mdss_dp2 { + status = "okay"; +}; + +&mdss_dp2_out { + data-lanes = <0 1>; +}; + &mdss_dp3 { compatible = "qcom,x1e80100-dp"; /delete-property/ #sound-dai-cells;