https://github.com/torvalds/linux
Revision 75ec6e55f1384548311a13ce4fcb39c516053314 authored by Bob Moore on 23 September 2014, 02:35:47 UTC, committed by Rafael J. Wysocki on 24 September 2014, 20:53:46 UTC
Changes to correct several GPIO issues:

1) The update_rule in a GPIO field definition is now ignored;
a read-modify-write operation is never performed for GPIO fields.
(Internally, this means that the field assembly/disassembly
code is completely bypassed for GPIO.)

2) The Address parameter passed to a GPIO region handler is
now the bit offset of the field from a previous Connection()
operator. Thus, it becomes a "Pin Number Index" into the
Connection() resource descriptor.

3) The bit_width parameter passed to a GPIO region handler is
now the exact bit width of the GPIO field. Thus, it can be
interpreted as "number of pins".

Overall, we can now say that the region handler interface
to GPIO handlers is a raw "bit/pin" addressed interface, not
a byte-addressed interface like the system_memory handler interface.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Cc: 3.15+ <stable@vger.kernel.org> # 3.15+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0f33be0
History
Tip revision: 75ec6e55f1384548311a13ce4fcb39c516053314 authored by Bob Moore on 23 September 2014, 02:35:47 UTC
ACPICA: Update to GPIO region handler interface.
Tip revision: 75ec6e5

back to top