From patchwork Tue Dec 12 09:55:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 13488842 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 815A6C4332F for ; Tue, 12 Dec 2023 09:55:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=lgCK+/ZbY0DbmSy6JOmRtYucszNGUP9JgferZubr7d4=; b=EDJPsaHyjy8GTh JQZJDr/vmSenjukTqBCOBL0KDlecPssAh6aGWRQYvxIY5yw6R2lFyvnP/W8p3vhHy9dLqrgcSkHqN DY8QEQbQGh0YCjYtaaLMsEI7q9vxsoyofdbZVHoEZGerGVcOnltAtCpL+p7JiTpk4Ac9cQuJT5Auf s4MVpfTZ6Fx+uaYwz0MbnKD9ql/OJphe5j57nalNHZoQKJX1UP9oJnLrhJY8PsBrJW6he/LIC86f+ xKrELa00wSNSegeqvbsGwDwxFd8ZRPEe27IFpCKyoqWp8do8qIwKcTwqy2YGtBmNejk0r0ZG/EwUR CdkfIOOZqjyhVUEn+nMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rCzU5-00BFBu-1j; Tue, 12 Dec 2023 09:55:25 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rCzU3-00BFAH-0m for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 09:55:24 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 248EEFF80E; Tue, 12 Dec 2023 09:55:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1702374917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7Tn5wI5gn7nTh88+WLO90/5fJEgKDZovksmyxdBex+M=; b=lNPBgXlEBBxvyLStrOohMkAtT29dJrMtq+lZMOqrhvg69uOtsqRerGTnZNDwynbjT4b9yh ZPr+DBtF6O4T85TehwSsXqqaWJH17me2lz3Wp8dcCNvbStqBu43oWeQhKxuCMtCXaSUzUH nm7oMFhY2IL9PD8ZIL/nUQUifxsplmO7RIRiJITyIBJ0832xor2ad1tjrXAmE/8b7i1Z61 62Rx1nzwdxeqEulH5l8FtALNNI7PyO+sMng0RZzMAw5OKUu8JrDgMbnjbeWkB0WZkPB0U3 FPXf2t34U7+HSVuEZjjGQp/nQM0Zek7+jsTyf7hhmKGGfx9n/ND3bYCCSvdGdg== Date: Tue, 12 Dec 2023 10:55:14 +0100 From: Herve Codina To: soc Cc: Arnd Bergmann , Qiang Zhao , Li Yang , Christophe Leroy , Thomas Petazzoni , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] PowerQUICC QMC and TSA drivers updates for v6.8 Message-ID: <20231212105514.273e8ab0@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-GND-Sasl: herve.codina@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231212_015523_563954_3FA50966 X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab: Linux 6.7-rc3 (2023-11-26 19:59:33 -0800) are available in the Git repository at: git@github.com:hcodina/linux.git tags/fsl_qmc_tsa_v6.8 for you to fetch changes up to 7a2ee1576dcc6bbe017a8283fba237b05b13fd15: soc: fsl: cpm1: qmc: Introduce functions to change timeslots at runtime (2023-12-12 10:29:20 +0100) ---------------------------------------------------------------- PowerQUICC QMC and TSA drivers updates for v6.8 This pull request contains updates to prepare the support for the QMC HDLC driver. - Perform some fixes - Add support for child devices - Add QMC dynamic timeslot support Signed-off-by: Herve Codina ---------------------------------------------------------------- Herve Codina (17): soc: fsl: cpm1: tsa: Fix __iomem addresses declaration soc: fsl: cpm1: qmc: Fix __iomem addresses declaration soc: fsl: cpm1: qmc: Fix rx channel reset soc: fsl: cpm1: qmc: Extend the API to provide Rx status soc: fsl: cpm1: qmc: Remove inline function specifiers soc: fsl: cpm1: qmc: Add support for child devices soc: fsl: cpm1: qmc: Introduce available timeslots masks soc: fsl: cpm1: qmc: Rename qmc_setup_tsa* to qmc_init_tsa* soc: fsl: cpm1: qmc: Introduce qmc_chan_setup_tsa* soc: fsl: cpm1: qmc: Remove no more needed checks from qmc_check_chans() soc: fsl: cpm1: qmc: Check available timeslots in qmc_check_chans() soc: fsl: cpm1: qmc: Add support for disabling channel TSA entries soc: fsl: cpm1: qmc: Split Tx and Rx TSA entries setup soc: fsl: cpm1: qmc: Introduce is_tsa_64rxtx flag soc: fsl: cpm1: qmc: Handle timeslot entries at channel start() and stop() soc: fsl: cpm1: qmc: Remove timeslots handling from setup_chan() soc: fsl: cpm1: qmc: Introduce functions to change timeslots at runtime drivers/soc/fsl/qe/qmc.c | 658 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------- drivers/soc/fsl/qe/tsa.c | 22 ++-- include/soc/fsl/qe/qmc.h | 27 ++++- sound/soc/fsl/fsl_qmc_audio.c | 2 +- 4 files changed, 538 insertions(+), 171 deletions(-)