From patchwork Tue Jan 18 09:54:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 532989 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 729A5C433FE for ; Tue, 18 Jan 2022 09:55:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235897AbiARJzL (ORCPT ); Tue, 18 Jan 2022 04:55:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234898AbiARJzJ (ORCPT ); Tue, 18 Jan 2022 04:55:09 -0500 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FDCDC061574 for ; Tue, 18 Jan 2022 01:55:09 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id a18so76997553edj.7 for ; Tue, 18 Jan 2022 01:55:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gFGsugHXHNFuRFx4hHuDIfTzJdjawgvKHVHNvYFVuVA=; b=qVIHUaepCN0HqkZNKvU8ObV6khhWZ37zrRJSGg04Y6fi4JwTrl3Ja2/LlPybNdKfvv /GevgzLzoNVsfQr5Q97ySxTvXikXobpRqcc8Pti5900PnNzrUimxoyINJK8W/Nzpz3qe 0tpTSJvRsL3uYuB4orG9DjnY4VeWIrjbKOFfQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gFGsugHXHNFuRFx4hHuDIfTzJdjawgvKHVHNvYFVuVA=; b=5FM3IVXsvkBMh22ktWIclZPYp0UScELVFDFvA7401vCuUAGq8bupFSpZX1OTZYwZqZ eTO205VaNTMVQ8JlpF7S/BoMCB1MD59P4LpI8p8yWO8xVuM4gyBGdBvT2iGYv+kT/oa4 MFKiwwM5v00tdL9EwFRH1ua/zyzwSem9y+XUfWmaVGDZEz/L+qVbwBwN1BOwN/reNOjh 5Lz2YqFxRvra8kPWbUxBfwq4YdDkVCqL/hTsr2+nyTIIu9yVE1BHQ2sBFqx19iobkzAC kIWAetKg40mRwJmLnrLF2c2HIs/IGq0v/kAvqNX2n2i72vxGI3PfLKUUgJjRcCi4bUm+ Ku1A== X-Gm-Message-State: AOAM532MBan7UR/35RU52atcyA/MSJ1No5rfV4G4K3PbwxfNNW+mljYR zn/Zc7D7P9QPKNBu4M0749bSYQ== X-Google-Smtp-Source: ABdhPJyPeinfZ9O9gFd8mP62imIiuC1JcRKYr8SXHZwMuK6NI61glNVbnVUNBfzAo5J/X2HEUy6Zww== X-Received: by 2002:a17:907:e8a:: with SMTP id ho10mr20836082ejc.105.1642499708031; Tue, 18 Jan 2022 01:55:08 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-52-8-210.retail.telecomitalia.it. [82.52.8.210]) by smtp.gmail.com with ESMTPSA id w3sm5173520eji.134.2022.01.18.01.55.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jan 2022 01:55:07 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Michael Trimarchi , Dario Binacchi , Sascha Hauer , Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Shawn Guo , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/4] ARM: dts: imx28: reparent gpmi clock to ref_gpmi Date: Tue, 18 Jan 2022 10:54:31 +0100 Message-Id: <20220118095434.35081-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220118095434.35081-1-dario.binacchi@amarulasolutions.com> References: <20220118095434.35081-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Since ref_gpmi is sourced from pll0 (480MHz), It allows the GPMI controller to manage High-Speed ​​NAND Timing (edo mode 3,4 and 5). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Tested-by: Sascha Hauer Reviewed-by: Sascha Hauer --- arch/arm/boot/dts/imx28.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index 84d0176d5193..130b4145af82 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -110,6 +110,8 @@ gpmi: nand-controller@8000c000 { interrupt-names = "bch"; clocks = <&clks 50>; clock-names = "gpmi_io"; + assigned-clocks = <&clks 13>; + assigned-clock-parents = <&clks 10>; dmas = <&dma_apbh 4>; dma-names = "rx-tx"; status = "disabled";