Skip to content

Commit

Permalink
Add back backlight control
Browse files Browse the repository at this point in the history
  • Loading branch information
kettenis committed Jan 8, 2024
1 parent 18217cb commit 5271763
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/dts/t600x-j314-j316.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,12 @@
};

/ {
backlight: gpio-bl {
compatible = "gpio-backlight";
gpios = <&smc_gpio 19 GPIO_ACTIVE_HIGH>;
default-on;
};

sound: sound {
/* compatible is set per machine */

Expand Down
6 changes: 6 additions & 0 deletions arch/arm/dts/t8103-j293.dts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,12 @@
};

/ {
backlight: gpio-bl {
compatible = "gpio-backlight";
gpios = <&smc_gpio 18 GPIO_ACTIVE_HIGH>;
default-on;
};

sound {
compatible = "apple,j293-macaudio", "apple,macaudio";
model = "MacBook Pro J293";
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/dts/t8103-j313.dts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@
};

/ {
backlight: gpio-bl {
compatible = "gpio-backlight";
gpios = <&smc_gpio 18 GPIO_ACTIVE_HIGH>;
default-on;
};

sound {
compatible = "apple,j313-macaudio", "apple,macaudio";
model = "MacBook Air J313";
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/dts/t8112-j413.dts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@
};

/ {
backlight: gpio-bl {
compatible = "gpio-backlight";
gpios = <&smc_gpio 18 GPIO_ACTIVE_HIGH>;
default-on;
};

sound {
compatible = "apple,j413-macaudio", "apple,macaudio";
model = "MacBook Air J413";
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/dts/t8112-j493.dts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@
};

/ {
backlight: gpio-bl {
compatible = "gpio-backlight";
gpios = <&smc_gpio 18 GPIO_ACTIVE_HIGH>;
default-on;
};

sound {
compatible = "apple,j493-macaudio", "apple,macaudio";
model = "MacBook Pro J493";
Expand Down

0 comments on commit 5271763

Please sign in to comment.