From patchwork Tue Aug 1 08:24:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 709237 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 8551FEB64DD for ; Tue, 1 Aug 2023 08:26:23 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DD4A07F8; Tue, 1 Aug 2023 10:25:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DD4A07F8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690878381; bh=O6tX+xSMAwOWUTEedvaspx1RKUJy6tdWGWxgZ8b5NuY=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Qwbf5XVnMQjoy+N0C3z+dfgJokoBy7uk61pe/vGCcrWrPkwAQj7R+b7o4J2DltOop jzwPU1zzF+ypMcfVKYuqI7oxeCMieDTiVXt7ENUUmN4olvAJjIafzcRt0uwSaWKTrq 0wSCiyFdd9ySWZEsC5ThYAkq79+74lVtOW9eIvEU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 21329F80425; Tue, 1 Aug 2023 10:25:07 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7F39FF80149; Tue, 1 Aug 2023 10:25:07 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 19777F802BE; Tue, 1 Aug 2023 10:25:00 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on062f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::62f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id EE0A1F80149 for ; Tue, 1 Aug 2023 10:24:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EE0A1F80149 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-NXP1-onmicrosoft-com header.b=XK02OkTf ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZiyYx6ipXOydNvv3N1KIG3NeE8dHh9IBenYdgDZGdPIRyj+12IUobZXAp6DkEQOwlxgiOxiS7XEXSZ4WMPo5+LPItOjjqp8vxC35EOOJ6BorSpQCyqldNpt8o+4KYe3wBJp1WuxfgxkdcV2zLi4X6byvZgW6DSbS+RNGG33mAB8IWMv3gQCPjnB42qQWVHxVliARJFAscDs9KOfxy2AyA1xgnSYTYYPCvCk7Rf12HziSq79FovXqsgENVVPhIMLSv8T/e1gSJ69+phs9BjxiSR0+UD8IZVgPhdodHz3se+P6MVzX2nUSVyDvhV61b0WVr4pNV9I2yew/82cqnU5HnA== 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=YNPNdQ0UYtaqcGqQmsY0QWUUgfKvH5BZddxo3RIb6ts=; b=OPWwM1dbmYQJ8c3aCNdPkPOSqpg2VJicEPom+v9guS/pYm88IsWrQBDV6PyNjmfBhjMiYVhRHsjkmwCtiwDNSdG3XeADv4mcpSmVguxM2w2c/5rjIKRcanoF7cu7kOK2/eVg0dLggioJ3VRYiuePGYkfIcAMebBgiFOjHrbOaROHGdXCDnma5u6iM+9XZVSg8qcu0Wtr4tpkm26UNXBLapHfIcVNm3cDx2fXCuUPbKfz2rRF5aGZHbGEFbPzC5ayd+NOHCxTPu8OhaEQLe0baqVyZHJ/lcPr67upwc5GY6MhagkRXibIKBsXG4ZvQSDrBaEq/agvA1u/iOlIhVc3mg== 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=YNPNdQ0UYtaqcGqQmsY0QWUUgfKvH5BZddxo3RIb6ts=; b=XK02OkTfoAlvj4jYDfY13E/LqmT9yRq7aEOzMaAqrSHhuUZ0DF7ULKClFs8T/Go+AePf1hZRZbb1OwBDXdMo2OQpQgTpKLp6q7/oQjIseHsan+2RRdHWhVXvmUgBCty1kQUMrEDX/Kura2aWSGn40ywMqnYIBwPT2z8V0BnsLrA= 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 PA4PR04MB7917.eurprd04.prod.outlook.com (2603:10a6:102:cd::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.33; Tue, 1 Aug 2023 08:24:49 +0000 Received: from VI1PR04MB5151.eurprd04.prod.outlook.com ([fe80::d4e4:973a:b085:de93]) by VI1PR04MB5151.eurprd04.prod.outlook.com ([fe80::d4e4:973a:b085:de93%7]) with mapi id 15.20.6631.043; Tue, 1 Aug 2023 08:24:49 +0000 From: Daniel Baluta To: broonie@kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org Cc: kuninori.morimoto.gx@renesas.com, spujar@nvidia.com, tiwai@suse.com, perex@perex.cz, linux-kernel@vger.kernel.org, linux-imx@nxp.com, devicetree@vger.kernel.org, daniel.baluta@gmail.com Subject: [PATCH 0/2] ASoC: simple-card: Introduce playback-only/capture-only DAI link flags Date: Tue, 1 Aug 2023 11:24:31 +0300 Message-Id: <20230801082433.548206-1-daniel.baluta@oss.nxp.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: MR2P264CA0057.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:31::21) 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_|PA4PR04MB7917:EE_ X-MS-Office365-Filtering-Correlation-Id: 1fce1c0d-8758-4474-1fb1-08db9268c55e 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: HB+e1WwwNGSSu7VnQKCLm6+CbGrHdUMV2waHPmsazu0E7HT23V7NkV7zN476avTzBxNJb8WbravmdLc9M5456VXpYgZKQbzezTrRQpNyqDVSS7BbawJUFU9ry2FL0G9ISjoThaU0fPcuDpEZ+uVDPVLpqAQuBs0W+itvXM/Tez9ssMVYKF9VIuhw13NwVjB4TJpKA+NisSIJ46N4+ZFFa2LSH+rgbEdcgDbz82Im1TD33812Q2YSOfKHDFStvwCnI6mF/7gStvbJae2RpTyHhNz9SoQbvtDlRIlXZsFK4uM8YXaPBjruMrvoHZZslB6UyKbyyI+nv7Ov5PiKAAlaHEx4u869ixdw0jjOUiqbzlEPE8VMejk/k6BBE4TtE4hj2PHVoKeD9CW49ROwv+K2tzF04iIN93n5R0WUhq9Vuz3LikgvCT26j9DRgtaSH9OhoivQsOsOsf0k8y1PkaXbL9PWoB8x0ca7rVpMGqQ1sY5MdOcEJ2gAKBbopDaoLrKQz6cqyOgluJDI/rW/VyZGgEtk7CDGY88Fau9bkMQmkRvXsbVZ+nmEZ8E4T8mEocYODa1gmsEKT/yI+1BTdlFFSWOgctmxFEESdvGLb3X6BDAtrGARV+DlpO0WpZYI68Ej 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:(13230028)(4636009)(376002)(366004)(346002)(39860400002)(396003)(136003)(451199021)(66556008)(66476007)(66946007)(52116002)(2616005)(6512007)(6486002)(86362001)(38350700002)(38100700002)(26005)(478600001)(1076003)(186003)(6666004)(4744005)(6506007)(316002)(41300700001)(2906002)(8936002)(5660300002)(7416002)(4326008)(44832011)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6+loaax8o1wvasaL+REMM3yV+NrL5PTNYPu2l8+cTZyfum/4xZX59O2AG6QKoIr43D0gyGXInoIIHjLy0woUSeAm1zCyhbf3m8m/Al04bpsSFEgdrRuCxX0h1L1Gaxqx97o3EGxfWmMfYkOVsZ2b8kOXu64s7srfpOYYL58LvMF/DxlXTZcpS3GJdMjQ8sJWJldhiUyjaSVhWh9UE7QUD06K3TlPAy9RbwBAB+O4veo74F/UmwPzkx17NoXgrb2S9/P7CLCIi9RJyE0wd3iZo1a34oQOd+wkyVN9QuOTi+3r8EYHMllhn5PXjrAsOJ9VwAKrxJ6RFD215KMl87F6SFmsNMXWma2pGsSQUGq8qARTOnSnsczGXUEXOeC5BJAY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gWdjfYQToyK22phUEmR5Nd3hBFzEhP7ZAdf1ZrVgbyf5xKOaahIpHZeoBXCF+3TQS2kiOOFHWB+Qpes45cqtFJ7WcFfA3AuDqh34smb93mGu2x6NoUN3Zkqp2Cw6zRNaPfzOjI58ZWMz5L4lHZmaLJ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1fce1c0d-8758-4474-1fb1-08db9268c55e X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5151.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2023 08:24:49.2346 (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: 3K4QsyY40xjJTAlKA/x5sofrsTK2ZR6tZEknvcqayCTXfpz+aCg1p4JTl6hkvQfsQNez9Efs6ShdRMiv7qDeEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7917 Message-ID-Hash: T4KJVUT32BXYP7FKC6CXZPOGYUDYGVUR X-Message-ID-Hash: T4KJVUT32BXYP7FKC6CXZPOGYUDYGVUR X-MailFrom: daniel.baluta@oss.nxp.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Daniel Baluta This patch series introduces capture-only/playback-only DAI link properties for simple-card. Daniel Baluta (2): ASoC: simple-card: Introduce playback-only/capture only DAI link flags ASoC: dt-bindings: simple-card: Document new DAI flags playback-only/capture-only .../bindings/sound/simple-card.yaml | 8 ++++++ include/sound/simple_card_utils.h | 5 ++++ sound/soc/generic/simple-card-utils.c | 27 +++++++++++++++++++ sound/soc/generic/simple-card.c | 10 +++++++ 4 files changed, 50 insertions(+)