Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DF2FC678D5 for ; Tue, 7 Mar 2023 06:51:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229968AbjCGGvy (ORCPT ); Tue, 7 Mar 2023 01:51:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjCGGvu (ORCPT ); Tue, 7 Mar 2023 01:51:50 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81CF33D92A; Mon, 6 Mar 2023 22:51:47 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3276D57k005863; Tue, 7 Mar 2023 06:25:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=rM6zguBVXsB3XNdAh9usqRuz5Y1YHBBEctXnhNh/dlM=; b=Q0ANWGCLDWmJ56njnXZdeF+74WOkTwZq8KhCzEXj/aT40z4qejp003pDLnkTuTvztPO6 zFre/16QrQOo5Rub8tDeFRHW3NcGPIvCH/ioypT/HQkF7ykJpKSbPQuaVG0B+/agNkkr TWXHPxI+SsFyjkvdwulj1tQO+B5kdAV7/fr7h4/jc+Yg58TQ/r0zJQ3P2MRpINLkHn0X CsoHmf58y38rKz3D8L+nMKbqIHEUQrree9gEo9ze0Ro+DS+nYgPekebqgIDjZTRrT/ZA ub8qhum1tSM+BEz6SwSrfBos0TVSkElIFY4aBObwwIv/6Ig1cZ6sBhNSyPet0Wmm8R/Z Hg== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p419d72a2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Mar 2023 06:25:25 +0000 Received: from nasanex01a.na.qualcomm.com ([10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3276POAa024631 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 7 Mar 2023 06:25:24 GMT Received: from [10.201.3.167] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 6 Mar 2023 22:25:16 -0800 Message-ID: Date: Tue, 7 Mar 2023 11:55:13 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 10/11] arm64: dts: qcom: ipq5018: Add MP03.5-c1 board support Content-Language: en-US To: Manikanta Mylavarapu , , , , , , , , , , , , , , , , , , CC: , , , , , , References: <1678164097-13247-1-git-send-email-quic_mmanikan@quicinc.com> <1678164097-13247-11-git-send-email-quic_mmanikan@quicinc.com> From: Varadarajan Narayanan In-Reply-To: <1678164097-13247-11-git-send-email-quic_mmanikan@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: j3n-Il8pOTDk6VJRLfxCZMDFAgLir89Q X-Proofpoint-GUID: j3n-Il8pOTDk6VJRLfxCZMDFAgLir89Q X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-07_01,2023-03-06_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303070057 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/7/2023 10:11 AM, Manikanta Mylavarapu wrote: > Add initial device tree support for the MP03.5-C1 board. > > Signed-off-by: Manikanta Mylavarapu > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > .../arm64/boot/dts/qcom/ipq5018-mp03.5-c1.dts | 64 +++++++++++++++++++ > 2 files changed, 65 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-mp03.5-c1.dts > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index b77a95e97a56..10d1eafe57e4 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8094-sony-xperia-kitakami-karin_windy.dtb > dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb > dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb > dtb-$(CONFIG_ARCH_QCOM) += ipq5018-mp03.1-c2.dtb > +dtb-$(CONFIG_ARCH_QCOM) += ipq5018-mp03.5-c1.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/ipq5018-mp03.5-c1.dts b/arch/arm64/boot/dts/qcom/ipq5018-mp03.5-c1.dts > new file mode 100644 > index 000000000000..51ddd7367ac6 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/ipq5018-mp03.5-c1.dts > @@ -0,0 +1,64 @@ > +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause > +/* > + * IPQ5018 CP01 board device tree source MP03?? > + * > + * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. Update the year -Varada > + */ > + > +/dts-v1/; > + > +#include "ipq5018.dtsi" > + > +/ { > + model = "Qualcomm Technologies, Inc. IPQ5018/AP-MP03.5-C1"; > + compatible = "qcom,ipq5018-mp03.5-c1", "qcom,ipq5018"; > + > + aliases { > + serial0 = &blsp1_uart1; > + }; > + > + chosen { > + bootargs = "console=ttyMSM0,115200,n8 rw init=/init swiotlb=1 coherent_pool=2M"; > + stdout-path = "serial0:115200n8"; > + }; > +}; > + > +&tlmm { > + blsp0_uart_pins: uart_pins { > + pins = "gpio20", "gpio21"; > + function = "blsp0_uart0"; > + bias-disable; > + }; > +}; > + > +&blsp1_uart1 { > + pinctrl-0 = <&blsp0_uart_pins>; > + pinctrl-names = "default"; > + status = "ok"; > +}; > + > +&q6v5_wcss { > + q6_wcss_pd1: remoteproc_pd1 { > + interrupts-extended = <&wcss_smp2p_in 8 0>, > + <&wcss_smp2p_in 9 0>, > + <&wcss_smp2p_in 12 0>, > + <&wcss_smp2p_in 11 0>; > + interrupt-names = "fatal", > + "ready", > + "spawn-ack", > + "stop-ack"; > + qcom,smem-states = <&wcss_smp2p_out 8>, > + <&wcss_smp2p_out 9>, > + <&wcss_smp2p_out 10>; > + qcom,smem-state-names = "shutdown", > + "stop", > + "spawn"; > + }; > + q6_wcss_pd2: remoteproc_pd2 { > + status = "okay"; > + }; > + > + q6_wcss_pd3: remoteproc_pd3 { > + status = "okay"; > + }; > +};