02-29-2024, 11:58 PM
I've made some progress: the thing compiles against 6.6 kernel at the very least and manages to fetch module information from the device-tree. However, there is a lot of tinkering ahead.
Code:
[ 161.593750] gc02m2 2-0037: driver version: 00.01.02
[ 161.593808] gc02m2 2-0037: Failed to get reset-gpios
[ 161.593829] gc02m2 2-0037: Failed to get pwdn-gpios
[ 161.593842] gc02m2 2-0037: lane_num(1) pixel_rate(67200000)
[ 161.593856] gc02m2 2-0037: could not get default pinstate
[ 161.594429] gc02m2 2-0037: could not get sleep pinstate
[ 161.594944] gc02m2 2-0037: supply dovdd-supply not found, using dummy regulator
[ 161.595269] gc02m2 2-0037: supply avdd-supply not found, using dummy regulator
[ 161.595365] gc02m2 2-0037: supply dvdd-supply not found, using dummy regulator
[ 161.595449] gc02m2 2-0037: Enter gc02m2_initialize_controls(1238) !
[ 161.597622] gc02m2 2-0037: gc02m2 read reg:0xf0 failed !
[ 161.598174] gc02m2 2-0037: Read chip ID H register error