Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp361645rdb; Mon, 29 Jan 2024 04:48:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4MNE6VoJ/5FOtN08xEPoGMZXD3nj1lR32IHIZUVahyl1V38b3sD2Y2HqdDJm87IsJcLom X-Received: by 2002:a05:6a20:d388:b0:19c:9ba4:156c with SMTP id iq8-20020a056a20d38800b0019c9ba4156cmr5127635pzb.28.1706532532226; Mon, 29 Jan 2024 04:48:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706532532; cv=pass; d=google.com; s=arc-20160816; b=BOYEi/2F/S237Dv4XhxhUa4Gfnm7NzuX8nxQ+NCD+iTP906B9UeYNfvWH5MJiNjWVB FzODqktOGZiutyPT3wmJUdypy0r3o7TppOIPKSSAKgG4t3LqBvSq05C+499K7aGuTBc+ 95xs1Q6a5oA+W5LY59nxZWIGD+yrQrVCPwG76DTP9F7jdUk//MQte3Y8lP3VZhg6n5FW PLFEgYYIrySljIQACwd4cvZt1VcMLuRH3LReBrU9R+cfHZnMLz9d/TYKWDfxc9B3OxBO Fr9xjguJgtNlFNr5pyJfg4I3acvN/ndsz5MmliJ8A06PAAET92cZCsCmkJa8iYb/9n4D I2NA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=FHRWIZ6AIyJhvIjYmGETHUbdnTVzo35SA3ucS7gN62w=; fh=KvaJsPjjy/nH1PcWvzpfRp4O8bLpxgiJHP1SzcQ8o5w=; b=yxnIaKVcgY3zCjVAnEaFjogga0FA8Lx2CnNIyBgmSnVLm/xSUKXmgMtkDLmH8BxaWl wrb1S9Z843OVqHrr0/IsE8s02A179TfXOIbt5vsg9TQG3rBFyn1lVQ45+ERWt1BpX0RV dD1irzpT+QuSV3XJ7bEMjkUweeHYaYVlsR3XEsph11gXOaZY7Jxq2TGuc4Rj5JhKE1it 6pk++EbssMOFBbwfIMaqUFPLTWdTybfh6LtCFvLHcUlrIX31KWv1mabgV/b9sa27mXbu RndV/WTQseEiQGu1OecInuqnreIz6yC1NISSdPOppA4vOgRPomNGFVMIDeZmO/NzoGqh hlxQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="z6IE/7LB"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-42710-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w13-20020a1709027b8d00b001d5457db81dsi5437478pll.649.2024.01.29.04.48.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:48:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42710-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="z6IE/7LB"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-42710-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DC005281565 for ; Mon, 29 Jan 2024 12:48:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87A2164CD5; Mon, 29 Jan 2024 12:46:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="z6IE/7LB" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 66FB364CDB for ; Mon, 29 Jan 2024 12:46:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532374; cv=none; b=bLN4DKrc4z5nw6Bwg9llpIqStixF2kax3EA1Fv3THv+yyZiyCH2zQIz/vrlMCn6cZfv4yv4ezzAdDyMOnBN64nAq7Tq3fo1Y+ITJS8yxYlJsHko4vwkVNrKWbAFxTsEQ+7rns9ZVSAaVDMGljmHUC9jW+qXRBMeC0gLxReuB6ek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532374; c=relaxed/simple; bh=b5me84CBLvNcqpO40KkAROvLnJP/DZ8uuhWcZAxxBlk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jjsDZTo8TnCQvJHOxOl+nMLKQrVyn4ISe0Dn7l/uCXM75ItKjVLqax86eTP1asDkY0ULW1JyBZ8wex0L6sqZ16i6tdkUk5L3jboKHjaCZ2K3FXOaOAasyCOA62XRyu0Vg5cmp4aaTmfvkgkE4ywanDa2owclSWlquA5Ele2PQGc= 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=z6IE/7LB; arc=none smtp.client-ip=209.85.167.43 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 Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5100ed2b33dso4142933e87.0 for ; Mon, 29 Jan 2024 04:46:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706532370; x=1707137170; 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=FHRWIZ6AIyJhvIjYmGETHUbdnTVzo35SA3ucS7gN62w=; b=z6IE/7LB9r1orFXKeAoCiQdYGkieV2aY3Zvtf86eOYpuR2/0LzYhoVTNz3RxHms05h Ddlt/hzNnL9lX5tqc36dt5SEjKwh+ReZaRiqcZRcO+8pUJAORG9B0MY6Y9Z3LyKMfUo/ x/rst0r64qnCI58LvKI6ZwIlmUJ5qvZU22Yylbwa1Dbeq6SDWAEvoX62GKO7GII+JvjJ UZuTaj5TlROdZvBW4pdfW591YFN+90y46Mu1eEz75rfthnFeb6MTH5JYQnZ79LwifQye SBFM8HEgPnKiuQR1lajGeo6lpAfm1ufu5wf0TeVIy59H7jQFBILusDdLbYHfICCvyfki afNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532370; x=1707137170; 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=FHRWIZ6AIyJhvIjYmGETHUbdnTVzo35SA3ucS7gN62w=; b=l07HQSNnPypvnyV7KEQMzqpFcs85p+QDOrKsNxgkRKVO6HPhr1wB212g+i11Zb3mWi 3t0lK7MWOHgrNAJW0Es190wSYY9EWrN5GsPZsZDrx9vLgPTali1rj9tRaf8Qu3xUtMsp 5nzY8oc8BxtDWZzo6Pn/Fx1TdAQNMtXona0k+PYJTw15Ox4tpB3Pbbkhn4EtLee6y1vA ZVzF2E4wxv/pWoznKunZ6xvFw01C8AyKzGyY/FVVCnZJ56pjCQPK+FOWu5YSfocjAWMU jLO7OxrP1u1wkIxrxrygl0hCMXjUxJW2lQPjsUMARdbTd3jzedyjzlmTKOg2LElU9bg0 h8jg== X-Gm-Message-State: AOJu0Yx8lAy5yEYpUAFqWQQJygnp4r2cBNpMpgTJcDX1axezDdQmv/2C qhpNaM/c8Kz4EIgko3umw3JQZaHdbX13WkxJaUqaYR3mhMu3qPFfZ4Zi0dShjN4= X-Received: by 2002:ac2:5191:0:b0:510:1844:8392 with SMTP id u17-20020ac25191000000b0051018448392mr3620554lfi.31.1706532370609; Mon, 29 Jan 2024 04:46:10 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id 20-20020a170906329400b00a3527dba974sm3041495ejw.35.2024.01.29.04.46.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:46:10 -0800 (PST) From: Abel Vesa Date: Mon, 29 Jan 2024 14:45:42 +0200 Subject: [PATCH v6 10/11] arm64: dts: qcom: x1e80100-qcp: Enable more support Precedence: bulk X-Mailing-List: linux-kernel@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: <20240129-x1e80100-dts-missing-nodes-v6-10-2c0e691cfa3b@linaro.org> References: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> In-Reply-To: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=3993; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=b5me84CBLvNcqpO40KkAROvLnJP/DZ8uuhWcZAxxBlk=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlt54C/WgRJAzK+7e8A85qfaUj8y4HaL6GkQBt/ xicRBApvUOJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbeeAgAKCRAbX0TJAJUV Vu/vEADHjo4+Wmnlanpc3aPluOu9TGA0EIK1SefZmDtoPbccK/92/TgPW1u25ZzhUVUQyWt4bpO 0mp38WIEmN/qFLsN5X4fXmiEsWx8t/DApmeOJwXlJYZ+cF0vFmfZM5NuMyeK490LPYTyijJDno+ RQgvmaf6vvlNmxJaEu8ZFLq0NsAsrGntsm7/WF7rCwVOEpD9oad05IzhS/wFNuAsGKFLWINfKTm 6URcwb9EU7YxnQ4Kgg4xiUed3pnZ0LGKyQXIpMqknmGp2AOBCHZ36m2MIyFYRxop5QPlyKY0QRQ DZz1Jh9CcNYDSJHRzlTPg2+OiFebIxvSiZirolfzEGxzNyK6c4vhJ3Hde4uM32hOeGoqHcfMWgb mfnEkWwZS+hSjGWzY+hR37qhRPBcZakfksaQ4P/eBSotE4N2u1pLmEexmoz+KtJy33n5ceOy+lL Cew081rEJcnvqQJabzeJfVqVlJD9T5hYZ4Df5dGUUDeOXhJqo33dCynKcaTajntNKgKHt5HXXEp 5dmcmEp3nhw+Vg+qX0ybG0Rlq8yGltcDnEt4Zjf56WjBGANgiUH6+8n/bnbJlnUqjw0kxADa14y YaA+3QJW/3deYpRKSePvdQ51MWaUd/vaWInpMNj01DyzwTia5Efr3MhcuRJo0dq69hzhpUerG5i rNqXLrMkwVbr8ZQ== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Enable display, pcie and usb support. Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Co-developed-by: Rajendra Nayak Signed-off-by: Rajendra Nayak Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 171 ++++++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index a37ad9475c90..8dbf6d0eaac3 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include #include "x1e80100.dtsi" @@ -31,6 +32,23 @@ vph_pwr: vph-pwr-regulator { regulator-always-on; regulator-boot-on; }; + + vreg_edp_3p3: regulator-edp-3p3 { + compatible = "regulator-fixed"; + + regulator-name = "VREG_EDP_3P3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 = <&edp_reg_en>; + pinctrl-names = "default"; + + regulator-always-on; + regulator-boot-on; + }; }; &apps_rsc { @@ -383,17 +401,170 @@ vreg_l3j_0p8: ldo3 { }; }; +&mdss { + status = "okay"; +}; + +&mdss_dp3 { + compatible = "qcom,x1e80100-dp"; + /delete-property/ #sound-dai-cells; + + data-lanes = <0 1 2 3>; + + status = "okay"; + + aux-bus { + panel { + compatible = "edp-panel"; + power-supply = <&vreg_edp_3p3>; + + port { + edp_panel_in: endpoint { + remote-endpoint = <&mdss_dp3_out>; + }; + }; + }; + }; + + ports { + port@1 { + reg = <1>; + mdss_dp3_out: endpoint { + remote-endpoint = <&edp_panel_in>; + }; + }; + }; +}; + +&mdss_dp3_phy { + vdda-phy-supply = <&vreg_l3j_0p8>; + vdda-pll-supply = <&vreg_l2j_1p2>; + + status = "okay"; +}; + +&pcie4 { + status = "okay"; +}; + +&pcie4_phy { + vdda-phy-supply = <&vreg_l3j_0p8>; + vdda-pll-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&pcie6a { + status = "okay"; +}; + +&pcie6a_phy { + vdda-phy-supply = <&vreg_l3j_0p8>; + vdda-pll-supply = <&vreg_l2j_1p2>; + + status = "okay"; +}; + +&qupv3_0 { + status = "okay"; +}; + +&qupv3_1 { + status = "okay"; +}; + &qupv3_2 { status = "okay"; }; +&remoteproc_adsp { + firmware-name = "qcom/x1e80100/adsp.mbn", + "qcom/x1e80100/adsp_dtb.mbn"; + + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/x1e80100/cdsp.mbn", + "qcom/x1e80100/cdsp_dtb.mbn"; + + status = "okay"; +}; + &tlmm { gpio-reserved-ranges = <33 3>, /* Unused */ <44 4>, /* SPI (TPM) */ <238 1>; /* UFS Reset */ + + edp_reg_en: edp-reg-en-state { + pins = "gpio70"; + function = "gpio"; + drive-strength = <16>; + bias-disable; + }; }; &uart21 { compatible = "qcom,geni-debug-uart"; status = "okay"; }; + +&usb_1_ss0_hsphy { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_1_ss0_qmpphy { + status = "okay"; +}; + +&usb_1_ss0 { + status = "okay"; +}; + +&usb_1_ss0_dwc3 { + dr_mode = "host"; + usb-role-switch; +}; + +&usb_1_ss1_hsphy { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_1_ss1_qmpphy { + status = "okay"; +}; + +&usb_1_ss1 { + status = "okay"; +}; + +&usb_1_ss1_dwc3 { + dr_mode = "host"; + usb-role-switch; +}; + +&usb_1_ss2_hsphy { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_1_ss2_qmpphy { + status = "okay"; +}; + +&usb_1_ss2 { + status = "okay"; +}; + +&usb_1_ss2_dwc3 { + dr_mode = "host"; + usb-role-switch; +}; -- 2.34.1