From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1BA21D5AD1 for ; Thu, 24 Oct 2024 14:33:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729780415; cv=none; b=sP7b2hJj6CkBZ2ObESf3l0obhA061mdfl9zyXSN5KntAVgosMdZKEESpkM1jysLZGtMDiYwOw27pvAVjTudclOXABqBXXcBUZO/My2dmwk7twPeNRpP4d+85F46YtHqJN8Qkbw7M3/aT9dm296B30Kzkl2bm9tjyPus/VEIKOxQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729780415; c=relaxed/simple; bh=WBTalTM5o3V5RfIFTm9CZv/cutZeac0aa2X9abX6esY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nP/xYzd8wBk8oaGv8Sw3RnWudGOwB1qqfS0IPoCoDM6RJ0rXuTbNoEPgFWIpblNBa4vBAjPUcYpl/ROE9C8TN3n0KM8lmQoAKV5J4XRvg1+hLuGyKeAl5clvGofz8H/Ub5Sn1L2a+rSYQEJejIy0cwZuZCD6ZgorvCx90IEt2ro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=omxIqJC/; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="omxIqJC/" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-20e6981ca77so9935155ad.2 for ; Thu, 24 Oct 2024 07:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729780413; x=1730385213; darn=lists.linux.dev; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=deK4DomWPJydxnpax2btzYZb2iY+zRxceQoLFulpLGg=; b=omxIqJC/R5kS/Xm5erff7iDrMKb1tZuTNIT7kPFwhubort2i19sqUdH1hSeUKBmraM scuiT/1+nmp35q4+GCns/qCo2Zzg6lrzosBXVQndwKVSk6tAClIpRm7ehTPbsUQGafE/ 1LV/v95PvgpcGhdIgOA53DHs4WXo1aQtYOiGw8Jh6/hFzGTtnk5a8GX7nsDNcZMgR0n2 HlHnx4J/vNdLIKoQtnYZ02m4B2z12zvilD/Ri3ukCw0muDhJUOvV7K0/dbMAdmhO6bWi MlXRgFq22xgdqxlqJqrk+/iXZpCE99KAOuEwaTDUjkcN8LCiSaRorSiA4hdW1psb2CNy +zkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729780413; x=1730385213; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=deK4DomWPJydxnpax2btzYZb2iY+zRxceQoLFulpLGg=; b=WRd64lwZslFUOllObeJWx/7GHfwi5Jr0vFfEubLqCwOe23Ji2e9s5+C/Vk+psK5VD3 Ab30tcpaU70D8whgFgs+t5OCJbN0tvwghDOJMBavKBNCX84XJ7lj00IgmZsqcQykVP+U xlY13y29K35d/ztMz7Ur+oK4qGa7MNInYWp4hV697zRrY/ukwKQvSMEr2GH3/8x/3lVD urpV4ubKbOBR/KToKyj2zrXuous0DuFPBjZhqEj5Dlh4CgQzOZ0sZeFwHmo3uU6ROeHS ArSiC8ZgzYDHOPXwi+66bOPgpnIluaC3FdVbthH9iMbWDQmUGBlkKqBGBTFwUPKheMXC 9qQw== X-Forwarded-Encrypted: i=1; AJvYcCVIvhdcGKrMLUDpM4zi5t4gw1nYWRmcjob9yrA9WryODynN/QhTPsfl9GwX4xpX+gT8l/s=@lists.linux.dev X-Gm-Message-State: AOJu0YyL1ASfUUXO9UUX/GG/k6x79M0Tc9C0Ez5YHOHzgu8p4sM8IKRs hfsrBl0vttT9dnH857jbV5gEh/QkHxEskDT7inPcCsikx4E0UNM2nCMKqY2lEGo= X-Google-Smtp-Source: AGHT+IF2QHwGQNfnbzeB+vGVeNFxEkbVpRfo0zDrRN0S9cesanZ47dqvPBfNb4vh5OOx0sxq3LEACg== X-Received: by 2002:a17:903:234c:b0:20c:d2d9:765c with SMTP id d9443c01a7336-20fa9e09acbmr77487705ad.15.1729780413199; Thu, 24 Oct 2024 07:33:33 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:7c96:e131:bee8:c8a4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0bd5ddsm73207425ad.141.2024.10.24.07.33.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 07:33:32 -0700 (PDT) Date: Thu, 24 Oct 2024 08:33:28 -0600 From: Mathieu Poirier To: Laurentiu Mihalcea Cc: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Daniel Baluta , Peng Fan , Mark Brown , Takashi Iwai , Kuninori Morimoto , Bard Liao , Peter Ujfalusi , Jaroslav Kysela , Pierre-Louis Bossart , Conor Dooley , Iuliana Prodan , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-sound@vger.kernel.org, sound-open-firmware@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] dt-bindings: remoteproc: fsl,imx-rproc: add new compatible Message-ID: References: <20241023162114.3354-1-laurentiumihalcea111@gmail.com> <20241023162114.3354-2-laurentiumihalcea111@gmail.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241023162114.3354-2-laurentiumihalcea111@gmail.com> Good day, On Wed, Oct 23, 2024 at 12:21:11PM -0400, Laurentiu Mihalcea wrote: > From: Laurentiu Mihalcea > > Add new compatible for imx95's CM7 with SOF. > > Signed-off-by: Laurentiu Mihalcea > --- > .../bindings/remoteproc/fsl,imx-rproc.yaml | 58 +++++++++++++++++-- > 1 file changed, 53 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > index 57d75acb0b5e..ab0d8e017965 100644 > --- a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > @@ -28,6 +28,15 @@ properties: > - fsl,imx8qxp-cm4 > - fsl,imx8ulp-cm33 > - fsl,imx93-cm33 > + - fsl,imx95-cm7-sof Why is this added in the remoteproc bindings when the driver is sound/soc/sof/imx/imx95.c? > + > + reg: > + maxItems: 2 > + > + reg-names: > + items: > + - const: dram > + - const: mailbox > > clocks: > maxItems: 1 > @@ -38,10 +47,8 @@ properties: > Phandle to syscon block which provide access to System Reset Controller > > mbox-names: > - items: > - - const: tx > - - const: rx > - - const: rxdb > + minItems: 1 > + maxItems: 4 > > mboxes: > description: > @@ -49,7 +56,7 @@ properties: > List of <&phandle type channel> - 1 channel for TX, 1 channel for RX, 1 channel for RXDB. > (see mailbox/fsl,mu.yaml) > minItems: 1 > - maxItems: 3 > + maxItems: 4 > > memory-region: > description: > @@ -84,6 +91,10 @@ properties: > This property is to specify the resource id of the remote processor in SoC > which supports SCFW > > + port: > + $ref: /schemas/sound/audio-graph-port.yaml# > + unevaluatedProperties: false > + > required: > - compatible > > @@ -114,6 +125,43 @@ allOf: > properties: > power-domains: false > > + - if: > + properties: > + compatible: > + contains: > + const: fsl,imx95-cm7-sof > + then: > + properties: > + mboxes: > + minItems: 4 > + mbox-names: > + items: > + - const: txdb0 > + - const: txdb1 > + - const: rxdb0 > + - const: rxdb1 > + memory-region: > + maxItems: 1 > + required: > + - reg > + - reg-names > + - mboxes > + - mbox-names > + - memory-region > + - port > + else: > + properties: > + reg: false > + reg-names: false > + mboxes: > + maxItems: 3 > + mbox-names: > + items: > + - const: tx > + - const: rx > + - const: rxdb > + port: false > + > additionalProperties: false > > examples: > -- > 2.34.1 >