Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp446120rdh; Thu, 23 Nov 2023 08:07:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IELdyzax4eOJlWXqH0MVKAJXuAksllR7n3jOHZVPyvK3CKs7YOuMaJ7ojZm6x29WD4vejas X-Received: by 2002:a05:6a20:9698:b0:18b:4dc2:a4e1 with SMTP id hp24-20020a056a20969800b0018b4dc2a4e1mr41310pzc.55.1700755662419; Thu, 23 Nov 2023 08:07:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700755662; cv=pass; d=google.com; s=arc-20160816; b=Jcm0FNxyeMt1UXQTRiaGRJtEpV4dMPhZEBXF03jgly+MNSMmGb3ESqttDsqyCAvfr6 8fEcdPEHx1QlYY4ceWMsdPDB5p+BFxRiz+M2VmDQbwwPLAddmzxVqXOtW1Bw0UBo2Eer SHLIDk4buJKTTYzkTaWyJmHSMK9zN/bZBkyqcP/MKuFhLXRSu3Uu6smaavtm4O28OEEO V2jgLfeW5/GqTXI9/Tu2fOA9WtNLwrTNUMka8DcQyoNlALM4G6nN3szsmV+LHmDWPY3w w/sgSLoVYPjL5SeJyoalnsiwZLQjUQMBSdrADLqZ8wLhyBuoS2VDnEyvaemm/5+tS0bb PIjg== 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=QhjWgvpRqPIw197O1BVyscMYE+fR6uHKf58OhssfnWM=; fh=B1+hzvU3BTkIFmqaGriVkHU1RDSgffbJ7LW/M+l/a9Y=; b=I0na9u0xW+3SeALcZYLHam7o5nF5aaZFfKkBGRXXmI//63vEirqWP+aTvapti8XFFz 3KuU8QBAisRmpWs/PS1R6KGBCdJNRTBeBJI/aFdMK6VHzyFdjWNQh2qKHzPJYAGXzm5J SjdR7avB4uCc34ao/ssZ0LOVVHNi9+IbftDwqxYX46JkX2d+jCeb46Tg37c+DeTwD//m p0MEX46VBt8lZTslT0g33iFMzeu2bPpizFAJRsoQcJtbkQ0cKtbtlWqvFdB/h0fzQTZS 7N8SywVxANWf0r6MuJn8GyW5FhVxbaMPzuBEEOZe8jPs7c0BL5MnKzi/F5JYwt4WrPpv 3zvQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AGmjghRv; 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:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bm25-20020a656e99000000b005b96a77e712si1670935pgb.17.2023.11.23.08.07.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 08:07:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AGmjghRv; 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:3 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 lipwig.vger.email (Postfix) with ESMTP id 5FB348290BA0; Thu, 23 Nov 2023 08:07:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229897AbjKWQHM (ORCPT + 99 others); Thu, 23 Nov 2023 11:07:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbjKWQHK (ORCPT ); Thu, 23 Nov 2023 11:07:10 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2071.outbound.protection.outlook.com [40.107.20.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C90A610DE; Thu, 23 Nov 2023 08:07:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g4kJB2zLSjzL7Y7rfeWfP5ZtOEcCzA70+pwz8gK4dDPOP6RQa+OG7/6m/z3LKSHzZ5fBVAMYwYgSVsIdJt+ccEHT5Pp8op7s9qHIwXfH1NA+Fyhk5TjV2Uth2ftA1obiYBZT9OOtu+upEa/RLuoXSM3cDKzb8b0D4m1f7tm+rCTPECz1uPjU2w4p7JTS/LgbHh3nB4fCB/njeqeohRGm3fE1aQPdUvLgM/BVYYGZgXECK1SWSCFGMxvEAyhXtejKedcbzogR/Jd3EHB8dhE+jlA7jYHJ59kXTWYH655m7iHkqbyIBc5v2N+x4bohV18eTcmXRsg9zlwBYq+j0M43xw== 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=QhjWgvpRqPIw197O1BVyscMYE+fR6uHKf58OhssfnWM=; b=e2CRne3PIcDovwoQrK4kTWsJB48HsiVAmbf137hu7jkPHLtIxx8IkZXMlAWNxO/kQlJbZNospmhppRycAcGEcMmwXnh1oeugZbw5gC0OholQEsnIsELZd5AflVjojyw9uFpzb061l2w6f4byW085JgaKtpVOW+XLyD5RGFKPFBt3sA96ozKEOyR8DHN64uCZSAK1XNm8GtdkSuCuWz2IPP98QX8gyLM6ywQ599vUx6i62g7pb/aPZ4No1avwVMleRpxhVYE2lI2PKfSVhMh3YTnDSamGqIET1vwHTYQq8u9TontOjgi0ZvzQxQMlYVB6vgXMoUW1YjRHxBSkvHnfhw== 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=QhjWgvpRqPIw197O1BVyscMYE+fR6uHKf58OhssfnWM=; b=AGmjghRvgTJHC8gN/kkIjgulzVMsT75tHc7n6HLk9Gr63eY+osJDdHrbOHfUfjJ+m5fgejV1hzdSBo/IXHHXb6ccsZRbsQ4jQ2Zg6yEPjJIW15bjn1+4/yF2cG+47b0ODqgYoDY+UK6oCgw/fhJmvpBgaymzhTlmHhAPVe1bmDI= 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 PAXPR04MB9399.eurprd04.prod.outlook.com (2603:10a6:102:2b3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.12; Thu, 23 Nov 2023 16:07:12 +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.7025.019; Thu, 23 Nov 2023 16:07:12 +0000 From: Daniel Baluta To: broonie@kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, kuninori.morimoto.gx@renesas.com, daniel.baluta@gmail.com, robh+dt@kernel.org, iuliana.prodan@nxp.com, shengjiu.wang@nxp.com, linux-imx@nxp.com Subject: [PATCH v3 0/2] Introduce playback-only/capture-only DAI link flags Date: Thu, 23 Nov 2023 18:06:53 +0200 Message-Id: <20231123160655.188428-1-daniel.baluta@oss.nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MR1P264CA0146.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:54::7) 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_|PAXPR04MB9399:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d4a172d-1d50-4f1e-d45a-08dbec3e40c4 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: YigpExdFweg//cABIr7iq6lPzrino/Vcz5tLUCjRcxdkdwrEmy0SKMEnzjcpGuTW1Xw3wJf51lCbIHxogIRllg4QDPVkopcQ7FB6bS1Eb+BhEAud++rn7zIhfnnoQmXJ36/Ngv4r1L448QduW1pfaLlE1TJ9RJlzv8W+KQQB9R3615PQALlhtiXuUoX/lGwINQyOQSFi82hnLFfnHj692h8N/URyYDBzAr8U422fMPeiNIzAOSEFBe08nJxfWgBtxqY+OTZMcouffCw7z0RE8OXAs9hkXbqyWADu3K6kZUYQ3fE/2B6o/VL9vB5GUrjZNX+blcGErMyrM69PpTHIBR+1d+JvUYGeCWsl0yaZ1Ar8HcVHicx2+7yk8SsfoTp0jm3sOhxViD5aRhSgBwAadVri/HWIfcHqo03g269lS8sx2ZewyMTO7i8gjpZE0vdF3kJLbjetbwd2gCwGjcaKF6JyEktBQoXejAuKY3Q72nlTZ/rwKmJuEx5B8Lw16tzljbztkG9yju9CWM5SLbS5gkUV8kuK5wyJ5Ul1QENodAJPeF+SP8oTzPKnSVOPgJRRWA+JUb6d060p08ggKkz4M8Wl0kmpjhruaoyrgQrndSE= 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)(346002)(376002)(136003)(366004)(396003)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(86362001)(44832011)(4744005)(5660300002)(38100700002)(1076003)(26005)(6666004)(6506007)(316002)(52116002)(6512007)(2616005)(4326008)(66476007)(66556008)(66946007)(8676002)(8936002)(38350700005)(41300700001)(966005)(6486002)(478600001)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ezLiZ6u6NxY2ec1iBfP0uqW+QsFhNeyxb/hFC5ji8kE/sfPqGyURs88r4SJ1?= =?us-ascii?Q?KWpGXw4YVUYC7gJbM/V5cS+QpkhNqA1D4Nw+JJR/8DKcHACKRwVeQQxDWafB?= =?us-ascii?Q?z7kFiOgQ1FZ2QUNMPPCexsLY+82tfGPRI9MUXl+imcA3YYz9UN0iP3p2qnWo?= =?us-ascii?Q?FMgvxoun+poWaqnPdpFvcY27JJOtouv/z/pkNfc8exOnmcxtDJVbjj82IkxV?= =?us-ascii?Q?jpxlWufNfeVqF4mHiw/O3sYVDvl/cJzauyMdmPMoz8JbedvJeIghwJRZJr7G?= =?us-ascii?Q?RAoQIPM0Y3rWRcypL//Zsct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JP0o?= =?us-ascii?Q?HXi1Hzqgasf1AlF15OQsKT5gYxYJiKXQjRlLn7Nky9sy6Relf/L2X0cmPk64?= =?us-ascii?Q?1u/zXrx4zamt0VpmCtkGKoZP4RPzGM7SEpOv6E69ikToLZQToqZosLRb1K6S?= =?us-ascii?Q?V3vR9QV5khazlwbTtYXjvfMNQiwNyI1T3YqjPrlB9cn9j+qTf486dgbhRE6K?= =?us-ascii?Q?5uZCvz/vfvdd8+77ndaa5rMCCZUqCaDnwQkbwnMvMrrA1X4UFBismdgTyaHH?= =?us-ascii?Q?pX0j9mIBG10L2AZ4JLdp6fksjscKK6rkq0h8gTzRtOtu6m0mwimkoENWEXu7?= =?us-ascii?Q?PclbDZy46uUbs+ZhCfNKnMauyM0zh1pHrBuUOu0nZ9JHqHcz+yI+hmY2bl7i?= =?us-ascii?Q?mFo8naxjpiuAq4sacOVhm8qzWDfvWQQmBae0VEao?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d4a172d-1d50-4f1e-d45a-08dbec3e40c4 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5151.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2023 16:07:12.4819 (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: 7DfaBCQRz5WMjCEMrC3asUbxF/lNZ9ghrGzVCVyTAgpoMKkyqcTld9wcDoDQrxf3OgutOcktaj1WW4gRjwV91Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9399 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Thu, 23 Nov 2023 08:07:27 -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 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