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

From: Greg KH
Date: Tue Oct 08 2019 - 11:43:51 EST


On Tue, Oct 08, 2019 at 08:33:11AM -0700, Stephen Boyd wrote:
> Quoting Murali Nalajala (2019-10-07 13:37:42)
> > 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 group and soc framework
> > would expose them as sysfs properties.
> >
> > Signed-off-by: Murali Nalajala <mnalajal@xxxxxxxxxxxxxx>
> > ---
>
> Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
>

Nice, can we convert the existing soc drivers to use this interface
instead of the "export the device pointer" mess that they currently
have? That way we can drop that function entirely.

thanks,

greg k-h