From patchwork Wed Aug 28 13:44:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christophe Leroy X-Patchwork-Id: 13781305 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06D56C54FAA for ; Wed, 28 Aug 2024 13:44:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id B9373C4CACC; Wed, 28 Aug 2024 13:44:04 +0000 (UTC) Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 0B65EC4CACB for ; Wed, 28 Aug 2024 13:44:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 0B65EC4CACB Authentication-Results: smtp.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=csgroup.eu Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4Wv5H44Q6Mz9sRy; Wed, 28 Aug 2024 15:44:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VAmZj9Jhx1Rq; Wed, 28 Aug 2024 15:44:00 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4Wv5H43V2Gz9sRr; Wed, 28 Aug 2024 15:44:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 69EDC8B78F; Wed, 28 Aug 2024 15:44:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id n9beGmiL8nn7; Wed, 28 Aug 2024 15:44:00 +0200 (CEST) Received: from [172.25.230.108] (unknown [172.25.230.108]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 3E0C08B764; Wed, 28 Aug 2024 15:44:00 +0200 (CEST) Message-ID: Date: Wed, 28 Aug 2024 15:44:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: fr-FR From: Christophe Leroy List-Id: To: soc@kernel.org, Arnd Bergmann Cc: Herve Codina , Xiaolei Wang , Lu Baolu Subject: [GIT PULL] SOC FSL for 6.12 Hi Arnd, Please pull the following Freescale Soc Drivers changes for 6.12: - A series from Hervé Codina that bring support for the newer version of QMC (QUICC Multi-channel Controller) and TSA (Time Slots Assigner) found on MPC 83xx micro-controllers. - Misc changes for qbman freescale drivers There are no conflicts with latest linux-next tree. Thanks Christophe The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37: Linux 6.11-rc5 (2024-08-25 19:07:11 +1200) are available in the Git repository at: https://github.com/chleroy/linux.git tags/soc_fsl-6.12-1 for you to fetch changes up to 1fe683bf6113da3cb694bc18ae655b2ee10ba393: Merge branch 'support-for-quicc-engine-tsa-and-qmc' (2024-08-25 20:48:47 +0200) ---------------------------------------------------------------- Christophe Leroy (1): Merge branch 'support-for-quicc-engine-tsa-and-qmc' Herve Codina (36): soc: fsl: cpm1: qmc: Update TRNSYNC only in transparent mode soc: fsl: cpm1: qmc: Enable TRNSYNC only when needed soc: fsl: cpm1: tsa: Fix tsa_write8() soc: fsl: cpm1: tsa: Use BIT(), GENMASK() and FIELD_PREP() macros soc: fsl: cpm1: tsa: Fix blank line and spaces soc: fsl: cpm1: tsa: Add missing spinlock comment dt-bindings: soc: fsl: cpm_qe: Add QUICC Engine (QE) TSA controller soc: fsl: cpm1: tsa: Remove unused registers offset definition soc: fsl: cpm1: tsa: Use ARRAY_SIZE() instead of hardcoded integer values soc: fsl: cpm1: tsa: Make SIRAM entries specific to CPM1 soc: fsl: cpm1: tsa: Introduce tsa_setup() and its CPM1 compatible version soc: fsl: cpm1: tsa: Isolate specific CPM1 part from tsa_serial_{dis}connect() soc: fsl: cpm1: tsa: Introduce tsa_version soc: fsl: cpm1: tsa: Add support for QUICC Engine (QE) implementation MAINTAINERS: Add QE files related to the Freescale TSA controller soc: fsl: cpm1: tsa: Introduce tsa_serial_get_num() soc: fsl: cpm1: qmc: Rename QMC_TSA_MASK soc: fsl: cpm1: qmc: Use BIT(), GENMASK() and FIELD_PREP() macros soc: fsl: cpm1: qmc: Fix blank line and spaces soc: fsl: cpm1: qmc: Remove unneeded parenthesis soc: fsl: cpm1: qmc: Fix 'transmiter' typo soc: fsl: cpm1: qmc: Add missing spinlock comment dt-bindings: soc: fsl: cpm_qe: Add QUICC Engine (QE) QMC controller soc: fsl: cpm1: qmc: Introduce qmc_data structure soc: fsl: cpm1: qmc: Re-order probe() operations soc: fsl: cpm1: qmc: Introduce qmc_init_resource() and its CPM1 version soc: fsl: cpm1: qmc: Introduce qmc_{init,exit}_xcc() and their CPM1 version soc: fsl: cpm1: qmc: Rename qmc_chan_command() soc: fsl: cpm1: qmc: Handle RPACK initialization soc: fsl: cpm1: qmc: Rename SCC_GSMRL_MODE_QMC soc: fsl: cpm1: qmc: Introduce qmc_version soc: fsl: qe: Add resource-managed muram allocators soc: fsl: qe: Add missing PUSHSCHED command soc: fsl: cpm1: qmc: Add support for QUICC Engine (QE) implementation soc: fsl: cpm1: qmc: Handle QUICC Engine (QE) soft-qmc firmware MAINTAINERS: Add QE files related to the Freescale QMC controller Lu Baolu (1): soc: fsl: qbman: Use iommu_paging_domain_alloc() Xiaolei Wang (1): soc: fsl: qbman: Remove redundant warnings .../bindings/soc/fsl/cpm_qe/fsl,qe-tsa.yaml | 210 +++++++ .../bindings/soc/fsl/cpm_qe/fsl,qe-ucc-qmc.yaml | 197 ++++++ MAINTAINERS | 3 + drivers/soc/fsl/qbman/qman_ccsr.c | 2 - drivers/soc/fsl/qbman/qman_portal.c | 5 +- drivers/soc/fsl/qe/Kconfig | 18 +- drivers/soc/fsl/qe/qe_common.c | 80 +++ drivers/soc/fsl/qe/qmc.c | 667 ++++++++++++++++----- drivers/soc/fsl/qe/tsa.c | 659 +++++++++++++++----- drivers/soc/fsl/qe/tsa.h | 3 + include/dt-bindings/soc/qe-fsl,tsa.h | 13 + include/soc/fsl/qe/qe.h | 23 +- 12 files changed, 1552 insertions(+), 328 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-tsa.yaml create mode 100644 Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-ucc-qmc.yaml create mode 100644 include/dt-bindings/soc/qe-fsl,tsa.h