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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50B60C43334 for ; Thu, 9 Jun 2022 06:12:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231596AbiFIGML (ORCPT ); Thu, 9 Jun 2022 02:12:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbiFIGMK (ORCPT ); Thu, 9 Jun 2022 02:12:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F7E8311; Wed, 8 Jun 2022 23:12:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 48E5CB82B7D; Thu, 9 Jun 2022 06:12:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A051C34115; Thu, 9 Jun 2022 06:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654755127; bh=yrf+XMowdN86hTFMul+QRd9Y7ZdOwxfAcXmRBAGod9s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NlnWs42vfbZqU5peAH8ah/RPgZr+erlgSvcjAr0TvgpKnUT6YRnIgdZdnIyGWJaUL 2LfByU9Befcc5ABFz5ee6W6VtrXoWgl3I2NvKWXxDBSsa6CQmJ6UV75XDPabW4QQd1 pRRCNjlZFaFWh+KV3oAMu0MIS+M50sZ9jr4qaI3B7j/NVR0p+3qXEGM9VLtkSjURnG SpNWHwaib72mXm4UuGRUV4o7JPPjtwtRzGA4l5l1vbi7T+ECkdtkndYSYm8RPY9O4p JRhod6SMUoPCdDqnLYoCRyOkpw4iHv2VRawGhiV6qjGlN0qDHE1N7Vt85Af5d4ccft olq4NKg+00VsQ== Date: Thu, 9 Jun 2022 11:42:02 +0530 From: Vinod Koul To: Peter Robinson Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Anson Huang , Daniel Baluta , Robin Gong , "Angus Ainslie (Purism)" , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org Subject: Re: [PATCH] dmaengine: imx-sdma: Allow imx8m for imx7 FW revs Message-ID: References: <20220606161034.3544803-1-pbrobinson@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220606161034.3544803-1-pbrobinson@gmail.com> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 06-06-22, 17:10, Peter Robinson wrote: > The revision of the imx-sdma IP that is in the i.MX8M series is the > same is that as that in the i.MX7 series but the imx7d MODULE_FIRMWARE > directive is wrapped in a condiditional which means it's not defined > when built for aarch64 SOC_IMX8M platforms and hence you get the > following errors when the driver loads on imx8m devices: > > imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2 > imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware > > Add the SOC_IMX8M into the check so the firmware can load on i.MX8. Applied, thanks -- ~Vinod