From patchwork Wed Sep 16 20:55:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1365486 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=pe1WDb4M; dkim=temperror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=lM++wzuZ; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BsC7G6SnHz9sTv for ; Thu, 17 Sep 2020 06:56:10 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=W54YE8jpq2St/JZt949cf4shap0w9Tt9eFUQsRz3Jn4=; b=pe1WDb4MukTw9dSV8H9gd+07mM OhvLC5bDhNlhpZVrKtFk7BIrJ+ZkNzt8DtWMieQ4nU/9AcxT90JAad8LRmZyX9u7TZ4nKL/h/Zbv3 sbndsEyS9mGF/K+Zs2LBgnlgjVMM47iZwirs6+pFW4bOpV1oxUbqYKW1+y4vtYZw36JRj1vTGdyxI eUs7mXZVCKQF4MsRx37zqqQuIi1OC26wOOpNK/V4z0/SZ0idchkvvL4xKBXS+XLo/YLwM6upJBo8x gyR7zvNPZb8d9FIYGKY/SrdigOS5B+wfNghgpsA4crstX3JD0rdyuFEWbQ9GLpnQp+HxbRjQvaq39 kaFpfpkw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIeSr-0006dR-7f; Wed, 16 Sep 2020 20:55:41 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIeSn-0006d2-Uz for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2020 20:55:39 +0000 Received: by mail-qk1-x743.google.com with SMTP id o16so9732860qkj.10 for ; Wed, 16 Sep 2020 13:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=09RGbEPm/gLM3+1383JTaZSZKXqgXRvm7VieVOx3tSg=; b=lM++wzuZBeh3sZq0JQ2BWxSqC/1aFXjkAP0fnnQSxkD1vNzEMC+UNYTFXt8wB9+qzQ FspzIyRqzKJwQbGKpulHNgL1wtmLJj5CsLLsLIiGta15t88/tsOUY19jYHseXypfTpvP ow5Ydp1lNt1IW0CjkkqlBZbL74Zez+e4b8pVaoAmJYm/APR9ulJL9TlN+soB+bnucxPN rBuZgmJ9cO8dV9LNnaei5VWElIySGKEwhCW9m15hop8rscKONyzK06EOvy9lzRICTxdS aTVo98CRzvsMBOKdGfeAlsBEoemX1ivc8ZHYE0rN3m25DYMONBNNFGdmzbcNo/cVeXtC WWhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=09RGbEPm/gLM3+1383JTaZSZKXqgXRvm7VieVOx3tSg=; b=m2LdyQ+prg6AznzSBqgsdyKJV7w+Cjc/GZObb9+ZmaqUYLWWjNlo63ZvM6Hx4G7jI0 KMxj5zw83LCRFbXmBA5vdd3x0c7nfhv6DuRdvu87A6s50DJmV8sNYFGcEgmk7hcKXZaO +pD3P2sh6U2LmsJ6zUXzL0zUGLnBS1gPeNB7+TshyWkpkGhbNurg6iiebMNd+iDuRICL WcqKVhxPT7z6RS927LJWWb6yry7Fkz2zPMSCENY0bxCYJGBCpUCnanHkRHeThFWEwcMO Ago7gyIwzT/KosJQu45baqo0e07uaTd5D4/NJpltA2zIwAh5scGAJF2URPLgE7uWhqVi jRrw== X-Gm-Message-State: AOAM530dhFdptQrTvo+/g16UVN2S8uBdPsb0LQxTi/QULPdYcdBmukGq SdYEGSvr1IGYlAMnUbEAa98= X-Google-Smtp-Source: ABdhPJzU/OGEtYuWG2e0YRh0aLuHPP0uPGDDkQz1aqmY6vhlZidZE98TUT8RYuNU3mJQqdxXX9f/oQ== X-Received: by 2002:a05:620a:1015:: with SMTP id z21mr25490029qkj.2.1600289735706; Wed, 16 Sep 2020 13:55:35 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:640:9cc0:878:419e:8021]) by smtp.gmail.com with ESMTPSA id q142sm20320897qke.48.2020.09.16.13.55.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 13:55:35 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH 00/13] ARM: imx: Further cleanups due to dt-only conversion Date: Wed, 16 Sep 2020 17:55:09 -0300 Message-Id: <20200916205522.8783-1-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200916_165538_029214_E275DB07 X-CRM114-Status: GOOD ( 10.52 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:743 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [festevam[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , arnd@arndb.de, linux-imx@nxp.com, kernel@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Now that i.MX has been converted to a devicetree-only platform, do one more round of cleanups that consists mainly in using devicetree to get the peripherals base addresses and get rid of unused clock driver code. Fabio Estevam (13): ARM: dts: imx27: Fix the register range for CCM ARM: dts: imx27: Add the SYSCTRL description ARM: imx27: Retrieve the SYSCTRL base address from devicetree ARM: imx27: Retrieve the CCM base address from devicetree ARM: imx31: Retrieve the IIM base address from devicetree ARM: imx3: Retrieve the CCM base address from devicetree ARM: imx3: Retrieve the AVIC base address from devicetree ARM: imx35: Retrieve the IIM base address from devicetree ARM: imx: Remove unused IO_ADDRESS() macros clk: imx: imx27: Remove mx27_clocks_init() clk: imx: imx31: Remove mx31_clocks_init() clk: imx: imx35: Remove mx35_clocks_init() clk: imx: imx21: Remove clock driver arch/arm/boot/dts/imx27.dtsi | 7 +- arch/arm/mach-imx/cpu-imx27.c | 9 +- arch/arm/mach-imx/cpu-imx31.c | 10 +- arch/arm/mach-imx/cpu-imx35.c | 9 +- arch/arm/mach-imx/mm-imx3.c | 31 +++++- arch/arm/mach-imx/mx27.h | 1 - arch/arm/mach-imx/mx31.h | 1 - arch/arm/mach-imx/mx35.h | 1 - arch/arm/mach-imx/pm-imx27.c | 12 ++- drivers/clk/imx/Kconfig | 4 - drivers/clk/imx/Makefile | 1 - drivers/clk/imx/clk-imx21.c | 171 ---------------------------------- drivers/clk/imx/clk-imx27.c | 73 --------------- drivers/clk/imx/clk-imx31.c | 71 -------------- drivers/clk/imx/clk-imx35.c | 68 -------------- 15 files changed, 68 insertions(+), 401 deletions(-) delete mode 100644 drivers/clk/imx/clk-imx21.c