linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help on named object in kernel
@ 2019-06-12 11:48 Udit Kumar
  2019-06-12 16:37 ` Schmauss, Erik
  0 siblings, 1 reply; 6+ messages in thread
From: Udit Kumar @ 2019-06-12 11:48 UTC (permalink / raw)
  To: ACPI Devel Maling List; +Cc: lenb, Rafael J. Wysocki

Dear ACPI experts, 
I need your help on defining named objected in ACPI under _CRS. 
In my firmware, I have defined two addresses for my device using 
Memory32Fixed and QwordMemory under _CRS.  
These  two addresses are 32-bit and 64-bit long respectively. 
For Memory32Fixed, I gave DescriptorName name as REG0
and for QwordMemory I gave DescriptorName as SATA.

In Linux, all of resource of this device is added under its name 
(NXP0003:00).  Reading r-> name for all resource of this device 
is giving name as NXP0003:00. 
So I am not able to use existing OS driver using call 
platform_get_resource_byname, I have to use platform_get_resource
API with index to get above addresses.

Could you help me, if there is way to use named resource in acpi.
Fyi, I am on kernel 4.14.122

Many Thanks 
Udit 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-13 17:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 11:48 Help on named object in kernel Udit Kumar
2019-06-12 16:37 ` Schmauss, Erik
2019-06-12 17:00   ` [EXT] " Udit Kumar
2019-06-12 17:00   ` Sudeep Holla
2019-06-13  1:20     ` [EXT] " Udit Kumar
2019-06-13 17:08       ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).