linux-yocto/drivers/media
Bryan O'Donoghue 687bfbba5a media: venus: Add support for static video encoder/decoder declarations
Add resource structure data and probe() logic to support static
declarations of encoder and decoder.

Right now we rely on video encoder/decoder selection happening in the dtb
but, this goes against the remit of device tree which is supposed to
describe hardware, not select functional logic in Linux drivers.

Provide two strings in the venus resource structure enc_nodename and
dec_nodename.

When set the venus driver will create an OF entry in-memory consistent
with:

dec_nodename {
    compat = "video-decoder";
};

and/or

enc_nodename {
    compat = "video-encoder";
};

This will allow us to reuse the existing driver scheme of relying on compat
names maintaining compatibility with old dtb files.

dec_nodename can be "video-decoder" or "video0"
enc_nodename can be "video-encoder" or "video1"

This change relies on of_changeset() API as a result select OF_DYNAMIC will
be added to venus/Kconfig

Tested-by: Renjiang Han <quic_renjiang@quicinc.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2025-01-06 14:45:29 +01:00
..
cec Linux 6.12-rc7 2024-11-11 12:16:33 +01:00
common media: b2c2: Remove unused functions 2024-12-02 14:05:24 +01:00
dvb-core media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set 2024-11-06 22:32:52 +01:00
dvb-frontends media: cxd2841er: fix 64-bit division on gcc-9 2024-12-02 14:05:23 +01:00
firewire
i2c media: i2c: imx208: Use const 'struct bin_attribute' callback 2024-12-19 12:50:19 +01:00
mc media updates for v6.13-rc1 2024-11-20 14:01:15 -08:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: intel/ipu6: move some boot messages to debug level 2024-12-19 12:50:15 +01:00
platform media: venus: Add support for static video encoder/decoder declarations 2025-01-06 14:45:29 +01:00
radio media: remove dead TI wl128x FM radio driver 2024-12-02 14:05:23 +01:00
rc media: rc: iguanair: handle timeouts 2024-12-11 19:48:17 +01:00
spi media: gs1662: remove unused struct 'gs_reg_fmt_custom' 2024-05-31 13:51:16 +02:00
test-drivers media updates for v6.13-rc1 2024-11-20 14:01:15 -08:00
tuners media: tuners: fc0013 Remove unused functions 2024-12-02 14:05:25 +01:00
usb media: uvcvideo: Add Kurokesu C1 PRO camera 2025-01-02 09:58:30 +01:00
v4l2-core media: mc: fix endpoint iteration 2024-12-19 12:50:17 +01:00
Kconfig
Makefile