dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
58 lines
1.3 KiB
C
58 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __TEGRA_MIPI_CAL_H_
|
|
#define __TEGRA_MIPI_CAL_H_
|
|
|
|
struct tegra_mipi_device {
|
|
const struct tegra_mipi_ops *ops;
|
|
struct platform_device *pdev;
|
|
unsigned long pads;
|
|
};
|
|
|
|
/**
|
|
* Operations for Tegra MIPI calibration device
|
|
*/
|
|
struct tegra_mipi_ops {
|
|
/**
|
|
* @enable:
|
|
*
|
|
* Enable MIPI calibration device
|
|
*/
|
|
int (*enable)(struct tegra_mipi_device *device);
|
|
|
|
/**
|
|
* @disable:
|
|
*
|
|
* Disable MIPI calibration device
|
|
*/
|
|
int (*disable)(struct tegra_mipi_device *device);
|
|
|
|
/**
|
|
* @start_calibration:
|
|
*
|
|
* Start MIPI calibration
|
|
*/
|
|
int (*start_calibration)(struct tegra_mipi_device *device);
|
|
|
|
/**
|
|
* @finish_calibration:
|
|
*
|
|
* Finish MIPI calibration
|
|
*/
|
|
int (*finish_calibration)(struct tegra_mipi_device *device);
|
|
};
|
|
|
|
int devm_tegra_mipi_add_provider(struct device *device, struct device_node *np,
|
|
const struct tegra_mipi_ops *ops);
|
|
|
|
struct tegra_mipi_device *tegra_mipi_request(struct device *device,
|
|
struct device_node *np);
|
|
void tegra_mipi_free(struct tegra_mipi_device *device);
|
|
|
|
int tegra_mipi_enable(struct tegra_mipi_device *device);
|
|
int tegra_mipi_disable(struct tegra_mipi_device *device);
|
|
int tegra_mipi_start_calibration(struct tegra_mipi_device *device);
|
|
int tegra_mipi_finish_calibration(struct tegra_mipi_device *device);
|
|
|
|
#endif /* __TEGRA_MIPI_CAL_H_ */
|