video: driver: reduce device_tree dependency for video
Only keep minimal entries in dtsi, which is essential for other drivers usage. Move remaining all data into platform resource file. Remove device_tree dependency and maintain platform_data to initialize resources like regulators, interconnects, clocks, reset_clocks, subcaches and context_banks. Read static data like freq_table, firmware_name, pas_id also from platform_data instead of from dtsi. Change-Id: I73a1df10b92c55e55b23e538aea62598a7250ab4 Signed-off-by: Govindaraj Rajagopal <quic_grajagop@quicinc.com>
This commit is contained in:
@@ -244,6 +244,7 @@ enum msm_vidc_buffer_region {
|
||||
MSM_VIDC_SECURE_PIXEL,
|
||||
MSM_VIDC_SECURE_NONPIXEL,
|
||||
MSM_VIDC_SECURE_BITSTREAM,
|
||||
MSM_VIDC_REGION_MAX,
|
||||
};
|
||||
|
||||
enum msm_vidc_port_type {
|
||||
@@ -374,7 +375,6 @@ enum msm_vidc_core_capability_type {
|
||||
CLK_FREQ_THRESHOLD,
|
||||
NON_FATAL_FAULTS,
|
||||
ENC_AUTO_FRAMERATE,
|
||||
MMRM,
|
||||
DEVICE_CAPS,
|
||||
SUPPORTS_REQUESTS,
|
||||
CORE_CAP_MAX,
|
||||
|
Fai riferimento in un nuovo problema
Block a user