arm64: dts: apple: Add touchbar digitizer nodes
Adds device tree entries for the touchbar digitizer Co-developed-by: Janne Grunau <j@jannau.net> Signed-off-by: Janne Grunau <j@jannau.net> Reviewed-by: Neal Gompa <neal@gompa.dev> Acked-by: Sven Peter <sven@svenpeter.dev> Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Link: https://lore.kernel.org/r/20250225-z2-dts-v1-1-df101a7c17c8@gmail.com Signed-off-by: Sven Peter <sven@svenpeter.dev>
This commit is contained in:
committed by
Sven Peter
parent
3febe9de5c
commit
44db68dee1
@@ -17,6 +17,14 @@
|
||||
compatible = "apple,j293", "apple,t8103", "apple,arm-platform";
|
||||
model = "Apple MacBook Pro (13-inch, M1, 2020)";
|
||||
|
||||
/*
|
||||
* All of those are used by the bootloader to pass calibration
|
||||
* blobs and other device-specific properties
|
||||
*/
|
||||
aliases {
|
||||
touchbar0 = &touchbar0;
|
||||
};
|
||||
|
||||
led-controller {
|
||||
compatible = "pwm-leds";
|
||||
led-0 {
|
||||
@@ -49,3 +57,22 @@
|
||||
&fpwm1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
cs-gpios = <&pinctrl_ap 109 GPIO_ACTIVE_LOW>;
|
||||
status = "okay";
|
||||
|
||||
touchbar0: touchbar@0 {
|
||||
compatible = "apple,j293-touchbar";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <11500000>;
|
||||
spi-cs-setup-delay-ns = <2000>;
|
||||
spi-cs-hold-delay-ns = <2000>;
|
||||
reset-gpios = <&pinctrl_ap 139 GPIO_ACTIVE_LOW>;
|
||||
interrupts-extended = <&pinctrl_ap 194 IRQ_TYPE_EDGE_FALLING>;
|
||||
firmware-name = "apple/dfrmtfw-j293.bin";
|
||||
touchscreen-size-x = <23045>;
|
||||
touchscreen-size-y = <640>;
|
||||
touchscreen-inverted-y;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -17,8 +17,13 @@
|
||||
compatible = "apple,j493", "apple,t8112", "apple,arm-platform";
|
||||
model = "Apple MacBook Pro (13-inch, M2, 2022)";
|
||||
|
||||
/*
|
||||
* All of those are used by the bootloader to pass calibration
|
||||
* blobs and other device-specific properties
|
||||
*/
|
||||
aliases {
|
||||
bluetooth0 = &bluetooth0;
|
||||
touchbar0 = &touchbar0;
|
||||
wifi0 = &wifi0;
|
||||
};
|
||||
|
||||
@@ -67,3 +72,21 @@
|
||||
&fpwm1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi3 {
|
||||
status = "okay";
|
||||
|
||||
touchbar0: touchbar@0 {
|
||||
compatible = "apple,j493-touchbar";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <8000000>;
|
||||
spi-cs-setup-delay-ns = <2000>;
|
||||
spi-cs-hold-delay-ns = <2000>;
|
||||
reset-gpios = <&pinctrl_ap 170 GPIO_ACTIVE_LOW>;
|
||||
interrupts-extended = <&pinctrl_ap 174 IRQ_TYPE_EDGE_FALLING>;
|
||||
firmware-name = "apple/dfrmtfw-j493.bin";
|
||||
touchscreen-size-x = <23045>;
|
||||
touchscreen-size-y = <640>;
|
||||
touchscreen-inverted-y;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -499,7 +499,7 @@
|
||||
power-domains = <&ps_spi3>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
status = "disabled"; /* only used in J493 */
|
||||
};
|
||||
|
||||
serial0: serial@235200000 {
|
||||
|
||||
Reference in New Issue
Block a user