mbox series

[v4,0/6] Add support for ICSSG PA_STATS

Message ID 20240729113226.2905928-1-danishanwar@ti.com (mailing list archive)
Headers show
Series Add support for ICSSG PA_STATS | expand

Message

MD Danish Anwar July 29, 2024, 11:32 a.m. UTC
Hi,

This series adds support for PA_STATS. Previously this series was a standalone
patch adding documentation for PA_STATS in dt-bindings file ti,pruss.yaml.

Nishanth Menon <nm@ti.com> had asked in v3 to post entire series. So adding
patches needed for entire series in this revision.

Inter dependency between patches:
*) Patch 2 can be applied to net-next tree without any error / warning.
*) Patch 3,4,5 and 6 can not be applied to their tree as it will result in
   dt-bindings check error. For these patches to cleanly apply, patch 1 is
   needed in the tree.
*) To avoid any confusion I have marked patch 2 - 6 as [DO NOT MERGE]. Only
   Patch 1 needs to be merged now.

Changes since v3:
*) Added full series as asked by Nishanth Menon <nm@ti.com>

Changes from v2 to v3:
*) Added RB tag of Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> to
   patch 2/2
*) Added patch 1/2 to the series as the binding file is orphan.

Changes from v1 to v2:
*) Added ^ in pa-stats as suggested by Krzysztof Kozlowski
   <krzk@kernel.org>
*) Moved additionalProperties: false to right after after type:object as
   suggested by Krzysztof Kozlowski <krzk@kernel.org>
*) Updated description of pa-stats to explain the purpose of PA_STATS
   module in context of ICSSG.

v1 https://lore.kernel.org/all/20240430121915.1561359-1-danishanwar@ti.com/
v2 https://lore.kernel.org/all/20240529115149.630273-1-danishanwar@ti.com/
v3 https://lore.kernel.org/all/20240625153319.795665-1-danishanwar@ti.com/

MD Danish Anwar (6):
  dt-bindings: soc: ti: pruss: Add documentation for PA_STATS support
  net: ti: icssg_prueth: Add support for PA Stats
  arm64: dts: ti: k3-am65-main: Add ti,pruss-pa-st node
  arm64: dts: ti: k3-am654-icssg2: Add ti,pa-stats property
  arm64: dts: ti: k3-am64-main: Add ti,pruss-pa-st node
  arm64: dts: ti: k3-am64: Add ti,pa-stats property

 .../devicetree/bindings/soc/ti/ti,pruss.yaml  | 20 ++++++++++++
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi      | 10 ++++++
 arch/arm64/boot/dts/ti/k3-am642-evm.dts       |  1 +
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi      | 15 +++++++++
 arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso   |  1 +
 arch/arm64/boot/dts/ti/k3-am654-idk.dtso      |  2 ++
 drivers/net/ethernet/ti/icssg/icssg_ethtool.c | 11 ++++++-
 drivers/net/ethernet/ti/icssg/icssg_prueth.c  |  6 ++++
 drivers/net/ethernet/ti/icssg/icssg_prueth.h  |  5 ++-
 drivers/net/ethernet/ti/icssg/icssg_stats.c   | 12 +++++--
 drivers/net/ethernet/ti/icssg/icssg_stats.h   | 32 +++++++++++++++++++
 11 files changed, 111 insertions(+), 4 deletions(-)