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=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 102DFC433B4 for ; Thu, 1 Apr 2021 09:42:32 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 9391361057 for ; Thu, 1 Apr 2021 09:42:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9391361057 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc: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=05Rf/99PUwaqp6PdTB5cOVN8WUDkWbiMVTO5rVr1WNY=; b=TQlEv6gSIGtS1yZNwv43Yhf4n 3A+AuctnVczgQI0NcIlYfet8rLza1e/NHjQRmbdAC9D+76c10KMIR9gGfaI3q/wbtSBHwKW3SMgV0 aSLqoe7Uey1gslyV3uSY91qkjQSiEcUDhXq5iCeZYDX3RdQIxNdoLO2uflgfDegt79ol9nx+Fkns+ RbAAIPhxSDX6eEpjp4waxG5wmoZauy4RYzxbX+pcyvNUFsOM1cLQzPwrKHdmU/Kq5uFA7mELCeflk V+tA3kw8VnmiKSYQ8qgoBWr9yfUPSB3uU5f3aOApm3+DQIHUFzdsa009ISz+0nhTjQB/NYQ/xpeUb QVYZCthqA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRtoq-00963o-OB; Thu, 01 Apr 2021 09:40:52 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRtoj-009618-S0; Thu, 01 Apr 2021 09:40:48 +0000 Received: by mail-ej1-x632.google.com with SMTP id ce10so1917957ejb.6; Thu, 01 Apr 2021 02:40:44 -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=fFNnuYt0u6coGjcpqAxHusFifLYY8sB+hoDmO1GuQ3LxJR3xngsfGVOYTh8qLqw/AI YRT01uVEyk8MYwePtzem73DML4Y5tkGzG1/equz6ugc9mJvKXhiOt9YtkOJ3uZdA7l2S xEZckfyLZy4ySu8W78XlOLIExmC3YBlkSk6PMnydCWJLDCl/YpG4zT3Hxn1TKm+i3Pmd 1YUlGiIMhax7s2A/QxLK6HSPWDMs79Zwf0nhViQjSWwwcjnrVpXv1yLaVU6fJfpTSTt7 OO6sr3QHP1n+Le50FNABh0TsA+Es2lG2PuIopcBtJ6W2HXp7DHhftT7jqp9jApKrMIuV ZuxQ== X-Gm-Message-State: AOAM531MIqlV0TaZ2HVmM/XD08+yl7yaAHQdEBXA17or63LSNbIoXuM6 nRo1KjyMJDRd9Txq8itkIt0= X-Google-Smtp-Source: ABdhPJwu/Ydwj7Y2X33MOvvJpAkNpoja+icLlUKmfRFSjO9Ewbe9R3XUf8mdIn/tuQuRwZMlKrO/GA== 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-Disposition: inline In-Reply-To: <20210401052438.GB14052@work> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210401_104046_167930_95870B14 X-CRM114-Status: GOOD ( 18.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 [...] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel