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=-5.5 required=3.0 tests=BAYES_00,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 97DEBC433ED for ; Thu, 1 Apr 2021 10:29:00 +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 1022E60234 for ; Thu, 1 Apr 2021 10:29:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1022E60234 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+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=o1SNvWL5nCPdzb0zJV+TVKaZFbvXmP56Q7/4o7t8HDM=; b=WYG985JoGpUILAn9Fgp7HOd8s iEOqdiq95DEug9xQBuJniofrvsFrVd1DmGp7nR4kCR93guKPLdEQOWa+ImSEtaFZ2cOL7Np85WszF pqrI/NM7O6T9+0xHyIQ0gMQEisczd6lWE8RKrSNN90Q/GQLogf8VJF8wpbNe/ehv9KnbRKQO6wHof gIwtc5+9t3b6PKziuhsDzOFR5pIjQt/tV5t8vxZhww/qk5PowzTP/hLGp7A6DO18g0i+OJPl4INsf 1LJ8pUaJZunMehoqS2pYCjjs8AQxgBRoy9AAt7ILuFCLhGcsMGrvZFnXEhtoXRu5BWus5QKgtAAek rFjUXgUTA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRuY3-009DuU-VS; Thu, 01 Apr 2021 10:27:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRuXt-009Ds4-GO; Thu, 01 Apr 2021 10:27:28 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E779610EA; Thu, 1 Apr 2021 10:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617272843; bh=HQG16RWBrcoedAiIdR5UENpMwcX+yPeQNqIyyoyNUuY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BTInuR9nePUquz2VTIc45uqzI1An1RggwZuVpd3dYxSCD9TpLH5E2yoCwFICX2go5 jsIcScts5zJHO+8RXJbStT3BN60p2r8QyhdefkqYYfmzXYd9QBHzp8tZZfH7Fq04PU YMHbEm4NLTQvHaB5Fnfr+qOQG+n5Q5g322jl4JrVJFyjzRlKBZwcyt1euNA6Waf+Df MBUSS6JdXAyQZuGbCVEkHwAII0UgbbYyMUZbdtW9hG2WulSdgsM/fpbvH+JWJQ6K4I n2OWSVzL1mGaeWxSCJ7AlHxoc4aXXXfwHDjB4DyM0L+2XfgOLeQFFlxT8tNktjdj0T IlLZRR1SDi94A== Date: Thu, 1 Apr 2021 15:57:17 +0530 From: Manivannan Sadhasivam To: Cristian Ciocaltea 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: <20210401102717.GF14052@work> References: <20210401052438.GB14052@work> <20210401094041.GA1993499@BV030612LT> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210401094041.GA1993499@BV030612LT> 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-20210401_112726_933060_3A64E047 X-CRM114-Status: GOOD ( 19.75 ) 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 On Thu, Apr 01, 2021 at 12:40:41PM +0300, Cristian Ciocaltea wrote: > 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). > Sorry, I was referring to serial_number. Since your comment says so, can you point to the corresponding code? Thanks, Mani > Thanks, > Cristi > > > Thanks, > > Mani > > [...] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel