Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2952857lqz; Wed, 3 Apr 2024 13:27:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWE32Me4wt+Q9g7HQq9pD36lXvgEo4qwLOz20odUb92duLf4j5+G9EZ6DUTF5LxiTCjheHbRZUKBd2BWqDc5TTO4fw7q5jKU2AJ7tmPHg== X-Google-Smtp-Source: AGHT+IEs9dxEJUalRB5vbxs0+h5VSAHO6EipAZUcVh1nCcW08f/oYs2McrQajp+NEoZQtxpch6ur X-Received: by 2002:a05:6830:445:b0:6e6:e52e:a856 with SMTP id d5-20020a056830044500b006e6e52ea856mr320219otc.14.1712176052377; Wed, 03 Apr 2024 13:27:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712176052; cv=pass; d=google.com; s=arc-20160816; b=SHvjWJkNJCgks6ljtTdzVVkbk2bMTP2Rmtg2TzHziF97CEscyXMwmxrlcjPjxipG4v yKKJ3BJSkNI7PbOB55ikqOtN3BgS98QKAfmSUNMxBz4PN1TYvC4poucHai2gNC3jkll8 7G362hXM8QOBz9jpBH23WZ5mVtOJIugOa5CYWvZ+dIL4wtBbIX+73Yp6gUEy0i7h6o+y cGeNKAkqMZ3slaBQ5eB7tkScq4lHsmvUUSC+DNyretcC9VYBe9xocaC+DAKSHT66rlgA Gs6qPjXb0y7nTNnetB5F+MJeaWnAmbO8JfL9xzRTi55YvzBoa4KJ5M3E8WKusOzTFCHT YiWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=5ivLh8M4acymImJP1Q9OUpWegv9iApTGSSCamSY9LFU=; fh=etGReo/v0G6F6hGvfzUZvY9m3KalSWvAPn3Eyup8Iwg=; b=QSnx5Q9aUaeMDvuXP+r7C/mQG4oOeGc80v8sXsvu23fMRM/sTxaLqOB4relsCA3Zmh NIAajGut6cifjnem11Py+CTbySBMM3Cwl1dzKZK5V9lawWfbMmouI7ncjASKB/lgPctu tEhNhX5HQOOPOM8ro62AFVb/F5MxX2fcOMliOfAknRXFWhQnYH5RFWh4lvMicp6MdDvk hZsT++IpRPbCo4UMOS5yBn41My8nrnyruXL2Pb4g2n4G82HBGhZe6BimYjhjx6Z2LzNH DBsUXa9VjXPSPr2uHCydgTa10jll32wQcWU2kRRcC0ygkVm4V+lnsMtmOylZhiZxkH8n icAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rock-chips.com header.s=default header.b=kiu+WDGM; arc=pass (i=1 spf=pass spfdomain=rock-chips.com dkim=pass dkdomain=rock-chips.com dmarc=pass fromdomain=rock-chips.com); spf=pass (google.com: domain of linux-kernel+bounces-130547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a38-20020a05620a43a600b00789e907f565si17088977qkp.291.2024.04.03.13.27.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 13:27:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130547-linux.lists.archive=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=@rock-chips.com header.s=default header.b=kiu+WDGM; arc=pass (i=1 spf=pass spfdomain=rock-chips.com dkim=pass dkdomain=rock-chips.com dmarc=pass fromdomain=rock-chips.com); spf=pass (google.com: domain of linux-kernel+bounces-130547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rock-chips.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 440D41C21A92 for ; Wed, 3 Apr 2024 20:27:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 356ED156228; Wed, 3 Apr 2024 20:27:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="kiu+WDGM" Received: from mail-m6014.netease.com (mail-m6014.netease.com [210.79.60.14]) (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 8E55943AB6; Wed, 3 Apr 2024 20:27:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.79.60.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712176027; cv=none; b=HUAnObYAUe1LG0ZjCQmrfeSzdINYoNPZP6wC9xWoIzVb73r3d8qE0LnliSLlZuaDc9wiBna0VmL8wcaRMw2mYkxulx4SVb7qufnKNXBELDO5/n5DJHuN2gG5m81U1I+QDj8ZS5GM49fch0MS8+NsoFK5JvxDFuhdjsAegEo6Zo8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712176027; c=relaxed/simple; bh=U2xSqop3iP9OvAHe9UuvwsdYhhZGuH+/HFJZlkCMXh4=; h=From:To:Cc:Subject:Date:Message-Id; b=bBoU4bqgOdSkgjAyneyb/0km3KfmnJBZHNrGqSge89fNvHE0bwaUbuHLA48h0LYnsVf5ZJnbRDBMDvPl8tmEnsbbKt72d/N2KLz87HUzpuIlwNCX0t9LaM6gsr5MZGMlL+IJ5VIe/LhdeHUiKF8cf0mbovVz12d3NiFlPH6M7Qg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=kiu+WDGM; arc=none smtp.client-ip=210.79.60.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com DKIM-Signature: a=rsa-sha256; b=kiu+WDGMWW0Zqm8Wc4WRUB7U+gnsBn3gag8KuwWdeTUJu8+pGfxmZ+zU710CS1Sqo66RjwujPrvEf0G55Rsyz0Y6dpHAndNfh57rMgxbGl2seh83Ut1vcYdzx6gUQBrdkQGO8w/fFJrfen92MwP0RvP6tXKF9NJOCw7i4BucJKs=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=5ivLh8M4acymImJP1Q9OUpWegv9iApTGSSCamSY9LFU=; h=date:mime-version:subject:message-id:from; Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTPA id BBEBE7C0399; Wed, 3 Apr 2024 21:18:38 +0800 (CST) From: Sugar Zhang To: heiko@sntech.de, vkoul@kernel.org Cc: linux-rockchip@lists.infradead.org, Sugar Zhang , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] Patches to Add support for audio interleaved transfer Date: Wed, 3 Apr 2024 21:18:21 +0800 Message-Id: <1712150304-60832-1-git-send-email-sugar.zhang@rock-chips.com> X-Mailer: git-send-email 2.7.4 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZQkMdHVZCS0tJH05CGBhIGUJVEwETFh oSFyQUDg9ZV1kYEgtZQVlOQ1VJSVVMVUpKT1lXWRYaDxIVHRRZQVlPS0hVSk1PSUxOVUpLS1VKQk tLWQY+ X-HM-Tid: 0a8ea41c8fd209d2kunmbbebe7c0399 X-HM-MType: 1 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Pgw6FBw6NzMSATUPTDccHg4T QgIwCUhVSlVKTEpJSk5LSEpCTkhKVTMWGhIXVQgOHBoJVQETGhUcOwkUGBBWGBMSCwhVGBQWRVlX WRILWUFZTkNVSUlVTFVKSk9ZV1kIAVlBSk9LQjcG Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: This patch add support for interleaved transfer which used for interleaved audio or 2d video data transfer. for audio situation, we add 'nump' for number of period frames. Changes in v2: - Add the pl330 interleaved transfer Sugar Zhang (2): dmaengine: Add support for audio interleaved transfer dmaengine: pl330: Add support for audio interleaved transfer drivers/dma/pl330.c | 169 ++++++++++++++++++++++++++++++++++++++++++++-- include/linux/dmaengine.h | 2 + 2 files changed, 165 insertions(+), 6 deletions(-) -- 2.7.4