Merge branch 'CR_1557_media-ctl-pipeline_changhuang.liang' into 'jh7110-devel'

CR_1557_media-ctl-pipeline_changhuang.liang

See merge request sdk/buildroot!23
This commit is contained in:
Jason Zhou
2022-07-12 10:02:18 +00:00
@@ -191,33 +191,33 @@ case $interface_type in
case $sensor_type in case $sensor_type in
VIN) VIN)
echo "csiphy0 CSIRX0 vin enable pipeline:" echo "csiphy0 CSIRX0 vin enable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_vin0_wr':0 [1]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_vin0_wr':0 [1]"
;; ;;
ISP0) ISP0)
echo "csiphy0 CSIRX0 ISP0 enable pipeline:" echo "csiphy0 CSIRX0 ISP0 enable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp0':0 [1]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp0':0 [1]"
media-ctl -d "$devname" -vl "'stf_isp0':1 -> 'stf_vin0_isp0':0 [1]" media-ctl -d "$devname" -vl "'stf_isp0':1 -> 'stf_vin0_isp0':0 [1]"
# media-ctl -d "$devname" -vl "'stf_vin0_isp0':1 -> 'stf_vin0_isp0_video1':0 [1]" # media-ctl -d "$devname" -vl "'stf_vin0_isp0':1 -> 'stf_vin0_isp0_video1':0 [1]"
;; ;;
ISP0RAW) ISP0RAW)
echo "csiphy0 CSIRX0 ISP0RAW enable pipeline:" echo "csiphy0 CSIRX0 ISP0RAW enable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp0':0 [1]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp0':0 [1]"
media-ctl -d "$devname" -vl "'stf_isp0':6 -> 'stf_vin0_isp0_raw':0 [1]" media-ctl -d "$devname" -vl "'stf_isp0':6 -> 'stf_vin0_isp0_raw':0 [1]"
# media-ctl -d "$devname" -vl "'stf_vin0_isp0':1 -> 'stf_vin0_isp0_video1':0 [1]" # media-ctl -d "$devname" -vl "'stf_vin0_isp0':1 -> 'stf_vin0_isp0_video1':0 [1]"
;; ;;
ISP1) ISP1)
echo "csiphy0 CSIRX0 ISP1 enable pipeline:" echo "csiphy0 CSIRX0 ISP1 enable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp1':0 [1]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp1':0 [1]"
media-ctl -d "$devname" -vl "'stf_isp1':1 -> 'stf_vin0_isp1':0 [1]" media-ctl -d "$devname" -vl "'stf_isp1':1 -> 'stf_vin0_isp1':0 [1]"
# media-ctl -d "$devname" -vl "'stf_vin0_isp1':1 -> 'stf_vin0_isp1_video2':0 [1]" # media-ctl -d "$devname" -vl "'stf_vin0_isp1':1 -> 'stf_vin0_isp1_video2':0 [1]"
;; ;;
ISP1RAW) ISP1RAW)
echo "csiphy0 CSIRX0 ISP1RAW enable pipeline:" echo "csiphy0 CSIRX0 ISP1RAW enable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [1]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp1':0 [1]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp1':0 [1]"
media-ctl -d "$devname" -vl "'stf_isp1':1 -> 'stf_vin0_isp1_raw':0 [1]" media-ctl -d "$devname" -vl "'stf_isp1':1 -> 'stf_vin0_isp1_raw':0 [1]"
# media-ctl -d "$devname" -vl "'stf_vin0_isp1':1 -> 'stf_vin0_isp1_video2':0 [1]" # media-ctl -d "$devname" -vl "'stf_vin0_isp1':1 -> 'stf_vin0_isp1_video2':0 [1]"
@@ -234,33 +234,33 @@ case $interface_type in
case $sensor_type in case $sensor_type in
VIN) VIN)
echo "csiphy0 CSIRX0 vin disable pipeline:" echo "csiphy0 CSIRX0 vin disable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_vin0_wr':0 [0]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_vin0_wr':0 [0]"
;; ;;
ISP0) ISP0)
echo "csiphy0 CSIRX0 ISP0 disable pipeline:" echo "csiphy0 CSIRX0 ISP0 disable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp0':0 [0]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp0':0 [0]"
media-ctl -d "$devname" -vl "'stf_isp0':1 -> 'stf_vin0_isp0':0 [0]" media-ctl -d "$devname" -vl "'stf_isp0':1 -> 'stf_vin0_isp0':0 [0]"
# media-ctl -d "$devname" -vl "'stf_vin0_isp0':1 -> 'stf_vin0_isp0_video1':0 [0]" # media-ctl -d "$devname" -vl "'stf_vin0_isp0':1 -> 'stf_vin0_isp0_video1':0 [0]"
;; ;;
ISP0RAW) ISP0RAW)
echo "csiphy0 CSIRX0 ISP0RAW disable pipeline:" echo "csiphy0 CSIRX0 ISP0RAW disable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp0':0 [0]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp0':0 [0]"
media-ctl -d "$devname" -vl "'stf_isp0':6 -> 'stf_vin0_isp0_raw':0 [0]" media-ctl -d "$devname" -vl "'stf_isp0':6 -> 'stf_vin0_isp0_raw':0 [0]"
# media-ctl -d "$devname" -vl "'stf_vin0_isp0':1 -> 'stf_vin0_isp0_video1':0 [0]" # media-ctl -d "$devname" -vl "'stf_vin0_isp0':1 -> 'stf_vin0_isp0_video1':0 [0]"
;; ;;
ISP1) ISP1)
echo "csiphy0 CSIRX0 ISP1 disable pipeline:" echo "csiphy0 CSIRX0 ISP1 disable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp1':0 [0]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp1':0 [0]"
media-ctl -d "$devname" -vl "'stf_isp1':1 -> 'stf_vin0_isp1':0 [0]" media-ctl -d "$devname" -vl "'stf_isp1':1 -> 'stf_vin0_isp1':0 [0]"
# media-ctl -d "$devname" -vl "'stf_vin0_isp1':1 -> 'stf_vin0_isp1_video2':0 [0]" # media-ctl -d "$devname" -vl "'stf_vin0_isp1':1 -> 'stf_vin0_isp1_video2':0 [0]"
;; ;;
ISP1RAW) ISP1RAW)
echo "csiphy0 CSIRX0 ISP1RAW disable pipeline:" echo "csiphy0 CSIRX0 ISP1RAW disable pipeline:"
media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]" # media-ctl -d "$devname" -vl "'stf_csiphy0':1 -> 'stf_csi0':0 [0]"
media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp1':0 [0]" media-ctl -d "$devname" -vl "'stf_csi0':1 -> 'stf_isp1':0 [0]"
media-ctl -d "$devname" -vl "'stf_isp1':1 -> 'stf_vin0_isp1_raw':0 [0]" media-ctl -d "$devname" -vl "'stf_isp1':1 -> 'stf_vin0_isp1_raw':0 [0]"
# media-ctl -d "$devname" -vl "'stf_vin0_isp1':1 -> 'stf_vin0_isp1_video2':0 [0]" # media-ctl -d "$devname" -vl "'stf_vin0_isp1':1 -> 'stf_vin0_isp1_video2':0 [0]"