File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 376
376
status = "okay";
377
377
};
378
378
379
+ &blsp2_i2c1 {
380
+ status = "okay";
381
+
382
+ sideinteraction: ad7147_captouch@2c {
383
+ compatible = "ad,ad7147_captouch";
384
+ reg = <0x2c>;
385
+
386
+ pinctrl-names = "default", "sleep";
387
+ pinctrl-0 = <&grip_default>;
388
+ pinctrl-1 = <&grip_sleep>;
389
+
390
+ interrupts = <&tlmm 96 IRQ_TYPE_EDGE_FALLING>;
391
+
392
+ button_num = <8>;
393
+ touchpad_num = <0>;
394
+ wheel_num = <0>;
395
+ slider_num = <0>;
396
+
397
+ vcc-supply = <&vreg_l18a_2p85>;
398
+ };
399
+
400
+ /*
401
+ * The QPDS-T900/QPDS-T930 is a customized part built for Nokia
402
+ * by Avago. It is very similar to the Avago APDS-9930 with some
403
+ * minor differences. In the future a proper driver might need to
404
+ * be written for this device. For now this works fine.
405
+ */
406
+ qpdst900: qpdst900@39 {
407
+ compatible = "avago,apds9930";
408
+ reg = <0x39>;
409
+
410
+ interrupt-parent = <&tlmm>;
411
+ interrupts = <40 IRQ_TYPE_EDGE_FALLING>;
412
+ };
413
+ };
414
+
379
415
&blsp2_i2c5 {
380
416
status = "okay";
381
417
843
879
};
844
880
845
881
&tlmm {
882
+ grip_default: grip-default {
883
+ pins = "gpio39";
884
+ function = "gpio";
885
+ drive-strength = <6>;
886
+ bias-pull-down;
887
+ };
888
+
889
+ grip_sleep: grip-sleep {
890
+ pins = "gpio39";
891
+ function = "gpio";
892
+ drive-strength = <2>;
893
+ bias-pull-down;
894
+ };
895
+
846
896
hall_front_default: hall-front-default {
847
897
pins = "gpio42";
848
898
function = "gpio";
You can’t perform that action at this time.
0 commit comments