Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp581119rdh; Wed, 14 Feb 2024 05:58:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWwE9EjRXI4xmhpbJOdEzhMZOoXl3pkgysehg0VP15+ihf9V7OyokU5waGlVBxAvi1KQihDJ/aLAWN06UGWOg12mYgzRNggk474kwQv9g== X-Google-Smtp-Source: AGHT+IEVQpSLJf5KOlHJZ6GckRRCHwsdhb+bGMEWKxlkwDXyp44Qc7/dV95iBj39G2UKT8uyRf1b X-Received: by 2002:a05:6402:3d7:b0:561:9652:505 with SMTP id t23-20020a05640203d700b0056196520505mr1926686edw.25.1707919116615; Wed, 14 Feb 2024 05:58:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707919116; cv=pass; d=google.com; s=arc-20160816; b=SmX3r/bCw1RdjbDXqjbV4A3xyRb2B/CUirgw80r0p53snR7OLpGuEv+w1Hy+pW+lna wPnx4P/vBbnDaQlCQwd17hVvOwu3N4sQOX/gsq9e2+CIZwR79cTZf1lJF2vQ4GWwJgEM wB6KfmEiZ4Xsa7ctiCbi6fFOF/5GFAyf2taVfeI+gL1EYo9fD8oPAKxCVZwpKENluY2A Z7RN1CYn8YnMym8w5VJD0P/fQqZgQWsubWdikjTH6OuRgkWgms7WVj0+Jxe1NXTYbLyJ huYTagh66yHyxIYa4a68R2l+wUB27imKjxN6wlq/v7naqlFHUZR5EZGlIsVXSPA6xoDX Hv1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TbbvB/eOaZdgr1wqqZsc5fjZ1MIjqM44qb/KSDlyKUI=; fh=IVg7mxcwmWkn7RYlHP8GXzXDbTCQL/zh3l30kCZHsJU=; b=gZ+UN8EA21FP+XxzgGHDqMMsMKUtyHersX1d6upgsoqR4a0QY4NiRYiXn3IeQh7knY Kj4tU+h0Me6YxVgwAFN9043OKIKD4xJBONfDiKgPSVE+O+jvc3CpsZ5bOXlhV1iA30ss uJCgMWQeGLZughEoqHR1Xb2vWKGrZa4DoepRGGQdwmdgf18FMoCfpfjt4+vhZ6KuwBKB VBYH2mkuOF6infjQC7JWBvo0GM93sfTPcD+nfspV+K09Bt1esrPZw9h9u5zAMRBQsI6H kuyIJBL+zE8Gr70MqxtSy/hDVypIqwnFV8cDcCD4fbWxSu/ClMzMZ6wQf5WUxQkzn4RT 0Tvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PpH00fCG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWR236IJcHQp3JV0Rrc1LyUB6qq3XHVc25LXzCdpmlMthTLl/Prpm5gynnQBp8bh4qqnFipUsVh/3DEg7FnyEK0Z2DDAILXDULumM4lCQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a17-20020aa7d751000000b0055fabf808cbsi4794493eds.361.2024.02.14.05.58.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 05:58:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PpH00fCG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4C3621F23567 for ; Wed, 14 Feb 2024 13:58:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA37454BF3; Wed, 14 Feb 2024 13:58:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PpH00fCG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 189C354BC7; Wed, 14 Feb 2024 13:58:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707919107; cv=none; b=jmeVoNxjfCZLYXl2AsmRi04KyZNPFc8T67QPc5H1TzPTzbYrx1ejgWxkFJoTP3GBJtVwZqayngkhfe6Xos1ks+qrPfxycNSJecp48kSJDqvEMczKoDZrvxViYukMNqEq2pNNqSEACAozv9sgbsiSEkVRRJEZV55hwnBlgkNFQVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707919107; c=relaxed/simple; bh=D4otYk0l4L8666y0XkXrWB2HS/+cq+srK0Sn0rtCIgk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lQaW1NHpJ08xR7qk7ykMDWprq/MBrenU5Qc0tPxSWnFsu7nT1jrlyym56w87PcE6kX1j/jEd5Oy/ZzuHWWsTO5ti4C5lNkA3XimI+9UamO3GRT7H+CzhZF44YGSo0+YauP9KLX7nw1d/JBKtNhrCeLCw1WTs+Q5rC6ygv7tdRlg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PpH00fCG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4735BC433F1; Wed, 14 Feb 2024 13:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707919106; bh=D4otYk0l4L8666y0XkXrWB2HS/+cq+srK0Sn0rtCIgk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PpH00fCGZkawUyAQTGR2TJxby/VMmedAoH91WkBzTCBJPBA9L9ngKEcwTbQB1WeOn Vm+B+wi8IE+rNXNnlBUb+MngbMOaFL/yhsgGY/K6mWYtahg/XAh2jAgUrOx3356qgS yPXSEGPFbdums4li05nbf2yeQjT4rY+RxFT+DKgqTpEWBWeMZmumjkjcB2HG4ahyQ6 7Ih/Dz/EfauKYuTUaObB3U+1wMhWe0zyYG4+oU/cGCE9deNCUP3i9ds7ici6u/zOHJ XaGeyZGm71QkHVZiawpTCIC/qNECvfNzq9m2fpUjKqXGeuiEqBq++0UBf9wfrp8WZH jv9s8oPPfPk7Q== Date: Wed, 14 Feb 2024 07:58:24 -0600 From: Rob Herring To: Balakrishnan Sambath Cc: Claudiu Beznea , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: sound:atmel-at91sam9g20ek: convert bindings to json-schema Message-ID: <20240214135824.GA692740-robh@kernel.org> References: <20240214-at91sam9g20ek-wm8731-yaml-v1-1-33333e17383b@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240214-at91sam9g20ek-wm8731-yaml-v1-1-33333e17383b@microchip.com> On Wed, Feb 14, 2024 at 12:10:06PM +0530, Balakrishnan Sambath wrote: > Convert atmel-at91sam9g20ek-wm8731-audio DT binding to yaml > based json-schema.Change file name to match json-scheme naming. > > Signed-off-by: Balakrishnan Sambath > --- > .../bindings/sound/atmel,at91sam9g20ek-wm8731.yaml | 60 ++++++++++++++++++++++ > .../sound/atmel-at91sam9g20ek-wm8731-audio.txt | 26 ---------- > 2 files changed, 60 insertions(+), 26 deletions(-) > > diff --git a/Documentation/devicetree/bindings/sound/atmel,at91sam9g20ek-wm8731.yaml b/Documentation/devicetree/bindings/sound/atmel,at91sam9g20ek-wm8731.yaml > new file mode 100644 > index 000000000000..f6330707fe1b > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/atmel,at91sam9g20ek-wm8731.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/atmel,at91sam9g20ek-wm8731.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel at91sam9g20ek wm8731 audio complex > + > +maintainers: > + - Balakrishnan Sambath > + > +properties: > + compatible: > + const: atmel,at91sam9g20ek-wm8731-audio > + > + atmel,model: > + $ref: /schemas/types.yaml#/definitions/string > + description: The user-visible name of this sound complex. blank line between DT properties > + atmel,audio-routing: > + $ref: /schemas/types.yaml#/definitions/non-unique-string-array > + description: A list of the connections between audio components. > + minItems: 2 No max? > + items: > + enum: > + # Board Connectors > + - "Ext Spk" > + - "Int MIC" > + > + # CODEC Pins > + - LHPOUT > + - MICIN > + atmel,ssc-controller: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: The phandle of the SSC controller > + atmel,audio-codec: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: The phandle of WM8731 audio codec > + > +required: > + - compatible > + - atmel,model > + - atmel,audio-routing > + - atmel,ssc-controller > + - atmel,audio-codec > + > +additionalProperties: false > + > +examples: > + - | > + sound { > + compatible = "atmel,at91sam9g20ek-wm8731-audio"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pck0_as_mck>; > + atmel,model = "wm8731 @ AT91SAMG20EK"; > + atmel,audio-routing = > + "Ext Spk", "LHPOUT", > + "Int MIC", "MICIN"; > + atmel,ssc-controller = <&ssc0>; > + atmel,audio-codec = <&wm8731>; > + };