From patchwork Mon Jun 5 08:05:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 103181 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2528131vqr; Mon, 5 Jun 2023 01:21:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6MDC0HQHdhS+yFZdoUIMXaVleY4JJmWcP4teTZ0TeQzfnxNUpIAc2wmi4pIO1T4Q2E8ym5 X-Received: by 2002:a05:6a20:4c9b:b0:10b:e88f:598f with SMTP id fq27-20020a056a204c9b00b0010be88f598fmr6044041pzb.51.1685953309825; Mon, 05 Jun 2023 01:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685953309; cv=none; d=google.com; s=arc-20160816; b=A5jfLVi1YGCScI7mpHHZz8dL7udnSUpjO4U+ixlpNkfWCrASl9E7+CnjS4klKbpMOO chnUY9FamH0b3uI2Y1DYwJ3Qgynkv1GT/3ciNeMkFjI+2vzTveAUAiQH8g5gYqtGbvNu iG1veRXNmNv4Vx7QI2dXouxBA7FrkhCPNnLwMjF0027aA/Wq7cmEN4GYyIwiX8W6Qm5R z23JLis/i4XZR1IvLTJCpRK37Cz5Kz3cGd33mDsxP41qA2W37ui0H+WvRWOvkQhMaLS0 icGxD5f9XqQSBd+z3mpWzn71k8r9LjKIWLccx6bDnhVrKIxyfGz6GBffr5LuDna7Pl1t VuSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OicrZgcQe4aWZ/spNLqo7gdNZhOrfjrfq3ANZourpHM=; b=0GYclE2g82zhNvb+XPoRENldrhL+xhSHTeWFRwNqe8y3d7kq+bLwcrgoczDYjI96rI 0GNXZjg+FV/4IUIZIDZB1rUBSHdcULyVdcLC3I8w1ovSvxsWT3VzhPUA+8tN4voN86Ke Tv2ZwMdYbdy/XjxLS3LaaCu5rU1tZXnR0nX0NPd5riTV0UR0l94Fl41FuQzDakBMY5l0 5PXlAMU/lZ25mMH3P9nEhm5aC+fls0Pq2cTvwwmvtuDHHlmHPZwjPekxw3Ykh5mvDBxR o2QzQIYfr4bIa3cCQ8cLcScXMiZDFk96ZC3uLYozBP3Yznk/ceL7ygytEX/7mBPSRJcT ErpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CoM+iyvI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020aa797b2000000b00654d446d357si3567442pfq.177.2023.06.05.01.21.38; Mon, 05 Jun 2023 01:21:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CoM+iyvI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231741AbjFEIF7 (ORCPT + 99 others); Mon, 5 Jun 2023 04:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231621AbjFEIF5 (ORCPT ); Mon, 5 Jun 2023 04:05:57 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5EC6A1; Mon, 5 Jun 2023 01:05:56 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3556wG0w019790; Mon, 5 Jun 2023 08:05:53 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-type; s=qcppdkim1; bh=OicrZgcQe4aWZ/spNLqo7gdNZhOrfjrfq3ANZourpHM=; b=CoM+iyvItRAJDsDtLtw2C/d3R4r2PUPvk/2ywUioe+P021iGP5KrH2aU7zWIJT4Gzt/D UJ4zC7/BNxmcuTBfKH/PicZiqEGDaCagMDBgc99rY7+f4OOVeSLmwwy3M63rxA6eSy07 AAQKFFw7hLlo8LGwwIoQwuRFrsnmDN0ZfYGZbU+jJfHC2U/CldhADY9M0yqavJV3n6CQ pb/VwaxiJenG0FPPoYBzOtfvWrD9S8hJDQJ2b7hP1t1tJXEEFsHl6XT9nruZVpZcEY81 JiWOtWdvEFS+ss1JSAqUzk4SNeiOmHtKjQOBdtGmlBtjCCpSG8iX5u39Z+Nt3yMs+H+G pw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r1augg5yd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Jun 2023 08:05:53 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35585q8q016709 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Jun 2023 08:05:52 GMT Received: from anusha-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Mon, 5 Jun 2023 01:05:48 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH V2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5300 Date: Mon, 5 Jun 2023 13:35:28 +0530 Message-ID: <20230605080531.3879-2-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230605080531.3879-1-quic_kathirav@quicinc.com> References: <20230605080531.3879-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: o8LD9vbKpNnlVr7ibjAZzkn6VIWIfOCw X-Proofpoint-ORIG-GUID: o8LD9vbKpNnlVr7ibjAZzkn6VIWIfOCw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-03_08,2023-06-02_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 phishscore=0 impostorscore=0 mlxscore=0 adultscore=0 malwarescore=0 spamscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=755 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306050072 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767850177916219147?= X-GMAIL-MSGID: =?utf-8?q?1767850177916219147?= Add the SoC ID for IPQ5300, which belong to the family of IPQ5332 SoC. Acked-by: Krzysztof Kozlowski Signed-off-by: Kathiravan T --- Changes in V2: - Pick up A-b tag 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 69c2d8fa79f4..bcbe9ee2cdaf 100644 --- a/include/dt-bindings/arm/qcom,ids.h +++ b/include/dt-bindings/arm/qcom,ids.h @@ -258,6 +258,7 @@ #define QCOM_ID_IPQ5322 593 #define QCOM_ID_IPQ5312 594 #define QCOM_ID_IPQ5302 595 +#define QCOM_ID_IPQ5300 624 /* * The board type and revision information, used by Qualcomm bootloaders and From patchwork Mon Jun 5 08:05:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 103184 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2528786vqr; Mon, 5 Jun 2023 01:23:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dL6oy2ke77D9z/iw8+EAEIWaeZCU4EuaE1yfk/6Btw5jWdTTQlXmyH+a4p6fi8K4G7ESi X-Received: by 2002:a17:903:1cc:b0:1b0:2658:db20 with SMTP id e12-20020a17090301cc00b001b02658db20mr7076555plh.53.1685953406681; Mon, 05 Jun 2023 01:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685953406; cv=none; d=google.com; s=arc-20160816; b=D6ivQYZx5B1Q7ci/3wUCPvSXqa8VGFGVL/enWHewvgQxfnLuKBy+hu9Jgqxzp4Z4LO NY/3rkcKYnaP3dmtjqkOwTFygik5ZY311LX8b8mpTuJp9MQC9OzwhRi8L5i3WA6LfM6N fL2MU8jFXWpFKXPPnpsf766qABELVVHxNTRL0ESK/G+9GY2fMDmLRRroyBZ7smUpwL14 3L6OQMWO5nyhpXiXkpzIWRNRZYeLzv9S7om7bo01F8ry/IKjeo/DmavL/3loDJjSitcZ 6LlJEKcw0Je9qgQ+xRsfrAcPxVdJF95w4w9krntJ0VByx05TyDAIYGerQQb4+qgPmZWX S3PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+aOcxETdTaURCLizI7WSOs1IVxhOiGnzSurVNS9a3IM=; b=tB7/+j1VSokmzBu8xBmHI53F0jhb5ziH3YE6RhnEqUcZSVl59nbtaK/BBBj5I5IBVO IMYKj8Xok+6DGG4pW+FlV8mWqjD6OYddaNqeHWD+1ObVAuo7BQUQKW9xAry+BJyDlNdh zu9WYXKulJstV33IR1iz68k6QDPwN/yxJUSB4l26kZXGX4PHekFcCO2GlYOwjTOgJM08 YI+vuRWMMboWI4p9QgBrkvIqKt8wazwtfSq91ZK0ptMt7f7dn5JfiQWJWTNsDcfJcaHX BiiX2cdqM6x7XzAsT0szln1dwgVt0hxj7zFur9bDGGhuTZcJECKAdYWLE0t8YtizU1BU 7fpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Lot9rZtV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a10-20020a170902ecca00b001ae59169f18si5114421plh.414.2023.06.05.01.23.12; Mon, 05 Jun 2023 01:23:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Lot9rZtV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231313AbjFEIGJ (ORCPT + 99 others); Mon, 5 Jun 2023 04:06:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231749AbjFEIGB (ORCPT ); Mon, 5 Jun 2023 04:06:01 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93918B7; Mon, 5 Jun 2023 01:06:00 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3554wJFR008867; Mon, 5 Jun 2023 08:05:57 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-type; s=qcppdkim1; bh=+aOcxETdTaURCLizI7WSOs1IVxhOiGnzSurVNS9a3IM=; b=Lot9rZtVIYYNqn52xoSwgmIlqGUwSzAetRCykja+FNi2V2iQi3+3kpSWDucYo6iBgHuD JWHYHE8O5Ikkt+hmQ7qMmkxR9jY7sE5bADxSRtdcOD0X7bw2vi4b20Ve0jGWLAhgF1p1 5Ibdudc5JUrXPbhmaAm9XUQ0LoEitdlDHZRs14ghYu3Qtz3DhZT8x8pvBTM38tPzZD4X lf2aHmWBVORrPC7QlShE1aOrK4XBx3k64y3awLgbuxwCwxvp2fAR7rI5Q0caZSRfyg6t Op+cjeOE3WHMZ1z3hSKT1eD3B+NVFy48h509JfU0VwHaS37PiG0TJQYXBGZN8Hu0R02b tA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qyvhck04g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Jun 2023 08:05:57 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35585uFi016727 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Jun 2023 08:05:56 GMT Received: from anusha-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Mon, 5 Jun 2023 01:05:52 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH V2 2/4] soc: qcom: socinfo: Add Soc ID for IPQ5300 Date: Mon, 5 Jun 2023 13:35:29 +0530 Message-ID: <20230605080531.3879-3-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230605080531.3879-1-quic_kathirav@quicinc.com> References: <20230605080531.3879-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: PBAFNa-HSq6r8LsLKKAlf9ITpR6V2i6r X-Proofpoint-ORIG-GUID: PBAFNa-HSq6r8LsLKKAlf9ITpR6V2i6r X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-03_08,2023-06-02_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 suspectscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 mlxlogscore=957 malwarescore=0 spamscore=0 impostorscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306050072 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767850279492222284?= X-GMAIL-MSGID: =?utf-8?q?1767850279492222284?= Add the SoC ID for IPQ5300, which belong to the family of IPQ5332 SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kathiravan T --- Changes in V2: - Pick up R-b tag 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 dfd4330daef5..c60c9ab321fe 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -411,6 +411,7 @@ static const struct soc_id soc_id[] = { { qcom_board_id(IPQ5322) }, { qcom_board_id(IPQ5312) }, { qcom_board_id(IPQ5302) }, + { qcom_board_id(IPQ5300) }, }; static const char *socinfo_machine(struct device *dev, unsigned int id) From patchwork Mon Jun 5 08:05:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 103179 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2526703vqr; Mon, 5 Jun 2023 01:18:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Q2i3mg3OkCeJcOzoDdyS4nydhzD21t318f8AtHRWKLnDXA+mwmBCbF1S+V+9Q7Z9AXd/0 X-Received: by 2002:a05:6358:52d3:b0:123:3812:7caa with SMTP id z19-20020a05635852d300b0012338127caamr29559670rwz.24.1685953082088; Mon, 05 Jun 2023 01:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685953082; cv=none; d=google.com; s=arc-20160816; b=fGXSwtofuKlAwbgF/WgNNODTDV+FdV9QyBJO5J42p5d+3XGLekunjmPIlY6YgVXR24 +3YVrxLPhTqhyFyV70F/4hXMDLvOZu+grLUwbIU02ggl/D9VidK5Pe63isdpK4a8jnJd DLpyBV4SKcG+TYyftqxoVmF2ts7+8ZNvDW5G3+QVbkbfX5+lCtae22mFm5trP/vDVNdG rFjReYKZRbUa+reNYUk1VodGF0QacgiZOlzQIog9ZOGwS1G4sZPjNmv5TfFOwtUddE1N kXrU5AoUUV93lHs9bDeHilzdRicRs4hn4SvmqZQ1KNQG7Oy06Us5K5F3xvE6XE5oJUdb neRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=U6kWgeKEOcku0AWP6m4idlGV+bYySIYohLdp2KSk+S4=; b=odoHIFh8sZmCEPl1kThQgb0QSohrJrEW1nxQtV80kWwpyjeMIbxKj7FTVJuhwN88i4 ETF9KnX8K4kAW+GvLLQhT7giqUr6CgzTBN3fM4/DBB1hDksrS6lR7q8PMf9F8c38sYOl 8DwD4NJjrxxegcotfBHfYTZzC3QpSaNmUB9KTiHU7HcSlicICfSIujuyfIXcVYTm21Jf 7wIvjYMaaePoFFDZNnmb/Em77Eay8HsUp6W7K1U3H1GUF1OYSyyyPWPl3+WRIuPFymhF 2ymaVQcl8TC1jHd1CFK60vQo1HKvQ92RXy/d/66DTSc32oFOQXik85qk7Odojc+zK7AS CGhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HEARjWqe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020a17090aad0c00b00246b7a596eesi6972186pjq.146.2023.06.05.01.17.49; Mon, 05 Jun 2023 01:18:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HEARjWqe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231749AbjFEIGM (ORCPT + 99 others); Mon, 5 Jun 2023 04:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231751AbjFEIGI (ORCPT ); Mon, 5 Jun 2023 04:06:08 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13E51F7; Mon, 5 Jun 2023 01:06:05 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3555J0BS005531; Mon, 5 Jun 2023 08:06:01 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-type; s=qcppdkim1; bh=U6kWgeKEOcku0AWP6m4idlGV+bYySIYohLdp2KSk+S4=; b=HEARjWqeViv9AmQqazhSf8JfIYHenEbQxod6fPYYebJHMMvQa7IX6cJX3ugbaB/wb93R 8zSasCooBcMU3MpyG1Sm82xe66YJ22vzrSVy+CTDAv+WEhAbyXptoVCoJkDCmELqGHoo 8uo6DwzZL9d+ePLhGwUP93rgNMDJrwODFZsWK1UmLtu8MxeMAhtGlccGMXrQRvcY8l3u 9T+b6KI5Pi/df00818LjApnv4MR7SFcdW02ii1g0lG3I7aMXUOurtKnsoegx0Maic/6Y oOLa8EjV0Ly5HcoPoOZGb3DWwwlltAM9tXS3N0nRgj6A/WGgbWVbnW0vldGivmKtW5lF AQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qytvuu5ky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Jun 2023 08:06:01 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 355860sZ012970 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Jun 2023 08:06:00 GMT Received: from anusha-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Mon, 5 Jun 2023 01:05:56 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH V2 3/4] dt-bindings: arm: qcom: document MI01.9 board based on IPQ5332 family Date: Mon, 5 Jun 2023 13:35:30 +0530 Message-ID: <20230605080531.3879-4-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230605080531.3879-1-quic_kathirav@quicinc.com> References: <20230605080531.3879-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: UMPk2lRsa4gxUV-WLn3cGBPjJEh1o7zw X-Proofpoint-ORIG-GUID: UMPk2lRsa4gxUV-WLn3cGBPjJEh1o7zw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-03_08,2023-06-02_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 mlxscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306050072 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767849939062436328?= X-GMAIL-MSGID: =?utf-8?q?1767849939062436328?= Document the MI01.9 (Reference Design Platform 474) board based on IPQ5332 family of SoCs. Acked-by: Krzysztof Kozlowski Signed-off-by: Kathiravan T --- Changes in V2: - Pick up A-b tag Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 8302d1ee280d..9716dd884080 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -93,6 +93,7 @@ description: | ap-mi01.2 ap-mi01.3 ap-mi01.6 + ap-mi01.9 cdp cp01-c1 dragonboard @@ -340,6 +341,7 @@ properties: - qcom,ipq5332-ap-mi01.2 - qcom,ipq5332-ap-mi01.3 - qcom,ipq5332-ap-mi01.6 + - qcom,ipq5332-ap-mi01.9 - const: qcom,ipq5332 - items: From patchwork Mon Jun 5 08:05:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 103183 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2528747vqr; Mon, 5 Jun 2023 01:23:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6fOQu730bsq+v/0+Uq2BY23i0m2AYpm66fcU5CsMY8aIGx+U67CwlJZWF3NrDXN4flGXPa X-Received: by 2002:a05:6a20:3d90:b0:10f:1d33:d667 with SMTP id s16-20020a056a203d9000b0010f1d33d667mr8053011pzi.5.1685953397024; Mon, 05 Jun 2023 01:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685953397; cv=none; d=google.com; s=arc-20160816; b=TtDUhvvj25BuAcLjvd+lS2aBgx4ouvELzT+Z+DYQn12CN3zHmCVHEMzgucn7cQT8ug MjuRuyeUNbFLJIbqrjV/G2x5/dZwmYJDjK3mxkmtvzYDpYUlv+h89bYWHSxHXk9Qd65A vwc0eGL7Vm5p06CAAcxkCwHtDclE5Sue2MAfQ/3MFnV20ufgosox7XWoHRYKniifXxSF LMeIgNgAr/riBNe+LPM6CvWRdmR5tT4jLD1wmaaR/iErWd0QluRaxd5hWp0yDk5Judfh WVCmH07dmZ0yY9jVjQo65CKefX9tk2T74h2hTIG/koIBM47f3ZIQtnIjgYXD2P38pS3o JV5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=hQAo1cNAJYu7FQnv0rZYsoZ3dmaGJFOFfsRi4W1jjgY=; b=QH9NVpbfEh91G6UkNOvYy3kYHTqdW/2AEjDfAHWdbNu2EdbUHPdD5R1G5RVabEfcbB gUNzMGLDYesDI8Qp3Udewtnng1vyfKKQPCtRgQqKBMkXn8PVeQdy0TlmgBJ3mCWzHILb CqeyLMW8u8nNv7xlROIhGND6CMNT23Q9wDsTM4oSnP87D/705dCnJDApuyI6G+u+xUoP cFVYIjOCG4s8B9BmVbtuukjKjaVPsLwTSSyt6yNGF1t/RqDjg6NoGLM5VfulNGy3mb6w bjrDLbyNSl4A/5deufKICA1VVxrczN6suhS5IK9gVWRvR6UQbbqPqZYglRMVi74ozpDS cH1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gibqhamc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v190-20020a6389c7000000b0053f3498ac9dsi5118811pgd.677.2023.06.05.01.23.02; Mon, 05 Jun 2023 01:23:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gibqhamc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231290AbjFEIGU (ORCPT + 99 others); Mon, 5 Jun 2023 04:06:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230404AbjFEIGP (ORCPT ); Mon, 5 Jun 2023 04:06:15 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C155AD; Mon, 5 Jun 2023 01:06:08 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3556o4r8026961; Mon, 5 Jun 2023 08:06:05 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-type; s=qcppdkim1; bh=hQAo1cNAJYu7FQnv0rZYsoZ3dmaGJFOFfsRi4W1jjgY=; b=gibqhamc34drO9mLaIAFSnPbd9m0riEV0LWqMotx10NUDNP6HE9y5KRmCw8lipCWO0AE jY4n+eRgZZFYv4xcYVhSrdOkHFCGMMHGbP6Rut/weYC2xUSi1IpSIvC1K01Ey7sWoyFj NaBzxOqWpXzT5HYPQrv6UHwtNL2Vj/aj1SISEEXzowYZ4B3/pIH/otaJbrTk6k+QYuBx IxV102Z737PgjawhJgQA9NanQ5kpe7d2dL1sOsKknnPppFjJsuV6oUVsq8j3eM04uH6G /ByyucLtFQ7g8bbYNaHdey4q4pNnDAEdU0KQOM4KuxCmdKLz2w+m+JMZT2Xpy3LYjdfU 7A== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r1arnr6nv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Jun 2023 08:06:04 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 355863hS022390 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Jun 2023 08:06:03 GMT Received: from anusha-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Mon, 5 Jun 2023 01:06:00 -0700 From: Kathiravan T To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , CC: Kathiravan T Subject: [PATCH V2 4/4] arm64: dts: qcom: ipq5332: add support for the RDP474 variant Date: Mon, 5 Jun 2023 13:35:31 +0530 Message-ID: <20230605080531.3879-5-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230605080531.3879-1-quic_kathirav@quicinc.com> References: <20230605080531.3879-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: ASqgOPHe5oQKrBoDJumAAe-DKGnu1n6Z X-Proofpoint-GUID: ASqgOPHe5oQKrBoDJumAAe-DKGnu1n6Z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-03_08,2023-06-02_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 impostorscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 phishscore=0 spamscore=0 clxscore=1015 malwarescore=0 adultscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306050072 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767850269044735627?= X-GMAIL-MSGID: =?utf-8?q?1767850269044735627?= Add the initial device tree support for the Reference Design Platform(RDP) 474 based on IPQ5332 family of SoC. This patch carries the support for Console UART, eMMC, I2C and GPIO based buttons. Signed-off-by: Kathiravan T --- Changes in V2: - Used hypen in node name instead of underscore - s/gpio_keys_default/gpio_keys_default_state arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts | 112 ++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 4f9e81253e18..0f8c763a9bd9 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -7,6 +7,7 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5332-mi01.2.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp442.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp468.dtb +dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp474.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq6018-cp01-c1.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk01.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c1.dtb diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts new file mode 100644 index 000000000000..53c68d8c5e5d --- /dev/null +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts @@ -0,0 +1,112 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * IPQ5332 RDP474 board device tree source + * + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include +#include +#include "ipq5332.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ5332 MI01.9"; + compatible = "qcom,ipq5332-ap-mi01.9", "qcom,ipq5332"; + + aliases { + serial0 = &blsp1_uart0; + }; + + chosen { + stdout-path = "serial0"; + }; + + gpio-keys { + compatible = "gpio-keys"; + pinctrl-0 = <&gpio_keys_default_state>; + pinctrl-names = "default"; + + button-wps { + label = "wps"; + linux,code = ; + gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; + linux,input-type = <1>; + debounce-interval = <60>; + }; + }; +}; + +&blsp1_uart0 { + pinctrl-0 = <&serial_0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&blsp1_i2c1 { + clock-frequency = <400000>; + pinctrl-0 = <&i2c_1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&sdhc { + bus-width = <4>; + max-frequency = <192000000>; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + non-removable; + pinctrl-0 = <&sdc_default_state>; + pinctrl-names = "default"; + status = "okay"; +}; + +&sleep_clk { + clock-frequency = <32000>; +}; + +&xo_board { + clock-frequency = <24000000>; +}; + +/* PINCTRL */ + +&tlmm { + gpio_keys_default_state: gpio-keys-default-state { + pins = "gpio35"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + }; + + i2c_1_pins: i2c-1-state { + pins = "gpio29", "gpio30"; + function = "blsp1_i2c0"; + drive-strength = <8>; + bias-pull-up; + }; + + sdc_default_state: sdc-default-state { + clk-pins { + pins = "gpio13"; + function = "sdc_clk"; + drive-strength = <8>; + bias-disable; + }; + + cmd-pins { + pins = "gpio12"; + function = "sdc_cmd"; + drive-strength = <8>; + bias-pull-up; + }; + + data-pins { + pins = "gpio8", "gpio9", "gpio10", "gpio11"; + function = "sdc_data"; + drive-strength = <8>; + bias-pull-up; + }; + }; +};