Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// SPDX-License-Identifier: GPL-2.0+ OR MIT
/* J716c camera: enabled only after the loader reserves the current firmware. */
/*
* The T6050 laptop camera (ISP, its three DARTs and power states). Every T6050
* laptop's ADT has the same isp0, dart-isp0 and ISP power states; only the
* sensor-type differs per board. The loader reads that sensor-type, reserves the
* firmware segments and enables the nodes; until then everything stays disabled.
* The sensor presets are a default a board may replace.
*/
/ {
aliases {
isp = &isp0;
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j714c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -460,3 +460,6 @@
&avd {
status = "okay";
};

/* The camera. The loader sets the platform ID from the ADT isp0 sensor-type (0x73). */
#include "t6050-isp.dtsi"
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/apple/t6050-j714s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@
};

/* The same T6050 camera as J716c (J714sAP ADT); the loader sets the J714s sensor type. */
#include "t6050-j716c-isp.dtsi"
#include "t6050-isp.dtsi"

/*
* The J714s camera sizes: sensor config 6 (two stacked 3040x2880 frames; the ISP processes
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/apple/t6050-j716c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
63 2e 00 06 02 69 4f 53 00 00 00 00];
};

#include "t6050-j716c-isp.dtsi"
#include "t6050-isp.dtsi"
#include "t6050-j716c-gpu-panel.dtsi"

#include "t6050-j716c-display.dtsi"
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j716s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -570,3 +570,6 @@

#define T6050_J716S
#include "t6050-peripherals.dtsi"

/* The camera. The loader sets the platform ID from the ADT isp0 sensor-type (0x76). */
#include "t6050-isp.dtsi"
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-k114s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@

#define T6050_K114S
#include "t6050-peripherals.dtsi"

/* The camera. The loader sets the platform ID from the ADT isp0 sensor-type (0xba). */
#include "t6050-isp.dtsi"
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-k116c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@

#define T6050_K116C
#include "t6050-peripherals.dtsi"

/* The camera. The loader sets the platform ID from the ADT isp0 sensor-type (0xbb). */
#include "t6050-isp.dtsi"
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/apple/t6050-k116s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@
* J714s's sensor. The sensor type is 0xbc and the connection scheme 0x10; the loader passes
* both. Everything stays disabled until the loader has reserved the firmware.
*/
#include "t6050-j716c-isp.dtsi"
#include "t6050-isp.dtsi"

/*
* Two things the shared T6050 files now turn on for every board are held back here until
Expand Down
Loading