From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89535C433E0 for ; Wed, 20 May 2020 15:11:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5D3B820671 for ; Wed, 20 May 2020 15:11:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589987472; bh=HjS8Q28PCaGh/MsNZ8yOFVrlJ4XtB4FguAsuv4Dq9C4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=DOudIVMGEt/NBsFyWdEwLlUSkVu8mTv9QR0gmGjphI7E+cjKv/bA5Wr33etpCC9aY U7i6xVUZsj8bC8BuvKLP2bJ9j99LgLM/JHl4hlkptVtpJyIzM7tsR8ptXXkCrAp838 anfrl8yKQJ/toOVERc+2aVBHn9ahRzxbCj5ovSG8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726896AbgETPLL (ORCPT ); Wed, 20 May 2020 11:11:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:49266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726439AbgETPLL (ORCPT ); Wed, 20 May 2020 11:11:11 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 12571206C3; Wed, 20 May 2020 15:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589987470; bh=HjS8Q28PCaGh/MsNZ8yOFVrlJ4XtB4FguAsuv4Dq9C4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RG1NGrEKjOZ+0KA3JyTJtc4rWbibnuXDdUVQV0EVKC5HEW9fZUN0KCKr9qEZqqrBU UotX5+JP+cbk+CHnZgm4rAkAJ7qmxBlpE/5QkSNuRhYHjzWY4L91ADCFAai5JFOLN/ /r/k7jmzKJOUUmbkiY1cKkZKP5SDfU3Ol2lqCsoc= Date: Wed, 20 May 2020 23:11:04 +0800 From: Shawn Guo To: peng.fan@nxp.com Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, allison@lohutok.net, info@metux.net, Anson.Huang@nxp.com, leonard.crestez@nxp.com, git@andred.net, abel.vesa@nxp.com, andrew.smirnov@gmail.com, cphealy@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V3 0/3] ARM: imx: move cpu code to drivers/soc/imx Message-ID: <20200520151103.GC9249@dragon> References: <1589953889-30955-1-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1589953889-30955-1-git-send-email-peng.fan@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 20, 2020 at 01:51:26PM +0800, peng.fan@nxp.com wrote: > From: Peng Fan > > V3: > Rebased to latest next tree > Resolved the conflicts with vf610 soc patch > > V2: > Keep i.MX1/2/3/5 cpu type for completness > Correct return value in patch 1/3 > use CONFIG_ARM to guard compile soc-imx.c in patch 3/3 > > V1: > https://patchwork.kernel.org/cover/11433689/ > RFC version : > https://patchwork.kernel.org/cover/11336433/ > > Nothing changed in v1, just rename to formal patches > > Shawn, > The original concern has been eliminated in RFC discussion, > so this patchset is ready to be in next. > Thanks. > > Follow i.MX8, move the soc device register code to drivers/soc/imx > to simplify arch/arm/mach-imx/cpu.c > > I planned to use similar logic as soc-imx8m.c to restructure soc-imx.c > and merged the two files into one. But not sure, so still keep > the logic in cpu.c. > > There is one change is the platform devices are not under > /sys/devices/soc0 after patch 1/4. Actually ARM64 platform > devices are not under /sys/devices/soc0, such as i.MX8/8M. > So it should not hurt to let the platform devices under platform dir. > > Peng Fan (3): > ARM: imx: use device_initcall for imx_soc_device_init > ARM: imx: move cpu definitions into a header > soc: imx: move cpu code to drivers/soc/imx Applied all, thanks.