diff options
| author | Dave Wilson <[email protected]> | 2015-03-17 19:50:07 -0700 |
|---|---|---|
| committer | Dave Wilson <[email protected]> | 2015-03-17 19:50:07 -0700 |
| commit | 97cf5197cf5b882b2c689d8dc2b555f2edf8f418 (patch) | |
| tree | 46f3701832d70b420eb0fc0eb93261f9da45db3f /spb/SpbTestTool/sys/spbtesttool.asl | |
| parent | ef1905bf1e8825bb31120dfb27e0daf3154d859a (diff) | |
Initial publish
Diffstat (limited to 'spb/SpbTestTool/sys/spbtesttool.asl')
| -rw-r--r-- | spb/SpbTestTool/sys/spbtesttool.asl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/spb/SpbTestTool/sys/spbtesttool.asl b/spb/SpbTestTool/sys/spbtesttool.asl new file mode 100644 index 00000000..fcf3c9ac --- /dev/null +++ b/spb/SpbTestTool/sys/spbtesttool.asl @@ -0,0 +1,26 @@ +// +// Test peripheral device node +// +Device(SPBT) +{ + Name(_HID, "SpbTestTool") + Name(_UID, 1) + Method(_CRS, 0x0, NotSerialized) + { + Name (RBUF, ResourceTemplate () + { + // + // Sample I2C and GPIO resources. Modify to match your + // platform's underlying controllers and connections. + // \_SB.I2C and \_SB.GPIO are paths to predefined I2C + // and GPIO controller instances. + // + // Note: SpbTestTool does not require a GPIO resource. + // Remove as necessary. + // + I2CSerialBus(0x1D, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.I2C", , ) + GpioInt(Level, ActiveHigh, Exclusive, PullDown, 0, "\\_SB.GPIO") {1} + }) + Return(RBUF) + } +}
\ No newline at end of file |
