Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3994404rwe; Tue, 30 Aug 2022 02:40:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR7V9LSSKtitJtzs6ws8c8Jz/DDNev6FqT5GvzvnP5V0FSAejZK5Kaw2dGgTjQqMvEG2kMDG X-Received: by 2002:a17:906:5d08:b0:734:bf6a:6309 with SMTP id g8-20020a1709065d0800b00734bf6a6309mr16027341ejt.516.1661852450567; Tue, 30 Aug 2022 02:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661852450; cv=none; d=google.com; s=arc-20160816; b=vh9koKgldohC803iFpPhJHuyvOOGltyzNp1zxuvHWPIyBlnSI5iL105MTnSqB9nnHL NK87p/SddTO+Aga19GvpKNc/Eif5KQbAikyOsNqTHTEMZgJg7kwNsQMN5vK2A+h7Pe7W 3nNEiyVSWY1OhV5cuX5gIY1LWI7CEXJXlhwO8ReFmVuv25arNmiwawlUbL0Q+nt6ggS/ B9CjJCDitEs5MIle4MvX3vad+dx/BmNlrxMCHpmGJi5/ztlGJbqeeVsa9apQGWDyhbSt zJwwCBNihnEUD2QPsYUZFHp9WygNAz9JFjIDC6DUUKqEVTV/U83/ymgorBLQITEWoki/ aCFA== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=FmzIDD4Pa7+MmcfVJAwljvGaSQDMssbd6GqQpiHG2xs=; b=TQMFdcVw9bmO5dtoFKdQEGVIHmq6ugOUFVfKhAne3gvg8q5c96ZXlZhzzaK9kP8pLj QqVJqMoOmpRVDYWpYeRbgZXyap89VGEoGZzD6CF3TvlTUWYCFmh/zyaytOp7a9LvHf7A Do73WlS0/vt67Ciup3Y+fe/5pXzItdXesvKQWwfThOFCgoY9y5d5qtNMoM8/q/wy71e/ lVEvfDfjgHuS021QYZE0kQ0km7S/9r0JD/0E2pVm/TYuq+227M7aifk7cdLYGOCChvG/ Fjgt7SZdF9PUBtXXki2zqTyJqtzNJ+SeuIc4eNtwWOsswXZB6tgmA6Np4gID3in5iNUj 2OnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="l/RBizF6"; 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 y9-20020a170906070900b0073dd3b9b271si7176873ejb.316.2022.08.30.02.40.25; Tue, 30 Aug 2022 02:40:50 -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="l/RBizF6"; 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 S230045AbiH3J2s (ORCPT + 99 others); Tue, 30 Aug 2022 05:28:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231854AbiH3J2h (ORCPT ); Tue, 30 Aug 2022 05:28:37 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13848D99C0 for ; Tue, 30 Aug 2022 02:28:36 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id z6so14674434lfu.9 for ; Tue, 30 Aug 2022 02:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=FmzIDD4Pa7+MmcfVJAwljvGaSQDMssbd6GqQpiHG2xs=; b=l/RBizF6kzePEfcYyZqRb6nMeIozE3Plc6MK0BE1z9FSW6eEoTADB7lH50rjVtKVQq aTqmCKBtnm6wV5Kxht5W+Ewwq+uFCzHlcHlgGiTPkWOJdSETsWYLh61oYlnGg5owVOt4 gTgRcao62+Di9UQGpr8ywKs/U7T16LOlJPS3gfiRUCGgQ1t+mGhWOrabo3LCkRdrlRhV LGOm4OsQsPsCD1yoyrc1650LghtiO8wVRy/t2PRKP/bbZ8GUCFO4sCcWknY7m03qo9ei zhMZEP9GT1iqij0GtA82IvCC+xLVClsJgUcZzL92rTS+HteejrYHKWXXwNnafYTLpewu Yppg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=FmzIDD4Pa7+MmcfVJAwljvGaSQDMssbd6GqQpiHG2xs=; b=NDDrRz+Gyb+v+TDgbN/PV/0yB2Dpb5HaudIEms1qLNWASUSEJhFHJwIKcFgiG8nW8Z l1sbtf0rKHLIt/d4Cf8up1Ef//ogeioVlGqJcF74ZzBjK0wetP3S4rEiMuJOLgi13Ngu 4wBAlLp071UIY9ul98tTATk3GVDMBFguTLlY2JPrTUQLnpb6xGC21b2WWDqQ1V04bz9c eXVNwlAqSbP6nigTzgA2C6fwyoqFBZFO2vw08lQam0kbnbraXKtUTqGYe1IugbAJxJxT sGQi3jm6WfttycOuznoZ80G+ZDXQ3R4mUpuowbvAxpcnyPqT44W1NEVqcltkm3Y2WpN0 aIXg== X-Gm-Message-State: ACgBeo0XgejvRGmIJEXgGiFEvDYsvL5UVXYv7E+dlwfgG7gOTmZZ0ALh abSdBexg119wGm+F6BqdiOLJHQ== X-Received: by 2002:a05:6512:10d4:b0:492:ede1:ec75 with SMTP id k20-20020a05651210d400b00492ede1ec75mr7014503lfg.146.1661851713946; Tue, 30 Aug 2022 02:28:33 -0700 (PDT) Received: from [192.168.28.124] (balticom-73-99-134.balticom.lv. [109.73.99.134]) by smtp.gmail.com with ESMTPSA id t28-20020a056512031c00b00492e4c97ca3sm85446lfp.246.2022.08.30.02.28.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Aug 2022 02:28:33 -0700 (PDT) Message-ID: Date: Tue, 30 Aug 2022 12:28:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH 1/5] ASoC: dt-bindings: fsl_rpmsg: Add a property to assign platform driver name Content-Language: en-US To: Chancel Liu , lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, shengjiu.wang@nxp.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, linuxppc-dev@lists.ozlabs.org References: <20220829075144.2405000-1-chancel.liu@nxp.com> <20220829075144.2405000-2-chancel.liu@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220829075144.2405000-2-chancel.liu@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On 29/08/2022 10:51, Chancel Liu wrote: > Add a string property to assign ASoC platform driver name. It also > represents the rpmsg channel this sound card sits on. This property > can be omitted if there is only one sound card and it sits on > "rpmsg-audio-channel". > > Signed-off-by: Chancel Liu > --- > .../devicetree/bindings/sound/fsl,rpmsg.yaml | 34 +++++++++++++++++-- > 1 file changed, 32 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > index d370c98a62c7..35e3cb9f768b 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > @@ -11,8 +11,11 @@ maintainers: > > description: | > fsl_rpmsg is a virtual audio device. Mapping to real hardware devices > - are SAI, DMA controlled by Cortex M core. What we see from Linux > - side is a device which provides audio service by rpmsg channel. > + are SAI, MICFIL, DMA controlled by Cortex M core. What we see from > + Linux side is a device which provides audio service by rpmsg channel. > + We can create different sound cards which access different hardwares > + such as SAI, MICFIL, .etc through building rpmsg channels between > + Cortex-A and Cortex-M. > > properties: > compatible: > @@ -85,6 +88,14 @@ properties: > This is a boolean property. If present, the receiving function > will be enabled. > > + fsl,platform: > + $ref: /schemas/types.yaml#/definitions/string > + description: | > + A string property to assign ASoC platform driver name. No, this is not a property of hardware. Naming of some drivers in some systems does not fit DTS and bindings. > It also > + represents the rpmsg channel this sound card sits on. This property > + can be omitted if there is only one sound card and it sits on > + "rpmsg-audio-channel". > + > required: > - compatible > - model > @@ -107,3 +118,22 @@ examples: > <&clk IMX8MN_AUDIO_PLL2_OUT>; > clock-names = "ipg", "mclk", "dma", "pll8k", "pll11k"; > }; > + > + - | > + #include > + > + rpmsg_micfil: rpmsg_micfil { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation Also: no underscores in node names. Best regards, Krzysztof