Re: [PATCH] ACPI: properties: expose device properties through sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed Jun 27 12:53, Lukas Wunner wrote:
> On Wed, Jun 27, 2018 at 10:41:34AM -0700, Curt Brune wrote:
> > This change exposes ACPI device properties via sysfs under
> > <device>/firmware_node/properties/*.  This is a logical extension of
> > the changes that expose _ADR, _STR, _HID, etc... in the same
> > directory.
> 
> Would it be possible to implement this in a generic, non ACPI-specific
> way that also works for properties added with device_add_properties()
> as well as OF properties?

I see what you are asking, but I am not quite sure how to do that.

For example, I do not see an analog to ACPI_TYPE_PACKAGE and
ACPI_TYPE_LOCAL_REFERENCE in enum dev_prop_type.  All we have there
are integer types and strings.

Cheers,
Curt
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux