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 > > [...]