From patchwork Tue Sep 27 10:24:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2390 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B99423F1C8 for ; Tue, 27 Sep 2022 12:25:46 +0200 (CEST) Received: by mail-qv1-f69.google.com with SMTP id mo5-20020a056214330500b004ad711537a6sf5537413qvb.10 for ; Tue, 27 Sep 2022 03:25:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664274345; cv=pass; d=google.com; s=arc-20160816; b=wZhDZAPKFG9p4PPwUdwLTN95TkOqNWWhtw/NjketIB/r1ez78CEh/OveLqyzOS7Gfx EARI+y3YyWRkbeB+o+3HDPO2hQzrI+RBz9LE3+eAYjKrOHqJgfMHg2SIlvjZgJJPQCV2 /xrh6E1hhjNVn1cpts1+VojdsJ4EsufAt/C48wMFo0qqPHCB7ib/6NqahPRl3Mnx/EeK F96X4gI0L1/k24uhWXiGkmvR6+Ekmgqn0m608SYPpj9T/WWKFeXcgKcUiRX8NNMFiAY8 hD4Y3t5uhUVIH3bileKjRAnNb3jF2YGWpfbF3ydnw0au7e+U+Gprh2fNLBc3AKx/cU0I jCjw== 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=umJscMPrnAoEHbgWf8DzO1lPfLMgCFykwlOJjHCJcgo=; b=jpi0I5GwDNXzvQJJdJnSZXD7ZSRbO53LIxxaaUs2u8OLHZQxUD1MUirXhIUievg/V/ cCUsk6c+2KLh/r1jUDntw3GB0068SlhRNBhfy6qeZoETHwMM8A/Jp8Rbawm1mHExjo4E 0n+DMGV2i8msr0JwuFTEMiAEiCkd3ZC+F1oXykS2M5EPNJcA1AQiq3DqfTxh3iQhi0xL w7kk0xPFUXqsg7m2bFCEcbkDbl1pRoyOCgQedU6zbfVyZYYGuDIZqbDRw2yXEGwcK2Ij i0TwUWwF4OkZvaD7SSoRa3wVxGSDVq3DIu3U45IUdVHZiPx7uwg0OKRcxpEZFAe+5H/t eVUQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hTnSUMuN; 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=umJscMPrnAoEHbgWf8DzO1lPfLMgCFykwlOJjHCJcgo=; b=hr7TGAuI96Y6QkSeqZ/+lUNHzAPoZl0bn7n0NsayLqzp9h/sNaRsBrhR4yOYU/lzTf xNPtgejWxo3XV5dIAAUxnAFeVQhv22K6WlunOhEJQscCk5XsIg9o4SvpXFderc0Xlcp0 p8AwPgSlqSbDIJlRaUWUYNNV0oY/l4hDTJBjk= 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=umJscMPrnAoEHbgWf8DzO1lPfLMgCFykwlOJjHCJcgo=; b=SlpXFufYdk+0Ij476Eiq+UXY2NlzvrS6AiAR19PDPF+ywBkDt9C2BrJ2sKU+Iirtev /Bc3ePpUumDnGObzioB2Yu+nbRgxW4iC3aL51B0sUAxQYnYywDRB8MPgD7rv1uBG9fau BIuRmeFTT+sPoNogPoMEGiBECai3gxxjWejm5a+DEchys4ifXMusN0ZbLqfMLoxO11Hj 7WYUE1eTJm/LE0YofZ6b0EaMuQSR9XoM/Bfc6E+uuFKlZ8KvLenZkIC7Xx5mbHtn4ffu dyVLQURJ8uGIu4pHEXokmFUPQr8e9MvdBqR/A7cZAuf7Drr3KsgN1Nn3kh2iCVoLE89q ph/g== X-Gm-Message-State: ACrzQf3J+Wz5F0X5+0svhFPamvGW/77dviyxoLcZKPu3dSKux+OhFUZQ ZKmYUrSLgboxYkaAXXGdsPMWGGNN X-Google-Smtp-Source: AMsMyM4w6lEMo1tgK+NjSc/i7goKAKkRUFoSGS+jV2cz/kJhh+4xP2mYMvFUgCWtUDOejUr6744F3Q== X-Received: by 2002:a0c:9a0c:0:b0:497:2e1c:98a3 with SMTP id p12-20020a0c9a0c000000b004972e1c98a3mr20844686qvd.91.1664274345662; Tue, 27 Sep 2022 03:25:45 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:622a:386:b0:342:fcdc:2d4d with SMTP id j6-20020a05622a038600b00342fcdc2d4dls1366432qtx.10.-pod-prod-gmail; Tue, 27 Sep 2022 03:25:45 -0700 (PDT) X-Received: by 2002:a05:622a:107:b0:35d:4cfe:5b34 with SMTP id u7-20020a05622a010700b0035d4cfe5b34mr1247814qtw.388.1664274345104; Tue, 27 Sep 2022 03:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664274345; cv=none; d=google.com; s=arc-20160816; b=u+zne3N4oBy6+5KBgCiwPNQQFbAgBKsAG94s0sN8Fo3RzhHXVNNV8q1z9zoVblpvty Z7mughUWW0/TKEZdJE77ZI/n/BSyGlaH8YXQhj3OycmLxImveoxIHUAIUkAMyz6X28Y0 AP+kQh9PcCaKgUvPC3ZWhSKZ51CJxHZs6HJmnQoe01wPNl69aKlCGNyf8qvCDmA90rOh OufYKcMyE5GyEmATUdJAywMULJwXWTAISzYp9+MjxrRxOrcfqGWzbDIeGiKrNiQX5CBq sQy4eOU1PgYhoqCV49N8HjgWFOPvdGC4EmhGY73+NdeK1a2NyhZuczDlJGGzAQx1Kyqp +zxw== 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=+YD7bF1kO6ZqRwpuHSR62S3PKJz8ye4UiphsI9lYWyY=; b=wPbLH94Zp9yeaC5YmNA7lGYm00jtqC+M/YY13eusRj51IcTjOpfBjnfhyHXdKaADYp M8mZop0LjnmACMZAfeuH8PniVdXvgGK0emOWyKquEvE1ywWQx3//Kf7vmPfeiPFg8Dai RbyufcaIuksGk9X3MM354LcP+pw06ywNkNw3U6vwm5qX6A1zrMNTKCreDQ/x6emxhAk8 aHdkvKxwJbThdl+d94XcbPsSK+M+18Zhq1xcUNp1I7I3f7EFeA00fn/ntl2k15+IxHV7 Vxttz6O4FOCKdexLxq9x4On10/annGX+g+Le6Mgn+UKyIjkR8dRyKpVk9IaK/MxXI6Hd HsvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hTnSUMuN; 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 h5-20020a05620a400500b006bbcb84b046sor280796qko.189.2022.09.27.03.25.45 for (Google Transport Security); Tue, 27 Sep 2022 03:25:45 -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:2485:b0:6ce:d439:887 with SMTP id i5-20020a05620a248500b006ced4390887mr17045248qkn.458.1664274344331; Tue, 27 Sep 2022 03:25:44 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 03:25:43 -0700 (PDT) From: Dario Binacchi To: linux-amarula@amarulasolutions.com Cc: michael@amarulasolutions.com, Dario Binacchi Subject: [PATCH 4/6] mtd: mxs_nand: don't get the gpmi_apbh_dma clock Date: Tue, 27 Sep 2022 12:24:41 +0200 Message-Id: <20220927102443.1816168-4-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=hTnSUMuN; 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: , 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);