Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4086507ybi; Mon, 3 Jun 2019 05:34:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwz0uUXHlxkImwS90rRt0tLEAOysSst3qeVefORy2xJ8V3OrzKqQ8GNzsK2LvwdLH1YTItT X-Received: by 2002:a62:7789:: with SMTP id s131mr23780323pfc.148.1559565262103; Mon, 03 Jun 2019 05:34:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559565262; cv=none; d=google.com; s=arc-20160816; b=NNVpeuZNiPusnm0ujlpPT3gP6wB4xI7/pYtBtpdyw+FLiKPOrqUulC3TyAhc8hfm+z JbDVJFClG+pZplvHZuI7eLihW7zbY0cWqNkgz+nZ8n6MYosz6NvqWuLAYua2+p64gIam sJVVGWTUyan4UZPWTQB0eBQ1TQU8G7yG2KPjRycoo5abfsqlOPFY0CmvhhI/TTb6cmoq e3D5xNInAVGUzStb6LhMRiQ5J9gVd1rEPTWCCqjijYHEMjHWWTLjgzKVQRr1RXZXy9wj fJ0XDFfDhvJ2E+Dt4A82ps2owhVALkLEtAm2vvd7zJbeL9eZQbill9hvxyGVxePcXeU5 1NHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kWX3lSgVXt/A6d92hBwpIBcbAWcFOIg5G+i+DnMyPZs=; b=XaKNfCHuhRzHBp5AsBVVaEmcpKjHFhBPfqPvIVKb0PMxGJKSL0XharbnCJ5tcWAbIl f3d8qEVf2SunFNryT62mxlyw5/K0UfJHiSXLpj2+kOnCTGKceFfSdpVypCjqtB1+HMPG VlXP0/mI1/CZflhPVQBSaAEF4Bz3Wuy2wD2q1Qhy3lJ1TlfxX19sZbIZLDxEFdltMlYI Ewq0TN1QLp7bbt5JlP5jkyD34E50NP+Tf9aJLg1Apj3BsCAe8luUVMkuQ589hXwoZdgF lQaUnt6oEBr57Lcb1+2Zy8Ki1elMbvJIU0ULwgoWSR8aCyHBKB650y3UjZIuAATi3mWF JRVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="k/BlXcMh"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si16909644pgj.149.2019.06.03.05.34.04; Mon, 03 Jun 2019 05:34:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="k/BlXcMh"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727249AbfFCMcr (ORCPT + 99 others); Mon, 3 Jun 2019 08:32:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:42958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbfFCMcr (ORCPT ); Mon, 3 Jun 2019 08:32:47 -0400 Received: from dragon (li1232-89.members.linode.com [45.79.133.89]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4405C26A31; Mon, 3 Jun 2019 12:32:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559565167; bh=nH7El9F5kOiagXyhzBVYhdnWSGsNuX6qBDg41snSmDs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k/BlXcMhrQvbfDVb3Rns/tjKuya+BuFBiSA0VusyE3Kq+8ab3qZQsmVQXufMv5piA GJu1alG/6SqCfX3OlRoYWSQSZcURZJl6NIBhX1hrYLjW/HCvFdS3Jt6mkqzC/bBNmt MwJBCSEXrkWQiwU5ttd7ObCaKAA7DEZ8uKuK2uaQ= Date: Mon, 3 Jun 2019 20:32:31 +0800 From: Shawn Guo To: Anson Huang Cc: "catalin.marinas@arm.com" , "will.deacon@arm.com" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "maxime.ripard@bootlin.com" , "olof@lixom.net" , "agross@kernel.org" , "horms+renesas@verge.net.au" , "jagan@amarulasolutions.com" , "bjorn.andersson@linaro.org" , Leonard Crestez , "dinguyen@kernel.org" , "enric.balletbo@collabora.com" , Abel Vesa , Aisheng Dong , "robh@kernel.org" , "tglx@linutronix.de" , "l.stach@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH V7 1/2] soc: imx: Add SCU SoC info driver support Message-ID: <20190603123124.GB16651@dragon> References: <1558662440-8820-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1558662440-8820-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 24, 2019 at 01:52:36AM +0000, Anson Huang wrote: > Add i.MX SCU SoC info driver to support i.MX8QXP SoC, introduce > driver dependency into Kconfig as CONFIG_IMX_SCU must be > selected to support i.MX SCU SoC driver, also need to use > platform driver model to make sure IMX_SCU driver is probed > before i.MX SCU SoC driver. > > With this patch, SoC info can be read from sysfs: > > i.mx8qxp-mek# cat /sys/devices/soc0/family > Freescale i.MX > > i.mx8qxp-mek# cat /sys/devices/soc0/soc_id > 0x2 > > i.mx8qxp-mek# cat /sys/devices/soc0/machine > Freescale i.MX8QXP MEK > > i.mx8qxp-mek# cat /sys/devices/soc0/revision > 1.1 > > Signed-off-by: Anson Huang > Reviewed-by: Abel Vesa > Reviewed-by: Dong Aisheng Applied, thanks.