Repository navigation
hisi: name the Hi3521A, Hi3535 and Hi3536 V100 DVR/NVR dies - #301
Conversation
OpenIPC now builds U-Boot and firmware for these dies, and ipcinfo on them prints "Got unexpected ID ... for HiSilicon". Their SC_SYSID values are the vendor U-Boot's: _HI3521A_V100 0x3521A100, _HI3535_V100 0x35350100 and _HI3536_V100 0x35360100 (Hi3521A, Hi3535 and Hi3536 SDKs). The Hi3520DV300 reads as the Hi3521A: same die, same ID, told apart only by which vendor build is flashed. Like 3520DV200, none sets a chip_generation: there are no pad, sensor or ISP tables for them. Their UART0 bases (0x12080000, 0x20080000) already route to the right SC_CTRL. The Hi3521DV100, Hi3520DV400 and Hi3521V100 were already named. The Hi3520AV100 is left out: its vendor define (HI3520A_V100 0x3520A0100) has a digit too many, so its real value is unknown. Built on the host; cYAML_test, reginfo_test, sstar_test and anyka_test pass. Not run on a camera.
PR Summary by Qodohisi: name the Hi3521A, Hi3535 and Hi3536 V100 DVR/NVR dies
AI Description
Merge Risk
|
Code Review by Qodo
1.
|
The three IDs added in the previous commit, checked next to the GK7206 ones, so that a mistyped constant fails the unit test (Qodo, #301). hal_hisi_test passes on the host.
Adds the SC_SYSID values of the DVR/NVR dies OpenIPC is adding U-Boot and firmware for (u-boot #240/#242/#250, firmware #3020/#3021/#3024): 0x3521A100 → 3521AV100 (also Hi3520DV300, same die and ID), 0x35350100 → 3535V100, 0x35360100 → 3536V100. Values are from the vendor SDKs' U-Boot (_HI3521A_V100, _HI3535_V100, _HI3536_V100). No chip_generation, as for 3520DV200: no pad/sensor/ISP tables exist for them.
Hi3521DV100/3520DV400 (0xBDA9D100) and 3521V100 were already present. NA51068 (NT98321/NT98323) needs nothing: its kernel has no nvt_pinmux chip_id, and the device-tree model "Novatek NA51068" names it. RK3588/RK3568 come from the device tree too.
Built on the host, unit tests pass; not run on a camera.