Merge pull request #1576 from Gigahawk/tc358743-media-controller

raspberry-pi/4: support enabling/disabling media-controller api on tc358743
This commit is contained in:
Jörg Thalheim
2025-09-01 17:50:43 +00:00
committed by GitHub

View File

@@ -13,6 +13,11 @@ in
running ustreamer (which starts webservice providing a camera stream):
''${pkgs.ustreamer}/bin/ustreamer --persistent --dv-timings
'';
media-controller = lib.mkEnableOption ''
Enable support for the Media Controller API.
See https://forums.raspberrypi.com/viewtopic.php?t=322076 for details
'';
};
};
@@ -61,6 +66,15 @@ in
__overlay__ {
status = "okay";
${
if cfg.media-controller then
""
else
''
compatible = "brcm,bcm2835-unicam-legacy";
''
}
port {
endpoint {