From patchwork Tue Sep 21 15:41:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sameer Pujar X-Patchwork-Id: 1530784 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@ozlabs.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=Qo98uZGh; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4HDQdB4CQcz9sSn for ; Wed, 22 Sep 2021 01:41:18 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231373AbhIUPmp (ORCPT ); Tue, 21 Sep 2021 11:42:45 -0400 Received: from mail-dm6nam12on2044.outbound.protection.outlook.com ([40.107.243.44]:14305 "EHLO NAM12-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229613AbhIUPmo (ORCPT ); Tue, 21 Sep 2021 11:42:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gJ5J78YNsux8hvLj+oYDLBLGR2rE/Vaoy9AJ6whqxqsJ+B4PZ9ICHabdsN/HJ7gcpWrP+sP0lHiJkar76CkRvsvJ/vlT8awd2YHr2zSixplqm99YEDjk2YJCAS1vRzUqwqTjE6pZPU6LKxbYrTWisHb4ugrfOT5EB4rYM7kZs3Ae8QoFtgiij3J68LFbgKwwhBWh9Wnv8MEMSGDZHdVAwVi1ZPUUdbU58CMKrsrheZEk342+bU1yaOUT1cxbI7NST5HArxw5Y7Wrvy+8z9slcwmezy23aoC2oGyIpyylr1KnzakwOaKnD2EM3/YHed2AXXM5ke2glRjEDpC60kRfKg== 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=G7/FNYs1Nbllfp/i/hAfpZeNzaxwz4/a0IHAkl/Rgvw=; b=DWUuZt7HJpOwE5Dl5hXwX5MoJH/HtCjv0j+rlBx3W6JSbSzyDT7D/eG1xrN+tQSPir4FN/MoEycxINBZESd5n1OgclivIXaX/a8a7P8iI+GVkrpHEnlf/CG74iuMkVLt84vBfxn28bnAvqxY7GDAi0SpBparj871VQa4XAh5AVKufgZYzC2P20qEe8ClpwsT3KU0JxTRRYNV5UXVkl6D+EAiQp6Ym7a1a4q1/0v4svT7VXbB3ijbE885sFGDJo0bz214ouZkuh+0E19ZhCYqGcE+Z+G13RIbnYL/dAoX39MP5ala0Hq8IuAmEvi4+YupzQ4buXXDtO4C3Z4FH7wmDg== 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=G7/FNYs1Nbllfp/i/hAfpZeNzaxwz4/a0IHAkl/Rgvw=; b=Qo98uZGhhcqgpFymmDD0lTtIVIeNOhul0vmKQqyaxM+10v5FZeLMDmh2Vj4InlL458VJ2j8m8u2roVCBX3QXUTNmdK3NjncyLKmVMy2s3wG6F8Rsoo1xeizasJ7w5z/M+pZ56GE3O+HxK2hm8fANySM4N31YhoYgmMxIS4Jc04sBZ2bbY0PRn2w6yg07f2dxB5RbWZJC7yoBH6f/0moh6bvEbmHkRT7ssRGRIjnUMqHfJcz0/axB118509jOAtdUpNOvFVjDvJCdFft4DyU8fxamMaT8vBJMLnvNe3hz37Rod9SgD8Rx8YeY+Lj0/VUkTQD+SAlcQCjjXGQMw2KjOg== Received: from CO2PR18CA0048.namprd18.prod.outlook.com (2603:10b6:104:2::16) by DM5PR12MB1545.namprd12.prod.outlook.com (2603:10b6:4:7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.17; Tue, 21 Sep 2021 15:41:15 +0000 Received: from CO1NAM11FT045.eop-nam11.prod.protection.outlook.com (2603:10b6:104:2:cafe::ae) by CO2PR18CA0048.outlook.office365.com (2603:10b6:104:2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Tue, 21 Sep 2021 15:41:14 +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 CO1NAM11FT045.mail.protection.outlook.com (10.13.175.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4523.14 via Frontend Transport; Tue, 21 Sep 2021 15:41:13 +0000 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 21 Sep 2021 15:41:13 +0000 Received: from audio.nvidia.com (172.20.187.6) by mail.nvidia.com (172.20.187.15) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 21 Sep 2021 08:41:10 -0700 From: Sameer Pujar To: , , , , CC: , , , Sameer Pujar Subject: [PATCH] ASoC: Fix warning related to 'sound-name-prefix' binding Date: Tue, 21 Sep 2021 21:11:00 +0530 Message-ID: <1632238860-16947-1-git-send-email-spujar@nvidia.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a921e9e3-c2da-4a10-c14d-08d97d163e49 X-MS-TrafficTypeDiagnostic: DM5PR12MB1545: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:792; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4+V/UwUDo6dB/ylRJose5P3lnisU8QNTNu5Q/0k+FECRdX4DrqqGF5bRNAS3k03YV7wqxy867MS3xYkpfgP3T4Y9iAvlP9wj8DAk7xkGgwa/FZqmQZjPFn+TMC+b+YMULleG/XB76mH7bUxVNYVCOUMmxhwzLhyVpuaxJOTuG1661yw3+OVUtRoAfdmWbsn9AJq0yKvuwMFCWtDkXWhfhGmmKnAm0x685F6nn+wJ1xdW2dNHyA0p3IMQAusPOZIfq5nMuGAIO1HVw0SQoJ0hy3gSEutZjXO4Ly2BtyelEOC7peO98MpvdlA47uwTdedm+/cxTOJGmv111heb4ohuXFBMoLgUDKEo7J3XxglSc9bM8Hakw+ZQsTBuZs/IIWtTf2JF5R0u2yihTzWJ1NHm8eWbsiINajHa3SovQPjVUE+qKTvdixxz1gEuV7SsOR1utYO9cfRCVWUk8IAf8RhF1NpEEju01tqGQdTEkWWaYD+LM6cQtHqc/Ndks+M4iOctm4ldR2iypB0X+BjcQ5q6QjljigJZxd0M83ShTPtahEu9zv8Qk5mskT5EsX6uKebaaQHgNKSX6FmNTUU6H5URxrC9MfdpeAaQAbPQnxfAHyp4GsTvMDIPae+NayXu1Wm7V+uHk5j/pacC92oVQW6BubN2g28fKkE409OCPmcVNSbLXqmT2Om2R71AONg57zjce9GRJuzf80nHI5S3VnfZVw== 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)(46966006)(36840700001)(8676002)(86362001)(2906002)(316002)(107886003)(47076005)(336012)(36906005)(6666004)(7636003)(508600001)(36860700001)(70206006)(70586007)(7696005)(83380400001)(186003)(26005)(110136005)(426003)(2616005)(5660300002)(36756003)(54906003)(8936002)(82310400003)(4326008)(356005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2021 15:41:13.6339 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a921e9e3-c2da-4a10-c14d-08d97d163e49 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: CO1NAM11FT045.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1545 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org commit 82d3ec1d89fa ("ASoC: Use schema reference for sound-name-prefix") added name-prefix.yaml schema and the same reference was used in couple of other schemas. But this is causing following warning and the same is fixed in current patch. Documentation/devicetree/bindings/sound/nxp,tfa989x.example.dt.yaml: audio-codec@34: 'sound-name-prefix' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml Documentation/devicetree/bindings/sound/nxp,tfa989x.example.dt.yaml: audio-codec@36: 'sound-name-prefix' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml Fixes: 82d3ec1d89fa ("ASoC: Use schema reference for sound-name-prefix") Reported-by: Rob Herring Suggested-by: Rob Herring Signed-off-by: Sameer Pujar --- Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml | 2 ++ Documentation/devicetree/bindings/sound/simple-audio-mux.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml b/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml index 68e5ad2..7667471 100644 --- a/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml +++ b/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml @@ -24,6 +24,8 @@ properties: '#sound-dai-cells': const: 0 + sound-name-prefix: true + vddd-supply: description: regulator phandle for the VDDD power supply. diff --git a/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml b/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml index c597d9d..b5fc35e 100644 --- a/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml +++ b/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml @@ -24,6 +24,8 @@ properties: description: | GPIOs used to select the input line. + sound-name-prefix: true + required: - compatible - mux-gpios