From patchwork Wed Sep 28 08:45:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2399 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 48E8A3F042 for ; Wed, 28 Sep 2022 10:45:31 +0200 (CEST) Received: by mail-ej1-f70.google.com with SMTP id sd4-20020a1709076e0400b00781e6ba94e1sf5079327ejc.1 for ; Wed, 28 Sep 2022 01:45:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664354731; cv=pass; d=google.com; s=arc-20160816; b=ff8bifjwJcz4LYl1K0DXhBWDJCElDKr1btuodnH+XszXWzRlrB4HdcixwioRYkj08K p0gkpKjGxXujptEGKTdoMr/l3vh0nYLVjPLzUnqbOExVfEjEIlq4Ozj43YqIBjupQaYK GyQSewzfXUdzTkNqZTqghmECTs8X8YcQhiw8aR5NHNWwCptPKQ4G5mq05EmNupjhnnUz vpRsNAWJMpcH9WrZh7Ftb9dZzvUEjXNlla/tZni/+dIq0D3wBoRjhx0u7JjX74R6UGZe HyQRTJgi/gZaJhQXoS/BfMknKrXBMbGmefgB0vTLIsOMXvEt89ATbXZs9agTN7CCE7Hr 5/jw== 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=Ts6PHrcG/pXZE8ETll/zfY46RXksO61SAoJMY1tV6is=; b=RgX1s20wEPtO7GRVgJaqZTqgOGUZFcRxf+FWlBovufFGewC/88YfwtsMxTSAniiofP QZfz/gDFKKBTfOt+i2NkN8hWMjlqiSN8KLHJcJUZ1SliaAEURDMpftfoFDcbyCkwseEL BSqiBPCCQ8Eri1R6qDjgeAFuY+C6SUUw1kmSN68zRDoEbP7uhY1WgTGZAQ5ZQ79xUDvX wXYCPk1wIhCCh1XXz1nyql8TTiixL8Xbhm/1MD7VxviitoaZLd4JHF6UHt5XoaDtAhOp j/85uhB3vN33icFQTQlJdYtlqpKP2LuDdH6J3Ww0aTO0KNtK2xF7hMXSYLfgQU98304/ QiLQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DqztypmE; 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=Ts6PHrcG/pXZE8ETll/zfY46RXksO61SAoJMY1tV6is=; b=dJHVtWDEzEsm77TzrOJ52miy95hazaaIswLu6+NBS9L9gJ+ja3uC5/rBN9AGJR/Kd3 VHU7qPdG3uISmOZz7g/19XGn3fsjs2qnVlNxj5argaTo3uL5xW/LWnodfIO2uQyWWiMv 1LsP21KLZx5/KlDtUrF18FN/ZXsnN0c2BS3c0= 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=Ts6PHrcG/pXZE8ETll/zfY46RXksO61SAoJMY1tV6is=; b=PdYcW0B8EELLdPGkvZSkXKQg9lRXHKS7wCl9FZmnKAUkq1HaQJ3fruu6h72uR/Vpn3 sUGErqGgry99ecbnYl2YAGrAJ15seYs5VHcVk8MGuBD+fz0R2wk7L88ljFURJOgcmbXH tlEMvWD6//yGQ/4tUEYdmL4X1SnnzL2QFGyrrMvRx/QzhXytlwJzIFY4GdfdVtptJVcF rk+LeiSmtU4q/tSY8empzpoxEoTPfvx7eMUWqJ+SfbLXzvBtY5/FMxSVbO3whH/EpJnk oLZSKB/QQ6QFiWmujGYQynF+4rHt0LUfc2fnhaNYOmqwY5GlWJCa9wDwVwB/sBTPWzgV p7nA== X-Gm-Message-State: ACrzQf0kWU1LwlaaV10BhRrRme0jGUTnlDNOpf44K/m3w6UZxX5sfaf6 uXOVAez4b0AVxwhYKpG0YMUnigaq X-Google-Smtp-Source: AMsMyM7B+9XdCw+9nzSAahGNSpOZV0yW1LyzOuBfOq7MSGoLhet2Vvxe/Wj4jS7I5hJvCJgojbxGWg== X-Received: by 2002:a17:906:5a71:b0:770:8625:489e with SMTP id my49-20020a1709065a7100b007708625489emr26792604ejc.405.1664354730977; Wed, 28 Sep 2022 01:45:30 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:2808:b0:726:abf9:5f2e with SMTP id r8-20020a170906280800b00726abf95f2els521445ejc.9.-pod-prod-gmail; Wed, 28 Sep 2022 01:45:30 -0700 (PDT) X-Received: by 2002:a17:906:db07:b0:77b:82cf:54af with SMTP id xj7-20020a170906db0700b0077b82cf54afmr27172112ejb.666.1664354729735; Wed, 28 Sep 2022 01:45:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664354729; cv=none; d=google.com; s=arc-20160816; b=kk3BNWSUcReTfzj7lpQOoNXHAE0QSf7gIv84ezL/RlgFrkjv+pNFeP9vxciuV/m5xP ftgR2DZLIwOIKatmhLL5TF/4nq6YLSGmJZ1SKUKNrN0gEYgRLfhwXN3iCaSdaVXa2nsU D/1vgwaBFJW/A5MD5/StqF1SEMe/+iGQdUdt7O3XTGWbytIamDZ5lLzlMsbc9qQoSNHz MxqHcT0UudlLthRMEIL7aiio5zWE3vTsVFHnAwRCIT8naNQQ6jTcokZgHI2HHkcvdSHH Dn0p/ipoWVHVZPfjL06xeUQu9sCbm3NZpmXiS6NAXt2WMfWej4sajiT05m4KrN7YeNb0 1bKQ== 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=WDZRGm0/aBPq9E4otCB/0HB0hOmx8MMpYjuXzovqE4Y=; b=Xbrg5mWxphB9K5DKGMxRorvs/Uw1yBbEsRucVpQzbCBhMwq/57Km44jmrV77JGVXxQ 5Og59eFryrncwbQScFuzvoQwr/i5TtgZ6A16GaVf/Fb/LUu6t8OQanaUAGI3t6vpNwgF q4YZGrYy3SMrNjh18vHzr3s1helKdfUJveNAptnu7cEyzbH4qqtNaTIRkPDzYAMIZDh8 uOb/DGZZ2Zk9a+I/RS9Rz6CxSLZGNgR6DgQb7sZkqLaTMAwxNMer1AOtPGg2GXURXjTG wG2Qvym0GRjueS8HECVJDQE6SfAkdokekh3rDsaD7mA+G4+/MoDrKtqk7vV+qat6d7b7 ZaAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DqztypmE; 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 y63-20020a50bb45000000b00457fd1b12f8sor75943ede.13.2022.09.28.01.45.29 for (Google Transport Security); Wed, 28 Sep 2022 01:45:29 -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: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 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=DqztypmE; 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: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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; } }