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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4078C32771 for ; Wed, 28 Sep 2022 08:46:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0CE1C84CA9; Wed, 28 Sep 2022 10:46:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="big1rEI2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3782384C8C; Wed, 28 Sep 2022 10:45:39 +0200 (CEST) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4F65E84CC9 for ; Wed, 28 Sep 2022 10:45:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dario.binacchi@amarulasolutions.com Received: by mail-ej1-x629.google.com with SMTP id r18so25605833eja.11 for ; Wed, 28 Sep 2022 01:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=7Q0/SbwRQ0I7XLRgaDesmTir/HZrBwVaidAAMqNpCXk=; b=big1rEI2fUrZJERD1uNNyiW6eJlExUCEGICOIT42r/ABc+L3NJFkYs2KxjtCHVVD9Z MwowSBtqwPKWblYtEl7whqVXUzIyWHkMYvNuASY3cnIJKPwiZalOy7Rrh7GcvD7+R+0m nuDvilwInoIEx/LdEXqTPGhvsoZLyPVvqvzRk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=7Q0/SbwRQ0I7XLRgaDesmTir/HZrBwVaidAAMqNpCXk=; b=pXDfx2K1C9lhnD+++EpE4Fqjs2mIIqI6ja/Zf9699sHzYkCkeGy1DAFQVjJgrdpoXe jV2Qz12FSIv0KU/pFp1dRLNFOq2CUdY8KWbSfNuJ0345vTuHQjt/vRbmY1Wur5U0roa8 Jpq2/YvnPPnzhP75JGoq+upgVSzxvtuFgrxcX4oeGqVxY5rrlUMf+KOcV4ywcg1xv+5d X1rdw0vL/yjVq85AJiSvm1jd0dWSjvsWN3+vVWn2agBwbb7vmXJVfhFve3n/IAf/wke8 id0llHnX814fNy+RlY+ccmX03iiUqvyA6ctMtCH+QEW74y/nYUENp9UjZYonz6Q6te17 c2CQ== X-Gm-Message-State: ACrzQf0xcaTFm+wVgf2rdH1JSiHMQXHwmJEN4D+f7BXwSNaWU+CHO69q LgZymlLCsduaR+VIXyW13OM6paTWS2oBCA== X-Google-Smtp-Source: AMsMyM7kMULq6kWEAd5igOIynXZdHohquhTjxKKonuJOTgoyFTIawHtfdA94fNTEIz5o4tcDzrIA+w== X-Received: by 2002:a17:907:7625:b0:779:e6f7:a669 with SMTP id jy5-20020a170907762500b00779e6f7a669mr26743924ejc.472.1664354728611; Wed, 28 Sep 2022 01:45:28 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-232-92-192.retail.telecomitalia.it. [95.232.92.192]) by smtp.gmail.com with ESMTPSA id q1-20020a50cc81000000b00457618d3409sm2928883edi.68.2022.09.28.01.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 01:45:28 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi Subject: [PATCH 5/7] mtd: mxs_nand: don't get the gpmi_apbh_dma clock Date: Wed, 28 Sep 2022 10:45:07 +0200 Message-Id: <20220928084509.2758974-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220928084509.2758974-1-dario.binacchi@amarulasolutions.com> References: <20220928084509.2758974-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This clock name is not present in any U-boot and Linux kernel device tree. Fixes: commit a59691280daca ("MXS_NAND: Add clock support for iMX8") Signed-off-by: Dario Binacchi --- drivers/mtd/nand/raw/mxs_nand_dt.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/mtd/nand/raw/mxs_nand_dt.c b/drivers/mtd/nand/raw/mxs_nand_dt.c index b9833a646f01..c1e784832f33 100644 --- a/drivers/mtd/nand/raw/mxs_nand_dt.c +++ b/drivers/mtd/nand/raw/mxs_nand_dt.c @@ -143,19 +143,6 @@ static int mxs_nand_dt_probe(struct udevice *dev) debug("Can't enable gpmi_apb_bch clk: %d\n", ret); return ret; } - - /* this clock is used for apbh_dma, since the apbh dma does not support DM, - * we optionally enable it here - */ - ret = clk_get_by_name(dev, "gpmi_apbh_dma", &gpmi_clk); - if (ret < 0) { - debug("Can't get gpmi_apbh_dma clk: %d\n", ret); - } else { - ret = clk_enable(&gpmi_clk); - if (ret < 0) { - debug("Can't enable gpmi_apbh_dma clk: %d\n", ret); - } - } } return mxs_nand_init_ctrl(info); -- 2.32.0