From patchwork Wed Sep 1 16:18:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sameer Pujar X-Patchwork-Id: 505754 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 611F1C432BE for ; Wed, 1 Sep 2021 16:21:18 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1ED56603E7 for ; Wed, 1 Sep 2021 16:21:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1ED56603E7 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A81EA1777; Wed, 1 Sep 2021 18:20:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A81EA1777 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1630513275; bh=W6StPBSto+d3PR2wsmHZX2ztv6DKgDuePGmPYwHIBqM=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=PAHoc+9HQ09Yt/6ZVB0r54jOSP+Etvlu+L8maP63xP/kwQjv5ri6MOqKArVxu5UP/ +TGj23SWHFAXsLm1luLNug2QGQkkBfebcKZrd8BQQKmOZlOtRmlRlFageK0OBhDxiW A746vicBMO6WwJoeaYwaPRo0G5UJppetNergsaag= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A047DF8032B; Wed, 1 Sep 2021 18:19:46 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DEA73F80423; Wed, 1 Sep 2021 18:19:44 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2077.outbound.protection.outlook.com [40.107.94.77]) (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 7E423F8020D for ; Wed, 1 Sep 2021 18:19:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7E423F8020D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="cGhGpI/k" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F/LHfSogjkGy8J4ZMU6Xc2sGz/kCc/yULEPLOLQdzByGQFlwlwEoQPYqyeyoPbMkbkAr9/ZRepOTDt1jigr9sC6VLPoEWFB6wqDUYwyKYPWHjGiVNeYXSpvB+pTOdtN0JWdmtg6833lg0+7mz42CVW3BakLSm5p/kpt3Uxip1u+j8l+IQOMCLJPUQw6w1jj4RjuIc2cY4emrjY24G7MT/REtuPrnsajuwqRnBLdFPz7w/kpT6jp6ZQ6JaVaRvH0fxwUAfF4l4U6KR6xCWtyA0R4bDZ2JGbaJCuPMqqqIJPr37OIYwC0f7WtrYZf9Yn+IFb1dESVLKx2TrHEO7tsv+w== 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-SenderADCheck; bh=cZKL2T4NEN7gh8HWzlk1bLUF2jptXZ5MtDrhN3ZYcc0=; b=KLD4QL0rw6N9sfdGa/46TambK97Hpp3gfb2W5BALiHtIxtOf/KHbP2QRuFGVeJc203PerxPyxfEBrZQJ5URwTI3j7F1t5t2SSFofxDnxPSvNuLFIqBwyrmCxHlXZgVVQVwKCLZVbTGAXG7H39xCSje2blXHtzXu4RfZ5Hdu/J2iNU8QXkQ1ubbnLf3+wxcElF1CHg5WHczMs5QvCLlUIgwNKHmF0uceSXIsNTBwCpAsruVIu9dyEgmPVOJaQs3Xkp08MqjsTzDT+4Q2tMCemKWRsRltQP5/kmQiaq2He6Xb0zYp0IdDxwRlbRTb5blPMER03QCI6EJSriqIkgylDHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.36) smtp.rcpttodomain=alsa-project.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cZKL2T4NEN7gh8HWzlk1bLUF2jptXZ5MtDrhN3ZYcc0=; b=cGhGpI/knSEH42mBkEVFWnXYYWDNqUnUhMz8o7r5H8OgNZL1zlAHrQD27NwG0X3GZEgRslcIXWtKSCpXD/2V+jvWQfGdATicBL5EzlsqVtG6ne0D5375bFwIy9gMf1C7SK/6CYwOpCbIVJ6gyIuMZyYryT+Hs1T92JA++T4LhS47eCfscUrtFQVKDybaWiz3y1RJ3cTDBi9SGcM3HKv1V6mBZcF8yoxwG5jEChuekTyVlrLx0Afy26JSmlLGXrRzaImxe386QezHIzzdxXIOXDjXGezFY1CDjRz58oFBJtgpOIETKb1LjwbwaD40w3hh/fXBAbf/PpUJsPjTEyyL0w== Received: from BN9PR03CA0057.namprd03.prod.outlook.com (2603:10b6:408:fb::32) by CH2PR12MB3766.namprd12.prod.outlook.com (2603:10b6:610:16::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17; Wed, 1 Sep 2021 16:19:33 +0000 Received: from BN8NAM11FT017.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fb:cafe::2c) by BN9PR03CA0057.outlook.office365.com (2603:10b6:408:fb::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.17 via Frontend Transport; Wed, 1 Sep 2021 16:19:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.36) smtp.mailfrom=nvidia.com; alsa-project.org; dkim=none (message not signed) header.d=none;alsa-project.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.36 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.36; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.36) by BN8NAM11FT017.mail.protection.outlook.com (10.13.177.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4478.19 via Frontend Transport; Wed, 1 Sep 2021 16:19:32 +0000 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Sep 2021 16:19:31 +0000 Received: from audio.nvidia.com (172.20.187.6) by mail.nvidia.com (172.20.187.13) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 1 Sep 2021 16:19:28 +0000 From: Sameer Pujar To: , , , Subject: [PATCH 1/3] ASoC: Add json-schema documentation for sound-name-prefix Date: Wed, 1 Sep 2021 21:48:29 +0530 Message-ID: <1630513111-18776-2-git-send-email-spujar@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1630513111-18776-1-git-send-email-spujar@nvidia.com> References: <1630513111-18776-1-git-send-email-spujar@nvidia.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 403d8701-7479-415d-cdf9-08d96d644811 X-MS-TrafficTypeDiagnostic: CH2PR12MB3766: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Iqjf+JJSJS8yKNTIFJGndEnb6hFja/KvO882vGiBcYQK/chBbYmVhDHjpm4po+KypHftsVxkh8VOwZ0x+ddF7vsAl511XuQKGU0ho84LP8zxIKgkA65Mr0l5IT90/qifS3EcOCGVil7TekGv4cPoRlfyyNvBKgWObnd7hxl6GiBS7HSGtS/c85if3KLfZ2psWXrFt/gTYCe3w3l+Ke4hEiDnLzw5HLOFit1rmWZn8EBOVhoQX/aELSF8e623mMZiHiO8gKG7nfe0KBr+RT8o+FhmwywSjWwmun0sGgr1PUpI+/lEn7e6TJhYK2U3AVznsc1tzPEVVDK+8hIGiTd6VWHVKfyRaXxNL20GeCmTRuNxBoeU1n7hDKEdtwv8fQOapH3ZeeLgskgkOHhLYN141TUhiw7Em46BqGhh6CXdjuqUASzUS1b61HR/MAjnVHSIbRFIe8Qy6XiXyyMbwAEcyRcMAJvyNU9MWSyPOR6mzC7R9bp+ZpMPp0jKnHrvirMUgts4GoTUNFY0Ka9xd6lLQCmd5E/QOQsvUxE+yx8Dj1k9hDJndwRfwHBm7A+4guF4ylHWMC1hLdS4eds61GC1Mq+pf2akEPrhN50hW8OoH7UnfgYaH1Uwsdtq6n2//SyxkFjYIrsrw4D6pyDRLWoltJ48s7KcY/xSuKAyXATEO6n49pPrBUF40KIr36f2c3SI7TMC2CfhtjynYiKIEKPiwwcE/gHwSgNnb7LIdTvTewQkT61+4Dt+eCekdw59QmJEAO2RToIBF2+yt5XIkxGB/IYLH43zVMNUxMaVnOXtGm3oexbTlJLQSI4UJgo9i8Ra X-Forefront-Antispam-Report: CIP:216.228.112.36; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid05.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(8936002)(426003)(107886003)(110136005)(54906003)(316002)(7416002)(36756003)(86362001)(7696005)(26005)(186003)(8676002)(336012)(70206006)(70586007)(36860700001)(7636003)(508600001)(356005)(5660300002)(2616005)(4326008)(82310400003)(2906002)(47076005)(36906005)(966005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2021 16:19:32.1222 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 403d8701-7479-415d-cdf9-08d96d644811 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.36]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT017.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB3766 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, stephan@gerhold.net, Sameer Pujar , linux-kernel@vger.kernel.org, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, aleandre.belloni@bootlin.com, jbrunet@baylibre.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The 'sound-name-prefix' is used to prepend suitable strings to a component widgets or controls. This is helpful when there are multiple instances of the same component. Add relevant json-schema and is inspired from sound-name-prefix.txt documentation. Signed-off-by: Sameer Pujar Cc: Jerome Brunet Cc: Rob Herring --- .../devicetree/bindings/sound/name-prefix.yaml | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/name-prefix.yaml diff --git a/Documentation/devicetree/bindings/sound/name-prefix.yaml b/Documentation/devicetree/bindings/sound/name-prefix.yaml new file mode 100644 index 00000000..b58cc9e --- /dev/null +++ b/Documentation/devicetree/bindings/sound/name-prefix.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/name-prefix.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Component sound name prefix + +maintainers: + - Jerome Brunet + +properties: + sound-name-prefix: + $ref: /schemas/types.yaml#/definitions/string + description: | + Card implementing the routing property define the connection between + audio components as list of string pair. Component using the same + sink/source names may use this property to prepend the name of their + sinks/sources with the provided string. + +additionalProperties: true + +examples: + - | + analog-amplifier@0 { + compatible = "simple-audio-amplifier"; + sound-name-prefix = "FRONT"; + }; + + analog-amplifier@1 { + compatible = "simple-audio-amplifier"; + sound-name-prefix = "BACK"; + }; + +... From patchwork Wed Sep 1 16:18:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sameer Pujar X-Patchwork-Id: 505088 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 786A9C432BE for ; Wed, 1 Sep 2021 16:21:33 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id ED1536069E for ; Wed, 1 Sep 2021 16:21:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ED1536069E Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8681A1747; Wed, 1 Sep 2021 18:20:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8681A1747 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1630513291; bh=U3PYIsFZwV85MBTSjPf/Go3fsPgmjyhH0kF9YaE0Tsg=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=rJ/UREFmcxGridsXYtyrgezcTnMFgPrbdyqBnigntSVASTADT3fjQFLea1QnsYV5c 6QMwJwvsRFVMrZpCYAIO7waNbPWx278ijAJFQD0Sht+EWV7/BXAEim6CuJvoZ9RD7I IjWpKzK3eo8LLUnkfckPIRW8CETUicBj9wu1eG14= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C66BFF804E7; Wed, 1 Sep 2021 18:19:50 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 26F9CF80227; Wed, 1 Sep 2021 18:19:49 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2066.outbound.protection.outlook.com [40.107.220.66]) (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 92BEDF80227 for ; Wed, 1 Sep 2021 18:19:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 92BEDF80227 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="Udtdh6g6" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ogUFgVs5K32hfva8oCgtB7YeHqfpv6IxhcFcLvzKIJJpQw7X8F0IhXyNQkQNT+z22gQmXQCN+D2zdKjf+5gr4jIYe064Drh/OLp1saIRn6fkqtc2vi0CE3X9hK/tN/i4NChQ5x5Qp0cqN0UIUa79QLwRKqY5esO3zEYeNAKQE5P2sb+7IQl5RCJe8kyNLHZsPMv82AA4tF3N4L3tTqjSm5u8yMElF0gfVtWNxPRO23Fe0Z+GdPEvuwF6zj67aHXrTUP+vHC4KBw8RfwpO3nflFQ2kYeeOv7fmeGNGA6Xj6dU2MoGndVC+/rpfGsb1C8r8/vuJ/9NtvS0arHY+67+CQ== 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; bh=1Urvh8W8+anFYE68EZtDdgvfgkRCfVLsazXYK9B2FTY=; b=HRnywTrG0KZQg7ph5/WQoYrK2WJlJ4FEJ17GYzilybwF2AUZAvx/OZF5oa28TuB0M2Ku5/UgP6OxhxeCsD+shjZVHiaV5eumlcso/qdXPIgUQsQLc0mcK1auBjVYPED8isQpkpW9A1jruv2KrggRI8D/8jEKsy2fuZXmOGD9nE94KCpyowMuzSNIOuYG+Ik4G3VQoZrUFTbeuhqgzZgotRZB0lFxarvBQS9TgMU5bId+P2UK4kaVDWqjOTqSor3Vf98vY5rjl+dMQ/OpDIfIYgR9DTVJFMUX6co39LtPAU6/AmkfpOUcXwW6bmImaLXmhKdTpxIEBDrZQFZGBosVCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.35) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Urvh8W8+anFYE68EZtDdgvfgkRCfVLsazXYK9B2FTY=; b=Udtdh6g6sdnSwmadhBXIwN0a+C50g36ZOQMR+mqOipluL2ITFFywCKZ1ymmm2D/7NW3/7pOcKj1b72nQajt7R7rd7xA/PkNN/3ekrKIPbQvJsc8ODG5NJda4uTrW4WfuupA0PB3chO356zQfviUYarixApHU6NkEoV8pEfm8IgBRs3DFTAAkJOZJdhAbOalBYlsHG8bDi5c8d660NXuL8A0mRTsARVAVS1utFzZNvB8BL0NVqpNrRVYAaf9KrRsrHAZJx2hvqmbL0T13+xjzNEX8VyhVgXuJm53s2QIiFSLnFy/8V6tybQc6YYqrGKKIB9Fbn8Rt+RDV8rq5lWkqSg== Received: from DM5PR12CA0006.namprd12.prod.outlook.com (2603:10b6:4:1::16) by SJ0PR12MB5422.namprd12.prod.outlook.com (2603:10b6:a03:3ac::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Wed, 1 Sep 2021 16:19:37 +0000 Received: from DM6NAM11FT056.eop-nam11.prod.protection.outlook.com (2603:10b6:4:1:cafe::ba) by DM5PR12CA0006.outlook.office365.com (2603:10b6:4:1::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Wed, 1 Sep 2021 16:19:37 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.35) smtp.mailfrom=nvidia.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.35 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.35; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.35) by DM6NAM11FT056.mail.protection.outlook.com (10.13.173.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4478.19 via Frontend Transport; Wed, 1 Sep 2021 16:19:37 +0000 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Sep 2021 16:19:35 +0000 Received: from audio.nvidia.com (172.20.187.6) by mail.nvidia.com (172.20.187.13) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 1 Sep 2021 16:19:31 +0000 From: Sameer Pujar To: , , , Subject: [PATCH 2/3] ASoC: Use schema reference for sound-name-prefix Date: Wed, 1 Sep 2021 21:48:30 +0530 Message-ID: <1630513111-18776-3-git-send-email-spujar@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1630513111-18776-1-git-send-email-spujar@nvidia.com> References: <1630513111-18776-1-git-send-email-spujar@nvidia.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1d0baa88-7ea5-44d0-81ca-08d96d644b06 X-MS-TrafficTypeDiagnostic: SJ0PR12MB5422: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OBulZXeALw7kEAcX1oVHP5undEbeG8AEV5lAi59qdqpAR0AU/sTaS4W/kxk0FyybARRWGyG+W0SaglVnyB/abfwKlBaKClsOPpfl+R3F5y9dEHJe8f+ZOjzVIZZNUtzO083KeWrCVXdqriOjnkOu3WXGHSIHWcQAG3JPQ7f0y+U8sLt3pRgwqVq2gQx6XaBFq90mQ/fCaAzEX5b1dVneHPkTjpj+BiHTI01trNKxcwTzjzpcztB+BiaKBdlfioyux6xr/I7ZcIgh9c4JaT0mrfGAQeUOCl+oVnwXIdIcW2UqoVsZAz+N/q9F7Ym81vQtN3of2pWCFtVsjFn/md6BjcGr1mbGzuQwkkrCyFzDNLDi6vIXDg4Ymy91gyJPnwsZLp11bulOmcXZhIE1L1vAzUncn04XqQJ4gDuo1WO4BZLeCiG1MLz44OZ3M/2uMTslYsjRc/a7gO85+8/Bpb3aHfhjZSCpkN/utAIgdXej+mz9J0fWqS+SXsfAd2JIDMAu5r6YJ/luttvr3eL+KvjGkaEfoSE0LUWyjBkdkiadPtb5tLXL+ByvSAdzsGU3zr9QPA2fshs50AOT9uaSHOecZxFqyOmt69U+Gu7hn50P5yqzQkpki7rJ0XCAcf08WX3DdwiNluozOYHwQZraNfnbIgmq28eo8yR1Mcp2gDFLvTaIXlveDqqSa3JMrpcjgiZIDdkxrg8isyckuuKWKCHnRw== X-Forefront-Antispam-Report: CIP:216.228.112.35; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid04.nvidia.com; CAT:NONE; SFS:(4636009)(396003)(39860400002)(376002)(346002)(136003)(46966006)(36840700001)(5660300002)(82310400003)(8936002)(4326008)(8676002)(36756003)(2906002)(7416002)(336012)(70206006)(426003)(110136005)(478600001)(47076005)(70586007)(54906003)(86362001)(7636003)(36906005)(7696005)(36860700001)(356005)(2616005)(82740400003)(83380400001)(26005)(316002)(186003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2021 16:19:37.1402 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1d0baa88-7ea5-44d0-81ca-08d96d644b06 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.35]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT056.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB5422 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, stephan@gerhold.net, Sameer Pujar , linux-kernel@vger.kernel.org, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, bardliao@realtek.com, aleandre.belloni@bootlin.com, jbrunet@baylibre.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Use schema reference for 'sound-name-prefix' property wherever necessary. Signed-off-by: Sameer Pujar Cc: Jerome Brunet Cc: Stephan Gerhold Cc: bardliao@realtek.com Cc: Alexandre Belloni Cc: Rob Herring --- Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml | 7 +------ Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml | 7 +------ Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml | 7 +------ Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml | 5 +---- Documentation/devicetree/bindings/sound/rt5659.txt | 2 +- Documentation/devicetree/bindings/sound/simple-audio-mux.yaml | 5 +---- 6 files changed, 6 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml index 5f6b37c..ae04a11 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml @@ -48,12 +48,7 @@ properties: sound-name-prefix: pattern: "^DSPK[1-9]$" - $ref: /schemas/types.yaml#/definitions/string - description: - Used as prefix for sink/source names of the component. Must be a - unique string among multiple instances of the same component. - The name can be "DSPK1" or "DSPKx", where x depends on the maximum - available instances on a Tegra SoC. + $ref: "name-prefix.yaml#/properties/sound-name-prefix" ports: $ref: /schemas/graph.yaml#/properties/ports diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml index fd275a5..0f9f449 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml @@ -49,12 +49,7 @@ properties: sound-name-prefix: pattern: "^DMIC[1-9]$" - $ref: /schemas/types.yaml#/definitions/string - description: - used as prefix for sink/source names of the component. Must be a - unique string among multiple instances of the same component. - The name can be "DMIC1" or "DMIC2" ... "DMICx", where x depends - on the maximum available instances on a Tegra SoC. + $ref: "name-prefix.yaml#/properties/sound-name-prefix" ports: $ref: /schemas/graph.yaml#/properties/ports diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml index 6337070..a830b58 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml @@ -65,12 +65,7 @@ properties: sound-name-prefix: pattern: "^I2S[1-9]$" - $ref: /schemas/types.yaml#/definitions/string - description: - Used as prefix for sink/source names of the component. Must be a - unique string among multiple instances of the same component. - The name can be "I2S1" or "I2S2" ... "I2Sx", where x depends - on the maximum available instances on a Tegra SoC. + $ref: "name-prefix.yaml#/properties/sound-name-prefix" ports: $ref: /schemas/graph.yaml#/properties/ports diff --git a/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml b/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml index ffb8fcf..c93b10c 100644 --- a/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml +++ b/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml @@ -22,10 +22,7 @@ properties: const: 0 sound-name-prefix: - $ref: /schemas/types.yaml#/definitions/string - description: - Used as prefix for sink/source names of the component. Must be a - unique string among multiple instances of the same component. + $ref: "name-prefix.yaml#/properties/sound-name-prefix" vddd-supply: description: regulator phandle for the VDDD power supply. diff --git a/Documentation/devicetree/bindings/sound/rt5659.txt b/Documentation/devicetree/bindings/sound/rt5659.txt index c473df5..013f534 100644 --- a/Documentation/devicetree/bindings/sound/rt5659.txt +++ b/Documentation/devicetree/bindings/sound/rt5659.txt @@ -42,7 +42,7 @@ Optional properties: - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. - realtek,reset-gpios : The GPIO that controls the CODEC's RESET pin. -- sound-name-prefix: Please refer to name-prefix.txt +- sound-name-prefix: Please refer to name-prefix.yaml - ports: A Codec may have a single or multiple I2S interfaces. These interfaces on Codec side can be described under 'ports' or 'port'. diff --git a/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml b/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml index 5986d1f..5333682 100644 --- a/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml +++ b/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml @@ -22,10 +22,7 @@ properties: GPIOs used to select the input line. sound-name-prefix: - $ref: /schemas/types.yaml#/definitions/string - description: - Used as prefix for sink/source names of the component. Must be a - unique string among multiple instances of the same component. + $ref: "name-prefix.yaml#/properties/sound-name-prefix" required: - compatible From patchwork Wed Sep 1 16:18:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sameer Pujar X-Patchwork-Id: 505753 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 202D5C432BE for ; Wed, 1 Sep 2021 16:21:54 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 93BAB61026 for ; Wed, 1 Sep 2021 16:21:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 93BAB61026 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2E926178C; Wed, 1 Sep 2021 18:21:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2E926178C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1630513312; bh=/V4e5p18MPaqd4KUAZsus3hSLUoOjDCXf6wX26DlfDI=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=FEe6JgeZeJR+g11AExXyUW9qVMzKepu85G33BOZFVbi3CwKSKSO9i8OzhC6ELaLn6 xXSlZxHW8lQVKv3O0QwGYXNrwyDVQuy7q1FTGrVudwLY2nP5THkk7DzG2P5igF2D5G xEXRI5zaWEkBT9UvrGzG1qgoUsGcDt7asX4XNwfU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 521C5F804F1; Wed, 1 Sep 2021 18:19:54 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D7434F804F2; Wed, 1 Sep 2021 18:19:53 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam08on2041.outbound.protection.outlook.com [40.107.101.41]) (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 034A9F804E3 for ; Wed, 1 Sep 2021 18:19:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 034A9F804E3 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="M1+I/hvI" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TDuyZJQ7wgU6YMV8qXkB6ZKtymqyxMbYW7uJB+wLXpPBppETJj5usxlVGKxJgWQFv0SmRSmyv6S1Yydg7rvmoks9dzZozg6+OH0P9ILhq/TTrflv2Zv/yBdoTJd9Oksne6UCVq6INIqDk0/tAyldOnAKoMCREhUa5ALwf5HWY+VoN9xcfXPAV9EdvJ7jmXDA7Hceu520EHttjT4QxcsKUnc5cyeGwrUOSmpZRyOXxMw8vIGLh4ywGlP0V80QT0Ulb3Rz6AZr5x0Eq3Edy9BvSu+i7l2zIhA+qjbC2eBlXluTzib/lFFI2OWrz8MVRICD1IxEbiLnYpCOutTSaGSSOg== 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-SenderADCheck; bh=ulEuks/h+Di414nv6dgv8MnTivM5vjlJX0nvQDc4L6A=; b=WV5Rj12yBIYTDHKNSg6EKj9fgvTJZIf0yJQMnAkCwy9/HgK6DOWFcu3K1jccnSqL73d6d9HVprcbExADGD+34bhG1jHW9gDbLjTHRBogALxsJO1pj/3O0yYVWO/sUjSSe8UboObaIqBxHVzgGstj1F3YN29O82ammGMpMub5GiPMDhGYwjS6jpElyOEdAUqCxLxUUlfH7iQfRpiDkkAdsu6DyDP85RzZqJw6Kym1ffkVGcr1lYeG2UDAkZ70iyHNfoQiZpdv1soRQlVqf86tcxcpSNMNZGOT6d2DDaa9zveq6Oj6A+L6NxJcYmOrQo78RYMEeO91wnXMzODJ/gF3GA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=alsa-project.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ulEuks/h+Di414nv6dgv8MnTivM5vjlJX0nvQDc4L6A=; b=M1+I/hvIBmWng+EGt86BfJ0T3YAO2HboVGH1moZPkFUuqzR449Fy9froGj4pSy54AcXpzsaNl1LI+9DxSE/an325aWWSxp8mDlxca34zl+LJWwSpGwUGu6aGehY0wMV2mftJL1ciuLHp9nX3OzNKcMYvXfrKxhkvzz7L9b2ahI0rk+eG5Q0pln6zAabp/pnnuexagGzmn/Ds4Mg/GeJVeAkmlBUafYVuNAy0Qu849BOAJX9vfRMMTS5/cZmg0E7lxs8ftyh2H1bKk4+tw6Hgy1AfjXXYkzltte+2gkeCLl+7x21/rOjH1pntJrAr0iwhKkxC01jQSCA4M06gdDiyeQ== Received: from BN9PR03CA0190.namprd03.prod.outlook.com (2603:10b6:408:f9::15) by DM5PR1201MB2537.namprd12.prod.outlook.com (2603:10b6:3:eb::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Wed, 1 Sep 2021 16:19:40 +0000 Received: from BN8NAM11FT055.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f9:cafe::d8) by BN9PR03CA0190.outlook.office365.com (2603:10b6:408:f9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.20 via Frontend Transport; Wed, 1 Sep 2021 16:19:40 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; alsa-project.org; dkim=none (message not signed) header.d=none;alsa-project.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT055.mail.protection.outlook.com (10.13.177.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4478.19 via Frontend Transport; Wed, 1 Sep 2021 16:19:39 +0000 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Sep 2021 16:19:38 +0000 Received: from audio.nvidia.com (172.20.187.6) by mail.nvidia.com (172.20.187.13) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 1 Sep 2021 16:19:35 +0000 From: Sameer Pujar To: , , , Subject: [PATCH 3/3] ASoC: Remove name-prefix.txt Date: Wed, 1 Sep 2021 21:48:31 +0530 Message-ID: <1630513111-18776-4-git-send-email-spujar@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1630513111-18776-1-git-send-email-spujar@nvidia.com> References: <1630513111-18776-1-git-send-email-spujar@nvidia.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fa039eff-e06c-4281-6792-08d96d644c98 X-MS-TrafficTypeDiagnostic: DM5PR1201MB2537: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qddCrkbyM9X4UR2rEIN5SA9EvKqRCUVKM6jaH33CT6mZiuI8Uc394VASXAA4NsYw5qjBlUXBQj4aVS2TFJpq6JHtJIjTfEMOVR3yc3Tn0UY5I3luKnccJXGaLmG676KKanAFfAolPATMxgZ+EDNs3Wzvw/BLdqwf9cb4GECjb/ipol9l4FthMKJCpZyK69qGesdzYBNFW5n5IPrrwKUzBgIFbr2wDAa5VyNy6XDbiVLODCsY3jedrLrvTqDdOIy/kSRmkiKOp4m+LzgU7rV8QkpAEy84EFUhfUkEOE3rB55xxtCjaIzxoDI5yMJuaa+ehpwTBo7PRLauC2L4jJP21ypMNkBKax5BVnkBH5TjWeZzVrd2/BUlci0c1uzpbEX0lCC3SEYv39XYS2i1Xeg/Lo3TsOPWr4vDCVG05pUS7XJSp6h5zOe7aR9WTDv4I/wGvsXRSpM9NW9fwT48rczFWN4Dw/z+FxuHiAyObxA3APaRPD03QJyQTMu5eFSxOwGD7iNMKnzFw1rVWYdqY3reMMM1/Es81JeAm5RPxB2TNii51sQxZ/HXnrJI5jxvrmj9YxSoSLokZ72wLZokj4OElJrpuExm6dFWc6uDGUk+OyBb7C1b//USsHR5XIObrHS8Yd5FlxT8vxvB/9IdPZF/7haaqT5B0hRMVqOpHrXJG0/7owOhu7XffTFqdBA5oGgx X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(39860400002)(346002)(376002)(136003)(396003)(46966006)(36840700001)(70586007)(83380400001)(107886003)(2906002)(426003)(70206006)(336012)(4326008)(2616005)(86362001)(478600001)(82310400003)(356005)(7636003)(316002)(36860700001)(7416002)(186003)(110136005)(82740400003)(8936002)(6666004)(5660300002)(47076005)(8676002)(54906003)(36756003)(7696005)(36906005)(26005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2021 16:19:39.7140 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fa039eff-e06c-4281-6792-08d96d644c98 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT055.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB2537 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, stephan@gerhold.net, Sameer Pujar , linux-kernel@vger.kernel.org, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, aleandre.belloni@bootlin.com, jbrunet@baylibre.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Since schema name-prefix.yaml is available and references are updated, remove txt based doc. Signed-off-by: Sameer Pujar Cc: Jerome Brunet Cc: Rob Herring --- .../devicetree/bindings/sound/name-prefix.txt | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/name-prefix.txt diff --git a/Documentation/devicetree/bindings/sound/name-prefix.txt b/Documentation/devicetree/bindings/sound/name-prefix.txt deleted file mode 100644 index 6457759..00000000 --- a/Documentation/devicetree/bindings/sound/name-prefix.txt +++ /dev/null @@ -1,24 +0,0 @@ -Name prefix: - -Card implementing the routing property define the connection between -audio components as list of string pair. Component using the same -sink/source names may use the name prefix property to prepend the -name of their sinks/sources with the provided string. - -Optional name prefix property: -- sound-name-prefix : string using as prefix for the sink/source names of - the component. - -Example: Two instances of the same component. - -amp0: analog-amplifier@0 { - compatible = "simple-audio-amplifier"; - enable-gpios = <&gpio GPIOH_3 0>; - sound-name-prefix = "FRONT"; -}; - -amp1: analog-amplifier@1 { - compatible = "simple-audio-amplifier"; - enable-gpios = <&gpio GPIOH_4 0>; - sound-name-prefix = "BACK"; -};