[RFC] SoC name and revision in /proc/cpuinfo

Bryan Huntsman bryanh at codeaurora.org
Fri Sep 24 15:23:45 EDT 2010


On 09/24/2010 07:42 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> I knwon the diff between cpu and soc but today others arch do this the same way
> via cpuinfo as example sh or others.
> 
> So what do you propose?
> 
> is this better
> 
> soc familly:	at91
> soc type:	at91am9g20
> soc revision:	1.1
> 
> or you will prefer we create a new entry like sysinfo?
> 
> because today we store the hardware name, revision abd serial in cpuinfo
> also
> 
> Best Regards,
> J.

How about something like /sys/devices/system/soc/soc0/[family|type|revision]?  We're doing something similar and using this location on MSM chips.

- Bryan

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.



More information about the linux-arm-kernel mailing list