Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp345492pxf; Thu, 1 Apr 2021 02:42:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsIoCNo4cF6TUrfeHXGjK49Nis9mlCdP5mz1kPXHB+FSt67rTmpWIUswSpEAwsdvtWgKhB X-Received: by 2002:aa7:d54c:: with SMTP id u12mr9127212edr.234.1617270139096; Thu, 01 Apr 2021 02:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617270139; cv=none; d=google.com; s=arc-20160816; b=gLsjiLj6LD99PTMj0Ge1JEldyDIMoeCAi61/KYgHrclaHUD5NxTDLa3NHspYeq6uxp jDo22l4CjovfhQg31YwCFwFxhFclN+lrKwB09NZc9dIXaPwfDeFOADQmeyh+aQs0BJAL yT74LXOvUEF+9p5AGRwMQ7NT1d2DGF0GIeoNT97x0TLloYMwljZju0ygeZEWV2d/+2j/ 9u1pNX4b15n5hIf/sZQuyqf/Q4c1AQNG1crIqEOnD87qkjw1v2SXVJlgtwyok38W8VqQ 70nBZQ/oClZEcBJ8z9T+nGibOR5ByKI4UOXvs89i78E1d9GO0GKiCpnEyjm+30dKFYB4 i7aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fZmQYEP/6uDQvDVxt6cb6vxDGnrh+P52fxUkAoEa5gA=; b=oX9Yyy7n9TFGvR58pRMcsrLQIH0X493V7Kw22hhBTaT0t+o3UuFkYA2aUVI0ULyw4d hOsWOcOwFibVDShgsGafz7J/DCYow/+KWOcMs7fU34HXJbic0eu//5hyMQ5tPuSYHnzk +V3IDvbWUn01x0b9ywjf6uReRCenSYtr4+gF49xku+Dk6vCrDlcDB2I5auwKi21kiwv6 1jmw3DFhqSbDUdoGZmUMr3zdMEawOA4sFDyGlpsmST/WgIJsQmxQ4xzRvX6uu0FTswhH 9esmb3CHXdRupFi0dbjJ+F6qu/vrTaShpVSAb21ykLRnLL+D+E/NzpuYezZJmnt0r6N4 4mwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hKPb3zzQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx25si4022958edb.242.2021.04.01.02.41.55; Thu, 01 Apr 2021 02:42:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hKPb3zzQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233915AbhDAJkr (ORCPT + 99 others); Thu, 1 Apr 2021 05:40:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233527AbhDAJkq (ORCPT ); Thu, 1 Apr 2021 05:40:46 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D89E9C0613E6; Thu, 1 Apr 2021 02:40:45 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a7so1930748ejs.3; Thu, 01 Apr 2021 02:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=fZmQYEP/6uDQvDVxt6cb6vxDGnrh+P52fxUkAoEa5gA=; b=hKPb3zzQUgcTpcda46PTiWKjDSRgecNDjjezIGnmdNnx5QKvZYeO7dLttj1qEpFKrI TU6QjzuAlATJDXpUvmCESIhYm8I1jt+DNaZceLnykSGmZ+u62trnCkJROoxtC5/QtrUm vEv6h6ac1n/5PTnx/lfwiHmCtV2RVkSqQLKEzyOhgU98xCyhOnjDluqOGJG2ZwFSMQPX ePtFowu6uH/FpqMyvX7tCR0xRiIXmCqomw/AcV1SRGSCqZMpyd3Cxmq54m7Hz4BEn8Rf RIr/iiG5uj/xFU1elx3S7eSezsUFSxROi4cEq1syeVb1dqRC7m61YcafQDrEtfXxs9uq 8Uow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=fZmQYEP/6uDQvDVxt6cb6vxDGnrh+P52fxUkAoEa5gA=; b=Ma9O3lVLtlHDnK3gvkNxHs1OtBMcNwp2kS2dHaBGb1vnuTBs6yUsNqBoxU4gegreFz x4SdtjCVBxTSb6CL2d7ov7Fg4Ig0NzvdjR5+czg8ouVXN0NZZkKWo5HhjB/fY0QCre2W qNn8TUdZGa3Z/m9g5Ehegf5zPxfcgswOCLE9ZrQDytSNAK4MmgS+FyCLMOf1Oakt2j10 j6kQyxAgWOYYh0SIevgpBQ2yr8Arznoxeho39WUSugYtQZVD8yozDg8097sC5s7Uq7iy +C8sNNMBEmyzYGqeRWo5hn55E5Ireiuj9+TmKHba/9OqAWo5OqP40txTgrpNSLh1HP+U VCtA== X-Gm-Message-State: AOAM5311Lae+rEO56EZGMSyA21fuUMOQwMgcs09yhSIY8JAHXW3bXSAf Mw2Qeba60NJnWhPbO7dm9BZVIcozCyM= X-Received: by 2002:a17:906:801:: with SMTP id e1mr7933219ejd.465.1617270044613; Thu, 01 Apr 2021 02:40:44 -0700 (PDT) Received: from BV030612LT ([188.24.140.160]) by smtp.gmail.com with ESMTPSA id jj15sm2525032ejc.99.2021.04.01.02.40.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 02:40:44 -0700 (PDT) Date: Thu, 1 Apr 2021 12:40:41 +0300 From: Cristian Ciocaltea To: Manivannan Sadhasivam Cc: Rob Herring , Andreas =?iso-8859-1?Q?F=E4rber?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/6] Add support for Actions Semi Owl socinfo Message-ID: <20210401094041.GA1993499@BV030612LT> References: <20210401052438.GB14052@work> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210401052438.GB14052@work> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mani, On Thu, Apr 01, 2021 at 10:54:38AM +0530, Manivannan Sadhasivam wrote: > On Tue, Mar 30, 2021 at 04:48:15PM +0300, Cristian Ciocaltea wrote: > > This patchset adds a socinfo driver which provides information about > > Actions Semi Owl SoCs to user space via sysfs: machine, family, soc_id, > > serial_number. > > > > Please note the serial number is currently available only for the S500 > > SoC variant. > > > > This has been tested on the S500 SoC based RoseapplePi SBC. > > > > Is this the soc_id provided by the vendor bootloader (uboot)? If so, under > what basis it provides? I don't think the SoC has the provision for > soc_id based on HW parameters. No, the soc_id is not provided by the bootloader, or at least I couldn't identify any related implementation. Instead, I provided this via the driver itself, since I've encountered this approach in some other soc drivers as well (e.g. imx/soc-imx.c, versatile/soc-integrator.c). Thanks, Cristi > Thanks, > Mani [...]