Re: [PATCH v1] base: soc: Handle custom soc information sysfs entries

2019-10-04 Thread Greg KH
On Thu, Oct 03, 2019 at 11:17:45PM -0700, Stephen Boyd wrote: > Quoting Bjorn Andersson (2019-10-03 22:50:57) > > On Thu 03 Oct 22:38 PDT 2019, Stephen Boyd wrote: > > > > > Quoting Murali Nalajala (2019-10-03 16:51:50) > > > > @@ -151,14 +156,16 @@ struct soc_device *soc_device_register(struct >

Re: [PATCH v1] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread Stephen Boyd
Quoting Bjorn Andersson (2019-10-03 22:50:57) > On Thu 03 Oct 22:38 PDT 2019, Stephen Boyd wrote: > > > Quoting Murali Nalajala (2019-10-03 16:51:50) > > > @@ -151,14 +156,16 @@ struct soc_device *soc_device_register(struct > > > soc_device_attribute *soc_dev_attr > > > > > > ret = devi

Re: [PATCH v1] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread Bjorn Andersson
On Thu 03 Oct 22:38 PDT 2019, Stephen Boyd wrote: > Quoting Murali Nalajala (2019-10-03 16:51:50) > > @@ -151,14 +156,16 @@ struct soc_device *soc_device_register(struct > > soc_device_attribute *soc_dev_attr > > > > ret = device_register(&soc_dev->dev); > > if (ret) > > -

Re: [PATCH v1] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread Stephen Boyd
Quoting Murali Nalajala (2019-10-03 16:51:50) > @@ -151,14 +156,16 @@ struct soc_device *soc_device_register(struct > soc_device_attribute *soc_dev_attr > > ret = device_register(&soc_dev->dev); > if (ret) > - goto out3; > + goto out4; > > re

[PATCH v1] base: soc: Handle custom soc information sysfs entries

2019-10-03 Thread Murali Nalajala
Soc framework exposed sysfs entries are not sufficient for some of the h/w platforms. Currently there is no interface where soc drivers can expose further information about their SoCs via soc framework. This change address this limitation where clients can pass their custom entries as attribute gro