Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3678858rdh; Tue, 28 Nov 2023 00:12:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBcgjmQzJcBpcVUjEvKNKBjSAQq7HVmLMn0eCNtxbwrb0nAa/li4DIFy6PjxYxd0or5Xgc X-Received: by 2002:aca:918:0:b0:3b8:4841:2bae with SMTP id 24-20020aca0918000000b003b848412baemr16930201oij.19.1701159120574; Tue, 28 Nov 2023 00:12:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701159120; cv=pass; d=google.com; s=arc-20160816; b=u0Ygjzuf/ypWTMjLlph/nlrcAglYcYJtfsh6fhXLlJ5jpZd59TAarsm+/Icd2/v7N7 tON0HEpBPB3mOJxhpZVbrfzPNfUcrXzCnHNkRAlPUcZV6tps/7OBhr4nqp0gBsvX1JvH cRTcLP3TU2I8qMEwNcMu854xGU6/06/+eJYU/QILRL6mUOtrRF0+X9ZQv3PDh2JbhFl8 3LUA+/USSMZYq0i+zzlJJgOpy41RwBtW4MMGuCYA7xz3Bg+pGGXelm+IknUd7Kj6jw7n GsE5F2Iv4FA5sCN+xugY4GDbz3DREMnqdJbaYukMMEadJZiroWkfjerZEe8HDa6rfjfu Y/YQ== 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=3VV1BPeC+yD1dfcbHRvt3ndOohr1TegIMYu5ToGVmYs=; fh=fNVCM4RRYvsQIQffN1HunkzDjWMC+F4D3r5KZADmOuU=; b=D0SUjWlWlfUHxmtIcZ7bwWWHINGZRWc1eg/3AoQab709b0QG34NNHRiyC0kNdE8l/F C50Ibn1tsSAyk097YhL/TARTR/P0SD8fm/7dFAYxAWKRFNyagKl5GNWQaPuThr/tagkO UpCAnGueqaOYSRzUttfEV7AOxsF+av1BmvSIBOSXm/essoZjzjgLtxcrewpCiDhNjxeY 4Az6rTdPH4g4GgDPRAGq5ob5uClbwBslvibORAuZfVfiwYNJHhZ1wjOyFndrKaFhlEmY jMP8AMAmcak9Q48V7y/wrI2QxXn8gImTPGbPZLZTMBFxo0famhMm5QrF+/ynd2C6mZuD ppMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="iQFrUm/j"; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s14-20020a65690e000000b005c203ace543si10919483pgq.774.2023.11.28.00.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:12:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="iQFrUm/j"; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A5EA9804DD85; Tue, 28 Nov 2023 00:11:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344043AbjK1ILp (ORCPT + 99 others); Tue, 28 Nov 2023 03:11:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234638AbjK1ILm (ORCPT ); Tue, 28 Nov 2023 03:11:42 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2041.outbound.protection.outlook.com [40.107.6.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C211B0; Tue, 28 Nov 2023 00:11:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VCiAUn56NBF98iHlJZKJxAJsduO0fOIenJy+NN4Q1ZuYl+P+qdagLf0dOLqLKDP+JV6NJyyIg4++VZzjkZBuqkNmZ9STBwfAfxdMyE9Ohfz/tU01tgd8KbJrNC3l8wEGNY3mxXIwnujECvOtByREpHf6eeAOWhumuyLYIwBY9lWMQVnw/jAzISHK6B5ZYC+RCY6AVdsqHIiZZ69RKrotlnSjG13E77rtklBmSdO0hl8zHKlnvqdqe/dcO4Vql+mg9wFywwRhVVKNO7UA/RU/Lewbu7WJmFBb7mlcwCeTLL+SVVtfaInx179qmJ7Ud9JhgG1RQpsajXzGKhLZKiLCsg== 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=3VV1BPeC+yD1dfcbHRvt3ndOohr1TegIMYu5ToGVmYs=; b=fjP6c5JB+LIM8Os4HsQfl/EoH9uljv5pKEWCeZ5SUIYycuiKPtlhDQcEBI2Drn7Rq4ZZsG9S95zQJyI1EYfO6GBAW+4Z2tQr8WwrU96M5SDDQiIabobPnkdJipa2aJxVcqvon4EaRkUCwLSQEA99oZ4GUNVqhRl/b+aQhSG00KqAM/mwBzz6mDiQEzrWLfJnerjk1VCh33OKK1SbcwI56bZiFuafEguVwZD6urelfhCrbvv9LZreSNTVlDKQxB3eguFnz6lfbtGHh8CbA0Ybzr7bKhTm6ihZkRwiumOJYPp8LBYhD/EtsFer+nARJOrU4pWhFexOQSjkOIxlJ5ZRgQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3VV1BPeC+yD1dfcbHRvt3ndOohr1TegIMYu5ToGVmYs=; b=iQFrUm/jzEeRjXm/UE+iW4rKtoS3qcY/wI7cXDYscAxm0GbKLBR+i5H88TseR5I4GG+iQYL2ipozGPqxzN7SfU0SRPAoVYaC8MuFJscYdS5AHeHxAObPKDVeikSEzDcmX8NUFwilJuJgA1YmZEE5TdBDkfOvjiVseYNOMl5xUqQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5151.eurprd04.prod.outlook.com (2603:10a6:803:61::28) by PAXPR04MB9445.eurprd04.prod.outlook.com (2603:10a6:102:2b4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.19; Tue, 28 Nov 2023 08:11:43 +0000 Received: from VI1PR04MB5151.eurprd04.prod.outlook.com ([fe80::c688:1f14:2ab1:c78a]) by VI1PR04MB5151.eurprd04.prod.outlook.com ([fe80::c688:1f14:2ab1:c78a%4]) with mapi id 15.20.7046.015; Tue, 28 Nov 2023 08:11:36 +0000 From: Daniel Baluta To: broonie@kernel.org, robh+dt@kernel.org Cc: kuninori.morimoto.gx@renesas.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, daniel.baluta@gmail.com, alsa-devel@alsa-project.org, iuliana.prodan@nxp.com, shengjiu.wang@nxp.com Subject: [PATCH v4 0/2] ASoC: audio-graph-card2: Introduce playback-only/capture-only DAI link flags Date: Tue, 28 Nov 2023 10:11:17 +0200 Message-Id: <20231128081119.106360-1-daniel.baluta@oss.nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BE1P281CA0084.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:78::11) To VI1PR04MB5151.eurprd04.prod.outlook.com (2603:10a6:803:61::28) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5151:EE_|PAXPR04MB9445:EE_ X-MS-Office365-Filtering-Correlation-Id: 4b150ee8-ca67-4bab-9fc3-08dbefe9a3f3 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cO/eVZ9bvkSmmNb1PIpC527u7hdpcn3PG9bJqBzBV9l5tZ60ymSTwBbfr6DY3mIquJ4OjgKKKJeiJs1YWWs22nAiXf1oRV7EwYxXS1apWcyHazA7AhPZPi46yL98aLH0c0wYfBmmsmoxwsKktUEycfSYWtgTLvpp47XS2Hk/RxCFVymnRINzw8VoGkLNM42gCgkC4vMKMjPAYU7bHI6wZ1F2gYjqBbnuG0sOdMXwjBcGokJf063ujHyAwfoSAzdV4/AgKhPcP+hOiU7UZpi9ry3pxdEwb24Gy9IKHj6ktvgdnp0Miq9/Y+EpCbWwxg8bTeYmPr/i40G5yg/PtNE4MAIW/odocLcV8x71mqpQRU2lH8NQ2H1kLn/QQq+2QH5LzLndjwP5CdqeQLU/Rec9+P5RbdcRbwy8a1jz69ZlxGWgGrKF1LafadJLUxHmPUb6DLDPIQNsOPKZm+R1G9UMEyt2YBx4DzNMRIYC/VkQ4vo1oKvl6+X0xAYdR5Stdkh6VT/Fh2AQpWamcjyLN22M1A3itQt40RGQqnUkL+O3DVw680e5XyvHvDv2ZDRTLErbjSIffAkzErAcFqHqi2Aqg/k72mOJIXloVgB6jaEoMAs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5151.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(376002)(366004)(346002)(396003)(136003)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(38100700002)(2013699003)(86362001)(316002)(66946007)(66476007)(6486002)(66556008)(966005)(478600001)(41300700001)(4326008)(5660300002)(44832011)(8676002)(8936002)(4744005)(2906002)(1076003)(2616005)(6666004)(6506007)(52116002)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?lbPOQ0LQqjMxhCTL9e0FUF4+H/pMpVdir1CoeW+XuGmklYi6W/yxsBXlwWr4?= =?us-ascii?Q?5evLWysXA7nt3ZzuJ/dBGd1tWpMnP7ScBZkTaYCF+tpemzFvk9hlE3A2ITlH?= =?us-ascii?Q?4EbGr3xwBBjxe//aFJJQHhHLlG1yA6rBk77Ryw8l4K4gNzDU2+f0VDmCLHkJ?= =?us-ascii?Q?2pV9GloV98GdVL0VPW0JhI9s70UsASKpqhadJuh3NIfTNFGXIksTfjxOFirm?= =?us-ascii?Q?QnZS/AIrrKWTVxfFbpi0ljEPLDSlHIUYRS09s5pZREyN4EZ0rVkTpf+RnYjA?= =?us-ascii?Q?bht8h5M1zoUdpPO+71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q?4maSsn9uFyyLyaH2I+Ezh+ByUBCmGhUAWtexdD2hg2pqbgHzqjM6mhN2b0Jb?= =?us-ascii?Q?Pc+pYFjrAy2FX63KcL+OjbPseIEXQ/lD4hIrCJOqUYqQz0pdD1LMJZc7xgqv?= =?us-ascii?Q?3jpMajzG/YREfoe3Tr7ZUNhnYW4X6hGtSYZ6bAWQj6ddTndhZfRgJ9v1VNsY?= =?us-ascii?Q?mfZWBMZIDr4PGpaV6Uy6+OO6sdayMoH7WtV4vBYwMxgUTYD68aW7UhwiL20l?= =?us-ascii?Q?UP9biZUjHFdvrN85pv67nCmQHfuSQ3yeFockxu5n/nAFouqUEov+/0qXOKxA?= =?us-ascii?Q?wVzpMulwYr2eYEvP1KfKuiMkwDkE6RIo8gREkxtVA/ql1/+Rfh5jgUqA678W?= =?us-ascii?Q?JDKuhSAZcHJcNAFxnPtuuzksMeyPBhadt9cj0+xBrtT1kKkIRkkTLmmtYFTj?= =?us-ascii?Q?Dz72xRFHQB8bH0aPjXFwqFBsuaezGBE76PyyNSb+mrOf5wk085OQHws2a+B4?= =?us-ascii?Q?cq8FgA=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4b150ee8-ca67-4bab-9fc3-08dbefe9a3f3 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5151.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 08:11:36.4114 (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: qAgDfVyH9AppvJr0PWLnR8vsRhFKYXVkb/Fe4e2L9kHHrfou2LA79p0SxMyW/NF1M+fvaHl481ny97PL1qdkoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9445 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 00:11:59 -0800 (PST) From: Daniel Baluta This patchseries allows users to specify a link only direction with audio-graph-card2. Changes since v1 - https://lore.kernel.org/lkml/20230801082433.548206-1-daniel.baluta@oss.nxp.com/T/ - used audio-graph-card2 instead of simple-card as we are deprecting simple-card. Changes since v2: - Fix device tree binding error reported by Rob Changes since v3: - Add signed-off-by line to patch 1/2 - Enhance commit messsage for patch 1/2 to explain why the patch is needed. Daniel Baluta (2): ASoC: audio-graph-card2: Introduce playback-only/capture-only DAI link flags ASoC: dt-bindings: audio-graph-port: Document new DAI link flags playback-only/capture-only .../bindings/sound/audio-graph-port.yaml | 6 ++++++ include/sound/simple_card_utils.h | 3 +++ sound/soc/generic/audio-graph-card2.c | 6 ++++++ sound/soc/generic/simple-card-utils.c | 19 +++++++++++++++++++ 4 files changed, 34 insertions(+) -- 2.25.1