Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6313104rdb; Thu, 14 Dec 2023 14:49:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHKwixa0YDbDF0mebNx66dUDYGM8+J/lDzzgo0C/rbAjf1uzM0SfAZAcsDuX+uFNZY/g6mk X-Received: by 2002:a05:620a:2087:b0:77f:334a:cee0 with SMTP id e7-20020a05620a208700b0077f334acee0mr8403824qka.37.1702594143057; Thu, 14 Dec 2023 14:49:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702594143; cv=none; d=google.com; s=arc-20160816; b=HfiIh86AnpTrENviPoCEN5/m0iczQSiJZGaLuCRe5yjNl+dJYeKaZxMA+7C312RH0Q /qYAVwH4tFHRUXU6HtnAWBRAXpyXSVzNPNtEKY+qGLcq42PcRt49qCYGIqY02Oeqj18X b1Zj7aaXYXjnPX1t3XsovJxTbKmui/H+MRCnBKjdesekDnIGd1nd/lYqLVwvJRd8cUhb aI3hZ23Il1gPHOyEHPFKeh0rkYDDnIqP4114iFVbyT6TUNXZBwVp/LKmohyTW7lv4Wpm c1j1uom434r2TgyAUH28npaOSpuo+dvhrjoIAnmJvEp+5X5jUHWu1BYwVnFUlRccFXPg Dc7A== ARC-Message-Signature: i=1; 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=yZZxZdtOI4FdgO9A4qaLtAUNeS5rm+jyNaoNzPNaDEA=; fh=gPaWSCtxiZgOVyxdyKovvraJiLZhnmctXE/laicrJQQ=; b=Hk2Pbz4iT1uBOjgztslBcoPTa9Gn2944kgpjvu2hcChLzkF9/KMs6Hd1BwPPUGF7ZE hiG1ouUu/243PbzjToxrU/WvE8u5qTnu4qg7+cKwBJ/dAqLcEeRF/rEb17Ka2l7bEiPt azuP/Z1I/EB7YhDSofLRmj6+L7zpfxwC3toMqKPJfmhp/02bJCiSAqxBkMZK1BoQPo0G 63Bj0VnS+NEU/TOvCXFpDT37+vGGb0TC2zliG5AK2FYN9lRjcNYq/RPuMIOpbO9WkmXO hnaVE1C7ISsGD1TNZPV7zgH0SBDmvtGace9SFG580+jCexbeXWo6LkuAgDAWKztUSpE7 fqIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WDEaU5DN; spf=pass (google.com: domain of linux-kernel+bounces-208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c5-20020a05620a268500b0077f2dedd50csi16201103qkp.647.2023.12.14.14.49.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 14:49:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WDEaU5DN; spf=pass (google.com: domain of linux-kernel+bounces-208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BC6A81C20DB1 for ; Thu, 14 Dec 2023 22:49:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E5636E2A8; Thu, 14 Dec 2023 22:48:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WDEaU5DN" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 6D584697B7 for ; Thu, 14 Dec 2023 22:48:29 +0000 (UTC) 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-f53.google.com with SMTP id 2adb3069b0e04-50bfd8d5c77so10470e87.1 for ; Thu, 14 Dec 2023 14:48:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702594107; x=1703198907; 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=yZZxZdtOI4FdgO9A4qaLtAUNeS5rm+jyNaoNzPNaDEA=; b=WDEaU5DNk6aBitXCuc09bsgv2107Pz9JuxvrD02kZC1xWGUWbmmJedPompzrVau9+s FaC2xn2Qm2BISaYUN5/W+YR0KxcbBDo4lecvCg/AD3DVV1jUo4lf8X5VtQXQol8Iluxt FscFXqflwiHE6WV52BmpdO7zmWoJzfqhYs8Dy1vL+Ygek0L0NpCnJ4aa4kSBiJjE+8Zi ZJcge1d8rrdaz5hp0TKPIuTqnwzzMlmlu7LB0qdSFFNRk1lnHqqye2OkMaVeDDHgMFx9 TPX73QAnXsBx84rv4GD6w+r2ZJSCPPIycvFsy1hzG2Sw4aa+K+S8pIu071QVpS1PaWpK g8mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702594107; x=1703198907; 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=yZZxZdtOI4FdgO9A4qaLtAUNeS5rm+jyNaoNzPNaDEA=; b=BZ4OApQl4f2PP/18AOAWUpKBZ3U5AT13LZvYgnKkMIo2xZnZaXALEancXjiJ9Sj5gc iej6h12upAvYaKtUzmfOImco7SZdBhpvXcz8qf2OcfQS2hJN+0SSX8+QhJmK4e2doBnA ofx7OmtmQI2i1Hk8kJQ4VxOfvPDktx+l1tE1Ea9AUJXxHk13nJrJKXoAB74ev1HZaoPR QJjtJ4uzYqrs35jc4JVLXEsFCd/uHMWgvwRz1xm1/2Bh5NVeWq2qfSZdLCZGyN3Kr83G x/ZmYU9Jp7UzeUYY7lnHJPFEqRbpABPrZcqcYHia1+TeiiZwAdQiNEcBVLhTkr0moJ7D /Pow== X-Gm-Message-State: AOJu0YwNbYKOZziM4otzjJC4mN68fZKicOb2HLKmmHotlkL/zjqjeCfV iWqsSBf/JSWCdNIz7O7czpjBdf3oiWXr81C2XkI= X-Received: by 2002:a19:6404:0:b0:50c:a91:6186 with SMTP id y4-20020a196404000000b0050c0a916186mr2205389lfb.35.1702594107310; Thu, 14 Dec 2023 14:48:27 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id vq6-20020a170907a4c600b00a19b7362dcfsm10068118ejc.139.2023.12.14.14.48.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 14:48:26 -0800 (PST) From: Abel Vesa Date: Fri, 15 Dec 2023 00:48:13 +0200 Subject: [PATCH v3 2/2] arm64: dts: qcom: x1e80100-crd: 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: <20231215-x1e80100-dts-missing-nodes-v3-2-c4e8d186adf2@linaro.org> References: <20231215-x1e80100-dts-missing-nodes-v3-0-c4e8d186adf2@linaro.org> In-Reply-To: <20231215-x1e80100-dts-missing-nodes-v3-0-c4e8d186adf2@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa , Sibi Sankar , Rajendra Nayak X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=4645; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=ZkrfN1FTbzStJDMu0UDO2sPSgsYC4jgS7AcwxL8eCCs=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBle4Y29mnLUhYNij8eqg08tdp4NLws76zNCuaWA CMpFGmuDWSJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZXuGNgAKCRAbX0TJAJUV Vtz4EACsF/qgxwO/ftCLBhIBeFQTwxelzJzBcp6DPncWE8sy/KcBeCRX0YkmPXy2pgXVpjdvWa8 DtdffM7yIZm0BjwvDz50vx5LMCsVTd4pQ4ogebW2OM6TCxruMwJTbjqTMXCdup60e6tJuNJBHWI 14WJC0aek0Wv2vnYO1vjtO7bvX4fNkxQ5h3lvyUPA+wNiz+OrNYWCulRPOuYJ6qwnowFgredkcW DhBvu+DKuADvSWSDMZ22sXu5jh1M5tkST0OvADHOyGpGbBOU1orXMSolfS81O+BzCt+kvsKWu2M Mgo82oJGeTr1n4PzG3jF9ziOti0yKAcjXMY9JSVDuY7RWXKVlbn9nAMfDzKzaIiajmj7m7YLSDO ODtIYPN2UVxwne7z9/zOsPdA6ZO1Uoqf/ckaHIFbJSHcpCRRX+NSpM44m/ipyqMglIGFLZ5Xcgy yz/pMvDUiDy73lHIBFoAW7YRZ9f92gwFqZvVSNZf4CN2lWyE2kSqQ4l8ulZ3RA6WxD4ibrQX6W9 SwnUSHbnWEupjiBRL0t1gHoxjPlJIkvHriMT8ROjmTLGbUBQmprMtu/vQUzyZxE7OwSslraAxo9 FS7EDTlp8TJYm7X8HxX2k5SC/Hx1POud1E///ev6Cvifqv/TlbhHSG4HDPHSjxFpE2Rw/zbkJVi wcuGo6TCtR9t4BQ== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Enable touchscreen, touchpad, keyboard, 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-crd.dts | 221 ++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts index 7532d8eca2de..d44898453315 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -401,10 +401,144 @@ vreg_l3j_0p8: ldo3 { }; }; +&i2c0 { + clock-frequency = <400000>; + + status = "okay"; + + touchpad@15 { + compatible = "hid-over-i2c"; + reg = <0x15>; + + hid-descr-addr = <0x1>; + interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-names = "default"; + pinctrl-0 = <&tpad_default>; + + wakeup-source; + }; + + keyboard@3a { + compatible = "hid-over-i2c"; + reg = <0x3a>; + + hid-descr-addr = <0x1>; + interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-names = "default"; + pinctrl-0 = <&kybd_default>; + wakeup-source; + }; +}; + +&i2c8 { + clock-frequency = <400000>; + + status = "okay"; + + touchscreen@10 { + compatible = "hid-over-i2c"; + reg = <0x10>; + + hid-descr-addr = <0x1>; + interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-names = "default"; + pinctrl-0 = <&ts0_default>; + }; +}; + +&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 = <34 2>, /* Unused */ <44 4>, /* SPI (TPM) */ @@ -416,9 +550,96 @@ edp_reg_en: edp-reg-en-state { drive-strength = <16>; bias-disable; }; + + kybd_default: kybd-default-state { + pins = "gpio67"; + function = "gpio"; + bias-disable; + }; + + tpad_default: tpad-default-state { + pins = "gpio3"; + function = "gpio"; + bias-disable; + }; + + ts0_default: ts0-default-state { + int-n-pins { + pins = "gpio51"; + function = "gpio"; + bias-disable; + }; + + reset-n-pins { + pins = "gpio48"; + function = "gpio"; + output-high; + drive-strength = <16>; + }; + }; }; &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