Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp539338pxv; Thu, 15 Jul 2021 09:47:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/WAlffBDot5XsoqI/UpTKGgNJDOW7DgBVNMB4qJjtUvLabItNjl4NmuXPZVkiEhzy41iM X-Received: by 2002:aa7:db54:: with SMTP id n20mr8313871edt.21.1626367652425; Thu, 15 Jul 2021 09:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626367652; cv=none; d=google.com; s=arc-20160816; b=qb6odSsvRbC9g/OXBtlDOcSsbrdmSmQj+HNDiHXW4F8EwHWLSHql8MgOoCHPSThOtB ScR2V4oU5Td0D89TJw7Sz7rSE/ou8+UAmaeAAc1ErIYp+189UG1w71DSUu9ZErzoVGRA JaYgHG9q6BI2WPH8AaQdrrOu6WrXL50L9YukD8pUGgr/EhHkoUlV5YNe08YYmE0dUKmL /ss97LsqD3Mvrq2DKtc+ktoLiGzmk29oP+f0PQB46WalCVZS3xJP+DcE5DQlceO0OrRj y8A98vjaxZbyP85dmNM7JSU+ILNpMdvVRTkXwt3yTbzI/m3SWVqr8CxHfcxVE7jx3TDp OoHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yXJY+CGBB1RHn0W+SZkmC6/SnWW2hnSJVPZXXBRCJsQ=; b=vvftePfyv2IZCFms5H18uJOjdadOu1iRbz6aYV+RsC/Wwt2/3et4laVjNtoUlTM0JD DAyz7HeSX5Wbm21beCxPOL5wyDGQHhKorSZ0mY7oOe7CR9BJJO8H4FvTl1CEOnfJUR7L y2Rt9CuMqiFRmYrYlY3A1+lnAeAKBIGkRblH/BKKHYRuce+WKKMpKvK3P9gKIiksEJ8Q czLJ2Qyop/3Vn7ssm+Q4ET2zoLxmYlWQrZaLHEFfEux3g1xmEPILYqPbuN3zHWvqGNY9 Uhsh1YyIPhXxMdhnLASx9PCWPhL9ISYllw+kHFMq0LcrA6s2cFwvuVKQoIdQKbPVDXQD +xmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZBmp0De0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si7959362eds.528.2021.07.15.09.47.08; Thu, 15 Jul 2021 09:47:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZBmp0De0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237919AbhGOPC2 (ORCPT + 99 others); Thu, 15 Jul 2021 11:02:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:44926 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232108AbhGOPC2 (ORCPT ); Thu, 15 Jul 2021 11:02:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0380A613C4; Thu, 15 Jul 2021 14:59:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626361175; bh=WMxp2mwdoS59oGTgmTOoatfl2kEPCVJQHmcJAPofolE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZBmp0De0rFI6Db5Ijr5HTiY9MlYZE8GbKeXRy88vvId1Pka3/KFbWGhadfkefsaxw TUuP0TpgkJr8bAZxOetm379o/n+g3Sh+ku01hioD6KxzgbFKX0Kz8tp6SHmJy3E2M1 MPRM+eZ1eULpOUZq6U+JVgAm0I0vEt0jkp4e4xaz9UMaxsYyz0MdpGVAyq2JjE4KKy de5F19VOZsA+iNxYIJGqWSUZMjIlEaqMFp37/sZ3NX1pnvkw3aljXz865NXG7JLHr2 I5G2WDPhsZwl89eKztyo3cjFLdl1MN1hC0f52w6+LdyFXlr9mnVcAzlg5eEL6hv1Am mmpnIop7GB5Xg== Received: by mail-ed1-f47.google.com with SMTP id l1so8505142edr.11; Thu, 15 Jul 2021 07:59:34 -0700 (PDT) X-Gm-Message-State: AOAM532IjvjdFAu2OU0wXbd34GqDHagGc9gf4+7H3suNJT9G88UR6ZkV uvEraTh/tMpeET26JsQwYySQIe67iHilNhCFHw== X-Received: by 2002:aa7:cb19:: with SMTP id s25mr7688335edt.194.1626361173534; Thu, 15 Jul 2021 07:59:33 -0700 (PDT) MIME-Version: 1.0 References: <20210715141802.880911-1-daniel.baluta@oss.nxp.com> <20210715141802.880911-4-daniel.baluta@oss.nxp.com> In-Reply-To: <20210715141802.880911-4-daniel.baluta@oss.nxp.com> From: Rob Herring Date: Thu, 15 Jul 2021 08:59:21 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] dt-bindings: dsp: fsl: Document newly introduced fsl,properties To: Daniel Baluta Cc: Linux-ALSA , Pierre-Louis Bossart , Mark Brown , devicetree@vger.kernel.org, Liam Girdwood , "linux-kernel@vger.kernel.org" , Ranjani Sridharan , kai.vehmanen@linux.intel.com, Jaroslav Kysela , Takashi Iwai , Daniel Baluta , Daniel Baluta Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 8:18 AM Daniel Baluta wrote: > > From: Daniel Baluta > > Document firmware-name, tplg-name and machine-drv-name properties. That's obvious from the diff. Why do you need these? > > Signed-off-by: Daniel Baluta > --- > .../devicetree/bindings/dsp/fsl,dsp.yaml | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > index 7afc9f2be13a..8095aa178e7c 100644 > --- a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > +++ b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > @@ -60,6 +60,22 @@ properties: > used by DSP (see bindings/reserved-memory/reserved-memory.txt) > maxItems: 1 > > + firmware-name: > + $ref: /schemas/types.yaml#/definitions/string > + description: > + If present, name of the file within the firmware search path containing > + the DSP firmware loaded by SOF at DSP boot time. > + > + tplg-name: > + $ref: /schemas/types.yaml#/definitions/string > + description: > + Should contain the audio topology file name loaded by SOF driver. Is this some format the DSP requires? Why do we need a separate file? This is defined by the board or user config? > + > + machine-drv-name: > + $ref: /schemas/types.yaml#/definitions/string > + description: > + Contains the ASoC machine driver name used by SOF to handle DSP audio scenario. Umm, no. > + > required: > - compatible > - reg > @@ -69,6 +85,8 @@ required: > - mboxes > - mbox-names > - memory-region > + - tplg-name > + - machine-drv-name > > additionalProperties: false > > @@ -90,4 +108,6 @@ examples: > mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1"; > mboxes = <&lsio_mu13 2 0>, <&lsio_mu13 2 1>, <&lsio_mu13 3 0>, <&lsio_mu13 3 1>; > memory-region = <&dsp_reserved>; > + tplg-name = "sof-imx8-wm8960.tplg"; > + machine-drv-name = "asoc-simple-card"; > }; > -- > 2.27.0 >