Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp14625pxb; Wed, 29 Sep 2021 19:41:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVn9Z4YVrcRPyhqJcc4EypXWAnyH/7lf+h92HJJePm1QbLVC2HBTMHNalBhgcq0nm7dtpJ X-Received: by 2002:a17:907:7675:: with SMTP id kk21mr4070880ejc.114.1632969700015; Wed, 29 Sep 2021 19:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632969700; cv=none; d=google.com; s=arc-20160816; b=KFO1KcnNDsjysctr9kZM4R0PvjPfpTAI+4oS/0A16K35BSnSc0N5uKJorJ7o/ZJ565 NnwcCZ9pUK+VLA56+Al+6cJ6bauafiOkMyjgQAnxgc22Do27Le43/bWb/IDQRPRm9AM3 Ed0P/+fa4wnSYE1bKl2cM07dw7DYHr+ZUumHKSmk+2TIheaMlV1pKP1A78PzhMswquZC bkc79zA/XEj0VOzlvwfw/FHya6bFZ9n1Aqn7Hx0EHkr07gyWsvMtBKegd+lhHLt3aj2T Twzy/9Tmk+T+VqqrVzit5J0gf6DdrOPUXQ1rsOYiSENrKy+xGQRxqQ8e7yHEVDknGiM6 ia3A== 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=5H3zl6oYi2k/pahNWHm1qYAiJEHuNXY47Unp3/acgsA=; b=GoizX1SZT8dUfHNM+dTZ6HLZIVqAW/S3oq1rBKYbUX3nBAo5s4T5v51lLG2jeOSQDy 3loSaOyQohjo0+HsntIvWVh2hH7Pkiezv6wHRUnTcohIqKRs1Dg+u0qm6cdFpwBPGBQI LRkcMjMKYwq3Y7W7HuCD5XsxBrjwXLxqvdDO/0ZTSukNPgFAowMFp+0E4ryEZglg7zzx PjMx7wDpgSyEJqIra0Ma0CGJJ+6tdkTT6IpgQqVz1qiExvFs9c57l2j0raW9b3e5uV9s R5cUy0Q25D8AQW7P1BxEg0HaNvxz/6uR9ajojDv16phqannyW/5NlSxVCuZJ1xIX9gQm zgzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZWVqNdXJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si3067028edz.575.2021.09.29.19.41.11; Wed, 29 Sep 2021 19:41:40 -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=@gmail.com header.s=20210112 header.b=ZWVqNdXJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347859AbhI3Cgk (ORCPT + 99 others); Wed, 29 Sep 2021 22:36:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347759AbhI3Cgj (ORCPT ); Wed, 29 Sep 2021 22:36:39 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEDB8C06161C; Wed, 29 Sep 2021 19:34:57 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id m7so4383251qke.8; Wed, 29 Sep 2021 19:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5H3zl6oYi2k/pahNWHm1qYAiJEHuNXY47Unp3/acgsA=; b=ZWVqNdXJefB3MNBd7cVgBZxBZthq+q6h0PLTl/PWYzH0mbOaYjPeVKBTRPZDBb1Fnv KhfowHhhakCGH2Olp+bCfriV0pQuFhBg0VXvLjYEelptqSsjQc175ANwQjswGiw5VsT7 0TbUdrVWoPVPcANFr+KEG1Go8FgaSvG4XJWGCcJ1fjh+TnaKKCtiodlsvVgImU92YmEl THg79NjpOBfgytWQolN5U2Bk1YRjqNyyPvnFIexpNjzclGsYfygrzJNpqhht1AMSSoUs LpeQRb7DfjTX/XYJ9CN2pAiFJmhm4xGL3+EafRK4+cizjxpX/q5BBZfhNUAORHzPvq3/ 7RNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5H3zl6oYi2k/pahNWHm1qYAiJEHuNXY47Unp3/acgsA=; b=y3AH1NUQK3NIZI77w4QZH7vbpogCybwjF7C0wSZ7MUbze6iCD9XKeXin8ZBwXmlqON ocIZiNqEJK7aQbkEO9+ConZmFOmw2GVGr+ylKr/lT8uppYnagcv/UZogwRk7wXKtqVV3 nSykmlx79TpDf26dLBYcrYjuoEG6S8BFK8N5wUfuVxEUSQfzQJn6ZSnPpymxzAur4y74 zAQEH+wgV6CRPyxmYIjDKnMiAtliQJP2d5DtzPnDV7jisePuTt6v5vIMxLYFXApZPpbW mkyUrBhXZa4aRwvd2Zms5y1/w+G5WExKdxQz9fecwsizr8xwiH7jCmxz2zWGmh6FUuCy YOzQ== X-Gm-Message-State: AOAM533ydQd6NS4DphiGaIUQBqxAiLohpxZqPFWxFHjeTVuANl4ABS5A rjQ+ELiOVZWNKcp0zk3P92W9XbsGR8srf1UBmc0= X-Received: by 2002:a37:b087:: with SMTP id z129mr2754043qke.392.1632969297030; Wed, 29 Sep 2021 19:34:57 -0700 (PDT) MIME-Version: 1.0 References: <1632625630-784-1-git-send-email-shengjiu.wang@nxp.com> <1632625630-784-5-git-send-email-shengjiu.wang@nxp.com> In-Reply-To: From: Shengjiu Wang Date: Thu, 30 Sep 2021 10:34:46 +0800 Message-ID: Subject: Re: [PATCH v5 4/4] dt-bindings: dsp: fsl: update binding document for remote proc driver To: Rob Herring Cc: Shengjiu Wang , Ohad Ben Cohen , Bjorn Andersson , Mathieu Poirier , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , NXP Linux Team , "open list:REMOTE PROCESSOR (REMOTEPROC) SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob On Thu, Sep 30, 2021 at 6:40 AM Rob Herring wrote: > > On Sun, Sep 26, 2021 at 11:07:10AM +0800, Shengjiu Wang wrote: > > As there are two drivers for DSP on i.MX, one is for sound open > > firmware, another is for remote processor framework. In order to > > distinguish two kinds of driver, defining different compatible strings. > > > > For remote proc driver, the properties firmware-name and fsl,dsp-ctrl > > are needed and the mailbox channel is different with SOF. > > > > Signed-off-by: Shengjiu Wang > > Acked-by: Daniel Baluta > > --- > > .../devicetree/bindings/dsp/fsl,dsp.yaml | 81 +++++++++++++++++-- > > 1 file changed, 75 insertions(+), 6 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > > index 7afc9f2be13a..51ea657f6d42 100644 > > --- a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > > +++ b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > > @@ -8,6 +8,7 @@ title: NXP i.MX8 DSP core > > > > maintainers: > > - Daniel Baluta > > + - Shengjiu Wang > > > > description: | > > Some boards from i.MX8 family contain a DSP core used for > > @@ -19,6 +20,10 @@ properties: > > - fsl,imx8qxp-dsp > > - fsl,imx8qm-dsp > > - fsl,imx8mp-dsp > > + - fsl,imx8qxp-hifi4 > > + - fsl,imx8qm-hifi4 > > + - fsl,imx8mp-hifi4 > > + - fsl,imx8ulp-hifi4 > > > > reg: > > maxItems: 1 > > @@ -28,37 +33,63 @@ properties: > > - description: ipg clock > > - description: ocram clock > > - description: core clock > > + - description: debug interface clock > > + - description: message unit clock > > + minItems: 3 > > + maxItems: 5 > > Don't need maxItems. Ok, I will update it. > > > > > clock-names: > > items: > > - const: ipg > > - const: ocram > > - const: core > > + - const: debug > > + - const: mu > > + minItems: 3 > > + maxItems: 5 > > ditto Ok, I will update it. > > > > > power-domains: > > description: > > List of phandle and PM domain specifier as documented in > > Documentation/devicetree/bindings/power/power_domain.txt > > + minItems: 1 > > This is curious. The h/w sometimes has fewer power domains? On i.MX8QM/8QXP, there are independent power domains for DSP core, DSP's RAM and DSP's MU. But on i.MX8MP, all these DSP components are in same audio subsystem There is only one power domain for whole audio subsystem, when power on audio subsystem, the DSP's components are powered on also. So the number of power domain depends on how the DSP component integrated in SoC. Best regards Wang Shengjiu