From patchwork Tue Oct 25 08:36:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joy Zou X-Patchwork-Id: 641 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp884966wru; Tue, 25 Oct 2022 01:49:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5VeStOOZoxWeri2E5UVcqBH9qSzQCVWSMfXtV/v4+QxFh9mg6bFkKmNcj27flZEIuaW+Ch X-Received: by 2002:a17:907:9625:b0:78d:bb0c:4a40 with SMTP id gb37-20020a170907962500b0078dbb0c4a40mr30532168ejc.339.1666687767162; Tue, 25 Oct 2022 01:49:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666687767; cv=pass; d=google.com; s=arc-20160816; b=HaQBpKnV2smyMCQV/Fwy7MHg1jCfDg6v7+jjRrVEs0gZrXu9BboKceve8Myr5UaixT dLrgnJG2caPZdbk63/RfUGn0aFinqPayaHzKev3zG3FofEc2Agr/wT7kWZIpppqBUZtD o/Th2UeFUAkqlNQPOYWFc/6idont67Dd25AwjdvCA3ZoC/72Dc7a8U+VZ3ErHdmfJgC+ pdJ5thgIWjpdK/pE8MgHF8Cj6F5XGCxwxhGw/m/+/Wv8NdukNwqPARIImw4seFZFBxYK bItlUY/dsztdSCiOUzx9dqpPVZjIgP9pj2DXiAqio79ifo7rRXQOwC7fqwFV8N0wxfkN /SZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=3VrjJy/viKtUTs/dRGwMV1X0W0tQdVKWwAITPA4U3ZA=; b=GbOv9CKP2Sc+NHQ/xH+55ZWDw4D3Hn5Ssr3uhox+Dx9hPeiW9WWEO17vAscIR6E58L U7lpBdjPe9x9t2NuMprhbWZfQyMB6VDjPMsUkEn7H+tLFMZSUNL4d+ZYYJ1oP/wyB3ct D+nIYb7xP6xlkp9mbHonsHQAWs3NW2cSgKTg3S9j6eYFJ2gLEmvcFEw/qx2DEWdvFrTo dEkiTFnMqe/svPvOv9J9FhorfrDGjdba0g7Hh1/lmhcMoqA+GY/InprrTQ3lTQpiL2nf kyCTTEam1m8GteV25dN33GvlSaymCqCUlx2qIOOeMgVF7l9S/z270CMSCI4FMQ0w7n0v m/5w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=PIaWtuOq; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020a17090658c300b007824786a7easi2733717ejs.724.2022.10.25.01.49.01; Tue, 25 Oct 2022 01:49:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=PIaWtuOq; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232295AbiJYIfA (ORCPT + 99 others); Tue, 25 Oct 2022 04:35:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231888AbiJYIez (ORCPT ); Tue, 25 Oct 2022 04:34:55 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2054.outbound.protection.outlook.com [40.107.20.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7349EA8CEF; Tue, 25 Oct 2022 01:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GAVZ1DcRiRT94B0X7pfJzi2xUrdcZlx619CP9BaJ45AJwYp9cf2uhACAumbXb+ZKVOXexEn+q169ZxsfdvHkQOBLmKVbBgRmvyT3YN5yQc33+cSXlqMno7uIib6Sg4cDTUlLRN1UpbOCg9OwtV1Wh4+Ch8w9Hqdy+3Z22acreYnoHhW8UKHCF9jBe6zbKCAWprcZLVO7zXrBa7k2A6lrMn7gAenNI8FLolQHntPmgm4mPA3S0inoyifNxT06SUk2+VmXLNCXdg/JSdAs1m/t5UGrFevWPFEKEKu+/2LNu5proJ+Ox9FiqppiPqmGc8xgFIy9GLkAYI1rSzmGwbLumA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3VrjJy/viKtUTs/dRGwMV1X0W0tQdVKWwAITPA4U3ZA=; b=jwdoWFWHtvJ9cCOL/OEBvHMzmqCGDkzk0cgtCySxYgvIRUIsEY2XES9qDfLTqieKnmZCstc5HgIO9ayVn+80OvUeX2olPTH2YM5ZSdUzDr0Y56/LDheFj0Yzl6Q4ZCv+hVwIF7P9qLAeN1hPaByVxJpXQAFsTsne87qJTgtenPK6/90dAhjDBy+8CsnW+kqKKsAkyXLORoWxwvunTVfE74yVqd1xcifhoF9JtPQm+8m0TLUqNc2YLk469+yXdOiXRhdRpu+dtiz/mWXgNyW6CMc1Tr9v7PMUWM62FD20LTXFWGzTPxzVJ/p8/3nAjnicekQzmN8c2jmLPjV24hLW9Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3VrjJy/viKtUTs/dRGwMV1X0W0tQdVKWwAITPA4U3ZA=; b=PIaWtuOq4FRfntViChhgV6Cg1zHruxNPeOTMDWaDY6OUR9n9flpBpKWOo2SLMRoNE79TpeCpTnQewA9htFwffr7OKVjhqQacHeqDQYKH6QvHof5R/QcSeflVVWoDWL9XbMxxoZA/tTqbua2DHTonfF5MR7lu0k51qKDvoEjoiOU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB5925.eurprd04.prod.outlook.com (2603:10a6:20b:ab::19) by AS8PR04MB8053.eurprd04.prod.outlook.com (2603:10a6:20b:2ad::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Tue, 25 Oct 2022 08:34:52 +0000 Received: from AM6PR04MB5925.eurprd04.prod.outlook.com ([fe80::7a34:469:fd53:922c]) by AM6PR04MB5925.eurprd04.prod.outlook.com ([fe80::7a34:469:fd53:922c%7]) with mapi id 15.20.5746.021; Tue, 25 Oct 2022 08:34:52 +0000 From: Joy Zou To: vkoul@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: shengjiu.wang@nxp.com, martink@posteo.de, dev@lynxeye.de, alexander.stein@ew.tq-group.com, peng.fan@nxp.com, david@ixit.cz, aford173@gmail.com, hongxing.zhu@nxp.com, linux-imx@nxp.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 0/2] dmaengine: sdma support hdmi audio Date: Tue, 25 Oct 2022 16:36:07 +0800 Message-Id: <20221025083609.2129260-1-joy.zou@nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SG2PR02CA0061.apcprd02.prod.outlook.com (2603:1096:4:54::25) To AM6PR04MB5925.eurprd04.prod.outlook.com (2603:10a6:20b:ab::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB5925:EE_|AS8PR04MB8053:EE_ X-MS-Office365-Filtering-Correlation-Id: 9fd8c991-2ad6-47b1-298d-08dab663c910 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nX6iVzVEYkspTsYUzE5vpAenu/MjOyN+BhaVhWfjbMUSLHbUbz/0xFohIa/02JipRdyXt+WlUHPVT/pwlPHmb/lq3AT80DKiuz9IDU+rxlLXNiCrPGegq1dUnRWCYG2ueEKAGLlg4Os/cKshB1EB0WVKI8b7ZcTkyMSL5DUIH4k11V/5cuz0yzOkhwpClxK84O70gfvIK0JznulIAtAOPRBqshjsEz8LpL+djJNQgYHIoS8S7sHwzpGF+hsd3a3DwXXrSTIHxXYhBdQ7mjSnspJsqoweHAWfqkT+zsRRCazChaTu6GJbo3c21oZ7XFirK1qFcXnByHyX3E85Mj3t0W77RTGW4l5ds6xsMVABPCI04PUlo8faYLH8fnB5Ez1XBG3XyBa9S/udrX1wxCMcGaGr9+q4UUVuKlqjc0Y3QfbuC9Xw7VNXc0GI3sppBEWGO2Ul3613KTlhlAP8kKhuaq3yu1hUyM388Ff9HIT2h63kOmyZsrVfXJ96cEP7vUvLP510eGNNo11btpVuSSWhnZXk6DK++UvFgICD0/sNiDfx4tI4DcwKGYp3Wsu+KcojeZ/6VPHa6HFBUpOQ2cdfz8YLCZoXgCzJKqWHH3w252M1VddrAy/Jw1qYmexbW867ArAc+zLE4blK2HjgCag+oSZq8Zn0AXzhpGnWPyCs6vPKW8H3Mgei8t8ShEksiyQvl0KxQ8WVWqHtbhQIJ7a011fczrg9Mn/Gu8toaGFhX807RfEbNQjaSEf2DkLNm5mX X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB5925.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(366004)(346002)(39860400002)(396003)(451199015)(6506007)(2906002)(316002)(52116002)(36756003)(1076003)(8936002)(5660300002)(6666004)(6512007)(41300700001)(66946007)(186003)(7416002)(66476007)(66556008)(2616005)(4326008)(44832011)(8676002)(4744005)(38350700002)(38100700002)(86362001)(26005)(83380400001)(478600001)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zPFJ6xcbiHLm4LK3Tw9XJgFE1GmiSMvBeIfvsl4WuvaLdxmvXTt8bKUljwVk7NeH4Y/rf+0r2iXqiHY2tKGgwY8uJbymeCrQL4PMZZJNKKrp72kD0XwcMRjQV0bvyDUADdWpQ7ZfrlnFW3HtkyQDYRpMfpzovM3Ur8vrNn3/C7AzRH8fwXu0+czBHAW2KOJJzsAEbLk86WsLyUHMV0nzAncggmXvbz322LANpOqZEFNPFstl4F35MEF3xZLRnoBU69wuX6vTvUypQq6R1eKW38pQU5RDAqS2YaAIs9Ccd9EWl8nPqge+p070yBZmt2zbOPWuWCDBccQSbLLiLaMEUNOGtemT/2j9LcsTvKvz9+9LRlHQNqllTFU4ffT/8CDRjEQzGACRJUarNPAKRTRa7FOZiEvcLRmfdWmfWt16YUgZpnF0wCVYZC79N3Ta2AYj+g0EvZHxr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H7eegdCj3OgaKmG80lGJCPDjF2Lw8IVbAqPvk2gqIe27+dsR/d9uGMvWicDSC4QOGIiKQShvzG/sY X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fd8c991-2ad6-47b1-298d-08dab663c910 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB5925.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 08:34:52.0924 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 03udGjYEsUboF2JxOY/cSMQzCbHCoGMB0mceDyPFLkDw3nVNzM6Oqdx8qYG2j3lv X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8053 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747648792084222958?= X-GMAIL-MSGID: =?utf-8?q?1747648792084222958?= The patchset supports sdma hdmi audio. For the details, please check the patch commit log. Joy Zou (2): dt-bindings: fsl-imx-sdma: Convert imx sdma to DT schema dmaengine: imx-sdma: support hdmi in sdma .../devicetree/bindings/dma/fsl,imx-sdma.yaml | 149 ++++++++++++++++++ .../devicetree/bindings/dma/fsl-imx-sdma.txt | 118 -------------- drivers/dma/imx-sdma.c | 38 ++++- include/linux/dma/imx-dma.h | 1 + 4 files changed, 180 insertions(+), 126 deletions(-) create mode 100644 Documentation/devicetree/bindings/dma/fsl,imx-sdma.yaml delete mode 100644 Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt