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 63DB0C6FA86 for ; Wed, 28 Sep 2022 08:46:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 83E5E84D80; Wed, 28 Sep 2022 10:46:22 +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="DqztypmE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 85EEA84C8C; Wed, 28 Sep 2022 10:45:43 +0200 (CEST) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 4B8F784C41 for ; Wed, 28 Sep 2022 10:45:30 +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-ed1-x52f.google.com with SMTP id a13so1213467edj.0 for ; Wed, 28 Sep 2022 01:45:30 -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=WDZRGm0/aBPq9E4otCB/0HB0hOmx8MMpYjuXzovqE4Y=; b=DqztypmEpcdK2olBpr1EcY/zZyPg1njYMeAjTqszNOHDgCVcma2RDDCIU4WyJdoF+G 56mkSC43+ch21WwBhTR2+3nZJLOsykwCUh6Lfh49sETXTKqY3dKurkDY0TWEqrA6tekv dDRgPi1bQdviAa3HQ8r03WYopqqXzDhnnJWig= 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=WDZRGm0/aBPq9E4otCB/0HB0hOmx8MMpYjuXzovqE4Y=; b=BGwYyLs8Lh1DTW7sFMB4wV7Gi0iMwvMdQSsRU8ufqf5jMLSFKdwTPwXe7mU+3jVzVD IkwLSOaRMF7n3zqIcUfDbbc7FVX2JKtI0sJXhFjM0IOBm2Nl+IbEdAL4Qszlha/uBf8h l0NB/mFG7PaeomX5DLKmuti2u5Kmq7lR+U72ZtuevNPxuv/T4Rb7fM58tAOrmryaEHrP Dat2OoC4ZrkCUhnwKywcKKc9UJyxArFV6OxUH4JSHj+z7ckMh3xFAc5pSfi9v11mUP10 8lx+RI9uhKxmmxh1fWDjKhJDI8LoemLoJVK6puiSpMMb++j/wEObFaOO7c10We3njPQU J2TA== X-Gm-Message-State: ACrzQf2u6o/4pn33tsTRY7PsbjWE5gBGJeF1yrboCRgiXMJ1l2VTTtpe 3/VvqVcGbsJczi8K4Y/x9uPywYYnvhNrJA== X-Google-Smtp-Source: AMsMyM589peHttEs90DWmxIf0nODj73s7y45PnHJxdTuWqwSwoTYBV8jevKhZAgC3H3dyS09F+TPIA== X-Received: by 2002:a05:6402:298e:b0:451:129e:1b35 with SMTP id eq14-20020a056402298e00b00451129e1b35mr31781910edb.79.1664354729589; Wed, 28 Sep 2022 01:45:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 01:45:29 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi Subject: [PATCH 6/7] mtd: mxs_nand: get the clock with the right name Date: Wed, 28 Sep 2022 10:45:08 +0200 Message-Id: <20220928084509.2758974-7-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 Rename the gpmi_apb_bch clock name to gpmi_bch_apb, as you can find in the 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/raw/mxs_nand_dt.c b/drivers/mtd/nand/raw/mxs_nand_dt.c index c1e784832f33..94ee7ed9ec83 100644 --- a/drivers/mtd/nand/raw/mxs_nand_dt.c +++ b/drivers/mtd/nand/raw/mxs_nand_dt.c @@ -132,15 +132,15 @@ static int mxs_nand_dt_probe(struct udevice *dev) return ret; } - ret = clk_get_by_name(dev, "gpmi_apb_bch", &gpmi_clk); + ret = clk_get_by_name(dev, "gpmi_bch_apb", &gpmi_clk); if (ret < 0) { - debug("Can't get gpmi_apb_bch clk: %d\n", ret); + debug("Can't get gpmi_bch_apb clk: %d\n", ret); return ret; } ret = clk_enable(&gpmi_clk); if (ret < 0) { - debug("Can't enable gpmi_apb_bch clk: %d\n", ret); + debug("Can't enable gpmi_bch_apb clk: %d\n", ret); return ret; } } -- 2.32.0