Re: [PATCH v8 1/2] soc: qcom: Add SoC info driver

2017-02-15 Thread Bjorn Andersson
On Tue 14 Feb 21:31 PST 2017, Imran Khan wrote: > On 2/15/2017 5:54 AM, Bjorn Andersson wrote: [..] > > > > I thought the conclusion was to drop the "hw_platform", > > "qrd_hw_platform_subtype" and hw_platform_subtype" lists, but to keep > > the cpu_of_id (although named soc_of_id). > > > > The

Re: [PATCH v8 1/2] soc: qcom: Add SoC info driver

2017-02-14 Thread Imran Khan
On 2/15/2017 5:54 AM, Bjorn Andersson wrote: > On Tue 10 Jan 07:48 PST 2017, Imran Khan wrote: > >> diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c >> new file mode 100644 >> index 000..40c180d >> --- /dev/null >> +++ b/drivers/soc/qcom/socinfo.c >> @@ -0,0 +1,516 @@ >> +/

Re: [PATCH v8 1/2] soc: qcom: Add SoC info driver

2017-02-14 Thread Bjorn Andersson
On Tue 10 Jan 07:48 PST 2017, Imran Khan wrote: > diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c > new file mode 100644 > index 000..40c180d > --- /dev/null > +++ b/drivers/soc/qcom/socinfo.c > @@ -0,0 +1,516 @@ > +/* > + * Copyright (c) 2009-2016, The Linux Foundation. A

[PATCH v8 1/2] soc: qcom: Add SoC info driver

2017-01-10 Thread Imran Khan
The SoC info driver provides information such as Chip ID, Chip family, serial number and other such details about Qualcomm SoCs to user space, so that if needed some user space utility(like antutu) can query such information using sysfs interface. Signed-off-by: Imran Khan --- v7 --> v8: - Fixe