Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3678871rdh; Tue, 28 Nov 2023 00:12:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IE377zsPvqQ8CwboHFfRtFd0ChbSzsjyzym9iYuGiiSat3iDNCVf00ZmYfOuoCteLts35Xh X-Received: by 2002:a17:90a:ce81:b0:281:3a5:d2ec with SMTP id g1-20020a17090ace8100b0028103a5d2ecmr24739454pju.8.1701159122557; Tue, 28 Nov 2023 00:12:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701159122; cv=pass; d=google.com; s=arc-20160816; b=ztHQtRTacs+nI8CB9QXCY5d6gb8yYn14SR4HmUN8+xvEE9CJtbW73hvW6dG5wQRpVL HAZnC0/K4LcQtsOI3tpyoJgOhWkUMHJg0F+urk9QYiSxn0DqdiIf2t325TcwUl8yI4+X jsabbhuxIFadKSOMAi5epCqoj6GqPgfXUhu38YMApKdUakjkiNwzw8e9BC+dNFwR0I9U AQp3tSCLONlRQJGLrSiJH/lM2WKijQryV0PSGS51AVw3yuJVW6gaMz3CLat5yRfe+hO9 e8jDHbDmioQZGG0fz2UdIHLi84gZq+/s1hTbsw1xZIXZUqDw7nFQMuBJAxFVHbT9q0u0 7XmQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dm2FDg0t+Tna5IV6r/T026XdzCOt13LyOTVstv9GeGg=; fh=fNVCM4RRYvsQIQffN1HunkzDjWMC+F4D3r5KZADmOuU=; b=o16DH0NcV2knbzZMqKPdo71bzPE3H6bjleDA+HymuptvgL1/d7iPl8ZXv9D2nDZmD7 YWcZPcwacHkrK3HTtdh+LAF8hLbWDj76j3kR3b6C1bDDMXE3XnKGwG2R11WV6uExESCv mNtTZedPep/Szad9g+Cnn7bCnuKSKuI9Vz2V+yQ/jk3v8HMmFHmst6dJI3HLoODiuFdX XfxobyCSOwVAbChbA0ncNtkWHbNo5oMyGKVoBsVd3tNzYAQ0h2lMO2uw88CMAI/Uuo5g vVxZelLLAzd0Es/RRiAJ9JhnM1MYmL5TGqjQe0hPhB/qTJk72xKNDsqylzYsRmb+QKgx FfTA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=A20XC7FZ; 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 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ca13-20020a17090af30d00b002850fcb1197si11577877pjb.14.2023.11.28.00.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:12:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=A20XC7FZ; 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 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 4E8C280FFD90; Tue, 28 Nov 2023 00:12:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343983AbjK1ILm (ORCPT + 99 others); Tue, 28 Nov 2023 03:11:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234633AbjK1ILl (ORCPT ); Tue, 28 Nov 2023 03:11:41 -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 3D86E98; Tue, 28 Nov 2023 00:11:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TCkcjKPev4BW8CJoKaOvnH4dqWVUD26hHd655VtHBC2dO/t2/Pyv0Kdmqv0KPMNZZ8ueG8Q4ZzASHkzyw8qcqSz7AzNu8HpCefiNLPXdWvKl56SUHnINi16TXoFrMeI8rcrOJH2gXA0xz0IkqYfjMlggcafB5eRWukiW03U4kP5rtHzG6gvxYvVQoqoo5kXYvmQEqX6pTf0ut7R+qm4CMbI7nQhw8Apas/PnICqYQbygfNOHuL66qFC8Q0U4Qce41MyRzVJJMZyMYAe3WLNvNu8tdYWgwothGNNd+OnK1tu81w69bB8qTRpsKi+WcmgzmGf41NOwFxwhpME94AgL8Q== 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=dm2FDg0t+Tna5IV6r/T026XdzCOt13LyOTVstv9GeGg=; b=aeha1ORHOkR08YU+dXnmf4WMqjuqPMfpbCuREzXKmH7xPCVPhdUkSjSukMwDwcA6ahn7plpIhijgFOXiP1ERTW/2U1VnHumoJtPl/tv4fpYC9JFEiCWNSvoBoGaWb+dOvIY5Pt/jKKsQKE2MkBFNCAPQC3NPLN0jwVBZ6JQ/unHXFI5xQA8tgkhVTFcMmSBeb2Q6S3xxwxOal54S7BRh9nbFB4zf/JyBv7vikfj3p6XvtVnKBTy28LNq6ggOB2Ev60lzUjtfKYMrTfRTFi9JD/kCp7XMRAoMgrn/toRbWRtTUhb3LDZdZR+KckVnCkiFx5u8CIn7igRugkg0tTLjeg== 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=dm2FDg0t+Tna5IV6r/T026XdzCOt13LyOTVstv9GeGg=; b=A20XC7FZ3IWsIDZA5F3eJrPpInlDixoZ/EECASiQLmaLVnJttNvhLld5SymXJuHRQSVxtkMK+qmFvxyoOpMWOeixEVRGhOxAEQrCs1qQFNmnPSyrzC64qCDRfAycA/M54GMBxbfN1wUNmf/ph/eF3r/QVwD7C1wiI9JyLjQNgbQ= 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:44 +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:44 +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 2/2] ASoC: dt-bindings: audio-graph-port: Document new DAI link flags playback-only/capture-only Date: Tue, 28 Nov 2023 10:11:19 +0200 Message-Id: <20231128081119.106360-3-daniel.baluta@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231128081119.106360-1-daniel.baluta@oss.nxp.com> References: <20231128081119.106360-1-daniel.baluta@oss.nxp.com> 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: 0355fa44-7b9b-4593-13e7-08dbefe9a5de 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: GO/uLctfVmBsBXnSk//dOglC0wGJtb4LY7MZYjqeWMOagaxZllqsoKq55sXgpPaeRrAJ226T875FNOQXc4h0Edc8d8aA7lhh8Cz4gCebMTma2L229TNV1qLL6LKrMo3PdxK2GPZuJ+ZMHgNEcRVodNPHx2hXA/pi8eF5yuhwIFgLnDkcbRXk0kSrDsgb7fPaCzEs+MuWaJP+XqWGUvY4YAF7O8WrT22b5AOYu+OONZiyCobP9cNIJnCOlBcdqIehkQfskIqUgV5wqWSjSzOTDeKcghqm3xF6r5c4yvEea9UrSzHd13ot7/VQpE0pE+erVwGwYfIH6/DjWoHwDb6nP/6/pFvb75m7LCK2ZnU3vQSy9/zT1wWSX2nZe+Nzv/QX7nTgvv0nioO+CL2CP85bIIx0bE7i2vtjF3nxOi1hRKd3DtS1TvcSluguxgmjJaf4WW7VFKpOg+Eyo308TvId/rClSFH2gl5v0KtElZE00o2/h0v3di4Q/sWgLrVJbhd7KLpZ/wrkLPHzN1sUlNbWT9ocKP1vHtIkOWUa9uwf/rGwqJyDOeL25oLFV4z402ayna+pAS2iXG6Okhp5YTfV5QlF0wbykOxJrfPPtaXXrJLtvK+l8o1o3kWw1zJTiXD2 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)(478600001)(41300700001)(4326008)(5660300002)(44832011)(8676002)(8936002)(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?OvsJ/77dhZtYbGVk7S+kvMLpjAafmz4gH3bmbUJ3NWLPjMP3B/90nh+bYQql?= =?us-ascii?Q?bxiOxC3QOs6LwR1yJUma3lMXf7uDbyG+e5KD5n0+KzC8mCfw6DdCBtDN6g+A?= =?us-ascii?Q?DIVzx7E6j67rQna/dZujyHDl6Sdo9Rwfv1dOFDGCC7WtFMTgmkSlPieDDxJR?= =?us-ascii?Q?WDcTdzGnr9XhibVrSpHVxomWMsVvaxFtiugV68kWDNLrj6gZMyuzwN1zEu4G?= =?us-ascii?Q?R+DzJX6cOVx4udNcdTHmLVcGOx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qYi?= =?us-ascii?Q?gofxeE0Vqxa4+sTHNeOllytvfcR0szt47VKJ4zvpipjF4bZ7IZ1cw3pZzRwe?= =?us-ascii?Q?kuMK7jjjDS5vOinyxTzswXd8NqB27tFijd5glqqAqvcNTPpmKzmCN+JRpYf6?= =?us-ascii?Q?lt5Nx17rHVzLvCr8MumbPb6w6RsUiFscIC64i0AA+IFx5muI1R5eQa3uEeLr?= =?us-ascii?Q?V43sVKwP3wLDonCTZRRLDqrdLn8u6t18MRQjzLhsa7QZFxEMNCpznoheUrrf?= =?us-ascii?Q?CErcKuq+/rRXTV8dhWWLPQM4rB3d+ATy7d+xaZejuoTsayk0fNA2rXCltsnU?= =?us-ascii?Q?uMTsU51Ry7egT3QpKycDYBKusEefCCI6khgpT9USCrosqLNOr8Fp9+l5akKS?= =?us-ascii?Q?jR91S+3u/MwRiS1B9tTyIyaqvBoipP7vxYtM9ZUeHx7Qa0H8JmutmpZOFw50?= =?us-ascii?Q?nGbWUEo89+XQRuennCMFAFteRoR0MNZEqVoxwJlONaNK6D//nInQrJ7Sf2KQ?= =?us-ascii?Q?ccQhogZFDWSftWACaMa5ffwrRA2+ihC6YAbwCqNLSSGII0RtkhkeJoG21Vis?= =?us-ascii?Q?yJA+aw=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0355fa44-7b9b-4593-13e7-08dbefe9a5de 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:39.5102 (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: 71OWlyU62xDp7gJDlfzUdnhgqE861WQoq8WpTC0DfMfl/kPQcEKgizbPY9VA3RorxUkOlcGV8USe5icO9gVKiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9445 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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 28 Nov 2023 00:12:00 -0800 (PST) From: Daniel Baluta Document new playback-only and capture-only flags which can be used when dai link can only support just one direction: playback or capture but not both. Signed-off-by: Daniel Baluta --- .../devicetree/bindings/sound/audio-graph-port.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index 60b5e3fd1115..b13c08de505e 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -19,6 +19,12 @@ definitions: properties: mclk-fs: $ref: simple-card.yaml#/definitions/mclk-fs + playback-only: + description: port connection used only for playback + $ref: /schemas/types.yaml#/definitions/flag + capture-only: + description: port connection used only for capture + $ref: /schemas/types.yaml#/definitions/flag endpoint-base: allOf: -- 2.25.1