From patchwork Wed Jan 10 11:20:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jie Luo X-Patchwork-Id: 18910 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp724417dyi; Wed, 10 Jan 2024 03:22:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFD69OF0MXtTp4Y2qJ1moQkDmlYcflBFkwt9nb4U2NxFVo1Zin/87pOrX6WF/9Bd0kxr4yn X-Received: by 2002:a05:622a:1113:b0:428:170d:4547 with SMTP id e19-20020a05622a111300b00428170d4547mr2875685qty.54.1704885736316; Wed, 10 Jan 2024 03:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704885736; cv=none; d=google.com; s=arc-20160816; b=OCkSZ/RxPloCxBuykZQ/cpgAPqp3BNN/EzDxExpUU6KgODoB2sv9BtXGn69A7V07P2 S3t89463DSOh8kdpCuxgifUluwA9gWpKYQv8eqYh2hkiT/sWuuWvNHIAeZ9Zr/6X1JLR pybrW5RxU3Xft1AKvQRbCSZICkyPCcHu63GoUR0I8gGEyx+8192XO6PHllrKBors9qfm +9T0DXarNrZkG7luGrnrzUdFTre8aEW1z/cjxFjDPCzTwvqu2KI7pr9qbODZaGH8n4ry 2qibCEl832j9PvzchBX6KypJETcn7yd+OaJVhsWeVNfG4jnm8R7Em9j6JTMp7HrfXSJO FK+Q== ARC-Message-Signature: i=1; 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=1pxZF1VgXUObLRMD2bqakwsBATZaMyfK/JhWTXjS5AA=; fh=I55x0ANvNkX2tDYcOPVTN40IQtoD9tfE/hZORnK+Rnk=; b=jAB/yaIzVUAXsQf/QbfBzvEF92JDAl3t++9ep5zZ4ONA7OrPdwQRth71BHxXQxP4Dw qFdDUgM4beEeOQVQhlhaulS2Nh3bfOtNdzBTh78RbySkWEzxrISEk/pLVzG+FAipmvwv 2vgtJN04CgWUg+jbgrPySgjdQdIkUPfHLzZg2nUfJo0Cmlb0X8puUwPz0CipRkFu7lLS PVGckB5rcK1a78I4ZLSk5LmxKu2AboMJpmq/2cmazhfSdyVeDgrmOMWOgz7597MK5rJY zNXtrZ0nodiijDT8QtGKDRhxdpxVaTsd2RqccDsNQYBAOgsLG/qEjTlZrCzaWewyla5r d18g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="cz4ebTh/"; spf=pass (google.com: domain of linux-kernel+bounces-22074-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22074-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v13-20020ac8578d000000b0042552a493fcsi3937183qta.42.2024.01.10.03.22.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:22:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22074-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="cz4ebTh/"; spf=pass (google.com: domain of linux-kernel+bounces-22074-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22074-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 2026B1C20BA0 for ; Wed, 10 Jan 2024 11:22:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E16A847F5E; Wed, 10 Jan 2024 11:21:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="cz4ebTh/" 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 D45504776F; Wed, 10 Jan 2024 11:21:21 +0000 (UTC) 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 40A8dUtu031047; Wed, 10 Jan 2024 11:21:18 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=1pxZF1V gXUObLRMD2bqakwsBATZaMyfK/JhWTXjS5AA=; b=cz4ebTh/QEhFW7Ts2hLygeR VD7ccpEFaVyL78xJiC2I2R6sYJvR6EHs4lTX188jgEZnejS59b1091qk70x6yLPN Zwc73RhPqj/8tIUz9bLXD/aBIGofOBh0AZg4uVV0AfR6ExNjmjkcu3LirNZHoo+i shzq+eVMoMq2wFTX3j4X1/UOystFebrgVq00CytZrOOaI3v6jGKWparnpYAnd1H/ K6CliXMbo9sAF69AlevTIvNIuSYwNf/4I5I5yjypw4w7iDi5obolitv/11mEJ1kD rfC1rBriJa45tKp/2LYU9snsopTwlmSb6i8dqminI5JfbqnIibLZhhfTDjvb8BA= = Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vhq2h0egc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:21:18 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40ABLGeb026369 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:21:17 GMT Received: from akronite-sh-dev02.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 10 Jan 2024 03:21:12 -0800 From: Luo Jie To: , , , , CC: , , , , , , , , , , Subject: [PATCH 0/6] Add PPE device tree node for Qualcomm IPQ SoC Date: Wed, 10 Jan 2024 19:20:53 +0800 Message-ID: <20240110112059.2498-1-quic_luoj@quicinc.com> X-Mailer: git-send-email 2.42.0 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 nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: r1Taov093tPbF2j_vgN0jLBhkg6Vpykn X-Proofpoint-ORIG-GUID: r1Taov093tPbF2j_vgN0jLBhkg6Vpykn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxscore=0 spamscore=0 bulkscore=0 clxscore=1015 impostorscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 suspectscore=0 mlxlogscore=407 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401100092 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787702265445025086 X-GMAIL-MSGID: 1787702265445025086 The PPE(packet process engine) hardware block is supported by Qualcomm IPQ platforms, such as IPQ9574 and IPQ5332. The PPE includes the various packet processing modules such as the routing and bridging flow engines, L2 switch capability, VLAN and tunnels. Also included are integrated ethernet MAC and PCS(uniphy), which is used to connect with the external PHY devices by PCS. This patch series enables support for the following DTSI functionality for Qualcomm IPQ9574 and IPQ5332 chipsets. 1. Add PPE (Packet Processing Engine) HW support 2. Add IPQ9574 RDP433 board support, where the PPE is connected with qca8075 PHY and AQ PHY. 3. Add IPQ5332 RDP441 board support, where the PPE is connected with qca8386 and SFP PPE DTS depends on the NSSCC clock driver below, which provides the clocks for the PPE driver. https://lore.kernel.org/linux-arm-msm/20230825091234.32713-1-quic_devipriy@quicinc.com/ https://lore.kernel.org/linux-arm-msm/20231211-ipq5332-nsscc-v3-0-ad13bef9b137@quicinc.com/ Lei Wei (2): arm64: dts: qcom: ipq5332: Add RDP441 board device tree arm64: dts: qcom: ipq9574: Add RDP433 board device tree Luo Jie (4): arm64: dts: qcom: ipq9574: Add PPE device tree node arm64: dts: qcom: ipq5332: Add PPE device tree node arm64: dts: qcom: ipq5332: Add MDIO device tree arm64: dts: qcom: ipq9574: Add MDIO device tree arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts | 51 ++ arch/arm64/boot/dts/qcom/ipq5332.dtsi | 414 ++++++++++- arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 66 ++ arch/arm64/boot/dts/qcom/ipq9574.dtsi | 758 +++++++++++++++++++- 4 files changed, 1279 insertions(+), 10 deletions(-)