From mboxrd@z Thu Jan 1 00:00:00 1970 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=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 38005C4338F for ; Fri, 23 Jul 2021 21:32:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1683060E95 for ; Fri, 23 Jul 2021 21:32:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232129AbhGWUwV (ORCPT ); Fri, 23 Jul 2021 16:52:21 -0400 Received: from mail-il1-f175.google.com ([209.85.166.175]:37822 "EHLO mail-il1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231350AbhGWUwU (ORCPT ); Fri, 23 Jul 2021 16:52:20 -0400 Received: by mail-il1-f175.google.com with SMTP id l11so2828060iln.4 for ; Fri, 23 Jul 2021 14:32:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=f/WiKoWyV9QptWIwMFMCYOpe69XG23M9PXTcI/Bn9Hs=; b=Lolq8xvsbyu8oLnhbsirGw3c2cQC4RS9xr+ERKx3jJsfuDcee+e+XbJ7Dkg9EYYG67 AxONSvCKZfbrFNsilJwqdXtzBEQ0nHYxDOrxsxXlN6VMACtSTJZ8pZbd06VqOv4K+Nxv DvRUYMkGuGzxUAt3Bi5/JE79nBVdVEamQGFBI0UFlRbFQfNk/id40D4/cZcstdk4RLEw z1jegM+fiMCCZl61GEvAHCunoI9EKqi5PS1H9dSz51zA2iByeTUV22SGs2o2JQnsxevC 51vR9tvU3eDBEdNAlpJPEkKLW3V9+jVOEr8tyXgtLDKEN8E4x1keXf2AueICgBzjNY4f Fe6A== X-Gm-Message-State: AOAM532nE5GeyDbGODxNdM4Ty6x+BplkyHWLiEBppYG9mCK7VtmuHeCW b4DBRIHl2+gaQfBAkMy09A== X-Google-Smtp-Source: ABdhPJwypJ9szGQNGPcy/ytm0d1Lgd/fJuURL2NlVTYGgoc2gbp1KoH5R5FUZ/tVzHOOxfFZHWQIaw== X-Received: by 2002:a92:d10c:: with SMTP id a12mr4885234ilb.100.1627075973524; Fri, 23 Jul 2021 14:32:53 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id w8sm16224487ill.50.2021.07.23.14.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 14:32:52 -0700 (PDT) Received: (nullmailer pid 2625227 invoked by uid 1000); Fri, 23 Jul 2021 21:32:51 -0000 Date: Fri, 23 Jul 2021 15:32:51 -0600 From: Rob Herring To: Maxime Ripard Cc: Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, Frank Rowand , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, alsa-devel@alsa-project.org, Liam Girdwood , Mark Brown Subject: Re: [PATCH 01/54] ASoC: dt-bindings: Add WM8978 Binding Message-ID: <20210723213251.GA2622319@robh.at.kernel.org> References: <20210721140424.725744-1-maxime@cerno.tech> <20210721140424.725744-2-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210721140424.725744-2-maxime@cerno.tech> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Jul 21, 2021 at 04:03:31PM +0200, Maxime Ripard wrote: > Even though we had the wm8978 driver for some time and a number of > boards using it already, we never had a binding for it. Let's add it > based on what the driver expects and the boards are providing. > > Cc: alsa-devel@alsa-project.org > Cc: devicetree@vger.kernel.org > Cc: Liam Girdwood > Cc: Mark Brown > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/sound/wlf,wm8978.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > > diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml b/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > new file mode 100644 > index 000000000000..6761380261e3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/wlf,wm8978.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Wolfson WM8978 Codec Device Tree Bindings > + > +maintainers: > + - Mark Brown No one from Wolfson cares about this device? Otherwise, Reviewed-by: Rob Herring > + > +properties: > + '#sound-dai-cells': > + const: 0 > + > + compatible: > + const: wlf,wm8978 > + > + reg: > + maxItems: 1 > + > + spi-max-frequency: > + maximum: 526000 > + > +required: > + - '#sound-dai-cells' > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + codec@0 { > + #sound-dai-cells = <0>; > + compatible = "wlf,wm8978"; > + reg = <0>; > + spi-max-frequency = <500000>; > + }; > + }; > + > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + codec@0 { > + #sound-dai-cells = <0>; > + compatible = "wlf,wm8978"; > + reg = <0>; > + }; > + }; > + > +... > -- > 2.31.1 > > From mboxrd@z Thu Jan 1 00:00:00 1970 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=-14.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 BBEE6C4338F for ; Fri, 23 Jul 2021 21:33:59 +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 926D560F23 for ; Fri, 23 Jul 2021 21:33:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 926D560F23 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 578031751; Fri, 23 Jul 2021 23:33:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 578031751 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1627076036; bh=ftKMPQV5BB8o6LM0or3IZ3j+tC46k/ytr94AxMTAjs0=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ciImNlDCeoEU+6BLGPK/wxydUnhUBxCNO8mOfEBeH9WMHK4g7sJXehthQ+HUuEuYL NIN6M2e4C57XOO8q8coF6hD61lBurSlDmhKf8+64B2EfUndU4c+Rwu0TzNcZ3+kbxG FrSwVIxjs7OOKXV4Ew98+eyFhNvlILH/7tBsDlrM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E1B0DF804AB; Fri, 23 Jul 2021 23:33:05 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 59D51F804AC; Fri, 23 Jul 2021 23:33:04 +0200 (CEST) Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DA5E4F80086 for ; Fri, 23 Jul 2021 23:32:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DA5E4F80086 Received: by mail-il1-f169.google.com with SMTP id q18so2790364ile.9 for ; Fri, 23 Jul 2021 14:32:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=f/WiKoWyV9QptWIwMFMCYOpe69XG23M9PXTcI/Bn9Hs=; b=gnPTpPt/wGEn9/mmJq3AYtSLBfmrxC1Kn7Nd9xFJ6GcZzMf9DneIVkOPsgmEFgG0iw tPXBdVCznIt3jaCCU+bXmoVhuaW27OcIWA4IeYdkkqZqxURn3R+2SoXvkdtFfWy/H/YM iw//pdLSBFw2GYk4hRdQVRbTdXIDaq7T0IEdLDXA19ZZGII4aCOfoU86vX9b5T9g7or2 yqTAT90AEU7ObvjSkmNkNKasWN2BwJlIls6KDWP9YIhGvNGSQHmbhHF5itBYTuC+bkGV OULcsiBmcfM4Huwx2ZJ5bpVBWXIxROrqRAx5YB4dtGZ1GRZLkmf0ufsY44i3+IK8XaHk ch+Q== X-Gm-Message-State: AOAM530KNTmJl+OcUsBS2MKK8VBSaLP2CDRYeATTpc21P+ivyoescbJu LG31cJ73iyiHNknKRaXrkw== X-Google-Smtp-Source: ABdhPJwypJ9szGQNGPcy/ytm0d1Lgd/fJuURL2NlVTYGgoc2gbp1KoH5R5FUZ/tVzHOOxfFZHWQIaw== X-Received: by 2002:a92:d10c:: with SMTP id a12mr4885234ilb.100.1627075973524; Fri, 23 Jul 2021 14:32:53 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id w8sm16224487ill.50.2021.07.23.14.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 14:32:52 -0700 (PDT) Received: (nullmailer pid 2625227 invoked by uid 1000); Fri, 23 Jul 2021 21:32:51 -0000 Date: Fri, 23 Jul 2021 15:32:51 -0600 From: Rob Herring To: Maxime Ripard Subject: Re: [PATCH 01/54] ASoC: dt-bindings: Add WM8978 Binding Message-ID: <20210723213251.GA2622319@robh.at.kernel.org> References: <20210721140424.725744-1-maxime@cerno.tech> <20210721140424.725744-2-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210721140424.725744-2-maxime@cerno.tech> Cc: devicetree@vger.kernel.org, Jernej Skrabec , alsa-devel@alsa-project.org, linux-sunxi@googlegroups.com, Liam Girdwood , Chen-Yu Tsai , Mark Brown , Frank Rowand , linux-arm-kernel@lists.infradead.org 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" On Wed, Jul 21, 2021 at 04:03:31PM +0200, Maxime Ripard wrote: > Even though we had the wm8978 driver for some time and a number of > boards using it already, we never had a binding for it. Let's add it > based on what the driver expects and the boards are providing. > > Cc: alsa-devel@alsa-project.org > Cc: devicetree@vger.kernel.org > Cc: Liam Girdwood > Cc: Mark Brown > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/sound/wlf,wm8978.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > > diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml b/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > new file mode 100644 > index 000000000000..6761380261e3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/wlf,wm8978.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Wolfson WM8978 Codec Device Tree Bindings > + > +maintainers: > + - Mark Brown No one from Wolfson cares about this device? Otherwise, Reviewed-by: Rob Herring > + > +properties: > + '#sound-dai-cells': > + const: 0 > + > + compatible: > + const: wlf,wm8978 > + > + reg: > + maxItems: 1 > + > + spi-max-frequency: > + maximum: 526000 > + > +required: > + - '#sound-dai-cells' > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + codec@0 { > + #sound-dai-cells = <0>; > + compatible = "wlf,wm8978"; > + reg = <0>; > + spi-max-frequency = <500000>; > + }; > + }; > + > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + codec@0 { > + #sound-dai-cells = <0>; > + compatible = "wlf,wm8978"; > + reg = <0>; > + }; > + }; > + > +... > -- > 2.31.1 > > From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 EFC6FC4338F for ; Fri, 23 Jul 2021 21:34:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BB17760EB1 for ; Fri, 23 Jul 2021 21:34:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BB17760EB1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3mlVxIzrCqboIYgTtPVlabDCvPqC1ZQQDAGJFTCT83w=; b=2eLpMZZ+Bxg2Ta ayLeqERKLgIWMiHI3nxapMMRq0q+BaPLVfd7YiDDeHKYAjflEEMaBH/MNp425V/LejyFDDAm584DT 64arkNa1xIViXtB3MoNTBdbQ+k0QosIpco/tF6HKY0VvCXn9NyNLVVTg0+f7aL5/YPao+VFhZMjq6 Ee9Bczgq7DJC9MnRZPQGAA9TdiHuynDSkIVO56cRx/hmDc9hcv/shT1H5VyAJuU0SeyytCnTyL6cS YcwWX/uf5DDenMdxlPQMqaFl8TFSIYmGvkve/1nhHhRWgoJXNdSlZC23lvLDTXej9Fp+esBNPIuv8 NCSNN4FRuxmckvgXEYVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m72mv-005xiW-Tr; Fri, 23 Jul 2021 21:32:58 +0000 Received: from mail-il1-f169.google.com ([209.85.166.169]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m72ms-005xi9-HM for linux-arm-kernel@lists.infradead.org; Fri, 23 Jul 2021 21:32:56 +0000 Received: by mail-il1-f169.google.com with SMTP id z3so2775635ile.12 for ; Fri, 23 Jul 2021 14:32:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=f/WiKoWyV9QptWIwMFMCYOpe69XG23M9PXTcI/Bn9Hs=; b=c1jvnm+ayNJ8D6I8RKoLO04ORYCU4a1S13euQ6b44nhGB8NVTkIaIiEXhHr6ZLD3Aa tp7sVQDIj9gmaMLDhaw0bfzUudR/wcDCFQgDWCb4yzba2kgw8WL6koXqo8aM5l9dL5/j qbBGNHK5GGrxSd2L5Ed7kxvkT68JgbjRjOaZHfBYyEmCSdnG4d2wfEu4Sg7ynsPoxnPo EqbkqLUw8glaJ6/tk1MA894aS2q4/H8ykVGDG7tKzksG006vCKNl4ZqXMmQbLBba5bmc KShVBDH0YWQwfnA9QOWqtg5TBdkV7xtLB+Ao+9XIaDf9sPA1ZVNgeHsgkM2cXmgGdd+T 3/qA== X-Gm-Message-State: AOAM5333efombAiZBDC579VhcHjxsHtFTpdrum/ulwMAC8uIrXfIBcGv TU6Q8Kf6p5QvQUa0eHhmHg== X-Google-Smtp-Source: ABdhPJwypJ9szGQNGPcy/ytm0d1Lgd/fJuURL2NlVTYGgoc2gbp1KoH5R5FUZ/tVzHOOxfFZHWQIaw== X-Received: by 2002:a92:d10c:: with SMTP id a12mr4885234ilb.100.1627075973524; Fri, 23 Jul 2021 14:32:53 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id w8sm16224487ill.50.2021.07.23.14.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 14:32:52 -0700 (PDT) Received: (nullmailer pid 2625227 invoked by uid 1000); Fri, 23 Jul 2021 21:32:51 -0000 Date: Fri, 23 Jul 2021 15:32:51 -0600 From: Rob Herring To: Maxime Ripard Cc: Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, Frank Rowand , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, alsa-devel@alsa-project.org, Liam Girdwood , Mark Brown Subject: Re: [PATCH 01/54] ASoC: dt-bindings: Add WM8978 Binding Message-ID: <20210723213251.GA2622319@robh.at.kernel.org> References: <20210721140424.725744-1-maxime@cerno.tech> <20210721140424.725744-2-maxime@cerno.tech> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210721140424.725744-2-maxime@cerno.tech> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210723_143254_625875_25889E40 X-CRM114-Status: GOOD ( 21.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 21, 2021 at 04:03:31PM +0200, Maxime Ripard wrote: > Even though we had the wm8978 driver for some time and a number of > boards using it already, we never had a binding for it. Let's add it > based on what the driver expects and the boards are providing. > > Cc: alsa-devel@alsa-project.org > Cc: devicetree@vger.kernel.org > Cc: Liam Girdwood > Cc: Mark Brown > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/sound/wlf,wm8978.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > > diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml b/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > new file mode 100644 > index 000000000000..6761380261e3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/wlf,wm8978.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/wlf,wm8978.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Wolfson WM8978 Codec Device Tree Bindings > + > +maintainers: > + - Mark Brown No one from Wolfson cares about this device? Otherwise, Reviewed-by: Rob Herring > + > +properties: > + '#sound-dai-cells': > + const: 0 > + > + compatible: > + const: wlf,wm8978 > + > + reg: > + maxItems: 1 > + > + spi-max-frequency: > + maximum: 526000 > + > +required: > + - '#sound-dai-cells' > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + codec@0 { > + #sound-dai-cells = <0>; > + compatible = "wlf,wm8978"; > + reg = <0>; > + spi-max-frequency = <500000>; > + }; > + }; > + > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + codec@0 { > + #sound-dai-cells = <0>; > + compatible = "wlf,wm8978"; > + reg = <0>; > + }; > + }; > + > +... > -- > 2.31.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel