Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6309197rdb; Thu, 14 Dec 2023 14:38:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsbNKwlpqrk1MQfrZDsw+7pr0uY3GSHv7arAez90sCn0Fg33+ATEIkpQRcuRnSbMU9RIV2 X-Received: by 2002:a05:620a:1462:b0:77f:ae3:223c with SMTP id j2-20020a05620a146200b0077f0ae3223cmr10683375qkl.103.1702593522299; Thu, 14 Dec 2023 14:38:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702593522; cv=none; d=google.com; s=arc-20160816; b=E7vlco+vinR/XGGACAKEPjiQgmuhGlbEzwNiEl8puQoeRKSU6SN/deRYi2V97CUuSJ yA5v9IKsvjZhbINSylJXLCZVRDp6lv0lhoj5B4gPY9oQZxXwahZVOdsn0AdKVClncz5D V/BAH8g5QUU8TDl+9a9UlqymIdC5Ia1rlr6rCYz0XAC//0F86UAvIFxorq7OQ7JkXk/c xpIGnfUCpRyB3EqSTjH+46lwqmVgcHls07JGqoH0NwDsrY0iG1wlfOXXCAgW7uIJp46Y ox9q6Ujc3iB6U1E+OICi4wEH3FkrYpW+bA9llsmqJJzICc0uGSyzr7ZFejNBZIrcDwo0 t3NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=82WlJRLjSGo/vPW0f6ZIe9xHewTxZnBuvNjtigfiQoc=; fh=7dyRKqtfwPytADQ2ArxPuY8kicISppnFisRRxZ+eK4c=; b=Re5+esJ+50HvQP7TfjFC3EoulguUOEoVr0G0Rk9820qFyu6e0+1fFcytJOmiOntco1 5AeQvtyG0xAl4GKO0JG83NZPXn+pBwX5rdIbXr/JE9jBn9sXxl0VwhTiJU6xST8Z9t0T i+I8i5EbGRt8/0wK6UBP6aS7txXJ6zs8a06kUU0fosmtv+MHnZxMW6mCU5r6/WVfBKQo xhZUQCgJIurFX03oPCZvHa8Ck9RitmBzkPlDF66rNarMpLQtqhhPWkkzQc4sAqXblUNZ hwoPiY/u8yywmpIYHoa7TN3uiDUuRutu47z0O97AsdzlAk72/MDPXTGDAcoHH4NMLEHr COMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=neoCMENw; spf=pass (google.com: domain of linux-kernel+bounces-198-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198-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. [147.75.199.223]) by mx.google.com with ESMTPS id br16-20020a05620a461000b0077da5d169bfsi16590445qkb.362.2023.12.14.14.38.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 14:38:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=neoCMENw; spf=pass (google.com: domain of linux-kernel+bounces-198-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198-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 0524B1C21CAF for ; Thu, 14 Dec 2023 22:38:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98CED61FD9; Thu, 14 Dec 2023 22:38:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="neoCMENw" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.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 800C066ABC for ; Thu, 14 Dec 2023 22:37:58 +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-ej1-f45.google.com with SMTP id a640c23a62f3a-a1f5cb80a91so11136266b.3 for ; Thu, 14 Dec 2023 14:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702593476; x=1703198276; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=82WlJRLjSGo/vPW0f6ZIe9xHewTxZnBuvNjtigfiQoc=; b=neoCMENwiva6jIDIQeZSXd59Q4Lp2bDBTXtljwfQBhaEi6qabFtnPDYRBUU3ipRYgR R7rlse6qn3U7/Gs2hCYwO5CEGdFYCE93dZIDZlRHYD5MdJwAjCeLVwB9Woqwod2WyRjy lwH2swLKpGSXOjItXtiTk3xettqXKJHDPNnhtbrwbUVqiorLzm3aEFktqGbCad3uFJyr jHqVBU8gQ9psViJeRezLNRoxpSkSiGCbJQp3srr8W1CvFmuOAeLZv+ixZF+AyYx1X+7L 5597vsyDW/E2srINm77dITBjKWvKsl6sp5yXATXVy/nawLs+1gzAHm52CrXThOT7gkCk dAFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702593476; x=1703198276; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=82WlJRLjSGo/vPW0f6ZIe9xHewTxZnBuvNjtigfiQoc=; b=SBWezb3iPLOKSnEhPDyfCXZ7BM1sZZELTngeS+OFAM7svYWLLfbqk7l2x9q7wawWFZ GpQrzoIh9zrwqxyO3Su+3sMYpGyfvwfYBJlRyUr2KBqHjI7/LvqL2j7+ftH6MBOMXGU0 MyqUjCsUcJuDAS2OsjXCMYb9JlnWpw8WQIZlQWI4GOZ4F+wcUHyVdgYTSq2tEybxZABU mc6zWH285z4OQ5Cs/uduEnSdLg2Zs8YSt9gOZkpONv7ZMIWVFRViwy6mQ1u0sE1w2Hzs QbaEEemJTkXQZy48fUCbOeq4uCPx/CyNTDtjxw97mQcQGD4nRQtgoaNb22tWRCUEM3De r3VA== X-Gm-Message-State: AOJu0YyG54FvI8sxzt1SD6sm6AoMQmCLgpx0X+y34C0uZT7WubYZda9u mMYFaqq1ugr94oAR5XmROjhVUw== X-Received: by 2002:a17:906:180f:b0:a1d:2e32:d28c with SMTP id v15-20020a170906180f00b00a1d2e32d28cmr2914094eje.146.1702593476544; Thu, 14 Dec 2023 14:37:56 -0800 (PST) Received: from linaro.org ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id vc11-20020a170907d08b00b00a1ce58e9fc7sm9927639ejc.64.2023.12.14.14.37.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 14:37:56 -0800 (PST) Date: Fri, 15 Dec 2023 00:37:54 +0200 From: Abel Vesa 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, Sibi Sankar , Rajendra Nayak Subject: Re: [PATCH v2 2/2] arm64: dts: qcom: x1e80100: Add some issing nodes for CRD Message-ID: References: <20231215-x1e80100-dts-missing-nodes-v2-0-5a6efc04d00c@linaro.org> <20231215-x1e80100-dts-missing-nodes-v2-2-5a6efc04d00c@linaro.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20231215-x1e80100-dts-missing-nodes-v2-2-5a6efc04d00c@linaro.org> On 23-12-15 00:35:38, Abel Vesa wrote: > Enable touchscreen, touchpad, keyboard, display, pcie and usb > and all related nodes. Urgh, type in subject. I'll rephrase it anyway in the next version. Please ignore this version. > > 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 >