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
commit c38b907bd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,11 @@ in
running ustreamer (which starts webservice providing a camera stream): running ustreamer (which starts webservice providing a camera stream):
''${pkgs.ustreamer}/bin/ustreamer --persistent --dv-timings ''${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__ { __overlay__ {
status = "okay"; status = "okay";
${
if cfg.media-controller then
""
else
''
compatible = "brcm,bcm2835-unicam-legacy";
''
}
port { port {
endpoint { endpoint {