Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4488240rwl; Mon, 3 Apr 2023 05:53:15 -0700 (PDT) X-Google-Smtp-Source: AKy350bbp8wisr42MZZhKQ74La+87P7aJ0wMKukOILRh12nBRLRV74J83NkgccuqGnaufVqzxwAI X-Received: by 2002:a17:902:f353:b0:19a:a267:f16c with SMTP id q19-20020a170902f35300b0019aa267f16cmr29721928ple.31.1680526394938; Mon, 03 Apr 2023 05:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680526394; cv=none; d=google.com; s=arc-20160816; b=RRSSB/dwCB3+iwk73FmftEQ0XrPYezQMHP/Lax3z89Wb0CctbYxjpPF0yD8k79WS/X VzA5CLCNpmoRXNF8pNqi40nsDMNfIkCo30HI6CccKaSnq4Vd8/FNSPVRO7O5n+59d+DD RhOEKzzIfrRP3MVT7xg/u33fYLLpOj985SNj2Fj6JEoHk368yvME3hEvwo4mDaqyA+DN NGxcnv+Ua7KmKNYWmqN2kOHMa1hZ7bJS1UpHU+WaVNRTKS3CspEmM7ngdoAoh+ao4YpV ILF9PRcCYFJxvWkN1NYY528Gye9F+qY43LxFEmsPrPjkYseGmA007z3ZfNsAEwGESxvI D38A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hBlBY9aCp2fwzyEA3oA1ESp/NxFfdWBUjHz7ismdq/M=; b=zDLebFRQ9tNX04j0R1fY7Jb9ad7r/U+ZtPS4oYeny2tY85rvEim6q1aF/+MdsbEj1F WiHOR/0+wXAAvhUdWnDPVmfRw/KT3d0XQtafvrUrj7+ozM2jWOFR04IaoAV+MHU5+O6X Kmo5XaLmnMnFppLDeBt+Pnp8cm+vfgo7v68lg6HUsmMsGCeItMkVRcYtF//cq0PA4HiE 3Lq5TgLrEBdZm0eqU8X0xvnm6M0EAEVf+X1tOAzPWCC1gk8nvL+hx3H5ALZb2vYc1ObS ijYiJrXk3FKw9x9UDhOdMUOhGiq12+L8w91k0FDyQsfFJMFSYfNQBYoOvwEEu72iw6fZ S/kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZgDUT7kA; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a170902ac8800b0019ca54dd2cesi7858972plr.467.2023.04.03.05.53.03; Mon, 03 Apr 2023 05:53:14 -0700 (PDT) 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=@linaro.org header.s=google header.b=ZgDUT7kA; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232422AbjDCMvZ (ORCPT + 99 others); Mon, 3 Apr 2023 08:51:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232381AbjDCMvW (ORCPT ); Mon, 3 Apr 2023 08:51:22 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BD6D12BC0 for ; Mon, 3 Apr 2023 05:51:21 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id w9so116900739edc.3 for ; Mon, 03 Apr 2023 05:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680526280; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hBlBY9aCp2fwzyEA3oA1ESp/NxFfdWBUjHz7ismdq/M=; b=ZgDUT7kABXnlv7ZQy4O22yoBe5x0gdxIJSPzzUUMzlIO5weoHEy2JCOq5RW2GY5rbq 5asiMAUFK8koBo2l1hA312FmopSKyS7g5ZyXWL6olYKt9ZhyzYRvUsMFwKcNWkfQuSHv 8z2k+U3SIQiKC4viWXe1fDRNbOkwQMpew12eeiUQh944BJlypM6VsggRjGZERoQg2mUo AdxZf/G1WNImdAEtsy4nPnkVH4j+eOaLhR5km+LMMoeSABMjdKxt8x85oAAVq08zGJZL v4NmXtYZiJIQMrTP3jrj28JF/FfH+xWjZDgMDeLtBVbcO8W0p20iylXL2ru3Ry3/hC1k CxeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680526280; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hBlBY9aCp2fwzyEA3oA1ESp/NxFfdWBUjHz7ismdq/M=; b=3+SL4dvD9WoHAHjSfAP5ma0gPHe1SKu6fRggCWNwDtSzaScQ3kS0yqoMccACwPB2xz kVE+e0bUctaxc17A6xH+FMF3Pie6+5EevveoDWwa8XRKMD505ESx+CDzCgWeoOuzvd64 knG/R5myPIoZYM7nv+tCM9z5mitj2qzCcBLGgaaP44oQS2m+a0KtysfoTFXX8BBUn+x9 TslJdG8wZY/bkw/ZD9wNGaJc+tT7l6NLvdZIxU6JPpHqD3HDtAqNxnTN+9m6URsd6/TS TIT29CekEqagmmoxK6yfekPOJha1cECr3JJZuYSevl9TL4D/IhN5vg6PyFxqInxLXNAF oeJg== X-Gm-Message-State: AAQBX9dT+dMeDlPdqfUiY+UoijFLjhwgR79xTWeLwgQhYQ9wBF6w2OBc K2RAimGYqZxp9/0AthT2HIRUfA== X-Received: by 2002:aa7:c98b:0:b0:4cd:e84d:1e74 with SMTP id c11-20020aa7c98b000000b004cde84d1e74mr39732285edt.0.1680526279821; Mon, 03 Apr 2023 05:51:19 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:ae90:d80:1069:4805? ([2a02:810d:15c0:828:ae90:d80:1069:4805]) by smtp.gmail.com with ESMTPSA id n19-20020a509353000000b004c09527d62dsm4621217eda.30.2023.04.03.05.51.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Apr 2023 05:51:19 -0700 (PDT) Message-ID: Date: Mon, 3 Apr 2023 14:51:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2] ASoC: dt-bindings: wm8510: Convert to dtschema Content-Language: en-US To: Saalim Quadri , lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, daniel.baluta@nxp.com Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230403105237.3854-1-danascape@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230403105237.3854-1-danascape@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On 03/04/2023 12:52, Saalim Quadri wrote: > Convert the WM8510 audio CODEC bindings to DT schema > > Signed-off-by: Saalim Quadri > --- > Changes: > V1 - V2: Fixup issues mentioned by Krzysztof So what changed? > Add SPI and I2C examples Why? > > .../devicetree/bindings/sound/wlf,wm8510.yaml | 52 +++++++++++++++++++ > .../devicetree/bindings/sound/wm8510.txt | 18 ------- > 2 files changed, 52 insertions(+), 18 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8510.yaml > delete mode 100644 Documentation/devicetree/bindings/sound/wm8510.txt > > diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8510.yaml b/Documentation/devicetree/bindings/sound/wlf,wm8510.yaml > new file mode 100644 > index 000000000000..418a82f65531 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/wlf,wm8510.yaml > @@ -0,0 +1,52 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/wlf,wm8510.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: WM8510 audio CODEC > + > +maintainers: > + - patches@opensource.cirrus.com > + > +allOf: > + - $ref: dai-common.yaml# > + > +properties: > + compatible: > + const: wlf,wm8510 > + > + reg: > + maxItems: 1 > + > + "#sound-dai-cells": > + const: 0 > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + codec@0 { > + compatible = "wlf,wm8510"; > + reg = <0>; > + }; > + }; > + > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + codec@1a { Drop second example. It is the same. Best regards, Krzysztof