Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3443146ybg; Mon, 28 Oct 2019 12:55:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXsSOL0vu7GqgEqu5WZDACnDAYAgVj3cS/hHfpcc8ljXx3v3rhqVPh1ty+CGO9ebTVQsdO X-Received: by 2002:a17:906:edb7:: with SMTP id sa23mr18172815ejb.327.1572292554682; Mon, 28 Oct 2019 12:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572292554; cv=none; d=google.com; s=arc-20160816; b=FkaoNquHhpOsRX6FSDJ+mm2bXl/zL/LixtAfAED2GGBkrogneCWJhrcyL95hzWvMdq W4KITCivu4RWxqZhF0AgVyjv1Kw520lhAEOiNsWa8Z1+hgunb1wILc+O1pj1O1ikshM0 YlgBWM6V3VERtXFMknSBqFhX1XwZAjLGkNsP2emsa2WaCCm/LRKplQWatBNmAk5N/Vnd 3tbGmQUCbThAOVP6ozJAc7i+B7dV1I+uvqQjCoPdD/oalBv+to3HoNGzfC3I+OsFnrPU SCmcv+zYhuUZo2zCpuM5f/D39ITwMeBCtA8qB4ltKQDgVXg4Soet8WG/04eaANXPJNWo QjEA== 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=Zk+dn6TlyNSXFlJOWUh4MxMwyVSHrLkOdq+66A0DRdw=; b=CFbhEDQnQhPtoUYxG74beLovSSoz8x5OOPfbwgnt/MCY+LAvsbhg/ZW6Cbhp+QfKdK 5emwfBPF4nocrRV7fe0F56YvN3drkVv5UP+qvVtrxq9BR5NK2se4+NMjFMdnpWeKOVpL Hl9IdaztChjVtyfagSPzVzPV2OhipsC+GEGElpwN1mWnoR+Lf4DRRA1sNYF7sfzuN3tb 8yQppxDYiAdNuKDiKiKs31+VgWoyWIi46VCUXLqjvFFaYQLD6E1mhVDSwKb1nCsAPCpw cxcyH/4SKDA8nIm0dp7IMqxqgJOgaZJxRIun3jHICEmND9Vr+Scfri7h8ICMNZFo7iBR t4ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=C7FiH8b7; 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 o12si1366507ejn.292.2019.10.28.12.55.30; Mon, 28 Oct 2019 12:55:54 -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=C7FiH8b7; 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 S2388486AbfJ1LfB (ORCPT + 99 others); Mon, 28 Oct 2019 07:35:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:56260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726463AbfJ1LfB (ORCPT ); Mon, 28 Oct 2019 07:35:01 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D0F0920873; Mon, 28 Oct 2019 11:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572262500; bh=8W/eAI/xIhgjfqFM7WlcqXxv3DWk2HLLJvt0/XMzVyM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C7FiH8b7uxMyuvyMM3w80cgzy9CUz+P5b5w2BudIXW6l+2sVbTgDypvJaDPm9zTrc h6xPZyGIruMZjK0mqZ08fwMqx4+8TECT0y+9OiGMRzcj6bLaEYtQHgf/poYzQGr/SM VmAM+HttWo4pe72Z2PCtEX4qoJ6t1cMVGHCznvag= Date: Mon, 28 Oct 2019 19:34:32 +0800 From: Shawn Guo To: Anson Huang Cc: linux@armlinux.org.uk, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH V2] ARM: imx: Add serial number support for i.MX6/7 SoCs Message-ID: <20191028113428.GC16985@dragon> References: <1572254161-18914-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: <1572254161-18914-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 Mon, Oct 28, 2019 at 05:16:01PM +0800, Anson Huang wrote: > i.MX6/7 SoCs have a 64-bit SoC unique ID stored in OCOTP, > it can be used as SoC serial number, add this support for > i.MX6Q/6DL/6SL/6SX/6SLL/6UL/6ULL/6ULZ/7D, see below example > on i.MX6Q: > > root@imx6qpdlsolox:~# cat /sys/devices/soc0/serial_number > 240F31D4E1FDFCA7 > > Signed-off-by: Anson Huang Applied, thanks.