🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1120

Re: [PATCH net-next 3/4] dt-bindings: net: qcom,ipq9574-ppe: Add IPQ5332 support

#1120
From: Krzysztof Kozlowski
Date: Fri, 09 Oct 2026 08:38
43 lines
7822 bytes
On Mon, Oct 05, 2026 at 05:29:14PM +0200, Til Kaiser wrote:
> IPQ5332 uses the same PPE architecture as IPQ9574, but has two front
> panel ports instead of six and four interconnect paths instead of seven.
> 
> Add the qcom,ipq5332-ppe compatible and constrain the interconnects
> and port nodes per SoC: IPQ5332 takes four interconnects and only
> ethernet-port@1 and ethernet-port@2, while IPQ9574 keeps seven
> interconnects.
> 
> The PPE core, EDMA and MAC clock functions are shared, but IPQ5332 also
> needs the GCC IM sleep clock. The PPE core uses one reset and each MAC
> uses three resets on both SoCs. IPQ5332 EDMA needs separate system and
> configuration resets; IPQ9574 uses one combined reset. Constrain the
> clock and reset counts accordingly. Keep EDMA resets positional, with
> the system reset first and the configuration reset second on IPQ5332,
> consistent with the existing unnamed IPQ9574 reset.
> 
> IPQ5332 EDMA has 24 TX/completion rings, 16 RX descriptor rings and eight
> RX fill rings, so the full EDMA interrupt set comprises 49 interrupts.
> Constrain the interrupt counts and ring names per SoC as well.
> 
> The IPQ5332 clock and reset functions are described by Qualcomm's NSSCC

How is clock relevant to this device? This is PPE, no?

> driver submission. Its sleep clock is also listed in Qualcomm's
> PPE DTS submission. The ring limits come from QSDK 14.0.1595.1665,
> qca-nss-dp hal/soc_ops/ipq53xx/nss_ipq53xx.h.
> 
> Link: https://lore.kernel.org/r/20240829082830.56959-7-quic_varada@quicinc.com
> Link: https://lore.kernel.org/r/20240110112059.2498-3-quic_luoj@quicinc.com

I do not understand how these clock patches are relevant here.

Drop links and paragraph not relevant to this code.

With this:

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof
Technical Details
Message-ID: <20261009-practical-wildebeest-of-conversion-7c0e59@quoll>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343519-linux-kernel-netdev=dewy.ru
References: <20261005152915.101780-1-mail@tk154.de> <20261005152915.101780-4-mail@tk154.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343519-linux-kernel-netdev=dewy.ru
From: krzk@kernel.org (Krzysztof Kozlowski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 3/4] dt-bindings: net: qcom,ipq9574-ppe: Add
 IPQ5332 support
Date: Fri, 9 Oct 2026 10:38:55 +0200
Organization: Usenet Network
Message-ID: <20261009-practical-wildebeest-of-conversion-7c0e59@quoll>
References: <20261005152915.101780-1-mail@tk154.de>
 <20261005152915.101780-4-mail@tk154.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="1065974"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:VtrYGeeqhOC7ryvOxP6G8ejA9jI= sha256:7syfmttJF3gKQAIX/W90ekYVmcvFxHtqXelHuo11W+I=
	sha1:zwUULfYndeoXL3d9o462jZVOL/c= sha256:moUNfxhvI2CGzxRlK7444HbTLPMG0C6izAKLjJNdwA0=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 2C8E410F610; Fri,  9 Oct 2026 11:44:36 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id qy4OI1C6kd2g;
	Fri,  9 Oct 2026 11:44:32 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-343519-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 3021110F03A; Fri,  9 Oct 2026 11:44:28 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id D585F38CCD; Fri,  9 Oct 2026 08:39:00 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 43A043F23CF;
	Fri,  9 Oct 2026 08:39:00 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KGi2EQj9"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 2B6CD3F23B1;
	Fri,  9 Oct 2026 08:38:58 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791535140; cv=none; b=BW8bNVPEetzcyAA8y4XFg8pxvvRO5IswgVNXtLyw0odyoPAi+lk/4RCDGrq8EwvlKyZ/BTMtwGEygd31WA5KDI7TZoOqEOZytpgR/NZbn7yJlr7P9EvV7fjhO0G6FH28LfzjqU9MBNP/HsKfTzKRmJ8Dk0paP86dEGjoksIZsDQ=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791535140; c=relaxed/simple;
	bh=7+Cf/AaTxbLmYEDtCQE75GxCYmkqk4cDoNDIVdmLi6g=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=kPhSzavZRPQ/q4P4ULm4V27xcPlNlOl8IAz6/jkFQr/twMrmVZGZrhEhbnl/plV2JN3d+RNnPpIdQGJ3DSJREDmZ2wWtbIvaoPplArG8RZkhl6wPEI4NQkrneRmVvSUqa9Hx2HEch1M5B/FZgTYQjIbOjJfzOge5l1PAKcoBLag=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KGi2EQj9; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D02221F000FF;
	Fri,  9 Oct 2026 08:38:57 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791535138;
	bh=+2ksSPu2eoUDNq7v3hNGID9sRvWeLXBxpAnRk+ghzc8=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=KGi2EQj9uJW1bEBhGD3f55CNQiBag4bypMM0sRPe+8cIMtR7ApAfXtNGtcauzSlHK
	 T+g3E//fO8i3L4sntZeheIBunZGzyfTSa2IIZ1o0h8wlCLYolBGetDQAHqwyN2KP0A
	 kOzReBm82yNTKojrQOa8LRFjKozr00qpFY1UL6Jt+e6flKs6QH0x1gXIE6im2bz8L6
	 wEyxt5EgaI9OV78UmR2nJ8y0GEiuYRndlVnGdqHoqGZtQCaTXKwmFigej6TS9Dklz/
	 CEh6mgIFwXm/zi4S+C/YfHgJinGRCjtBfgF+oMCxE5VJ46y5wFN5oaPOJez/wZ5ufi
	 MlQgRswb0wxLw==
X-Cc: netdev@vger.kernel.org, Luo Jie <jie.luo@oss.qualcomm.com>, 
	Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, 
	Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, 
	Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>, 
	Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, 
	Simon Horman <horms@kernel.org>, Jonathan Corbet <corbet@lwn.net>, 
	Shuah Khan <skhan@linuxfoundation.org>, Randy Dunlap <rdunlap@infradead.org>, 
	Lei Wei <quic_leiwei@quicinc.com>, Suruchi Agarwal <quic_suruchia@quicinc.com>, 
	Pavithra R <quic_pavir@quicinc.com>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, 
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261005152915.101780-4-mail@tk154.de>