From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 895B73911A8 for ; Mon, 13 Jul 2026 07:52:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783929158; cv=none; b=stEul5Dg4P3ABpNh2nRzucUUMUM343HzSfkoUDkNWKguYkbNd5MXEfdQHCyzEyap53luVNS3NSjoyb0ZOpX2XyzHPOZqefBtWy5fuwEBJZx0dnAyBZa1PTRBiyzKrZpO7nkT5ehv5MIBeeeNo8Z2MnCsH25+zT28PezLh+ycKVU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783929158; c=relaxed/simple; bh=NpBVJ1ObbAHtpKXjNp7Ma+WB/fNqPGXMGPs4snuzUkc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bNwvb73G/hql4fUmb98Ovlvtmfn87ZHSgTAk5Q8+NPzno+mRLFAdi2ZZjDj+LNGm0Uej9wrbiZAupXjQSdujKLhtjAHUMWFkttzmvfJHdM4r3HKGmftx5NuBnllEpOiRDOkWbOQWLUojHnqA2V8L19XPF5Z6vvnhAHN/8rq11d8= 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=oxl7nkcm; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=QzKKc5xm; arc=none smtp.client-ip=205.220.168.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="oxl7nkcm"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="QzKKc5xm" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66D6Nx96390895 for ; Mon, 13 Jul 2026 07:52:36 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= kKP1c0YzrE/bCD6Whof6pdNwDq9ll2byc5H20YulvrE=; b=oxl7nkcmCHy5JSc8 +m/E1g03HVa8CqIjCrqCHTyyDUWuDnm1wHEtUq3OVtdgmBpCnzHdx2m8ZqPaykaA ta1jahEGADCZ7PSnjx/rx8OXVVuqWgiSYgFGlnmmBfnlD/r9rFaRZwwNBCyB6+oV UYi8vldWlwosEccfCbmU+kE4nivTNYJQ7wSYltohnd8G+DkfBeKb4zgjnIAg373G unO2s2qkh0qCpM15rmj2T9F0h+Xufe4MxH3dwRNJLKDU/OxWiHWThm85E055Hv/y CGHTIycUIGuga3sGbviTAgIVKx/IwvakoNt61lNGSeAofly04xxMnFq7IXHRkYSI IP0l8w== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fbf0gmxbv-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 13 Jul 2026 07:52:36 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-51c08e9c344so7979751cf.3 for ; Mon, 13 Jul 2026 00:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783929153; x=1784533953; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=kKP1c0YzrE/bCD6Whof6pdNwDq9ll2byc5H20YulvrE=; b=QzKKc5xmRaibK/yiIwn8Tcl2QVKa7WRH9ZyXCrtZ8lmLi78qG68Bk1kSWr4x3wEEuo vLpQkn/ZQYSjRon4KcBTtM2QlUW5BbN4Qs1D59IQpjhzKuGmQqLRy/ve4UDNvI4+Qcfg /6XY8n995sleGZEyq6dTYWDzkwB9TC+v9cCPhKI0sWXH03Ic5r5QrUyCxghpBD6mI3Gp voPFL8y6hYkog0UcSIbjPG3YR8Xw9lXzy31RauPYasGyhU+1cGleLcfd0HPO9lZeXSgl ZaEACl5WfLd/c3USwuoX2+O2dNG5Jkf28qCLSvv2D4ydRLYvMOLnWGMVoEMtZcNeYWNm a7kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783929153; x=1784533953; h=content-transfer-encoding:content-type: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:content-type; bh=kKP1c0YzrE/bCD6Whof6pdNwDq9ll2byc5H20YulvrE=; b=UCD3VIQA7X2Y+Pe0XUXR0mJepB/Ey4zK6zcOO3vuPUhZwfymwukjLKu3ChjOP534ZV olMMGf5EvGoGBF14BadDQ1WLZB8Gqhb+dPmdXxVr4piI8l/dBxjv+/wUpykYcX0jP7Hk FS79sKoN7uKhwnARMWceQ4PjuHqmhqPjQG1TVGxJtZpHcRRKjNMK2eZd6yNmJxiB9ee3 yUIA2TkWEdstBuwFvOxFLBYtpij4pZdVjXzaJXH6xft1mp5DrHnEigVBAlvnd2dEzerO 4s6iij2MTNiSZEUTo2ydGQ2s+AL8an/bRzFRYxAUDDZiWkmrbngg6ijwJWd/ck+URmpN itnA== X-Forwarded-Encrypted: i=1; AHgh+RopOZ3aK+UfDVzcCbYGk9nJTAX5cc5NV3O02Bq3hvaiFGSduPJ7wCvvDn9wTaHgaiLSp9k2lTz7ihIlDxQ=@vger.kernel.org X-Gm-Message-State: AOJu0YwXgDCuv2IcQ1PhfhNJX1A+5JgFnzd+RAjcc6oUE8OZ79MP2Wpn HGDNpDF5PUxWhgTK3ncZtsE5rohiXI4lmPTx8XxCA7R+mMjJUAQBOLZ19ktG/LHpIrDIULh6ZYO FiKafvg6ZqgKg9Ab1QQ/rZGwVoYMlnQ3li8V0ZVoHZon8wRoR9c0ldEaeOggCx6GSu7s= X-Gm-Gg: AfdE7ck7D9Pz1lE/XVSXx67pcdu/W2qAOBEyj22fo3zZL4hrVjHDPjCGhWvCyZ1zDc1 8mhZsDc3FOKq+RqLuPdv2j1Kdcy4Ysv03BymUUBqwbBvQ/Tq/cL/u6qrZWn5Tj8GbkxivFkAaY6 +XETyLThOTzrQf8pfXfKCniehgJ+3KUIfo4Y3O3UqSupXvqjxmcL9/LU8gXI1BkcqCcHCzvcL8S VYoAZD/pX6xtO+Kr9rheaUuVUHVpSMUX9pf5jxZGjz1vbots2y2H+HPLr908ylPWdELChSUSJpe 1HNqVoYZI7JaWiXnamre1M0IYdpn2zbAzAGhltohhYm3hzolpHSoI1Zfn5ttsyOIscXSctjF8AN qwtQOPsxQuMtjvsMDEjE87e9cxYnOT6FyXzQ= X-Received: by 2002:a05:622a:10c:b0:51a:8c9b:6492 with SMTP id d75a77b69052e-51cbf2aad75mr58881161cf.9.1783929153687; Mon, 13 Jul 2026 00:52:33 -0700 (PDT) X-Received: by 2002:a05:622a:10c:b0:51a:8c9b:6492 with SMTP id d75a77b69052e-51cbf2aad75mr58881011cf.9.1783929153206; Mon, 13 Jul 2026 00:52:33 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c15ad821ae3sm942161566b.5.2026.07.13.00.52.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Jul 2026 00:52:32 -0700 (PDT) Message-ID: <3f923649-34ff-4089-87e2-8989dae335ca@oss.qualcomm.com> Date: Mon, 13 Jul 2026 09:52:30 +0200 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 2/2] arm64: dts: qcom: Add Xiaomi 11 Lite 5G NE To: Oleksii Onchul , Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260711184934.55701-1-oleksiionchul@gmail.com> <20260711184934.55701-3-oleksiionchul@gmail.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260711184934.55701-3-oleksiionchul@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=Nq3htcdJ c=1 sm=1 tr=0 ts=6a549944 cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=pGLkceISAAAA:8 a=JiISQnV02i8F_HGE5KwA:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU:22 X-Proofpoint-ORIG-GUID: kmUJACACpFeTyecl2AHHp_fuSqKXfyrk X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzEzMDA4MCBTYWx0ZWRfX1WxCU/+f9j5k lCh/cinuG5bpm0VAyOnti9QaaPjXd65PdGmNrVX5nIKGMygM+jcu/YObyYDg/1RrKYuNOL3ERts EK/x8USp8ngrgRjbMNMUN/cV1HAoeB6KzzxLxRwdFvIFjoaxnAB9xgn93JBAtkmwY7C+3goORh5 3urH+AqR0GhTxTm0DDhAXBXvvgWwA3FK+JnKbR+x7sIAxDt3JadR5ntI3D7Fqf/ly1zJcSURUae CFQuzoMBLaeExoVYGCw/YtJmra+CfwODsLRBe8shaf8/qx/5qNiY+8PIT3XgsOFs+YxQKiufDMA 1qeY3AzpxB0Ub7M9z8bDS/NJ5iT66/I2xj6V2RkWHl86BwBvh8OwlrnXC4+PFKW7Rjk2nTvVnBw 9KhD7QBObkRxUfdrDBhf1J17HvuvrQG3wWGX50C4kQmLSRTmQWUyf2E2Yb3JO8EQXsqySGxi/DT NwtTraZrnR8GuQgDkEg== X-Proofpoint-GUID: kmUJACACpFeTyecl2AHHp_fuSqKXfyrk X-Proofpoint-Spam-Info: AW1haW4tMjYwNzEzMDA4MCBTYWx0ZWRfX0QAf4wrstgPG EqaeXbowAcvgVvEAJiD6Ok4JcyJ8JyAV4cEWYbZUABMrAupsXw/1D+5Ko+C7hnSROGMY8ckjBPo +oCJryRlQEQpMzOfhvhRwzOH6ZW7zBs= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-13_02,2026-07-10_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 adultscore=0 suspectscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607130080 On 7/11/26 8:49 PM, Oleksii Onchul wrote: > Add initial support for the Xiaomi 11 Lite 5G NE, codenamed lisa. > > The supported hardware includes regulators, UFS, SD card, USB, GPU, > remote processors, Wi-Fi, Bluetooth, touchscreen, flash LED, thermal > sensors and the hardware buttons. > > Signed-off-by: Oleksii Onchul > --- [...] > + chosen { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + stdout-path = "serial0:115200n8"; > + > + framebuffer0: framebuffer@e1000000 { > + compatible = "simple-framebuffer"; > + reg = <0x0 0xe1000000 0x0 (1080 * 2400 * 4)>; Please use memory-region instead [...] > + ramoops@a9000000 { > + compatible = "ramoops"; > + reg = <0x0 0xa9000000 0x0 0x200000>; > + pmsg-size = <0x200000>; > + mem-type = <0x02>; Let's make mem-type decimal. Don't you need ecc-size for reliability? [...] > + regulators { > + vreg_l1p: ldo1 { > + regulator-name = "vreg_l1p"; > + regulator-min-microvolt = <1000000>; > + regulator-max-microvolt = <1200000>; > + regulator-always-on; Many/all of these shouldn't be always on. This PMIC normally only powers cameras, so dropping this should be fine [...] > +&ipa { > + qcom,gsi-loader = "self"; > + memory-region = <&ipa_fw_mem>; These two fill be folded into the SoC DTSI soon https://lore.kernel.org/all/20260517-ipa-loader-v1-0-3c3764c1b4a3@oss.qualcomm.com/ [...] > +&tlmm { > + /* > + * 32-33: SMB1394 (SPMI) > + * 56-59: fingerprint reader (SPI) > + */ > + gpio-reserved-ranges = <32 2>, <48 4>, <56 4>; What about the <48 4> range? as a nit, other files place the comments inline with the ranges: gpio-reserved-ranges = <4 4>, /* EC TZ Secure I3C */ <10 2>, /* OOB UART */ <44 4>; /* Security SPI (TPM) */ [...] > +&usb_1 { > + /* USB 2.0 only */ Did you test that (with an actual USB3 cable)? Konrad