Message ID | 20220927102443.1816168-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBLM7ZOMQMGQEUELRBDY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 46C7A3F1C8 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 27 Sep 2022 12:25:50 +0200 (CEST) Received: by mail-qk1-f199.google.com with SMTP id az15-20020a05620a170f00b006cece4cd0besf7024630qkb.22 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 27 Sep 2022 03:25:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664274349; cv=pass; d=google.com; s=arc-20160816; b=X06rjZHybEGBiSi47EkoZBBysu4LfqQ9I63C/i0c1I90Lg07uFeUBGxo0SOmZOxsr7 /MZ8V/+bT6ukMVf2/nhKbgHANFP70dm1GJrEwg+mfk3rH9GfW2E2j1DE9Rt62zd0wq6e /DIsKT2cFaqkwiaXEIoFpY7fgDCdEoaM93qz5ni2yXj7vhDGFSbyXd1WVdvhN4R5F+W0 l3zfYyC/TY7ozv7uOfInffyCA++DIqAKjl9OSoUGVPRgagk/rthaxJMomqzoF+z4fJsP 5k+ACcRxd4nCkMxrYtvsgpdgQT2XeqUnPk73XaAYwbOmDM6KH5uan0HpzkbpxGx4s7KZ rXSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=rXxuh7l4QZME07TAwaGBQB5cOyiV0tQSYvw9PmYuZq0=; b=mBZdloyuL3STkSMefS391hMcQreJwWXBb7Yxhrzxp+fx2nIU8eF/66nkYvBPObWrOn u0Vy5KJk7Tn4a+/4SW5h4I0pGw/yfscMsk+sADvmP7pWuNymAsT7Da41CvyOJMgohxQG +xeaKA6YmeQ6x2IQBJCsnP/l+6uPbjHSqe5hlBgfxLvwlio54oxlaIj47GiwJf6kds1q X58jY/Jzb5pcKwpaKiWJNgfkJO/PnVUfBp50V3NUw7oAaD7UmRTtaauo48GGHDAHAMHZ A7Wuzy9qs8376kpkA93BuRKVofsfP97kp4hieVnBENsrq66YqJpgLEOdmBeqy4X3VmeW 00aw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YnySFrjd; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date; bh=rXxuh7l4QZME07TAwaGBQB5cOyiV0tQSYvw9PmYuZq0=; b=L1fEmsjxeVfgy8dU/pEGggB2a1Xsd5ILSZx5+gSRChfhn62T8r3he1Rz3MNvIehuU6 KTtGHD7ir+QuWcVRFxBRUNs5NHDgos733LwuhX8jTcsFihhSBrZmAyOnj/+0hOs60vFk JVP8/5RjXopZ+qMroDLgyA8nri3LWCnbRUIGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=rXxuh7l4QZME07TAwaGBQB5cOyiV0tQSYvw9PmYuZq0=; b=zCzMHpTEhVtTIxXrUjBkGcFL4U4xx7Q0WfJmR+CMxpc/JciEE4xl9ifKAqyjUXA+Zb gEBOlT92MiKi2Bs+oCD5ui282ZfvRETAL1RGi8up2G+NivyN7/HFxBjAjvPFm2nkE8IP 7Z7tHNWmYA6ZVyDoBUKJGt5NQt7k2yb9zypm1we/80o6wSfljOyGcIq5NsMz5utkzaSj ZSZBuCxVMLa9GQvFh1DcUhDcB99dwFY4qvQ6yc8lLhmlK5wFpDsEipamaQ7DKO3pSRsh Leqel9yfhu8NOtXBjRSnoGLXDZz3lFO3ioOD77dWmBwu8C/pEhR9KJ/U+5mpaF8zBVP1 T9BQ== X-Gm-Message-State: ACrzQf2w8XA39JWyFWx8aSgqq8Eega9r2HxXS8CXEuiVr/PTQ94cpU3W ZH11GKL2+hKTkKMBr6+lhuzVxqGZ X-Google-Smtp-Source: AMsMyM5Kw7ah71tYV/iC+ybPRmVG3rfkAl7w8cVptlQnt2+dIUnwRkQLB9u9CCPGAkCpQQF1KgGeUw== X-Received: by 2002:ac8:5e51:0:b0:35c:e40f:d898 with SMTP id i17-20020ac85e51000000b0035ce40fd898mr21600568qtx.685.1664274349310; Tue, 27 Sep 2022 03:25:49 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a0c:8d8a:0:b0:4aa:a12f:3556 with SMTP id t10-20020a0c8d8a000000b004aaa12f3556ls1098440qvb.6.-pod-prod-gmail; Tue, 27 Sep 2022 03:25:48 -0700 (PDT) X-Received: by 2002:ad4:594e:0:b0:4ad:5d6d:137d with SMTP id eo14-20020ad4594e000000b004ad5d6d137dmr20652124qvb.125.1664274348715; Tue, 27 Sep 2022 03:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664274348; cv=none; d=google.com; s=arc-20160816; b=WwcjhhaQyCqI8FFrhhALVbzSyo7QbqleC6EYoUEPoTBrfeb2wf8q9l0s/TqMJ8qFV6 YaLe3+urw1rN9vCXi5gGV2diDogtKmrGANZG+QwKBjBaLtPaGh2fkzY6wFSOAyqV/9GL 4u0Ede/q5XqCJBZgUfYnMeGRQYlCcJH3jjQ5vJGeVIzNp42i9OEuqiLhhMJ/79xWJptB cWcqwwvV+hszerQkvjln6Q3Ar4DNDJ28T99W7tYW9zw8BcecmVyztA9NLbDEYL8V/eCZ shhcx9i1OW+5nlgg5aw6RpfrtykfBpwpPGrvwj7RKS716fHm3ETNuWtRkIOFjj8aGKEa sN5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=qxRifoF09ZiTT0TIB3VV1imho2MAnwgjaHJMUL83XxU=; b=ayg1UPEZNvGZGI9iu9fSv5yW1WaXabs/iChgOD4ow9arBAfeesdeTL2sRl/e7sj0Vs dezBmyE5K/UHxCRw5m5viuFNaqkkP5WdYUVwK+TAui+OOJgIAMjjdFQrSNnH/aUPBZXh XkdRq3tGL9EGAO8CZ2r+kA+7uRHG4I3Mq7ALBxTctu3z02HEIOeb/V6Li6+Bxy835ptN kzdBJBsXGhP4ThuyAxMHcRMS+/x0nvYwlu0bmOfQ/PVS1cizcjdPr995qjRd3xQ2TYdG CeAPQPICH6CFsNt2iqETjKTjtn60Gx9YfPsRwAINFq/F0bYYIeoD/9lPtJ2xtwfW6Zjt FESg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YnySFrjd; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id dm4-20020a05620a1d4400b006cf8361b727sor285827qkb.13.2022.09.27.03.25.48 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 27 Sep 2022 03:25:48 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:620a:bcd:b0:6cf:a7b9:44ce with SMTP id s13-20020a05620a0bcd00b006cfa7b944cemr4435280qki.38.1664274348207; Tue, 27 Sep 2022 03:25:48 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-95-232-92-192.retail.telecomitalia.it. [95.232.92.192]) by smtp.gmail.com with ESMTPSA id d11-20020a05620a240b00b006be8713f742sm752220qkn.38.2022.09.27.03.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 03:25:47 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-amarula@amarulasolutions.com Cc: michael@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com> Subject: [PATCH 5/6] mtd: mxs_nand: get the clock with the right name Date: Tue, 27 Sep 2022 12:24:42 +0200 Message-Id: <20220927102443.1816168-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220927102443.1816168-1-dario.binacchi@amarulasolutions.com> References: <20220927102443.1816168-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YnySFrjd; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
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; } }
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 <dario.binacchi@amarulasolutions.com> --- drivers/mtd/nand/raw/mxs_nand_dt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)