From patchwork Mon Feb 5 11:57:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 196768 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp822542dyb; Mon, 5 Feb 2024 03:59:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDh5KWL5X5vcJTjCA+yReMrf+8Wln/TSrSRthRMuGlIDzCV39qwzZYxEdU3UH2yppknnFx X-Received: by 2002:a05:6808:f0c:b0:3bf:dfd3:1838 with SMTP id m12-20020a0568080f0c00b003bfdfd31838mr1017904oiw.9.1707134352501; Mon, 05 Feb 2024 03:59:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707134352; cv=pass; d=google.com; s=arc-20160816; b=Fc+LqaDMtXBK8rV2JOz7SgwBkDh76GqULUtCi4kCbd+yQAQfvjf68cOPTWDT/LIZ3g S+SoIWfXtC9kwVj3sD6ikGIETkpZDT+T3xCKPWom/2iWWNSGwpu+vrgZ4I/FGgRGbV58 3kSCduF0VKgL6cE7CglszZUaFXRI9uGwbx2OEwMaoQnZmgkyFg62cuXaphNMBXdCaxFz jCKTVf+k4aHjm90BsgCiJnbpek262Ik7SZWsi4nY9zilC+4k8RSuB8je8ZuPIdBoTq7A 3kF0kH+SwFoxtGTtR9zPzTjOQqrwdeilW3WsTvmqblwQ60UXC3VoGFqEJx1qJnE5eCx3 5myA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=UvnlmZjiQfb0kZrCekql+NdENof1V+KfJpPZJmFlXns=; fh=dJsmRtIG8A2UsOKqIxOBwc+XlgDTG6ScdW5hQ+BsARI=; b=ygGKNScDNIHvQy5d1UZyNNl5WKcNqY9KoCHNThjK5b7fvO99SPez1aPwKowMUYoY+a exVgfOXRpyHpeMOckZGNtUBphMVngPB9ezXqtemT569DmUjMgRy/P7rpHzI3Rn5FCvGC IOtUHE0U3DiayQ70HIEHndoF5iTahdhF21m06tTBqiP8LRhQrAxiYXNHltSjblet7w/i md/L4+OEzi/idh3Kq+qVAG5kZX5itzETsOc0rERzZMNtIXWS5m/rsSLjgocubzN+HvBg LGjmEJ9mT/agGX7fAJ1tUXh36aQ3V1UtyVhPEGYoNuEaHmbsKOjiV2VJm9fejm9O6TYv 8F5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=X9GPAUBe; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52532-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52532-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCWce9oB8TCe2Laoy/UOIhDriCss8RyGVqhw0b8zn6YS+494/4jr+V7DrJ7ZylEfw0r7fWrLAM8+NKmvRdQ4sNyOxRaMbA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d12-20020a05622a05cc00b0042bf0979bffsi8604970qtb.549.2024.02.05.03.59.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 03:59:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52532-ouuuleilei=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=@quicinc.com header.s=qcppdkim1 header.b=X9GPAUBe; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52532-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52532-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 3CF401C2293B for ; Mon, 5 Feb 2024 11:59:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CE341B943; Mon, 5 Feb 2024 11:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="X9GPAUBe" 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 3BC4A199BC; Mon, 5 Feb 2024 11:58:17 +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=1707134299; cv=none; b=YegjzIk2OeDSlRDCbPm2zKZ/vMZisD37sDs0ghSYmY40eJh0h69D2hgHpstbxgDWxb0x8nCCqYOoZIoNQi8VaH4vLl5hl+YkjzXAFOUIgUVcateJuSpVRhGqjC9rCGDVqvznLNcr//y1VhQLINKqocg6licOYrzAM2nPik/IanY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134299; c=relaxed/simple; bh=44KgHhEZGikIcoHlp8mDeKS+ZPaOsKiThoCZgFVuix4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Xo/Xd581UGQq5AS2lZyVL3yuLKAEW3lLOKgby8II72/BCAwVphKc5uNGKJHr6967dXj8mpaDxS2lXvZZT1y3e7QrpskxZ/uwBBRevRbKI/9O4FKDsGsHE17Qqv0UiNQGBx4Cg+zRgwHXC5bgibbYrPwZvJvJoKFJ7+Qm0Waq7zY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=X9GPAUBe; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4157fRe9007038; Mon, 5 Feb 2024 11:58:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=UvnlmZjiQfb0kZrCekql+NdENof1V+KfJpPZJmFlXns=; b=X9 GPAUBetCh1f+ey9WAWF47PQuHUiOEErenf0K7A9+t28REGPocVNXJWJOYSjgjxeH 71IoxtrpyI4R3mbEFbBTgRXBhoTAm/4avoOfbTR1f63SBjBmClypxWTskK3VZt4x +2N9iQqSQdoSKja/7CoCLCo/Ud0zZA5VUbhWTlFVdl7rH1bxqYYdY7PhJD8DdOcg xZp9KPbPrlBXWxhMrNEN9MW9avu5+gUudn6+ERPAgY3jBc30fxTd5eRMH6crOeqS 5ZmBpMSRvmY4BST+EkQod0jSQMPVVPjElRKB2ynzZ1k+u3ozD5sXm+/+21QBLvxH Q2yWtI6/PQnKLCigF6Iw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w2t9wrk5s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 11:58:14 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 415BwEVx027924 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2024 11:58:14 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 5 Feb 2024 03:58:08 -0800 From: Jingyi Wang To: , , , , , , , CC: , Subject: [RFC PATCH 1/6] dt-bindings: arm: qcom: Document sm8650p soc and AIM500 AIoT board Date: Mon, 5 Feb 2024 19:57:16 +0800 Message-ID: <20240205115721.1195336-2-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240205115721.1195336-1-quic_jingyw@quicinc.com> References: <20240205115721.1195336-1-quic_jingyw@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Zv3X-L1qqZiRCw2yWmD9goxmYlMUV78g X-Proofpoint-ORIG-GUID: Zv3X-L1qqZiRCw2yWmD9goxmYlMUV78g X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_06,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 spamscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 suspectscore=0 phishscore=0 impostorscore=0 mlxlogscore=760 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402050091 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790060110844648506 X-GMAIL-MSGID: 1790060110844648506 Document Qualcomm SM8650P SoC and AIM500 AIoT board. Signed-off-by: Jingyi Wang --- Documentation/devicetree/bindings/arm/qcom.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 1999a5f2f254..e87ceb42853b 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -88,11 +88,13 @@ description: | sm8450 sm8550 sm8650 + sm8650p x1e80100 The 'board' element must be one of the following strings: adp + aim500-aiot cdp dragonboard idp @@ -1051,6 +1053,13 @@ properties: - qcom,sm8650-qrd - const: qcom,sm8650 + - items: + - enum: + - qcom,sm8650p-aim500-aiot + - const: qcom,sm8650p-aim500 + - const: qcom,sm8650p + - const: qcom,sm8650 + - items: - enum: - qcom,x1e80100-crd From patchwork Mon Feb 5 11:57:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 196769 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp822734dyb; Mon, 5 Feb 2024 03:59:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmp7INchREbVP9nhEyXUEMS/yCilUhXuXGkJ3hD5Km/EYQFJs7i39ATmJJJwJKsHwzoa90 X-Received: by 2002:a17:906:118e:b0:a37:b5c2:d9a3 with SMTP id n14-20020a170906118e00b00a37b5c2d9a3mr1886334eja.4.1707134383089; Mon, 05 Feb 2024 03:59:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707134383; cv=pass; d=google.com; s=arc-20160816; b=0makbEftbaaJimmwm+SURjxfiAaOaCr2hq19G1ArMggLKGVacPEEN75vsV+benokAA WDEvnFShD5QokwyI5ubMWXB3e0E3byweo04hNVHnS8ntxCAAtHLKXpZ7qZIa+V1FgHIb kfdFO2OZRJOK/Y8T8K+PUUKV4KUlpalomI7RGEW+90b8PpQG4bT7ljDkxbTW6rS/r2D6 kZIY8ME5/BCj+CRhIPuCFL3vCmin2Tcr/OssOrDU9PzomwtI3T49dslume2RR6G5CDAT GvB9RrQXw62+LgQRqdFV8Q8Sif+34bWaEctwTa3SCWTTjfqVtC4+XbWmyg82eqlao5Ky bVcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=GfE8TGQiFDs1RZ3QOaIRQUHhIiJCP2C5GbgovzIE/lI=; fh=6zA/R2NMHHPOe2ojcqOdmBgNkhGtlcXg1ATkTOXlt70=; b=sh7cK3ELloBeEB7nhwjgXrR4HkpaMa5pqXOb5nYtyHo4t0EPBzujBDqBPpRvF9XwR4 9l5yeQv4hHu3GpDJgcbgJmmHHkdnyF+idWnqgmU92RKSr48Rq89guTi78L2+WirTOj9n SCtZlIcZzA1SomlfVQxvv3C+9ydkdXXnTNb1ypCEsSdmnMVHJ4ZSka6qbiqzYFtKcSQ0 JzYXOHEpRpeaOzCZhdDBMPiSCdzPlk+ACgR60HzCPm9jTihUFrjB5d4iE3bm7AdiOxKn IUtJONRUqt0+kDxrmfZhKwKH5uQNjDPrH9Lw5SV2a4rUUIUxy+MluoX5qCQcbR3aYMue 8qZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AYcqcTDO; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52533-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52533-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCW2IgysduB6acU5bOmhkbn6IOwvaNAqEHuppsraUn0w34+LcZxH8h9H9h57oOYuLvEh1zlfgaR6ZgbKj3mnDvaDhnPSXQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lc7-20020a170906f90700b00a34936d26d3si3849764ejb.83.2024.02.05.03.59.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 03:59:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52533-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AYcqcTDO; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52533-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52533-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B1FEF1F23031 for ; Mon, 5 Feb 2024 11:59:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C2FE1B978; Mon, 5 Feb 2024 11:58:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="AYcqcTDO" 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 EE8461B802; Mon, 5 Feb 2024 11:58:21 +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=1707134303; cv=none; b=sxyjt/+oORih4yUeLk9GtnoaRoMrRWqDJH8rVrXc4pZzwHMYBe/2yd0bOmbRVm4J+4GA9xfe7WZrex8F5jj4A1f1nVoQkgMWJXy+87Sp86Jq6b0EWQUHEeyfBvzxEKnGPEtE1OF5n2e2ZwvIRhu88TeHRNHc3riDa+yqwR/ad2Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134303; c=relaxed/simple; bh=wU57fJ2WKACeApjVt9T/gTXYvdWp98v7QTeUYlS7ONY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZBz9IKgjDCYpAnjVeLzuuFonpXNq+GdRwroKqqlyo5NTR3qnfwbF64i6k1N6peqXk/GRFRdt9jC4Zkx7sRv/w2KxKoGigO7Esthroh2Ev4sGDoRK629tZSiAXj29Hr1pYWX7bxf/VQNHX2t9uukiNfg/qguScu3wU+ZguKX0a9E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=AYcqcTDO; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4155TFJb022829; Mon, 5 Feb 2024 11:58:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=GfE8TGQiFDs1RZ3QOaIRQUHhIiJCP2C5GbgovzIE/lI=; b=AY cqcTDO+cmK6KaJ0j/78CcP8qs4X5bDaiKeeMedOZ12HtNc5s9hN90h1Z7kHB0JEb UrVkI5NdlAfL7S+DlN7tYMJ1AnuPDu0hVNYvUxIG6oNfzZPqlmMzeyLZp3KwTz51 dsSS80+e61tMVQKJXOFuqpwbIeigVpYtrBqNkSfKAce61oxiBHrNKE7MhJWG6QCX +GF+YldTiwamfanvrDA93lNWwrdkdTYS4h945AwCOiwIaiJs7J7WpnLAnPmN6Tqq FKHev2GiLO4go1OzpDqYcHXvT1jFthg1EHEev7V0nUrLMtwVx0ObdwFHe2M3yjcm M3RYC5ooZIjoY3mkt2fw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w2rjtrry2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 11:58:17 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 415BwGrx030023 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2024 11:58:16 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 5 Feb 2024 03:58:11 -0800 From: Jingyi Wang To: , , , , , , , CC: , Subject: [RFC PATCH 2/6] dt-bindings: arm: qcom,ids: Add SoC ID for SM8650P Date: Mon, 5 Feb 2024 19:57:17 +0800 Message-ID: <20240205115721.1195336-3-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240205115721.1195336-1-quic_jingyw@quicinc.com> References: <20240205115721.1195336-1-quic_jingyw@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 2HOiNR0Z_pRPAHNNKwy83r_znLFx2Kqn X-Proofpoint-GUID: 2HOiNR0Z_pRPAHNNKwy83r_znLFx2Kqn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_06,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 mlxlogscore=434 clxscore=1015 spamscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 adultscore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402050091 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790060142586830453 X-GMAIL-MSGID: 1790060142586830453 Add the ID for the Qualcomm SM8650P SoC. Signed-off-by: Jingyi Wang Reviewed-by: Krzysztof Kozlowski --- include/dt-bindings/arm/qcom,ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h index dc7ba87b50d7..22559fe3891f 100644 --- a/include/dt-bindings/arm/qcom,ids.h +++ b/include/dt-bindings/arm/qcom,ids.h @@ -257,6 +257,7 @@ #define QCOM_ID_QDU1000 545 #define QCOM_ID_SM8650 557 #define QCOM_ID_SM4450 568 +#define QCOM_ID_SM8650P 577 #define QCOM_ID_QDU1010 587 #define QCOM_ID_QRU1032 588 #define QCOM_ID_QRU1052 589 From patchwork Mon Feb 5 11:57:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 196770 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp822786dyb; Mon, 5 Feb 2024 03:59:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhjACVH1AHBj4FgRDKFnxJLn4nuDrItHRE7gCrZyQAo2IPCVzD6JpZeu+kMceD5/HnpelN X-Received: by 2002:a25:8481:0:b0:dc6:bcb3:5d8e with SMTP id v1-20020a258481000000b00dc6bcb35d8emr8117204ybk.20.1707134389734; Mon, 05 Feb 2024 03:59:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707134389; cv=pass; d=google.com; s=arc-20160816; b=k5GTvHlP13YMu7sfiBZLwp1fcb2cu0YYimHsnEp9A+OB026tjj9qWVJlYl3h6yoeza NJPAnelL27RmwaaSohof0kCju7ju/I2gfit7jsp8x+RbtWMEKzA8Nabo9sSGzfZdwHjH rTE4sYWcls8QdWVYp5ICuTFW5Cgn7Y/LE2EcmS62Sy1z8dNYSRvCdtklbHObjII9uIXx EuYH6qfXW6rhyqZu3q5UKxYKA3K+8laUSedGcLPztpXr77r0LvbBeQT/KjYqoxgB3Byt l9wRjR/9bMsNEZmUIfgfWI5NRF+V+BbqNnglyWZnA7XVRNIH2wzngrSK9P1rrPP8khW0 esFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WpFfdPV5necxXuXedMOPsJiGdSeo2Pf0wDYvPa1mEqw=; fh=GaFNI/uv9nXHAmaXFHwVGAmrUYLbaJjcBP2tWDtlV2M=; b=yI5asUSKQ6M3ID+zv3X+kc/I8boj5G9OpTLcNNZrU91iAgwRpXcanO3ycuXrrzY5Kr 15/jlLlNEvnTz66/htUiinJNoicKFpMzDdOtywuQx+utUYy1ZBIKfXeZxIQ3f4JRNBYi 8i0yKhS2F/C4XGSOVySgskkx/BC0wcLH7HGTIak9m5obL2asPqwZM7kCxxqRU2fsSDMW g81L0JourH3bJvaq5hxJvDXoxGBvMks3jYThy13WqmP9qvaHYFqQNvBXXRRlJ8yB5C7A ON/wWt4e0a/4CwzL8zu+HMIeUJoEi+ELuSIaBNJozPHP1R5sahFA6vtWGFpBMraWgFLe /prw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=G5khtKtW; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52534-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52534-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCVuy6tEzKtEKnEmcaEjSOUFzjrRPIsMAEqysmvrexh5JtI3kw0jvamZSAjD5HIy3OXqVHMYrMHMjgRxuvSYKH9hADFBbg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t33-20020a05622a182100b0042c06da31f4si7282295qtc.706.2024.02.05.03.59.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 03:59:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52534-ouuuleilei=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=@quicinc.com header.s=qcppdkim1 header.b=G5khtKtW; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52534-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52534-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 869CB1C22940 for ; Mon, 5 Feb 2024 11:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 415E91BC39; Mon, 5 Feb 2024 11:58:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="G5khtKtW" 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 1DB131B94B; Mon, 5 Feb 2024 11:58:22 +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=1707134304; cv=none; b=PDolKfiFGOPXnHwznG+gYBY0jH5iMTqmhPOEmx8u3spP03WahreP7/KdT/cmjdxubKm1V+JoBBrHqrMbBeXFff8bvuCgdP+9jyW3qUvGnvIMJNYhEdVU37aw4BArb1x+9yaK0ORWbg3A7thCaVRqQt+AAi1grlQFVJQOOA8b2Ag= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134304; c=relaxed/simple; bh=JsGi+GRzsCOLmVlsXOWOB3/bMFF22Lq9+IiKm4j5ACk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Jt79VlM12PPLw23ExzFQ1ULWbDFs/3jgsm1LKBmQLVmxt1AM7FEdMvsWyuXEIzKFLMlG3chF3/+LfDV8oxmCPWQoSLxj5KqmyhmstdjXJZbwFLWB2HiP7itgdr4l/Vkof8wAgFCXmWx4l3kIEg1Jm+xT/xZeM9DGJKwh+GipOkg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=G5khtKtW; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 415BlJhO016872; Mon, 5 Feb 2024 11:58:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=WpFfdPV5necxXuXedMOPsJiGdSeo2Pf0wDYvPa1mEqw=; b=G5 khtKtWCcckdhQ4nTaCXq7yWqkdlxc1FOch9ti5HKTemPS4Mpm5v0w4w0xZhGboUL AJmA51fqRMQgHG98ML7cDgbIKrGl3jiUU0wJjNncd5qP6BISiaTk3CsBOF2jUBAl VBbIJvNigFP1ZXnG7O6ZEE2Kse2pMtsp+MZMDs1C329ltlkJ6g5DbcZ9jxaZULSm qKX7HJRf/XKxTwm1yDrOn0YDmHopCrDeJyTJVRWM5NbVT5CHd59/Z/HKxCwMqzMo weYkbXUgnSF8WH+UvmWevp6iBTJN05+IJhLEqVSoUBxwhMRLLZGq8rxMHRqgo6YF 0fdou+pAYfVpDy9CWq8w== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w2t9wrk5v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 11:58:20 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 415BwJKf007244 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2024 11:58:19 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 5 Feb 2024 03:58:14 -0800 From: Jingyi Wang To: , , , , , , , CC: , Subject: [RFC PATCH 3/6] soc: qcom: socinfo: Add SM8650P SoC ID table entry Date: Mon, 5 Feb 2024 19:57:18 +0800 Message-ID: <20240205115721.1195336-4-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240205115721.1195336-1-quic_jingyw@quicinc.com> References: <20240205115721.1195336-1-quic_jingyw@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: bzhGC60bHy2XxuCqGw8BbRm-FqB5mtka X-Proofpoint-ORIG-GUID: bzhGC60bHy2XxuCqGw8BbRm-FqB5mtka X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_06,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 spamscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 suspectscore=0 phishscore=0 impostorscore=0 mlxlogscore=873 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402050091 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790060149512804499 X-GMAIL-MSGID: 1790060149512804499 Add SoC Info support for the SM8650P platform. Signed-off-by: Jingyi Wang Reviewed-by: Krzysztof Kozlowski --- drivers/soc/qcom/socinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 5a44ad870fb6..ee6ea575db0f 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -429,6 +429,7 @@ static const struct soc_id soc_id[] = { { qcom_board_id(QDU1000) }, { qcom_board_id(SM8650) }, { qcom_board_id(SM4450) }, + { qcom_board_id(SM8650P) }, { qcom_board_id(QDU1010) }, { qcom_board_id(QRU1032) }, { qcom_board_id(QRU1052) }, From patchwork Mon Feb 5 11:57:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 196789 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp832991dyb; Mon, 5 Feb 2024 04:17:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHibseUz3pjRR+ievdRIJg1kBoMYnLaUbgvkvz/mka/ilIno+quOI5iLEBBBsedX6cpzQUT X-Received: by 2002:a17:90b:4a92:b0:296:a464:ee3a with SMTP id lp18-20020a17090b4a9200b00296a464ee3amr1421210pjb.29.1707135431923; Mon, 05 Feb 2024 04:17:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707135431; cv=pass; d=google.com; s=arc-20160816; b=Sa51yMQLEHsMrnlrSuIDWodo8alXzBt3604lFLlSbv6FuGvgyWISzE/fMpGJnt/HUS rIvZosN3UXC/QFbB9L7CieBiQpfk2TsNcM7Rh7RA3FP0Hv1WbaWMBsUfDMLWzxXnm7iC dqXoAKESKV5c/oWFvrgwGfMKJOOL5udSnXE/Jp/J3XN/D/UHPLhGIj8p1QURCT+ETpkH LdRCYoDeF7mCvqgXeBrXGSF222PwJQofI1/7/3oAQoHpijfcXoBDGltJtyMuAGTzE3Zw kYrShjOYS/pO7+AVjZ5qammj+AJawSHOZ2nkC5GPAUpsdHGqRgwBlO7u0E0yfwac8evn DLGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=lkdVKgrw2arUW81RdYdmY+HiVvAv27is70cI4EXPasA=; fh=N+P5BdkEQfQV4IjwU3ZRgJ9AxYa/ndatOFEHZLpD8/0=; b=Jk1HxRZ9S274KYM2byI5KlqZXCnpLef9ERnNvd6D+a0RiQmdgUF3JqLlf3iG/4ASeE htdGZFNSc81BHaVzXjXF3aH6TN9yk3zk14Pc1rPg7QaZMISAVb7M1orwv547Fm1UPj4D 7vPr9csNglNXLwP192vxN9pYtVWSN1N/E6hCJE5GZ6QVI2xPJk5DdadFwtTM/9/sYxIh 6zqGthy6GG3b/iqNcPofOoZEht7hDBCbKdOv/o0CiKxplXQq8bjCwXcglcavwbDI2tbr R8ga1fJwUIPuE7xfjE60F1wq+pGn8Bfg7ocPz2ykXMBjCxQBJe6gD2cYvv8A8Rq8I8sk GqsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dDtz8p5U; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52535-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52535-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCUSBzyEvkMZtBCvtId9CLMkqx2ciKD7sy9EwWJqq/Zq5G1i1PpBxQ53wDirbfAOUfT4lzGWdho/z8UYFUoA3zAKkzdzcQ== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v2-20020a17090a898200b00290a31c3fcesi4398818pjn.16.2024.02.05.04.17.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 04:17:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52535-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dDtz8p5U; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52535-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52535-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D54BAB276A8 for ; Mon, 5 Feb 2024 12:00:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA7FF1BDC9; Mon, 5 Feb 2024 11:58:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dDtz8p5U" 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 1BDAA1BC2C; Mon, 5 Feb 2024 11:58:27 +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=1707134309; cv=none; b=A0O8UKUM1vPz5O1echE67BCwfKkC1DhxwqApfbph31/fd9I/nMrFZ/WeZuYtc6q28lf/H8urih+5vVTBvIHTCTJ6u6W2xn7HYHup09VbRgcbUZDQCThZacjcDeN2msqOo3wFC1EtOHa4Vn1w+tLVEJcxqE5BXUIIcRyz6a/mX0g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134309; c=relaxed/simple; bh=Jcw1GDM4jlQ1yPjGgOCSgRnrBiadMxK/DjRpSjKbUKg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nDPlVRaD6b6SDtca5hp8Rb5tsMQCkTQG7u8GSDt9bfQYN5q1YANHGJW3R+BLC9AulUIOG7qqotcK4Jb954TN2vMYSaVUhXcb5QpMMwsBA9NTHf2WI8q3BlJRoDu/oSQfkN8wOjAm9eD2tb46SA0uwWRN/qYlbiY0Oyr9QAa0Rxo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=dDtz8p5U; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41572YQA016808; Mon, 5 Feb 2024 11:58:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=lkdVKgrw2arUW81RdYdmY+HiVvAv27is70cI4EXPasA=; b=dD tz8p5U+IUo7qF5tJhPZ/Dk7z4TAmczLBuphY9JqFFtsQLqwWYdSAZlp3XqZqwq2C yJiekksnluk/x9mVcIL7vKA+jtfzQsXJlwEl3EPNxKNtKcj7M/+3I6+UX08SHv94 hywbBb1kX62WsCcg+KyGSrRFCSmVy4CStGMYkhXA5sD71ZF9YiqhfQ8fYUf0z1HX vGFglyGxc/JnQiezOb/9C2XKF6h5Y1bp6th4VsVgE2fZg1IGZJr5hDVV95to6ZNq kiZD5bdgot9lhS7S7apNHY1cocKx37hmUKRK27UfvPe8NWcWT1H/35sob0fG+CwV fB6WlHNjNVW2buSNiXPA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w2r8x0sxe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 11:58:23 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 415BwMMc028207 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2024 11:58:22 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 5 Feb 2024 03:58:17 -0800 From: Jingyi Wang To: , , , , , , , CC: , Subject: [RFC PATCH 4/6] arm64: dts: qcom: sm8650p: introduce sm8650p dtsi Date: Mon, 5 Feb 2024 19:57:19 +0800 Message-ID: <20240205115721.1195336-5-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240205115721.1195336-1-quic_jingyw@quicinc.com> References: <20240205115721.1195336-1-quic_jingyw@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: ZR3hG4Jebxm4-Z8cg_mmHLoN7bQ2ld_i X-Proofpoint-GUID: ZR3hG4Jebxm4-Z8cg_mmHLoN7bQ2ld_i X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_06,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 adultscore=0 priorityscore=1501 suspectscore=0 mlxlogscore=576 clxscore=1015 malwarescore=0 bulkscore=0 mlxscore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402050091 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790061242535166477 X-GMAIL-MSGID: 1790061242535166477 Introduce sm8650p dtsi, sm8650p has same base functions as sm8650 with different memory regions. There are 3 types of reserved memory regions here: 1. Firmware related regions. This will be described as: reserved-region@address. Current reserved-region may have reserved area which was not yet used, release note of the firmware can have such kind of information. 2. Firmware related which shared with kernel access. Each region will have a specific node with specific label name for later phandle reference from other driver dt node. May overlapping with above type regions. 3. PIL regions. PIL regions are allocated by kernel and assigned to subsystem firmware later. Here is a map for this platform: 0x100000000 +------------------+ | | | Firmware Related | | | 0xd8000000 +------------------+ | | | Kernel Available | | | 0xA7000000 +------------------+ | | | PIL Region | | | 0x8BC00000 +------------------+ | | | Firmware Related | | | 0x80000000 +------------------+ Note that: 1. 0xA7000000 to 0xA8000000 was used by bootloader as well, not suggest for other usage. 2. Kernel start address was start at 0xA8000000. Signed-off-by: Jingyi Wang --- arch/arm64/boot/dts/qcom/sm8650p.dtsi | 180 ++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8650p.dtsi diff --git a/arch/arm64/boot/dts/qcom/sm8650p.dtsi b/arch/arm64/boot/dts/qcom/sm8650p.dtsi new file mode 100644 index 000000000000..26dfe315b49d --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8650p.dtsi @@ -0,0 +1,180 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sm8650.dtsi" + +/delete-node/ &reserved_memory; + +/ { + reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * There are 3 types of reserved memory regions here: + * 1. Firmware related regions. + * This will be described as: reserved-region@address. Current + * reserved-region may have reserved area which was not yet used, + * release note of the firmware can have such kind of information. + * 2. Firmware related which shared with kernel access. + * Each region will have a specific node with specific label + * name for later phandle reference from other driver dt node. May + * overlapping with above type regions. + * 3. PIL regions. + * PIL regions are allocated by kernel and assigned to subsystem + * firmware later. + * Here is a map for this platform: + * 0x100000000 +------------------+ + * | | + * | Firmware Related | + * | | + * 0xd8000000 +------------------+ + * | | + * | Kernel Available | + * | | + * 0xA7000000 +------------------+ + * | | + * | PIL Region | + * | | + * 0x8BC00000 +------------------+ + * | | + * | Firmware Related | + * | | + * 0x80000000 +------------------+ + * Note that: + * 1. 0xA7000000 to 0xA8000000 was used by bootloader as well, not + * suggest for other usage. + * 2. Kernel start address was start at 0xA8000000. + */ + + /* Firmware related regions */ + reserved-region@80000000 { + reg = <0x0 0x80000000 0x0 0xbc00000>; + no-map; + }; + + aop_image_mem: aop-image-region@81c00000 { + reg = <0x0 0x81c00000 0x0 0x60000>; + no-map; + }; + + aop_cmd_db_mem: aop-cmd-db-region@81c60000 { + compatible = "qcom,cmd-db"; + reg = <0x0 0x81c60000 0x0 0x20000>; + no-map; + }; + + aop_config_mem: aop-config-region@81c80000 { + no-map; + reg = <0x0 0x81c80000 0x0 0x20000>; + }; + + smem_mem: smem-region@81d00000 { + compatible = "qcom,smem"; + reg = <0x0 0x81d00000 0x0 0x200000>; + hwlocks = <&tcsr_mutex 3>; + no-map; + }; + + adsp_mhi_mem: adsp-mhi-region@81f00000 { + reg = <0x0 0x81f00000 0x0 0x20000>; + no-map; + }; + + global_sync_mem: global-sync@82600000 { + reg = <0 0x82600000 0 0x100000>; + no-map; + }; + + mpss_dsm_mem: mpss-dsm@86b00000 { + reg = <0 0x86b00000 0 0x4900000>; + no-map; + }; + + mpss_dsm_mem_2: mpss-dsm-2@8b400000 { + reg = <0 0x8b400000 0 0x800000>; + no-map; + }; + + /* PIL region */ + mpss_mem: mpss-region@8bc00000 { + reg = <0x0 0x8bc00000 0x0 0xf400000>; + no-map; + }; + + q6_mpss_dtb_mem: q6-mpss-dtb-region@9b000000 { + reg = <0x0 0x9b000000 0x0 0x80000>; + no-map; + }; + + ipa_fw_mem: ipa-fw-region@9b080000 { + reg = <0x0 0x9b080000 0x0 0x10000>; + no-map; + }; + + ipa_gsi_mem: ipa-gsi-region@9b090000 { + reg = <0x0 0x9b090000 0x0 0xa000>; + no-map; + }; + + gpu_micro_code_mem: gpu-micro-code-region@9b09a000 { + reg = <0x0 0x9b09a000 0x0 0x2000>; + no-map; + }; + + spss_region_mem: spss-region@9b0a0000 { + reg = <0x0 0x9b0a0000 0x0 0x1e0000>; + no-map; + }; + + spu_secure_shared_memory_mem: spu-secure-shared-memory-region@9b280000 { + reg = <0x0 0x9b280000 0x0 0x80000>; + no-map; + }; + + camera_mem: camera-region@9b300000 { + reg = <0x0 0x9b300000 0x0 0x800000>; + no-map; + }; + + video_mem: video-region@9bb00000 { + reg = <0x0 0x9bb00000 0x0 0x800000>; + no-map; + }; + + cvp_mem: cvp-region@9c300000 { + reg = <0x0 0x9c300000 0x0 0x700000>; + no-map; + }; + + cdsp_mem: cdsp-region@9ca00000 { + reg = <0x0 0x9ca00000 0x0 0x1400000>; + no-map; + }; + + q6_cdsp_dtb_mem: q6-cdsp-dtb-region@9de00000 { + reg = <0x0 0x9de00000 0x0 0x80000>; + no-map; + }; + + q6_adsp_dtb_mem: q6-adsp-dtb-region@9de80000 { + reg = <0x0 0x9de80000 0x0 0x80000>; + no-map; + }; + + adspslpi_mem: adspslpi-region@9df00000 { + reg = <0x0 0x9df00000 0x0 0x4080000>; + no-map; + }; + + /* Firmware related regions */ + reserved-region@d8000000 { + reg = <0x0 0xd8000000 0x0 0x28000000>; + no-map; + }; + + }; +}; From patchwork Mon Feb 5 11:57:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 196790 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp833271dyb; Mon, 5 Feb 2024 04:17:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHc/XtwJNeuO4nkohjPuFPJ3o3sylbSZnHYdm5VY9eeHhJ4PVfEOVhILXdeZPlatUvwC93a X-Received: by 2002:a05:6358:782:b0:178:8d3e:950c with SMTP id n2-20020a056358078200b001788d3e950cmr14809684rwj.20.1707135465065; Mon, 05 Feb 2024 04:17:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707135465; cv=pass; d=google.com; s=arc-20160816; b=B/XOQ3jCu+zp5oR4LjNy78kum/0lmLHwiGVsIZMh1FN6ZSkzkDoTSIFhkJVv6SFXet M1vyY/2QI1G6cF18XN/LwuYFZjcbxL0YFo1+DuLTnV7oi67DLrcWakOfHIaYMgSEdXan PDv0sAuLdWgyNx9kWi1VELb0tGdeAlzPmC7NU6kRpS+ov8f2QC1ZakmN1gy/v6FOGa+J D4fI6LJ2LXf3soRurr36TVQ+Ln4hDQUvejHHvTAqZ34gyP9Rlh5i5uubl9Hhq5A5x8be gcP78NRZIGKg0A2c9HMIQ0MGtRjfo8DtCh7wWYHXMFGQ8OJbPUWqwVqDnK1Qr+Hn2z95 wNgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=s5/TllRtcgCFjY6e0SsT36sY1yc3ObatTUOieCCxCr8=; fh=AUTIOHXSushdLJ60zVBW5lDbNyKmf5IEJIGisS4NRYk=; b=gm6KkrokCFu+j24IigptVpX4HJ7/IplUFEUoRZ9c+4IUqbgzm28tKylMVeP+1Sy5Gs QVb0nw2IUHlzVbXUnwr5JS/nh+7vuoDuHJEsDeI1MQJ5Vb/1kI/BNfwkKYWK8v3Bc8Lr oDToMo8J6Ve/GxGEj1nCkXZVYFcaY7VM7wzvgqUBJQy0E4GsxPlBIR9RPMxJeZD75nwF kFONDH3FDrmezj5mAuAoT3wSgzN7JhKZct1tWsiQ3FT8bTiYJzqcEseMXARGR5sXeSkp 8q0wtWEhJ9v14a6IddxP7Qs0FmFjPL1MQ1AbvEUijJKelQXMtLkD3pkw/U1AdQEIXKoK pnXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mF5btq0p; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52536-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52536-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCWDKszHukeGn7m91wEdG9AgW1fWD3RqYDwWOh8ueU/hr0PPFrsiuZ3JhaAmDvv1RIn77gjdi+EyeVRIOeD/KDKgzhsrvg== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 21-20020a630c55000000b005d674a9a40fsi5933955pgm.507.2024.02.05.04.17.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 04:17:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52536-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mF5btq0p; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52536-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52536-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C625FB2794F for ; Mon, 5 Feb 2024 12:00:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C3EC1BF50; Mon, 5 Feb 2024 11:58:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mF5btq0p" 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 60B641BC31; Mon, 5 Feb 2024 11:58:30 +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=1707134313; cv=none; b=MacmSpUgtpO6uhAkxb+wRAMtxdg9yPDMjBYX8Z8PMjUzHnxCTyY5TNz0RkNVbPxiDY0818DTyi80HyrCrIm7R7fTDNCG5KHOlK8jTH47ZWlx4FBrlZg1vd0ckgPJ9HALs5053k+66EeFBoJB4zILFdx+uzb+82W/vBp8YskRtDw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134313; c=relaxed/simple; bh=1tVX+nmgBfeHDLmjp8ffFmCEw7Gjgbnws3uTn+QTlKg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aHu5nJYQzo+AmWFsL1dmSGg4DHhh+YfB5MpW6ckSOIj+45bRdDGnp9aR+d4CXkQGkCbAn2UG7EQPMH1PCROd2JAkZWIvGAR9JtnW/05jV9/ob+adsBufR8+ELbceAsyFGn9OU75TPU6bhgVot+MMdiNw2RlTcu+GkC2ylrdRcM4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=mF5btq0p; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4158IZYF010858; Mon, 5 Feb 2024 11:58:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=s5/TllRtcgCFjY6e0SsT36sY1yc3ObatTUOieCCxCr8=; b=mF 5btq0pOf3yIf0dhe5PE4RfLhFciId5ju7Pyr03PL7oheaWkbiilw80oOGD4cKKz5 0zJ6nfi7R7t1JpwGd4B2gEzy7Adr6hKWPdzxWbravsgco7n43uHxgSb/T8VdbnaN pE3gWhnoRW/wcPVsMQ69G4QK9XdYBUZwoIpyelMBF43exc04s1OPBxenzit7K+Xh jRksu2b/J52DYmsG0APrLfWbAumWEEDhushYCRcgg7a2qsnpwkO2v1aDrhniLKNv yLDYNu4Fe4TwPZGLKovDLNKmQzt28LcmJp+bldCl8l3K+mPdeDh6GPy/1KJJIpNy kNW1J/JjZhwi0MNTF1Pw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w2v258chr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 11:58:26 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 415BwQTc007278 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2024 11:58:26 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 5 Feb 2024 03:58:20 -0800 From: Jingyi Wang To: , , , , , , , CC: , , Tingwei Zhang Subject: [RFC PATCH 5/6] arm64: dts: qcom: add base AIM500 dtsi Date: Mon, 5 Feb 2024 19:57:20 +0800 Message-ID: <20240205115721.1195336-6-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240205115721.1195336-1-quic_jingyw@quicinc.com> References: <20240205115721.1195336-1-quic_jingyw@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: OPQHxuSgXaYBE8bmFlaXSvt5lTogtztT X-Proofpoint-GUID: OPQHxuSgXaYBE8bmFlaXSvt5lTogtztT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_06,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 mlxscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=817 malwarescore=0 clxscore=1015 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402050091 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790061277579616886 X-GMAIL-MSGID: 1790061277579616886 Introduce aim500 board dtsi. AIM500 Series is a highly optimized family of modules designed to support AIoT and Generative AI applications based on sm8650p with PMIC and bluetooth functions etc. Co-developed-by: Tingwei Zhang Signed-off-by: Tingwei Zhang Signed-off-by: Jingyi Wang --- arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi | 409 +++++++++++++++++++ 1 file changed, 409 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi diff --git a/arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi b/arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi new file mode 100644 index 000000000000..cb857da8653b --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi @@ -0,0 +1,409 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include +#include "sm8650p.dtsi" +#include "pm8550.dtsi" +#include "pm8550b.dtsi" +#define PMK8550VE_SID 8 +#include "pm8550ve.dtsi" +#include "pm8550vs.dtsi" +#include "pmk8550.dtsi" + +/ { + aliases { + serial1 = &uart14; + }; + + vph_pwr: vph-pwr-regulator { }; +}; + +&apps_rsc { + regulators-0 { + compatible = "qcom,pm8550-rpmh-regulators"; + + vdd-bob1-supply = <&vph_pwr>; + vdd-bob2-supply = <&vph_pwr>; + vdd-l2-l13-l14-supply = <&vreg_bob1>; + vdd-l3-supply = <&vreg_s1c_1p2>; + vdd-l5-l16-supply = <&vreg_bob1>; + vdd-l6-l7-supply = <&vreg_bob1>; + vdd-l8-l9-supply = <&vreg_bob1>; + vdd-l11-supply = <&vreg_s1c_1p2>; + vdd-l12-supply = <&vreg_s6c_1p8>; + vdd-l15-supply = <&vreg_s6c_1p8>; + vdd-l17-supply = <&vreg_bob2>; + + qcom,pmic-id = "b"; + + vreg_bob1: bob1 { + regulator-name = "vreg_bob1"; + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <3960000>; + regulator-initial-mode = ; + }; + + vreg_bob2: bob2 { + regulator-name = "vreg_bob2"; + regulator-min-microvolt = <2704000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + }; + + vreg_l2b_3p0: ldo2 { + regulator-name = "vreg_l2b_3p0"; + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l5b_3p1: ldo5 { + regulator-name = "vreg_l5b_3p1"; + regulator-min-microvolt = <3104000>; + regulator-max-microvolt = <3104000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l6b_1p8: ldo6 { + regulator-name = "vreg_l6b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l7b_1p8: ldo7 { + regulator-name = "vreg_l7b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + }; + + vreg_l8b_1p8: ldo8 { + regulator-name = "vreg_l8b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l11b_1p2: ldo11 { + regulator-name = "vreg_l11b_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l12b_1p8: ldo12 { + regulator-name = "vreg_l12b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l13b_3p0: ldo13 { + regulator-name = "vreg_l13b_3p0"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l14b_3p2: ldo14 { + regulator-name = "vreg_l14b_3p2"; + regulator-min-microvolt = <3200000>; + regulator-max-microvolt = <3200000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l15b_1p8: ldo15 { + regulator-name = "vreg_l15b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l16b_2p8: ldo16 { + regulator-name = "vreg_l16b_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l17b_2p5: ldo17 { + regulator-name = "vreg_l17b_2p5"; + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2504000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; + + regulators-1 { + compatible = "qcom,pm8550vs-rpmh-regulators"; + + vdd-l1-supply = <&vreg_s1c_1p2>; + vdd-l2-supply = <&vreg_s1c_1p2>; + vdd-l3-supply = <&vreg_s1c_1p2>; + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + + qcom,pmic-id = "c"; + + vreg_s1c_1p2: smps1 { + regulator-name = "vreg_s1c_1p2"; + regulator-min-microvolt = <1224000>; + regulator-max-microvolt = <1348000>; + regulator-initial-mode = ; + }; + + vreg_s2c_0p8: smps2 { + regulator-name = "vreg_s2c_0p8"; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1036000>; + regulator-initial-mode = ; + }; + + vreg_s3c_0p9: smps3 { + regulator-name = "vreg_s3c_0p9"; + regulator-min-microvolt = <904000>; + regulator-max-microvolt = <1068000>; + regulator-initial-mode = ; + }; + + vreg_s4c_1p2: smps4 { + regulator-name = "vreg_s4c_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1280000>; + regulator-initial-mode = ; + }; + + vreg_s5c_0p7: smps5 { + regulator-name = "vreg_s5c_0p7"; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <900000>; + regulator-initial-mode = ; + }; + + vreg_s6c_1p8: smps6 { + regulator-name = "vreg_s6c_1p8"; + regulator-min-microvolt = <1856000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = ; + }; + + vreg_l1c_1p2: ldo1 { + regulator-name = "vreg_l1c_1p2"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l3c_1p2: ldo3 { + regulator-name = "vreg_l3c_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; + + regulators-2 { + compatible = "qcom,pm8550vs-rpmh-regulators"; + + vdd-l1-supply = <&vreg_s3c_0p9>; + + qcom,pmic-id = "d"; + + vreg_l1d_0p88: ldo1 { + regulator-name = "vreg_l1d_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; + + regulators-3 { + compatible = "qcom,pm8550vs-rpmh-regulators"; + + vdd-l3-supply = <&vreg_s3c_0p9>; + + qcom,pmic-id = "e"; + + vreg_l3e_0p9: ldo3 { + regulator-name = "vreg_l3e_0p9"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; + + regulators-4 { + compatible = "qcom,pm8550vs-rpmh-regulators"; + + vdd-l1-supply = <&vreg_s3c_0p9>; + vdd-l3-supply = <&vreg_s3c_0p9>; + + qcom,pmic-id = "g"; + + vreg_l1g_0p91: ldo1 { + regulator-name = "vreg_l1g_0p91"; + regulator-min-microvolt = <912000>; + regulator-max-microvolt = <936000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l3g_0p91: ldo3 { + regulator-name = "vreg_l3g_0p91"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; + + regulators-5 { + compatible = "qcom,pm8550ve-rpmh-regulators"; + + vdd-l1-supply = <&vreg_s3c_0p9>; + vdd-l2-supply = <&vreg_s3c_0p9>; + vdd-l3-supply = <&vreg_s1c_1p2>; + vdd-s4-supply = <&vph_pwr>; + + qcom,pmic-id = "i"; + + vreg_s4i_0p85: smps4 { + regulator-name = "vreg_s4i_0p85"; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1004000>; + regulator-initial-mode = ; + }; + + vreg_l1i_0p88: ldo1 { + regulator-name = "vreg_l1i_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l2i_0p88: ldo2 { + regulator-name = "vreg_l2i_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l3i_1p2: ldo3 { + regulator-name = "vreg_l3i_0p91"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; +}; + +&qupv3_id_1 { + status = "okay"; +}; + +&tlmm { + bt_default: bt-default-state { + bt-en-pins { + pins = "gpio17"; + function = "gpio"; + drive-strength = <16>; + bias-disable; + }; + + sw-ctrl-pins { + pins = "gpio18"; + function = "gpio"; + bias-pull-down; + }; + }; +}; + +&uart14 { + status = "okay"; + + bluetooth { + compatible = "qcom,wcn7850-bt"; + + clocks = <&rpmhcc RPMH_RF_CLK1>; + + vddio-supply = <&vreg_l3c_1p2>; + vddaon-supply = <&vreg_l15b_1p8>; + vdddig-supply = <&vreg_s3c_0p9>; + vddrfa0p8-supply = <&vreg_s3c_0p9>; + vddrfa1p2-supply = <&vreg_s1c_1p2>; + vddrfa1p9-supply = <&vreg_s6c_1p8>; + + max-speed = <3200000>; + + enable-gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>; + swctrl-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&bt_default>; + pinctrl-names = "default"; + }; +}; From patchwork Mon Feb 5 11:57:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 196771 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp823443dyb; Mon, 5 Feb 2024 04:00:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEj6ky1nEnwntcl0x6dZFqt+L60icSX80eDCtr2xY8PalP0u3Jgi/hXUqsyWxIDHekL4OhN X-Received: by 2002:a2e:8898:0:b0:2d0:a773:e3a9 with SMTP id k24-20020a2e8898000000b002d0a773e3a9mr2733694lji.16.1707134451518; Mon, 05 Feb 2024 04:00:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707134451; cv=pass; d=google.com; s=arc-20160816; b=sC2vvKXELA9LcLZRC2KkBKaMKXtmLEHCScDjjvN+KKtx7mOqORqnbposAQtymWfiOY elAa4sJaKYk8JRlzbLaF6cD5V8uxIZT0ajhBCdcpk0T4tBGTxEYwjpc9t33/V+pn0PVL K+VPxnsg9N/2ezWlEGTF84b2mGyP5kBiO6Y8zksuF6OEaeEIWC3bPJlfCFSsugnbMGuk dTOgsrU6WxxQFzdTw+hmwSeW6KuE3+Q0sepYDJPlxweGT0Z+4Zsh+05JbZ0dHEsNzeto wy5OQQnaTyXtZRGEdoQ+TZWH75mlUqLRHNdIYqfHZNkUEJdDy/l7t4IuISixXRF2L0Km qKZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=LGTYi/lFNzH57tNmNu6F2qURF6crRB7qXZDfx7rIm8E=; fh=Tg4X50uo4vn7k2lQbTKq+aN+D/E3TZm+bSugEvmDI1A=; b=PtOcRv9aDUcpWxVqnlEibodkMVIsf8JwRxrJWyO4mbD9VLRRbw/3+W/rHf64TW07t1 OFNs9RR19XI/u5AOnmCm6ttyBmHQB2NQbsDzQ1fUjnUQMZK0S4Xqh0daaaHrGUcCCKzH kWzHvXOalCLgQm7yTq2+wb3RzSaZfXObSN1REVyuuF1H7pnNBHvyt+1SG2dXeuSd3MGc /oUXWAVJ5OJ7YBAFbX3RtLJQRiCzcTCk/sTL5AJeYhBRA4xltWdR3KVHmZYWJL+7qb6w BqROvij9Ul4AowO4HtH6StxmKAMp1EWnk9XNhug/+Jv+w+f7c8Lv8jARtYuGo9hen9TN OiIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Rfe1SEWm; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52537-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52537-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCUjbSFJEjqlcD+mEZ6W6QJa4GQ3gTVnY+bI/DbQ4VaBYAylle7dGqsmH6o7fBzFXQ/zQ2VwqULh37QzsXNznrZ+KQJu8Q== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bc25-20020a056402205900b0055feed5f94fsi3622989edb.400.2024.02.05.04.00.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 04:00:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52537-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Rfe1SEWm; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52537-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52537-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D59D41F232FF for ; Mon, 5 Feb 2024 12:00:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 231C31C28B; Mon, 5 Feb 2024 11:58:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Rfe1SEWm" 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 B7FA41BDC8; Mon, 5 Feb 2024 11:58:33 +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=1707134315; cv=none; b=P310+sPB+re/uAm5RBxp1D9ziF4wTc9qi/7VX2NggUwEagYbErQiZg4O5l7REGPBZRmO4BmrZDCajD3p/nTMVzboG49fRLdt2KsOXHa5M0vDypaDdoFUfyuAn1noZckC6QuahW6zpfV+CH5SU4TtgZ+owF7jxMbdcSgF7LYDpI4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134315; c=relaxed/simple; bh=zCFZmf2j+7MGfm6uqzvaBJVfFjxFmdzrIoBfE+UERx4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Dz55AMOShZ1RdHmzxXwevcbiIEhldRcbKOMoleDLmpKsVodG104fcez58Xah+8wCNyVBKsKVHH1K6dE6bfXWA4o/jnObu2p1cTAr2t+l92+Eqsj/YM2GGmO9VJZkuBIl7F3WDFVS+pC/4VG2BnPB5+dwAediVeyW0fcz8cMfRLU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=Rfe1SEWm; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4158ZdEC018608; Mon, 5 Feb 2024 11:58:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=LGTYi/lFNzH57tNmNu6F2qURF6crRB7qXZDfx7rIm8E=; b=Rf e1SEWmIhxJ1UBajdA5TlCTBFw0G7vVO0cFa9IydfszpmscMP3pYtpLC3ouPcCOYq JB+0ZV3k7dzfPeZ9uF1HyivhNqrqtjDeYFRuYqPTWq7+6JZYAswKqlyyDdrEOS8y OlFcjoqPbDVMgsIQvli7RyJ5L96LzPqjIalIgvfaHKq7s0BhFejweEnZT5Xcp7C4 vRmL1IDJV182G29W9G7VjCm9CYAQ+b4coqJLHKmmhol/nVnfxpYrO5zNbhCrdjoB LOL0FD/pNsAy+L20VSRlRxQ2MQvG0xfDhi6NkUVhrpSKx5jC/d0YlE57wTqXyIkd BpUWVwQQD03flLw9SVaQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w2t840juk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 11:58:29 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 415BwTvr007296 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2024 11:58:29 GMT Received: from jingyw-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 5 Feb 2024 03:58:23 -0800 From: Jingyi Wang To: , , , , , , , CC: , , Tingwei Zhang Subject: [RFC PATCH 6/6] arm64: dts: qcom: add AIM500 AIoT Date: Mon, 5 Feb 2024 19:57:21 +0800 Message-ID: <20240205115721.1195336-7-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240205115721.1195336-1-quic_jingyw@quicinc.com> References: <20240205115721.1195336-1-quic_jingyw@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: syKLjqNDpWbNj35-ricH1xavl45Gpcw3 X-Proofpoint-GUID: syKLjqNDpWbNj35-ricH1xavl45Gpcw3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_06,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 phishscore=0 spamscore=0 lowpriorityscore=0 clxscore=1015 mlxlogscore=999 bulkscore=0 malwarescore=0 impostorscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402050091 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790060214732997075 X-GMAIL-MSGID: 1790060214732997075 Add AIM500 AIoT DTS along with usb, regulators, serial and PCIe found in this board. AIM500 AIoT is mounted onto Qualcomm AIoT carrier board to support verification, evaluation and development. Co-developed-by: Tingwei Zhang Signed-off-by: Tingwei Zhang Signed-off-by: Jingyi Wang --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8650p-aim500-aiot.dts | 314 ++++++++++++++++++ 2 files changed, 315 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8650p-aim500-aiot.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index f7c5662213e4..ce3744d7586f 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -239,5 +239,6 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8550-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8550-qrd.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8650-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm8650p-aim500-aiot.dtb dtb-$(CONFIG_ARCH_QCOM) += x1e80100-crd.dtb dtb-$(CONFIG_ARCH_QCOM) += x1e80100-qcp.dtb diff --git a/arch/arm64/boot/dts/qcom/sm8650p-aim500-aiot.dts b/arch/arm64/boot/dts/qcom/sm8650p-aim500-aiot.dts new file mode 100644 index 000000000000..a76b62abb9e0 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8650p-aim500-aiot.dts @@ -0,0 +1,314 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include +#include "sm8650p-aim500.dtsi" +#include "pm8010.dtsi" +#include "pmr735d_a.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. AIM500 AIOT"; + compatible = "qcom,sm8650p-aim500-aiot", "qcom,sm8650p-aim500", "qcom,sm8650p", + "qcom,sm8650"; + + aliases { + serial0 = &uart15; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-0 = <&volume_up_n>; + pinctrl-names = "default"; + + key-volume-up { + label = "Volume Up"; + linux,code = ; + gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>; + debounce-interval = <15>; + linux,can-disable; + wakeup-source; + }; + }; + + pmic-glink { + compatible = "qcom,sm8650-pmic-glink", + "qcom,sm8550-pmic-glink", + "qcom,pmic-glink"; + #address-cells = <1>; + #size-cells = <0>; + orientation-gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + pmic_glink_hs_in: endpoint { + remote-endpoint = <&usb_1_dwc3_hs>; + }; + }; + + port@1 { + reg = <1>; + + pmic_glink_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss>; + }; + }; + }; + }; + }; +}; + +&dispcc { + status = "okay"; +}; + +&gpi_dma1 { + status = "okay"; +}; + +&pcie_1_phy_aux_clk { + clock-frequency = <1000>; +}; + +&pcie0 { + perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&pcie0_default_state>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pcie0_phy { + vdda-phy-supply = <&vreg_l1i_0p88>; + vdda-pll-supply = <&vreg_l3i_1p2>; + + status = "okay"; +}; + +&pm8550_flash { + status = "okay"; + + led-0 { + function = LED_FUNCTION_FLASH; + color = ; + flash-max-microamp = <2000000>; + flash-max-timeout-us = <1280000>; + function-enumerator = <0>; + led-sources = <1>, <4>; + led-max-microamp = <500000>; + }; + + led-1 { + function = LED_FUNCTION_FLASH; + color = ; + flash-max-microamp = <2000000>; + flash-max-timeout-us = <1280000>; + function-enumerator = <1>; + led-sources = <2>, <3>; + led-max-microamp = <500000>; + }; +}; + +&pm8550_gpios { + volume_up_n: volume-up-n-state { + pins = "gpio6"; + function = "normal"; + power-source = <1>; + bias-pull-up; + input-enable; + }; +}; + +&pm8550_pwm { + status = "okay"; + + multi-led { + color = ; + function = LED_FUNCTION_STATUS; + + #address-cells = <1>; + #size-cells = <0>; + + led@1 { + reg = <1>; + color = ; + }; + + led@2 { + reg = <2>; + color = ; + }; + + led@3 { + reg = <3>; + color = ; + }; + }; +}; + +&pm8550b_eusb2_repeater { + vdd18-supply = <&vreg_l15b_1p8>; + vdd3-supply = <&vreg_l5b_3p1>; +}; + +&pmk8550_rtc { + status = "okay"; +}; + +&pon_pwrkey { + status = "okay"; +}; + +&pon_resin { + linux,code = ; + + status = "okay"; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&remoteproc_adsp { + firmware-name = "qcom/sm8650/adsp.mbn", + "qcom/sm8650/adsp_dtb.mbn"; + + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/sm8650/cdsp.mbn", + "qcom/sm8650/cdsp_dtb.mbn"; + + status = "okay"; +}; + +&sleep_clk { + clock-frequency = <32000>; +}; + +&tlmm { + gpio-reserved-ranges = <32 8>; + + sde_dsi_active: sde-dsi-active-state { + pins = "gpio133"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + }; + + sde_dsi_suspend: sde-dsi-suspend-state { + pins = "gpio133"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + sde_te_active: sde-te-active-state { + pins = "gpio86"; + function = "mdp_vsync"; + drive-strength = <2>; + bias-pull-down; + }; + + sde_te_suspend: sde-te-suspend-state { + pins = "gpio86"; + function = "mdp_vsync"; + drive-strength = <2>; + bias-pull-down; + }; + + ts_irq: ts-irq-state { + pins = "gpio161"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + output-disable; + }; + + ts_reset: ts-reset-state { + pins = "gpio162"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + }; +}; + +&uart15 { + status = "okay"; +}; + +/* + * DPAUX -> WCD9395 -> USB_SBU -> USB-C + * eUSB2 DP/DM -> PM85550HS -> eUSB2 DP/DM -> WCD9395 -> USB-C + * USB SS -> NB7VPQ904MMUTWG -> USB-C + */ + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 { + dr_mode = "otg"; + usb-role-switch; +}; + +&usb_1_dwc3_hs { + remote-endpoint = <&pmic_glink_hs_in>; +}; + +&usb_1_dwc3_ss { + remote-endpoint = <&pmic_glink_ss_in>; +}; + +&usb_1_hsphy { + vdd-supply = <&vreg_l1i_0p88>; + vdda12-supply = <&vreg_l3i_1p2>; + + phys = <&pm8550b_eusb2_repeater>; + + status = "okay"; +}; + +&usb_dp_qmpphy { + vdda-phy-supply = <&vreg_l3i_1p2>; + vdda-pll-supply = <&vreg_l3g_0p91>; + + status = "okay"; +}; + +&vph_pwr { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + + regulator-always-on; + regulator-boot-on; +}; + +&xo_board { + clock-frequency = <76800000>; +};