From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CABC02D3220 for ; Thu, 29 Jan 2026 06:30:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769668254; cv=none; b=KpC+dpWhRWvhtPvX5ukRg9tyGAlCPCAoL7Lu5oAtFsrB1deru65b37kYGHcDXirYGUihY0SCrKtfcM7/mAZERXEtDKrqyrfCAVF2jRDxc55abTrGKelhTotI7EQXfEfqou3WjQ/qWxNOqaiEi9lQJINuuWoHlBh7WrEgiayjUGI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769668254; c=relaxed/simple; bh=87XlqUryFxKfOlGGGUf4oyg1Zt28wFuqD3rWBa76BQQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=n9WMn6YAgiqcFlKp85zNhZjqPADnU66XbKXv+9STrHVSonSyCUvmMwLCLI7RTSzfYDwuBOobXcv7og55HxGLkWXJuWRuOkIa4qqoy6lCPcHmpOE1d5io5iCqgyeaY17NSHy5Ux2tsqml6CnucCO/HDX/O47han5wCL8Q1zg67HE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=QDMk/hfV; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=HfUGKuLK; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="QDMk/hfV"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="HfUGKuLK" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60T2oxNL2034134 for ; Thu, 29 Jan 2026 06:30:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= FLgSThlSXezovD5rJsCLd/5tekcY5IFYlovNeGkaK4A=; b=QDMk/hfV3YZOAGaS H8H5AN+667JvUvPxws+V3esRxhNIdDY0WROt8QprYW/TMYy5QHeaj1zMS/wQj/pO A9OePwnYUSjuXsPGBWPTFP+IppCjjLSY2xPt5PF8Zd9WpP9XsvghpC1xP3AJbie4 Dv1Qy9eBfGTeb0rZOiVQ/OH7vKN9EQdxCpntk8JG15m/Ax/RrssKXIV9ozq6FkI1 vGrGZ6I8f5h7R/IRTCp7kpl12p3LDHEfC3tv1fhU7tzDs98GiHnBM3Yrf5xJzCk0 e8Zkra9cjfoiOiqLlg4eKZDn2iGGYbeTZuq/AxrM0j8CmXn4xH16b116XMCosHFK mgNYvg== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4byna7jg1y-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 29 Jan 2026 06:30:51 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2a0f4822f77so18537415ad.2 for ; Wed, 28 Jan 2026 22:30:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769668250; x=1770273050; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FLgSThlSXezovD5rJsCLd/5tekcY5IFYlovNeGkaK4A=; b=HfUGKuLKQ7w3CjjktLwNL3FnaBmut8zwJHdcet9BOgykk2pXhdI44ghg39Ub1rkPEJ w3bLcHIaZdmKJzxyCrLFb3UAP8m3/8kqcyOyzQOjnf/RPJbn246xT3FpEMDvL2KyRg7J uCvYNawScYLT03rXUx18ioSSALINzKdHSQYd5/0pQGh1lPyzpzi4XgvACJPQvu85ohn9 kBtvbr/3e7FZaA+rViBnQ9X47b1D/xVMOpOuhF1LP6SqO/+te6E1PVRBk23DsOT3ODl6 U8iR70JRYPQucU40vvFsy09zzYcEqipTjU7BeEjMtLeHpYN8SNofsBwgKJYmClbEjeLD eyUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769668250; x=1770273050; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FLgSThlSXezovD5rJsCLd/5tekcY5IFYlovNeGkaK4A=; b=o5hbdbGee8SMzhFwUzQ2wd7Fz26iq4valQ3dRLi2bepsYGDNWCznyGRi+nfsBSESk6 B5RcYD4sb8VMrbFCQo9dNisgqmw6Kqi8Ox3311bzW4vAI9zcLPyilNySmMGj8tojJzAb HqG/QHsvEcS+5fx3wse/f5prkiGPQRgfD5+1Xv4mvft+eWsX02ZVo6vLFt0iIGCIbai4 pB3W126XtEGUCitq9sUxmMm8CpEl053Ibclpcpk4Wl9/DaP7UJ1+lhn9pBhO48oUKKGq B4Zl82iC1n6Ufgc4Xt/VTRnqtFujl8lK2R9rbPJSQ3ukoBOVtnVh/LMWXVEKwnx22BGk cRyA== X-Forwarded-Encrypted: i=1; AJvYcCV7Hpizyf6+FtnIPzQ62ihJcBBBq/qO5Jyzjk6WTMkxu6kKZU2RdYDKcFmyfdC/2FmDoXfit3e61xcArgM=@vger.kernel.org X-Gm-Message-State: AOJu0YwGeD3xiE6Y6RlfmicI6ivG77IxIulGhjtEPi9s15pBOUU4K/9K FUx2Zk9VfCruFAapBYPitvTo+1GedY9qgAsnwE6BKRYfADoeZP85XiWYKXMJi1UghOQS9dXuoLR yAN60O7UYf3RjWecgC+vX2uztTp+vyH0wpOGy1QCIkfkJlJEsLiMBBdJH2+Wabvds5Gw= X-Gm-Gg: AZuq6aILfWyG62Rhgj7N/NQjzuxSXnPI1FkrpkXS0NWn/Yo9F/BXtpdLXsISTiRvGw5 LYGHFPiUtTrKhnyP1pgNgUkvfK/V5ggvK/v3AR0Fq8tJviRJQL4j/sgJAaxHSPwTVGEXKs5Zx63 DpOqugjmdIYxbi8Ubb586sxtg21zaEO/nvjDQNxV7LaQuZkX6VeuGhCXh2ZwOwmwvId6cCKgHYu Wn4ytLhDjz3Ego0jS/XNVUeLgQLkG4rlomhOc4pNaWEuZaZIPJXSbqbhn5fo9NjsLxkJIqrHZj/ FUhROBQJUqp57HWrGmzlqto6f2GBiSn9Dwg0ctpRm4O4mofj2a9LRjbvT5+wt7xP/EqVUvCpW5n ZTPTvnacRWG8uyNyvoBt4OkL4yHA1trx5298EIJuTa/prv0tPxjp4HyrRc0HLkUkR1IAvPtoZia oYDik7v0Apv0p0MoROHsw5906MH6aD X-Received: by 2002:a17:902:db0c:b0:29e:9c82:a920 with SMTP id d9443c01a7336-2a870d4cd90mr83400685ad.6.1769668250261; Wed, 28 Jan 2026 22:30:50 -0800 (PST) X-Received: by 2002:a17:902:db0c:b0:29e:9c82:a920 with SMTP id d9443c01a7336-2a870d4cd90mr83400395ad.6.1769668249727; Wed, 28 Jan 2026 22:30:49 -0800 (PST) Received: from [10.190.200.191] (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a88b5d9a70sm39749355ad.77.2026.01.28.22.30.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Jan 2026 22:30:49 -0800 (PST) Message-ID: Date: Thu, 29 Jan 2026 12:00:41 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 0/4] arm64: dts: qcom: Introduce Glymur SoC dtsi and Glymur CRD dts To: Bjorn Andersson Cc: Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Jyothi Kumar Seerapu , Maulik Shah , Sibi Sankar , Taniya Das , Kamal Wadhwa , Qiang Yu , Manaf Meethalavalappu Pallikunhi , Jishnu Prakash , Dmitry Baryshkov , Konrad Dybcio , Abel Vesa , Vinod Koul References: <20260122-upstream_v3_glymur_introduction-v6-0-245f408ed82a@oss.qualcomm.com> <75lzykd37zdvrks5i2bb4zb2yzjtm25kv3hegmikndkbr772mz@w2ykff3ny45u> Content-Language: en-US From: Pankaj Patil In-Reply-To: <75lzykd37zdvrks5i2bb4zb2yzjtm25kv3hegmikndkbr772mz@w2ykff3ny45u> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: -51d8JZJd3up9f0Rpq4cSrhUksLgDVAn X-Authority-Analysis: v=2.4 cv=J72nLQnS c=1 sm=1 tr=0 ts=697afe9b cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=qC_FGOx9AAAA:8 a=gEfo2CItAAAA:8 a=0dIRaPp63eEJG7gPAZYA:9 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 a=fsdK_YakeE02zTmptMdW:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-ORIG-GUID: -51d8JZJd3up9f0Rpq4cSrhUksLgDVAn X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI5MDAzOCBTYWx0ZWRfX7CDI6de+jEMO xEhlK8Jq7iWcTlurczhp3PvN1n+cIqw9GHj3NyAVlkXIwIfxDs8CRVmLC0iPpEeYO/+ePR9ROrU Q6EOD2s+C08Hw6uKGWg0eheqGzr47BR7ak4h8KUqDBUcmUG0QjrDviO/khifIKll3sEhQhWkpB3 SwzlOoEfsiE7KtpIb2nDA+XPpu9r8Vdsxn5TpltqA4VXsvABy+AHOhR5mD4JbgsuAt3I51EZH4W OPexpzR4Ewdj1C8Qnk4ErXu4UxdWVpyHBGFl0cFDeg7slv/JhPcHdJkGJqiALEH9PZokS2KxfnU om6qy+mRB7X7g4CFtwFgi5qX4ph2Q3LvBfe9lFjo0E+muZvWi/ABDsMN6xQUNqHe3p3CmQNcn08 JL6x8ke7wppqDotB7H6opV56rWt1pfkQzPDpLWX4LwWVYbduM4T74HNLjvKVqlOgoVx6brQumEx EGQgPiROaV82xRGGOBg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-01-28_06,2026-01-28_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 suspectscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601290038 On 1/29/2026 6:51 AM, Bjorn Andersson wrote: > On Thu, Jan 22, 2026 at 08:53:57PM +0530, Pankaj Patil wrote: >> Introduce dt-bindings and initial device tree support for Glymur, >> Qualcomm's next-generation compute SoC and it's associated >> Compute Reference Device (CRD) platform. >> >> https://www.qualcomm.com/products/mobile/snapdragon/laptops-and-tablets/snapdragon-x2-elite >> https://www.qualcomm.com/news/releases/2025/09/new-snapdragon-x2-elite-extreme-and-snapdragon-x2-elite-are-the- >> >> The base support enables booting to shell with rootfs on NVMe, >> demonstrating functionality for PCIe and NVMe subsystems. >> DCVS is also enabled, allowing dynamic frequency scaling for the CPUs. >> TSENS (Thermal Sensors) enabled for monitoring SoC temperature and >> thermal management. The platform is capable of booting kernel at EL2 >> with kvm-unit tests performed on it for sanity. >> >> Added dtsi files for the PMIC's enabled PMH0101, PMK8850, PMCX0102, >> SMB2370, PMH0104, PMH0110 along with temp-alarm and GPIO nodeS. >> >> For CPU compatible naming, there is one discussion which is not specific >> to Glymur, Kaanapali and Glymur use the same Oryon cores. >> https://lore.kernel.org/all/20251119-oryon-binding-v1-1-f79a101b0391@oss.qualcomm.com/ >> We've kept the "qcom,oryon" compatible >> >> Features enabled in this patchset: >> 1. NVMe storage support >> 2. PCIe controller and PCIe PHY >> 3. RPMH Regulators >> 4. Clocks and reset controllers - GCC, TCSRCC, DISPCC, RPMHCC >> 5. Interrupt controller >> 6. TLMM (Top-Level Mode Multiplexer) >> 7. QUP Block >> 8. Reserved memory regions >> 9. PMIC support with regulators >> 10. CPU Power Domains >> 11. TSENS (Thermal Sensors) >> 12. DCVS: CPU DCVS with scmi perf protocol >> >> Dependencies: >> >> dt-bindings: >> 1. https://lore.kernel.org/all/20260121-glymur-pmic-mfd-v1-1-2aab4f21e79c@oss.qualcomm.com/ >> 2. https://lore.kernel.org/all/20251215-knp-pmic-leds-v3-2-5e583f68b0e5@oss.qualcomm.com/ >> 3. https://lore.kernel.org/all/20260121110828.2267061-1-pankaj.patil@oss.qualcomm.com/ >> 4. https://lore.kernel.org/all/20260111155234.5829-1-pankaj.patil@oss.qualcomm.com/ >> >> Linux-next based tree with Glymur patches is available at: >> https://git.codelinaro.org/clo/linux-kernel/kernel-qcom/-/tree/b4/v6_glymur_introduction >> > > FWIW, I applied these patches onto next-20260128 to see if things has > improved since Rob's report and I get: > > $ make qcom/glymur-crd.dtb CHECK_DTBS=1 > DTC [C] arch/arm64/boot/dts/qcom/glymur-crd.dtb > qcom/glymur-crd.dtb: dma-controller@800000 (qcom,glymur-gpi-dma): interrupts: [[0, 588, 4], [0, 589, 4], [0, 590, 4], [0, 591, 4], [0, 592, 4], [0, 593, 4], [0, 594, 4], [0, 595, 4], [0, 596, 4], [0, 597, 4], [0, 598, 4], [0, 599, 4], [2, 129, 4], [2, 130, 4], [2, 131, 4], [2, 132, 4]] is too long > from schema $id: http://devicetree.org/schemas/dma/qcom,gpi.yaml# > qcom/glymur-crd.dtb: dma-controller@a00000 (qcom,glymur-gpi-dma): interrupts: [[0, 279, 4], [0, 280, 4], [0, 281, 4], [0, 282, 4], [0, 283, 4], [0, 284, 4], [0, 293, 4], [0, 294, 4], [0, 295, 4], [0, 296, 4], [0, 297, 4], [0, 298, 4], [2, 124, 4], [2, 125, 4], [2, 126, 4], [2, 127, 4]] is too long > from schema $id: http://devicetree.org/schemas/dma/qcom,gpi.yaml# > qcom/glymur-crd.dtb: dma-controller@b00000 (qcom,glymur-gpi-dma): interrupts: [[2, 76, 4], [2, 77, 4], [2, 78, 4], [2, 79, 4], [2, 80, 4], [2, 81, 4], [2, 82, 4], [2, 83, 4], [2, 84, 4], [2, 85, 4], [2, 86, 4], [2, 87, 4], [2, 88, 4], [2, 89, 4], [2, 90, 4], [2, 91, 4]] is too long > from schema $id: http://devicetree.org/schemas/dma/qcom,gpi.yaml# > qcom/glymur-crd.dtb: pmic@1 (qcom,pmh0101): led-controller@ee00:compatible:0: 'qcom,pmh0101-flash-led' is not one of ['qcom,pm6150l-flash-led', 'qcom,pm660l-flash-led', 'qcom,pm7550-flash-led', 'qcom,pm8150c-flash-led', 'qcom,pm8150l-flash-led', 'qcom,pm8350c-flash-led', 'qcom,pm8550-flash-led', 'qcom,pmi8998-flash-led'] > from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# > qcom/glymur-crd.dtb: pmic@1 (qcom,pmh0101): pwm:compatible: 'oneOf' conditional failed, one must be fixed: > ['qcom,pmh0101-pwm', 'qcom,pm8350c-pwm'] is too long > 'qcom,pmh0101-pwm' is not one of ['qcom,pm660l-lpg', 'qcom,pm8150b-lpg', 'qcom,pm8150l-lpg', 'qcom,pm8350c-pwm', 'qcom,pm8916-pwm', 'qcom,pm8941-lpg', 'qcom,pm8994-lpg', 'qcom,pmc8180c-lpg', 'qcom,pmi632-lpg', 'qcom,pmi8950-pwm', 'qcom,pmi8994-lpg', 'qcom,pmi8998-lpg', 'qcom,pmk8550-pwm'] > 'qcom,pmh0101-pwm' is not one of ['qcom,pm6150l-lpg'] > 'qcom,pmh0101-pwm' is not one of ['qcom,pm8550-pwm'] > 'qcom,pmh0101-pwm' is not one of ['qcom,pm8937-pwm'] > 'qcom,pm8150l-lpg' was expected > 'qcom,pm8916-pwm' was expected > from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# > qcom/glymur-crd.dtb: led-controller@ee00 (qcom,pmh0101-flash-led): compatible:0: 'qcom,pmh0101-flash-led' is not one of ['qcom,pm6150l-flash-led', 'qcom,pm660l-flash-led', 'qcom,pm7550-flash-led', 'qcom,pm8150c-flash-led', 'qcom,pm8150l-flash-led', 'qcom,pm8350c-flash-led', 'qcom,pm8550-flash-led', 'qcom,pmi8998-flash-led'] > from schema $id: http://devicetree.org/schemas/leds/qcom,spmi-flash-led.yaml# > qcom/glymur-crd.dtb: /soc@0/arbiter@c400000/spmi@c426000/pmic@1/led-controller@ee00: failed to match any schema with compatible: ['qcom,pmh0101-flash-led', 'qcom,spmi-flash-led'] > qcom/glymur-crd.dtb: pwm (qcom,pmh0101-pwm): compatible: 'oneOf' conditional failed, one must be fixed: > ['qcom,pmh0101-pwm', 'qcom,pm8350c-pwm'] is too long > 'qcom,pmh0101-pwm' is not one of ['qcom,pm660l-lpg', 'qcom,pm8150b-lpg', 'qcom,pm8150l-lpg', 'qcom,pm8350c-pwm', 'qcom,pm8916-pwm', 'qcom,pm8941-lpg', 'qcom,pm8994-lpg', 'qcom,pmc8180c-lpg', 'qcom,pmi632-lpg', 'qcom,pmi8950-pwm', 'qcom,pmi8994-lpg', 'qcom,pmi8998-lpg', 'qcom,pmk8550-pwm'] > 'qcom,pmh0101-pwm' is not one of ['qcom,pm6150l-lpg'] > 'qcom,pmh0101-pwm' is not one of ['qcom,pm8550-pwm'] > 'qcom,pmh0101-pwm' is not one of ['qcom,pm8937-pwm'] > 'qcom,pm8150l-lpg' was expected > 'qcom,pm8916-pwm' was expected > from schema $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml# > qcom/glymur-crd.dtb: /soc@0/arbiter@c400000/spmi@c426000/pmic@1/pwm: failed to match any schema with compatible: ['qcom,pmh0101-pwm', 'qcom,pm8350c-pwm'] > > So, we're still missing a few dependencies. qcom,pmh0101-flash-led and qcom,pmh0101-pwm are part of lee's for-leds-next tree but don't see them in next https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git/log/?h=for-leds-next The interrupt maxItems has been acked by rob but not picked up by vinod yet https://lore.kernel.org/all/20260121110828.2267061-1-pankaj.patil@oss.qualcomm.com/ > > > Booting the system I get a ton of errors from PCIe in the kernel log: > > debugfs: 'opp:5000000' already exists in 'soc@0-1c00000.pci' > > # dmesg | grep -E 'debugfs: .+ already exists' |wc -l > 508 > > The system does eventually boot, and I was happy to see that we do end > up finding the PCIe devices after all. > > Regards, > Bjorn