Message ID | 20230227091938.1671416-1-chancel.liu@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2319861wrd; Mon, 27 Feb 2023 01:32:11 -0800 (PST) X-Google-Smtp-Source: AK7set+EqxJiZwGJFSoOyUA7hTeURq6q9ddUU8a+CgNxV8gXsAO866U9r8B8OH9buzH6cQc2+maw X-Received: by 2002:a17:906:6a08:b0:8b1:2d0e:281 with SMTP id qw8-20020a1709066a0800b008b12d0e0281mr45515799ejc.18.1677490331746; Mon, 27 Feb 2023 01:32:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677490331; cv=pass; d=google.com; s=arc-20160816; b=hAzySJ/SO2tHEoCFn3U4pvGTZLZuFmV8cIEWp3ABlb3rsdxkxHOIthQeHpuvnPLMn3 8fXE+Kfw8ORiACuyUYBorj8pAEVuAnEM7+KgL0Gacrjn9H82zIcrjG9yZp1zYuOWBA+g lv24/IiUdzZFPajNelZFKAa2bqXg/0PBe2itJSMjBDt0TgQHBasZlkvIP2C/8c+FGcE/ bHaEvAgoYpyET6CMaOhPCat6k9vGcJDW/p7+zvbAsESZ/7+uddQHyFNZoeOJatc+8AwM Wch7KQHTOFwAbpOQPkx1+B4tkByB3awEh3hAZLIPlU2Xgg8+JPKq/6U9MO3sGHy7sPKT YaBg== 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=kyMFWe+WU6YBlFtA1v37g8GOgrqQoyLOQFqVA6cuZM0=; b=OPGDPf0ukETDI2+SuAVTr1mVeR4yhFJAEsiMJyD/FOJC2n504Hs6TUHjyPRMjjEp4H p9q0hiD08RzSMKLMWimeqnP0Hh0y8e4rwjTrAosvCX67ILKWtKaaal20MRk+0EkDVeOc NR6dhDQa88nNUbgOfvQSpoOgTeZWLfeJpe2CdkXPDg5C/Q6xEXAjWfaw5EEb5vSjbXrX s/7r4D431jpn8NOtIAkjYFGWJzSrRJIkdR2efnOQsDbUQMDLsXbYWocG9+j48gS5UnxB /IAldlj+E9UeJCRXqp+w0xVyffrPXrsu61w4LfP/j7UR4ink45rYFToPi58zaFz9A0z4 ZysA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=gfsRq57w; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i19-20020a170906251300b008dc609af643si7147289ejb.401.2023.02.27.01.31.49; Mon, 27 Feb 2023 01:32:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=gfsRq57w; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229738AbjB0JV6 (ORCPT <rfc822;sukrut.bellary@gmail.com> + 99 others); Mon, 27 Feb 2023 04:21:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbjB0JVa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Feb 2023 04:21:30 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2078.outbound.protection.outlook.com [40.107.21.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29A4010A94; Mon, 27 Feb 2023 01:20:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JmzmDRExqH3jHPl8T5B0OAiFK9NgxzK6X5IdejtHUY/ESoBWG/09Sh/oS9ao/xLjpyrXtNanzjGAqiJDOUgpAgXvBOBo9NkW8MInEq2JtWcjgW+EhOY6MkbcqBci3fokQNcG/KYq6mYJNVmbHU33eaRKdFcqWCGZEC7w7QRdrIL2jbNAHjPVcHPtST5VVqyQ0Of09cWSTd18AZBpRtpuUo1xLKeVLuSVSyKp0dX0aY04NZSz0LwSgZd4ROewf5OAWExyi8NHwymP3pks7QhVUvFuaneoRJTmGXLYyElZP9HMpB8flEQZBzz3tpWt7aA4n3Q2iEu2Zw4QbhdgfmhJEw== 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=kyMFWe+WU6YBlFtA1v37g8GOgrqQoyLOQFqVA6cuZM0=; b=NWNs6FzQB2ZC2Z4anNg+NAYy6hDy3nzn8WP/n0N7xPf+T/k+aKvyYwDwM3VhyfvVDeqH0ycalZG6FGkbG32f4jK808y0GEDzDVDxktCExK8lwVOTvayzidGJSIWeO3Od9XpvW8oIyLhcSwjQbQ9pf9kSFECnKy8o16UBLlKqqsD1Su4w1rI59JYvw/BJyI21v7c5cJAfYHcvTsoawpdwJJsOMMf3cxoNukRX9U/YKyaP0MzmNdoWNZ+AK59IGVNZEqwUNjJ74XzgezbEW02PeqXWoZqkMzX+4jc4//E856qRzwZQa9FnSO5vhIVtqUURYOaDCXPXqLdpd5yZVdLG2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kyMFWe+WU6YBlFtA1v37g8GOgrqQoyLOQFqVA6cuZM0=; b=gfsRq57wGlhfnGWPI8/OUjyEfdVjqLsVbVoOI5XTGVHvtbOrnrrX5ueaY82L0ZQIFFOKYeJMH8+kcWiE4t1AcwrROfdy5wP4+arJOd+SWigXeBQmwF0wXaq3EUs9/UJHQUt+xMWT33q7+81egw46XmnhT9YGLVlIHdmoUd5UX5o= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) by AM0PR04MB7138.eurprd04.prod.outlook.com (2603:10a6:208:19e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 09:20:05 +0000 Received: from VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::8562:affc:e0c:c610]) by VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::8562:affc:e0c:c610%7]) with mapi id 15.20.6134.029; Mon, 27 Feb 2023 09:20:05 +0000 From: Chancel Liu <chancel.liu@nxp.com> To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, perex@perex.cz, tiwai@suse.com, ckeepax@opensource.cirrus.com, patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Chancel Liu <chancel.liu@nxp.com> Subject: [PATCH v2 1/2] ASoC: dt-bindings: wlf,wm8524: Convert to json-schema Date: Mon, 27 Feb 2023 17:19:37 +0800 Message-Id: <20230227091938.1671416-1-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR04CA0206.apcprd04.prod.outlook.com (2603:1096:4:187::21) To VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB4222:EE_|AM0PR04MB7138:EE_ X-MS-Office365-Filtering-Correlation-Id: 09b87386-38f3-4eee-9dc1-08db18a3cfec X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gY2ZD4JVBd/DJVVCBdWs7k0XEWQ6g5AXEdINIzsbsN0DtkKI3YU64Gb4X0pAQGjyRxcbtpjOle0AP1VXBRFk/rcxN1Ihr5H6dSxH/q9nrFHzyemoJ2oFbM8WhPGJrn8mOlEHU4e2+bo7zHoimDWiyDow6PdqQRRSRB9+wVHR0MzEuhMdVChKREa0eIoBUMkVzdpCA/qbEL0b7Avkgf+7eLw1y0jv9Vu7R6bMgHqPOmXctTTroWwAyg49c0HIzTtPQDf6XeSZDJIhQad4RvIJm6Jb4XpUmZhOoI3WtvQIscwtJtRrenAWDU56dY/BaVRWhZ8ON6Qcd8gx/TgL2CFxas9LhqLH9eiMsNFUPaOik+N76l9yMyNwvbqJGx5jToAVLLtpADQb8dMw1y5bTSInNy73vp3KdDpDN3WiNSnf6D9jmwglyEQUFJ86Etl0B8AzsY6rB8y8igBRg5BpkAUCyDBHEyuarnOfPDanXJI0EpxzJT0OkWd8dTkHaGLtI4R7Iyy0ohu3g3jizTrJyaykpd2BBhjQYpNJdvtdZkRzYdTc9MSBZizW+lVf8bz1p969lUm79RD3OSZzeVc0vahxrunvByI0U9C4JO4Mq0Fz7WlCNjjh3snzWCLreNmyqiGqeHSqGbXv+XFp/UA7atcJGoznQIPLf58bSnzyGh212XemvWe6uSm7FqFhO2JlP6PmsWY3Zp29kdpdY780R6TuWENwk4sqVLx4xb62p2xZxBDKES4d4pakZRQBtpfr+UYU X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB4222.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(376002)(39860400002)(366004)(346002)(396003)(136003)(451199018)(478600001)(52116002)(6486002)(966005)(2616005)(186003)(1076003)(26005)(316002)(6506007)(6512007)(6666004)(66556008)(66476007)(66946007)(83380400001)(8676002)(4326008)(41300700001)(7416002)(44832011)(5660300002)(8936002)(38350700002)(38100700002)(86362001)(921005)(36756003)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xU39zIAQSlpwcdR1FCJ40QRwYCVH9DtTYNentoEjDlxUnn/upv2mohyIP6W1JWWPzjnD3yNtbxnzYxG/+KoCyGaVDQWGkG/LQ/PTZtPHTuIkZTGMlQEf/SJ1bCLkcu1v8zkAuMIsWV3YhGixvq6vWawQP/fJmIoYMf+9g0tvvmTCNB/ZiRE8jX6CYwR/4I8FyDM0QHc4Mm//onCD5NrW+nAG72kzt0lf92NV625Dlyd8gI/Ppt1wT8NLUO2F7KtYT8hnOmGHAWTeV7c2Xspn6Cw2nsVvnPXBq2JENYQidGzSLQE5TiHmHzxULlzl5GXrSXljvepnxSzhMwexO21PJ+6krQtRmDCPENqmyRMbZFccrXKO+owGsxW+EXGB5m8ZZj1nj98UEWzspJpz1NzXtQ9WddvFjgFhuS+vK1Wi0m4qqcksGuse+RONPaNGsFBP+bYne+7vVuTl3gE+6qotPAZp1V60FdI7e0Zkr5QZKmKzIknAto1Nu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8yyqXqDEO8UW5W X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09b87386-38f3-4eee-9dc1-08db18a3cfec X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4222.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 09:20:05.2683 (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: h6YVBHLlVTdsVjywyw3eifwBiSs9QMIjxWrseNjeqFBn9vldk+f3OLmhEC5iYrmOrddLYfISVb8r30x2qPBfmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB7138 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758976102099277973?= X-GMAIL-MSGID: =?utf-8?q?1758976102099277973?= |
Series |
[v2,1/2] ASoC: dt-bindings: wlf,wm8524: Convert to json-schema
|
|
Commit Message
Chancel Liu
Feb. 27, 2023, 9:19 a.m. UTC
Convert the Wolfson WM8524 24-bit 192KHz Stereo DAC device tree
binding documentation to json-schema.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
---
.../devicetree/bindings/sound/wlf,wm8524.yaml | 40 +++++++++++++++++++
.../devicetree/bindings/sound/wm8524.txt | 16 --------
2 files changed, 40 insertions(+), 16 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8524.yaml
delete mode 100644 Documentation/devicetree/bindings/sound/wm8524.txt
Comments
On 27/02/2023 10:19, Chancel Liu wrote: > Convert the Wolfson WM8524 24-bit 192KHz Stereo DAC device tree > binding documentation to json-schema. > > Signed-off-by: Chancel Liu <chancel.liu@nxp.com> > --- > .../devicetree/bindings/sound/wlf,wm8524.yaml | 40 +++++++++++++++++++ > .../devicetree/bindings/sound/wm8524.txt | 16 -------- > 2 files changed, 40 insertions(+), 16 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8524.yaml > delete mode 100644 Documentation/devicetree/bindings/sound/wm8524.txt > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Mon, Feb 27, 2023 at 05:19:37PM +0800, Chancel Liu wrote: > Convert the Wolfson WM8524 24-bit 192KHz Stereo DAC device tree > binding documentation to json-schema. I've queued this, no need to resend.
On Mon, 27 Feb 2023 17:19:37 +0800, Chancel Liu wrote: > Convert the Wolfson WM8524 24-bit 192KHz Stereo DAC device tree > binding documentation to json-schema. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: dt-bindings: wlf,wm8524: Convert to json-schema commit: 5ddcf9768f7a15da997259038c16a9e00c06aa87 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml b/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml new file mode 100644 index 000000000000..4d951ece394e --- /dev/null +++ b/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8524.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Wolfson WM8524 24-bit 192KHz Stereo DAC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8524 + + "#sound-dai-cells": + const: 0 + + wlf,mute-gpios: + maxItems: 1 + description: + a GPIO spec for the MUTE pin. + +required: + - compatible + - wlf,mute-gpios + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + wm8524: codec { + compatible = "wlf,wm8524"; + wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + }; diff --git a/Documentation/devicetree/bindings/sound/wm8524.txt b/Documentation/devicetree/bindings/sound/wm8524.txt deleted file mode 100644 index f6c0c263b135..000000000000 --- a/Documentation/devicetree/bindings/sound/wm8524.txt +++ /dev/null @@ -1,16 +0,0 @@ -WM8524 audio CODEC - -This device does not use I2C or SPI but a simple Hardware Control Interface. - -Required properties: - - - compatible : "wlf,wm8524" - - - wlf,mute-gpios: a GPIO spec for the MUTE pin. - -Example: - -wm8524: codec { - compatible = "wlf,wm8524"; - wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; -};