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.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 23217C352A3 for ; Thu, 13 Feb 2020 05:44:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EB2F720873 for ; Thu, 13 Feb 2020 05:44:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YUk0N6V/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="RMT4njs9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EB2F720873 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Mwbs2WYFUHmpSQzw+tQKk15wMK1nvo8qQFK1veCXXmA=; b=YUk0N6V/qa2KpR sDPuViGG+3+4nQ8yha4/inQwo4ohMVQaDqm8i9js3RYXjGxmYbEL93nNrHyQLaefLXGb2ALlfcr9O d3qq5bI3Ai8E5RhzqTJ5RY2PBTDw0bYM9MNHkStSdjsMUfVhgplYff0RWsR1YhTP6/7B6IyZNj9dd XHe0ewltosjVyvae5WaFgVntfCQ82kU/u9fBOpN2Voyt7+US8My+qZw7s6vqqixnA0BNh0eK8tGg5 ONHwhH6fqO9jQNDRGAOl1CqBbvX63Zh4SLUNYwiOwGGWrJwZDJt2Gh8hrXKdhmsfIEs7ZolelqJKA GbKZrccE12hi8Eb772tA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j27ID-0004v5-MX; Thu, 13 Feb 2020 05:44:05 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j27IA-0004sw-JO for linux-arm-kernel@lists.infradead.org; Thu, 13 Feb 2020 05:44:04 +0000 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 5CEC220873; Thu, 13 Feb 2020 05:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581572633; bh=4syaKUKu77FngS2/xeaFk/gtszZv6o9gBJ+A5aYg8KU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RMT4njs9CqOEjaxrgfxN4wrm4Uhh6yv/5opMDMKEcFVMDRrz2yQbvzd3Cwfe7WGL5 2PHPd0Q7VIzWPMHxRDU5SmLfuRPft18+xurNzc1Kn+7wln6WeOQ7+Bmb/yRt9d/WyK PNYEc8J6a3Kya+FiJPg82yFvjKLc1YHh/CuL2jkY= Date: Thu, 13 Feb 2020 13:43:45 +0800 From: Shawn Guo To: Peng Fan Subject: Re: [RFC 1/4] ARM: imx: use device_initcall for imx_soc_device_init Message-ID: <20200213054344.GM11096@dragon> References: <1579167145-1480-1-git-send-email-peng.fan@nxp.com> <1579167145-1480-2-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200212_214402_659019_AB6708E0 X-CRM114-Status: GOOD ( 14.03 ) 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" , Jacky Bai , Anson Huang , "ard.biesheuvel@linaro.org" , "info@metux.net" , "s.hauer@pengutronix.de" , "linux-kernel@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , "git@andred.net" , Leonard Crestez , "festevam@gmail.com" , "allison@lohutok.net" , Abel Vesa Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jan 17, 2020 at 08:15:54AM +0000, Peng Fan wrote: > > > Subject: [RFC 1/4] ARM: imx: use device_initcall for > > > imx_soc_device_init > > > > > > From: Peng Fan > > > > > > This is preparation to move imx_soc_device_init to drivers/soc/imx/ > > > > > > There is no reason to must put dt devices under /sys/devices/soc0, > > > they could also be under /sys/devices/platform, so we could pass NULL > > > as parent when calling of_platform_default_populate. > > > > > > > This change will impact various internal test case & userspace lib, I think. > > Need to ask test team & other developer to double check the impact. > > /sys/devices/soc0 is still there, the patchset only moves > the platform devices which under /sys/devices/soc0 to /sys/devices/platform Jacky's concern still stands, as there are many user spaces which will be broken and need update. > In this way, we aligned with ARM64. And simplify arch code by moving > the code to drivers/soc/imx. In future, considering more cleanup, > we could merge the code to soc-imx8.c, since they share similar > silicon rev ocotp logic. Though this is a good thing from maintenance point of view, we do not want to break user spaces. Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel