From patchwork Mon Feb 5 11:57:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 19927 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp822423dyb; Mon, 5 Feb 2024 03:58:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDGs8fEPO8vfZ8h/N5qsOojO1phr0i5drtz7TEse4VrDImqFH8Rg8QIHIa69x/1b2yg9Iw X-Received: by 2002:a05:6214:519b:b0:68c:8308:5592 with SMTP id kl27-20020a056214519b00b0068c83085592mr7523689qvb.53.1707134335177; Mon, 05 Feb 2024 03:58:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707134335; cv=pass; d=google.com; s=arc-20160816; b=rMu/9Ev9FTKO17DBQWmgOVUkfuKA7FYgTYVZxroasJXZrzrO7PY05zhIFVJd5JAY7n /J/yJ3vrK8lkPbu+oMx15touFsLuQoSvjy3fcEjTs3D5GlSBZvRDJRHF4lMXBnurAefZ UO7J/vmCoC04y2EwDQH/BOY7AKu2E/0tdKIIAFW232LBxvUc8fRqsXhGUnIR3QV4iuak wJv5Fc933O8k+ZzcgX+BPVZJ36OBvHFerWnv0/lVNbpQu1vHx2Z878b/4cx6Ka2wj4lO lwx2Mbx+57anry32xY1TcSArB8qrVyMkiawnK2+yAjpnSA47EpSEw3mrgZzGAY7l4Ecf GJMg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=+FLjOha9hsz0N3kTVXjRHky3yB34sbwW32/QLwTYprw=; fh=ekPOnMtQFMu14Tp33yk4TNGmUsVV2xXQkQfSGRbHD0M=; b=v32JYUpkVGcYb+N/JJxfREvgsf9wb9H+mfl+gtqDbaPQizfd2vdl0Zo2RxDNzuMbg+ nZLgvDXkazBmZdWMPR9sTbNVpAEpNWF+g/miPZsz4Ta6CwVU1iidaUL4oVwNJHcvPDuQ Lx6MIUyXBuIW7PwfmM1uiJAoJbtMwNu/FbkQ2dJQ+oq2X0BcG3sgA70FVFaxbHmWmoUt nky/yilcXrMpHQmR0YIkRKS9rBQc7Et9Bc8YgF2O/jecnuSnVDMPG6umiD7F8yJdPybB OZRMX5feRQEKJsKvmz3rsj4pbN8OoNLM5UMKlq4R3q2dcLUFzmfBemPk23SELai4o/sf Mfrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="C9+r26/d"; 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-52531-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52531-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCV22kSNukF5q/sZrOi65eHvonRrpGTrNAiu2g1A9RuRzyq2gsCTyoTXcRTg0wePqUlKOIrDivUBu+iMHxqOkXWESjcsAQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n2-20020a056214008200b00681940bdb9csi8224610qvr.278.2024.02.05.03.58.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 03:58:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52531-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="C9+r26/d"; 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-52531-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52531-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 F1A161C22874 for ; Mon, 5 Feb 2024 11:58:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4926C1B7F8; Mon, 5 Feb 2024 11:58:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="C9+r26/d" 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 E3A2B1B7EA; Mon, 5 Feb 2024 11:58:14 +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=1707134296; cv=none; b=HqNAYD6Ys3pAE+Cgb2e2boQvu3hkNrDM5Dc7lpNhX2inDzBx0h33BtiFoX8KGHx7qyh/fWXX83E+yMP7SPTHMDr+qsGdDaHiOcQQV5nTnifAm/Gx+bSl7aRQ3Qagt7mORoSTnP5ExzIueDpmfRd/2Z4hYxsFvMR4rcv5jyTNbQ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707134296; c=relaxed/simple; bh=RYHnkHzjQTO1csC37QGC5LASS/49QmvTHhynWg7zK+s=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qvx0YT//jwchMUqA9lLFYk1oD53ToHZOL7j/UluFOwCwIAsUJf31mnyq/SEK5Z9sI30yBrBwE3PbHyHQdPgxE+V/bB9ymX9h4KBnGQsMdIiQjIAVwNACqnYmn7R3UJCJpmTr24qMlBf7LC6pYrunQQXVII+vM4g1BN83Zd3qR5g= 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=C9+r26/d; 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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 415Bng2R009513; Mon, 5 Feb 2024 11:58:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=+FLjOha 9hsz0N3kTVXjRHky3yB34sbwW32/QLwTYprw=; b=C9+r26/dK0WzIXaQaQ82lO9 ff/omTQjeEz2tHhxj8Ee8GMWuN16q6rsAYeQQkhnqPpQ+csk28MH7rykyfplrXYA /mDfvYwFWUIol1+at6oOHJ9q8MzGrZ9jP8Ykauajg17161r1TrkB7axbZcRvLVHl 0vLrI1/YKionBAaD119IMsKbdCZPgX8RCw5F2Y+0sSD01g8dwf58XCfEmuDvj0zU c4OZlXqf7FyUM8AwD7f6VSpxLKNj/g1XZ5gOMyXM5e8jXkSb4EWamcyUI5ba0OxK g1zj+wn3qrz2JLaAFfyHeWcnSONoPuuYo97h0HjaFrelp92/HN+5WIrFM75Hd8Q= = Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w2rk70r23-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 11:58:11 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 415BwAKj004961 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2024 11:58:10 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:05 -0800 From: Jingyi Wang To: , , , , , , , CC: , Subject: [RFC PATCH 0/6] arm64: dts: qcom: Introduce AIM500 platform device tree Date: Mon, 5 Feb 2024 19:57:15 +0800 Message-ID: <20240205115721.1195336-1-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 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: 5VZmEekwiCFsCTUmWV2-tpTTxyo59yLu X-Proofpoint-ORIG-GUID: 5VZmEekwiCFsCTUmWV2-tpTTxyo59yLu 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 spamscore=0 priorityscore=1501 mlxlogscore=491 impostorscore=0 suspectscore=0 bulkscore=0 malwarescore=0 adultscore=0 phishscore=0 clxscore=1011 lowpriorityscore=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: 1790060092641268800 X-GMAIL-MSGID: 1790060092641268800 Add the device tree for the AIM500 AIoT board along with usb, regulators, serial and PCIe found in this board. AIM500 Series is a highly optimized family of modules designed to support AIoT and Generative AI applications which is based on SM8650P soc with addtional functions like PMIC and bluetooth. And AIM500 AIoT is mounted onto Qualcomm AIoT carrier board to support verification, evaluation and development. Signed-off-by: Jingyi Wang --- This patch series has some open discussion topics depend on [1], including: 1. memory map will have a large reserved region for firmware related, since currently firmware features are still in developing and easily to be changed. 2. vph_pwr was open whether it should be put in som.dtsi, or board.dts. we can see vph_pwr may have different design and implementation from different boards design, while vph_pwr needed to be one of the som input, and then the vph_pwr is used inside som to different pmics input. So we proposed have the definition in som.dtsi, and have it's own implementation in board.dts. 3. board compatible like aim300-aiot was open whether can be added or not. We added currently since it will fail dt binding check if not. [1] https://lore.kernel.org/linux-arm-msm/20240119100621.11788-1-quic_tengfan@quicinc.com/#t And we got following error while doing dtb check: sm8650p-aim500-aiot.dtb: usb@a6f8800: interrupt-names: ['hs_phy_irq', 'ss_phy_irq', 'dm_hs_phy_irq', 'dp_hs_phy_irq'] is too short Which should be caused by missing intertupt name "pwr_event" in sm8650.dtsi Jingyi Wang (6): dt-bindings: arm: qcom: Document sm8650p soc and AIM500 AIoT board dt-bindings: arm: qcom,ids: Add SoC ID for SM8650P soc: qcom: socinfo: Add SM8650P SoC ID table entry arm64: dts: qcom: sm8650p: introduce sm8650p dtsi arm64: dts: qcom: add base AIM500 dtsi arm64: dts: qcom: add AIM500 AIoT .../devicetree/bindings/arm/qcom.yaml | 9 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8650p-aim500-aiot.dts | 314 ++++++++++++++ arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi | 409 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8650p.dtsi | 180 ++++++++ drivers/soc/qcom/socinfo.c | 1 + include/dt-bindings/arm/qcom,ids.h | 1 + 7 files changed, 915 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8650p-aim500-aiot.dts create mode 100644 arch/arm64/boot/dts/qcom/sm8650p-aim500.dtsi create mode 100644 arch/arm64/boot/dts/qcom/sm8650p.dtsi -- base-commit: 076d56d74f17e625b3d63cf4743b3d7d02180379 2.25.1