Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
c43e4f0
soc: apple: mailbox: receive T6050 GPU mailboxes by polling
joshuaswarren Nov 11, 2026
51c488d
HID: magicmouse: do not mark the MTP trackpad as a direct device
joshuaswarren Nov 10, 2026
46932fc
HID: magicmouse: drop the GD Mouse usages on dockchannel MTP devices
joshuaswarren Nov 10, 2026
11bac22
HID: dockchannel-hid: clamp oversized Report Size items
joshuaswarren Nov 10, 2026
d3551d4
HID: magicmouse: clamp the dockchannel MTP REPORT_SIZE to the hid cor…
joshuaswarren Nov 10, 2026
b8604c2
HID: dockchannel-hid: own reset and power lines for a power method 2 …
joshuaswarren Nov 10, 2026
c0df9d3
arm64: dts: apple: t6050-k114c: enable the NUB GPIO block and the kiw…
joshuaswarren Nov 11, 2026
ce7c147
HID: dockchannel-hid: request the interface reset line as an output
joshuaswarren Nov 10, 2026
e74bef6
Revert "HID: dockchannel-hid: request the interface reset line as an …
joshuaswarren Nov 11, 2026
30c94fe
Revert "HID: dockchannel-hid: own reset and power lines for a power m…
joshuaswarren Nov 11, 2026
fb69ae1
HID: apple-mtp-kiwi: add the MTP touch screen driver
joshuaswarren Nov 11, 2026
500da1f
HID: dockchannel-hid: bring up the kiwi (touch screen) interface
joshuaswarren Nov 11, 2026
d3ba4d7
pinctrl: apple: the GPIO mode field is four bits wide
joshuaswarren Nov 10, 2026
9e34146
arm64: dts: apple: t6050-k114c: the kiwi reset line is active low
joshuaswarren Nov 11, 2026
581c5c9
HID: dockchannel-hid: skip announced GPIOs the DT does not wire; kiwi…
joshuaswarren Nov 11, 2026
6ec0551
arm64: dts: apple: t6050-k114c: kiwi pad functions (clock pin 22, dis…
joshuaswarren Nov 11, 2026
2dd590d
dt-bindings: HID: dockchannel: kiwi carries its own power and reset l…
joshuaswarren Nov 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Documentation/devicetree/bindings/input/apple,dockchannel-hid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,26 @@ properties:
Name of the touchscreen firmware that the host sends to the
coprocessor when the interface is first opened.

apple,power-method:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [1, 2]
default: 1
description:
The power sequencing protocol of the coprocessor firmware, as
described above. Power method 2 for kiwi carries its own reset
and power lines instead of the shared AFE reset.

apple,reset-gpios:
maxItems: 1
description:
The touchscreen's own reset line, when it does not share the
AFE reset of the parent node.

apple,power-gpios:
maxItems: 1
description:
The touchscreen's optional supply enable line.

mtp:
type: object
additionalProperties: false
Expand Down
41 changes: 41 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-k114c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -581,3 +581,44 @@
<&ps_atc2_cio_usb>, <&ps_atc2_cio_auss>, <&ps_atc2_pcie>;
apple,pcie-tunnel = <&acio2_pcie_tunnel>;
};
/* The touchscreen (kiwi). Its reset and supply are NUB GPIO pins 25 and 26 (ADT
* function-reset and function-power), not the shared multi-touch AFE reset.
* The NUB GPIO block powers the touch controller; upstream wires its interrupts.
* the reset, as for the AFE one [INFERENCE].
*/
&ps_nub_gpio {
status = "okay";
};

&nub_gpio0 {
status = "okay";
};

&kiwi {
firmware-name = "apple/tpkiwifw-k114c.bin";
apple,power-method = <2>;
apple,reset-gpios = <&nub_gpio0 25 GPIO_ACTIVE_LOW>;
apple,power-gpios = <&nub_gpio0 26 GPIO_ACTIVE_HIGH>;
status = "okay";
};

/*
* The kiwi 24 MHz clock pad (NUB pin 22) and display_sync pad (AP pin 11) are pad
* functions, not host GPIOs: function 1 on each.
*/
&pinctrl_ap {
kiwi_dsync_pins: kiwi-dsync-pins {
pinmux = <0x1000b>; /* APPLE_PINMUX(11, 1) */
};
};

&nub_gpio0 {
kiwi_clk24_pins: kiwi-clk24-pins {
pinmux = <0x10016>; /* APPLE_PINMUX(22, 1) */
};
};

&mtp_hid {
pinctrl-0 = <&kiwi_clk24_pins>, <&kiwi_dsync_pins>;
pinctrl-names = "default";
};
11 changes: 11 additions & 0 deletions drivers/hid/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,17 @@ config HID_APPLE_MTP_HAPTIC
This driver can also be built as a module. If so, it will be called
hid-apple-mtp-haptic.

config HID_APPLE_MTP_KIWI
tristate "Apple MTP touch screen (kiwi) support"
depends on HID
help
Support for the touch screen of Apple Silicon laptops that have one,
such as the MacBook Pro with a touch display. The driver turns the raw
capacitance image of the touch interface into multi-touch contacts.

This driver can also be built as a module. If so, it will be called
hid-apple-mtp-kiwi.

config HID_APPLEIR
tristate "Apple infrared receiver"
depends on (USB_HID)
Expand Down
1 change: 1 addition & 0 deletions drivers/hid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ obj-$(CONFIG_HID_ALPS) += hid-alps.o
obj-$(CONFIG_HID_ACRUX) += hid-axff.o
obj-$(CONFIG_HID_APPLE) += hid-apple.o
obj-$(CONFIG_HID_APPLE_MTP_HAPTIC) += hid-apple-mtp-haptic.o
obj-$(CONFIG_HID_APPLE_MTP_KIWI) += hid-apple-mtp-kiwi.o
obj-$(CONFIG_HID_APPLEIR) += hid-appleir.o
obj-$(CONFIG_HID_APPLETB_BL) += hid-appletb-bl.o
obj-$(CONFIG_HID_APPLETB_KBD) += hid-appletb-kbd.o
Expand Down
Loading
Loading