Commit 3469644 1 parent 9a6f5d1 commit 3469644 Copy full SHA for 3469644
File tree 2 files changed +42
-0
lines changed
arch/arm64/boot/dts/apple
2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 50
50
label = "USB-C Left-front";
51
51
};
52
52
53
+ &spi3 {
54
+ status = "okay";
55
+
56
+ hid-transport@0 {
57
+ compatible = "apple,spi-hid-transport";
58
+ reg = <0>;
59
+ spi-max-frequency = <8000000>;
60
+ /*
61
+ * Apple's ADT specifies 20us CS change delays, and the
62
+ * SPI HID interface metadata specifies 45us. Using either
63
+ * seems not to be reliable, but adding both works, so
64
+ * best guess is they are cumulative.
65
+ */
66
+ spi-cs-setup-delay-ns = <65000>;
67
+ spi-cs-hold-delay-ns = <65000>;
68
+ spi-cs-inactive-delay-ns = <250000>;
69
+ spien-gpios = <&pinctrl_ap 195 0>;
70
+ interrupts-extended = <&pinctrl_nub 13 IRQ_TYPE_LEVEL_LOW>;
71
+ };
72
+ };
73
+
53
74
&i2c2 {
54
75
status = "okay";
55
76
};
Original file line number Diff line number Diff line change 53
53
&typec1 {
54
54
label = "USB-C Left-front";
55
55
};
56
+
57
+ &spi3 {
58
+ status = "okay";
59
+
60
+ hid-transport@0 {
61
+ compatible = "apple,spi-hid-transport";
62
+ reg = <0>;
63
+ spi-max-frequency = <8000000>;
64
+ /*
65
+ * Apple's ADT specifies 20us CS change delays, and the
66
+ * SPI HID interface metadata specifies 45us. Using either
67
+ * seems not to be reliable, but adding both works, so
68
+ * best guess is they are cumulative.
69
+ */
70
+ spi-cs-setup-delay-ns = <65000>;
71
+ spi-cs-hold-delay-ns = <65000>;
72
+ spi-cs-inactive-delay-ns = <250000>;
73
+ spien-gpios = <&pinctrl_ap 195 0>;
74
+ interrupts-extended = <&pinctrl_nub 13 IRQ_TYPE_LEVEL_LOW>;
75
+ };
76
+ };
You can’t perform that action at this time.
0 commit comments