feat(lilygo-tdeck-max): wire up the DRV2605 haptic driver (#635)
This commit is contained in:
@@ -7,5 +7,6 @@ dependencies:
|
||||
- Drivers/tca8418-module
|
||||
- Drivers/sy6970-module
|
||||
- Drivers/bq27220-module
|
||||
- Drivers/drv2605-module
|
||||
- Drivers/gps-generic-module
|
||||
dts: lilygo,tdeck-max.dts
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <bindings/tca8418.h>
|
||||
#include <bindings/sy6970.h>
|
||||
#include <bindings/bq27220.h>
|
||||
#include <bindings/drv2605.h>
|
||||
#include <gps_generic/bindings.h>
|
||||
|
||||
// Reference: https://github.com/Xinyuan-LilyGO/T-Deck-MAX
|
||||
@@ -51,6 +52,11 @@
|
||||
compatible = "xlsemi,xl9555";
|
||||
reg = <0x20>;
|
||||
|
||||
motor_power {
|
||||
compatible = "gpio-hog";
|
||||
pin = <&xl9555 5 GPIO_FLAG_NONE>;
|
||||
};
|
||||
|
||||
gps_power {
|
||||
compatible = "gpio-hog";
|
||||
pin = <&xl9555 2 GPIO_FLAG_NONE>;
|
||||
@@ -120,6 +126,11 @@
|
||||
compatible = "ti,bq27220";
|
||||
reg = <0x55>;
|
||||
};
|
||||
|
||||
drv2605 {
|
||||
compatible = "ti,drv2605";
|
||||
reg = <0x5A>;
|
||||
};
|
||||
};
|
||||
|
||||
// Keyboard backlight (LED_PWM), GPIO42. The keypress-triggered flash/decay effect
|
||||
|
||||
Reference in New Issue
Block a user