From patchwork Mon Jan 27 07:28:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 13951045 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 29CEA1FCFF0; Mon, 27 Jan 2025 07:29:45 +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=1737962987; cv=none; b=U9vo6m2CoHxfPB3GEAvjGfsWw5aOgYh5aiJKoYX877so9XzopEoIrj1dCYJT3E3GmHyXuIfPXvLriDhrP4IndDYz8vw3ejBlVk5jjQPs0agVv83M0CXzSpQvOJEGeNdziPkzKqxsgYBpxNUEQLAL8sUxw3668X5rvJ7T1RDoHvg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737962987; c=relaxed/simple; bh=PTtXveJGpKTPAOO5eFIO3l0XibHGUgbcLt8NefvZSyo=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VHhkmNoel+kvwSkjlfhFqVCPXbZIXV6zqwX/V+05VV+zRaRG7Gr8ms5bNc+0lgRprOoqimUo3bnZmhLqOA0/axe3/JHQ/WuWmS6QD9rLAkyEAjLklA7U5oPjZKWWSE9c2SiPN3fdNjtAA+ENZOWTHlhqAvhX9ICMLfyjiWKTD0E= 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=dGQotubX; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dGQotubX" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50R3U9jp004139; Mon, 27 Jan 2025 07:29:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= QXpJ7kICsLJNBbrzS/vhBa+nKtc/mprBYbiUOfy5GP8=; b=dGQotubXo2nZY3lY 6lGo68IWmqxZedlA03hEj75oH3voqLYJTuPgHr+JoRajywdte+M6QKJYRPkt3mJX PouoaG4CPeBHs97FdBGu9Eml48FtH4XiNBnDzSlZZg0+9Nx4wCyx133XdSeKWUQC s7qmJCaG+NvlzHQQsc/d9eaV219kmmdMGrugmlVy7eIefHk9lSasthdYzp8pRXIG 5bTVRHoRHgNhLZMM/teTohXSL8EHd2/iLPkb/6w9XmkVsShaldSySiTZC2i+XKC6 g6X+TfrhunMGpUiW5vihpepWydhI8W3wWvT+eZz4OV3d9ryi3cE+BMOUSBuYb0M5 QgkvBw== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44e2988eek-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Jan 2025 07:29:32 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50R7TVLq028005 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Jan 2025 07:29:31 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sun, 26 Jan 2025 23:29:25 -0800 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , Subject: [PATCH v8 4/7] arm64: dts: qcom: ipq9574: Reorder reg and reg-names Date: Mon, 27 Jan 2025 12:58:47 +0530 Message-ID: <20250127072850.3777975-5-quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250127072850.3777975-1-quic_varada@quicinc.com> References: <20250127072850.3777975-1-quic_varada@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: fp1ZVL6jFVeA4ai0lVtbRjxJhaLN3WW3 X-Proofpoint-ORIG-GUID: fp1ZVL6jFVeA4ai0lVtbRjxJhaLN3WW3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-27_03,2025-01-27_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 mlxlogscore=699 lowpriorityscore=0 spamscore=0 malwarescore=0 phishscore=0 suspectscore=0 adultscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501270059 The 'reg' & 'reg-names' constraints used in the bindings and dtsi are different resulting in dt_bindings_check errors. Re-order them to address following errors. arch/arm64/boot/dts/qcom/ipq9574-rdp449.dtb: pcie@20000000: reg-names:0: 'parf' was expected Signed-off-by: Varadarajan Narayanan --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 52 +++++++++++++++++---------- 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 942290028972..d27c55c7f6e4 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -876,12 +876,16 @@ frame@b128000 { pcie1: pcie@10000000 { compatible = "qcom,pcie-ipq9574"; - reg = <0x10000000 0xf1d>, - <0x10000f20 0xa8>, - <0x10001000 0x1000>, - <0x000f8000 0x4000>, - <0x10100000 0x1000>; - reg-names = "dbi", "elbi", "atu", "parf", "config"; + reg = <0x000f8000 0x4000>, + <0x10000000 0xf1d>, + <0x10000f20 0xa8>, + <0x10001000 0x1000>, + <0x10100000 0x1000>; + reg-names = "parf", + "dbi", + "elbi", + "atu", + "config"; device_type = "pci"; linux,pci-domain = <1>; bus-range = <0x00 0xff>; @@ -956,12 +960,16 @@ pcie1: pcie@10000000 { pcie3: pcie@18000000 { compatible = "qcom,pcie-ipq9574"; - reg = <0x18000000 0xf1d>, - <0x18000f20 0xa8>, - <0x18001000 0x1000>, - <0x000f0000 0x4000>, - <0x18100000 0x1000>; - reg-names = "dbi", "elbi", "atu", "parf", "config"; + reg = <0x000f0000 0x4000>, + <0x18000000 0xf1d>, + <0x18000f20 0xa8>, + <0x18001000 0x1000>, + <0x18100000 0x1000>; + reg-names = "parf", + "dbi", + "elbi", + "atu", + "config"; device_type = "pci"; linux,pci-domain = <3>; bus-range = <0x00 0xff>; @@ -1036,12 +1044,16 @@ pcie3: pcie@18000000 { pcie2: pcie@20000000 { compatible = "qcom,pcie-ipq9574"; - reg = <0x20000000 0xf1d>, + reg = <0x00088000 0x4000>, + <0x20000000 0xf1d>, <0x20000f20 0xa8>, <0x20001000 0x1000>, - <0x00088000 0x4000>, <0x20100000 0x1000>; - reg-names = "dbi", "elbi", "atu", "parf", "config"; + reg-names = "parf", + "dbi", + "elbi", + "atu", + "config"; device_type = "pci"; linux,pci-domain = <2>; bus-range = <0x00 0xff>; @@ -1116,12 +1128,16 @@ pcie2: pcie@20000000 { pcie0: pci@28000000 { compatible = "qcom,pcie-ipq9574"; - reg = <0x28000000 0xf1d>, + reg = <0x00080000 0x4000>, + <0x28000000 0xf1d>, <0x28000f20 0xa8>, <0x28001000 0x1000>, - <0x00080000 0x4000>, <0x28100000 0x1000>; - reg-names = "dbi", "elbi", "atu", "parf", "config"; + reg-names = "parf", + "dbi", + "elbi", + "atu", + "config"; device_type = "pci"; linux,pci-domain = <0>; bus-range = <0x00 0xff>;