| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/ |
| H A D | cn3927v.txt | 1 * CN3927V vcm driver support 8 - rockchip,vcm-max-current: max output current, default 120, unit: mA. 9 - rockchip,vcm-start-current: starting current. 10 - rockchip,vcm-rated-current: rate current. 13 - rockchip,vcm-step-mode: S[3:2]: Codes per step, S[1:0]: Step period, default 0xd. 14 - rockchip,vcm-edlc-enable: Enhanced Dual Level Control Mode enable, default 0. 15 - rockchip,vcm-dlc-enable: Dual level control enable, default 0. 16 - rockchip,vcm-mclk: MCLK[1:0], default 0. 17 - rockchip,vcm-t-src: T_SRC[4:0], default 0. 20 - rockchip,vcm-adcanced-mode: Enable Advanced mode, 0: Normal mode; 1: Advanced mode. [all …]
|
| H A D | dw9800w.txt | 1 * DW9800W vcm driver support 8 - rockchip,vcm-max-current: max output current, unit: mA. 9 - rockchip,vcm-start-current: starting current. 10 - rockchip,vcm-rated-current: rate current. 11 - rockchip,vcm-step-mode: 0 SAC2 mode,1 SAC3 mode,2 SAC4 mode,3 SAC5 mode,4 Direct mode,5 LSC mode. 12 - rockchip,vcm-t-src : SACT[5:0], Tvib = 6.3ms + SACT[5:0]*0.1ms, recommend: 10ms. 13 - rockchip,vcm-t-div : 0 Tvibx2(double),1 Tvibx1(default),2 Tvibx1/2(half),3 Tvibx1/4(quarter),4 Tv… 16 - rockchip,camera-module-index : indicate which camera the vcm belongs to. 27 rockchip,vcm-max-current = <100>; 28 rockchip,vcm-start-current = <20>; [all …]
|
| H A D | dongwoon,dw9768.yaml | 8 title: Dongwoon Anatech DW9768 Voice Coil Motor (VCM) Lens Device Tree Bindings 15 with 100 mA output current sink capability. VCM current is controlled with 24 - dongwoon,dw9768 # for DW9768 VCM 25 - giantec,gt9769 # for GT9769 VCM 60 Indication of VCM internal clock dividing rate select, as one multiple 61 factor to calculate VCM ring periodic time Tvib.
|
| H A D | dongwoon,dw9807-vcm.txt | 8 - compatible: "dongwoon,dw9807-vcm"
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | rk_vcm_head.h | 19 #define OF_CAMERA_VCMDRV_MAX_CURRENT "rockchip,vcm-max-current" 20 #define OF_CAMERA_VCMDRV_START_CURRENT "rockchip,vcm-start-current" 21 #define OF_CAMERA_VCMDRV_RATED_CURRENT "rockchip,vcm-rated-current" 22 #define OF_CAMERA_VCMDRV_STEP_MODE "rockchip,vcm-step-mode" 23 #define OF_CAMERA_VCMDRV_DLC_ENABLE "rockchip,vcm-dlc-enable" 24 #define OF_CAMERA_VCMDRV_MCLK "rockchip,vcm-mclk" 25 #define OF_CAMERA_VCMDRV_T_SRC "rockchip,vcm-t-src" 26 #define OF_CAMERA_VCMDRV_T_DIV "rockchip,vcm-t-div" 27 #define OF_CAMERA_VCMDRV_ADVANCED_MODE "rockchip,vcm-adcanced-mode" 28 #define OF_CAMERA_VCMDRV_SAC_MODE "rockchip,vcm-sac-mode" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | dw9807-vcm.c | 30 * DW9807 separates two registers to control the VCM position. 85 * write VCM position. This ensure that we really write the value in dw9807_set_dac() 94 "Cannot do the write operation because VCM is busy\n"); in dw9807_set_dac() 100 /* Write VCM position to registers */ in dw9807_set_dac() 240 * This function sets the vcm position, so it consumes least current 271 * This function sets the vcm position to the value set by the user 305 { .compatible = "dongwoon,dw9807-vcm" }, 328 MODULE_DESCRIPTION("DW9807 VCM driver");
|
| H A D | dw9768.c | 39 * DW9768 separates two registers to control the VCM position. 51 * Bit[7:5] Namely AC[2:0], decide the VCM mode and operation time. 69 * VCM period of vibration register 70 * Bit[5:0] Defined as VCM rising periodic time (Tvib) together with PRESC[2:0] 180 * DW9768_AAC_PRESC_REG & DW9768_AAC_TIME_REG determine VCM operation time. 181 * For current VCM mode: AAC3, Operation Time would be 0.70 x Tvib. 220 /* Write VCM position to registers */ in dw9768_set_dac() 553 MODULE_DESCRIPTION("DW9768 VCM driver");
|
| H A D | ak7375.c | 193 * This function sets the vcm position, so it consumes least current 229 * This function sets the vcm position to the value set by the user 291 MODULE_DESCRIPTION("AK7375 VCM driver");
|
| H A D | cn3927v.c | 3 * cn3927v vcm driver 7 * V0.0X01.0X01 reduce vcm collision noise. 26 #define OF_CAMERA_VCMDRV_EDLC_ENABLE "rockchip,vcm-edlc-enable" 231 "%s: vcm i2c ok, addr 0x%x, data 0x%x, 0x%x\n", in cn3927v_read_msg() 277 "%s: vcm i2c ok, addr 0x%x, data 0x%x, 0x%x\n", in cn3927v_write_msg() 316 "%s: vcm i2c ok, reg 0x%x, val 0x%x, len 0x%x\n", in cn3927v_write_reg() 361 "%s: vcm i2c ok, reg 0x%x, val 0x%x\n", in cn3927v_read_reg() 511 /* vcm move */ in cn3927v_set_dac() 1514 MODULE_DESCRIPTION("CN3927V VCM driver");
|
| H A D | imx214_eeprom.c | 185 /* OTP VCM calibration data */ in imx214_otp_read_gz() 189 otp_ptr->flag |= 0x20; /* valid VCM in OTP */ in imx214_otp_read_gz() 211 "otp VCM info: check sum (%d,%d),ret = %d !\n", in imx214_otp_read_gz()
|
| H A D | imx258_eeprom.c | 185 /* OTP VCM calibration data */ in imx258_otp_read_gz() 189 otp_ptr->flag |= 0x20; /* valid VCM in OTP */ in imx258_otp_read_gz() 211 "otp VCM info: check sum (%d,%d),ret = %d !\n", in imx258_otp_read_gz()
|
| H A D | dw9714.c | 3 * dw9714 vcm driver 216 "%s: vcm i2c ok, addr 0x%x, data 0x%x, 0x%x\n", in dw9714_read_msg() 261 "%s: vcm i2c ok, addr 0x%x, data 0x%x, 0x%x\n", in dw9714_write_msg() 299 "%s: vcm i2c ok, reg 0x%x, val 0x%x, len 0x%x\n", in dw9714_write_reg() 343 "%s: vcm i2c ok, reg 0x%x, val 0x%x\n", in dw9714_read_reg() 493 /* vcm move */ in dw9714_set_dac() 1426 MODULE_DESCRIPTION("DW9714 VCM driver");
|
| H A D | imx258_eeprom_head.h | 37 u32 flag; //bit[7]: info bit[6]:wb bit[5]:vcm bit[4]:lenc bit[3]:spc
|
| H A D | imx214_eeprom_head.h | 37 u32 flag; //bit[7]: info bit[6]:wb bit[5]:vcm bit[4]:lenc bit[3]:spc
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3562-rk817-tablet-camera.dtsi | 92 rockchip,vcm-max-current = <120>; 93 rockchip,vcm-start-current = <20>; 94 rockchip,vcm-rated-current = <90>; 95 rockchip,vcm-step-mode = <3>; 96 rockchip,vcm-t-src = <0x20>; 97 rockchip,vcm-t-div = <1>;
|
| H A D | rk3562-evb2-cam.dtsi | 98 rockchip,vcm-start-current = <10>; 99 rockchip,vcm-rated-current = <85>; 100 rockchip,vcm-step-mode = <5>; 136 rockchip,vcm-start-current = <10>; 137 rockchip,vcm-rated-current = <85>; 138 rockchip,vcm-step-mode = <5>;
|
| H A D | rk3588-toybrick-imx258.dtsi | 45 rockchip,vcm-start-current = <20>; 46 rockchip,vcm-rated-current = <120>; 47 rockchip,vcm-step-mode = <13>; 189 rockchip,vcm-start-current = <20>; 190 rockchip,vcm-rated-current = <120>; 191 rockchip,vcm-step-mode = <13>;
|
| H A D | rk3588s-evb1-lp4x-v10-camera.dtsi | 82 rockchip,vcm-start-current = <56>; 83 rockchip,vcm-rated-current = <96>; 84 rockchip,vcm-step-mode = <4>; 158 rockchip,vcm-start-current = <56>; 159 rockchip,vcm-rated-current = <96>; 160 rockchip,vcm-step-mode = <4>;
|
| H A D | rk3562-evb1-cam.dtsi | 62 rockchip,vcm-start-current = <10>; 63 rockchip,vcm-rated-current = <85>; 64 rockchip,vcm-step-mode = <5>;
|
| H A D | rk3562-evb2-ddr4-v10-dual-camera.dts | 91 rockchip,vcm-start-current = <10>; 92 rockchip,vcm-rated-current = <85>; 93 rockchip,vcm-step-mode = <5>;
|
| H A D | rk3568-toybrick-sd0.dtsi | 301 rockchip,vcm-start-current = <56>; 302 rockchip,vcm-rated-current = <96>; 303 rockchip,vcm-step-mode = <4>;
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/include/linux/ |
| H A D | atomisp_platform.h | 192 int (*power_up)(struct v4l2_subdev *sd, struct camera_vcm_control *vcm); 194 struct camera_vcm_control *vcm); 196 struct camera_vcm_control *vcm); 198 struct camera_vcm_control *vcm); 200 struct camera_vcm_control *vcm);
|
| /OK3568_Linux_fs/kernel/drivers/staging/fbtft/ |
| H A D | fb_ili9325.c | 41 static unsigned int vcm = 0x0a; /* VCOMH=VREG1OUT*0.735 */ variable 42 module_param(vcm, uint, 0000); 43 MODULE_PARM_DESC(vcm, "Set the internal VcomH voltage"); 91 vcm &= 0x3f; in init_display() 122 write_reg(par, 0x0029, vcm); /* Set VCM[5:0] for VCOMH */ in init_display()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/i2c/ov5693/ |
| H A D | atomisp-ov5693.c | 76 dev_err(&client->dev, "%s: vcm i2c fail, err code = %d\n", in vcm_ad_i2c_wr8() 954 /* set required vcm move time */ in ad5823_t_focus_vcm() 976 if (dev->vcm == VCM_DW9714) { in ov5693_t_focus_abs() 991 } else if (dev->vcm == VCM_AD5823) { in ov5693_t_focus_abs() 1225 .name = "vcm slew", 1236 .name = "vcm step time", 1277 if (dev->vcm == VCM_AD5823) { in ov5693_init() 1278 ret = vcm_ad_i2c_wr8(client, 0x01, 0x01); /* vcm init test */ in ov5693_init() 1281 "vcm reset failed\n"); in ov5693_init() 1287 "vcm enable ringing failed\n"); in ov5693_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_n.c | 2078 int core, i, j, vcm; in b43_nphy_rev3_rssi_cal() local 2146 /* Grab RSSI results for every possible VCM */ in b43_nphy_rev3_rssi_cal() 2147 for (vcm = 0; vcm < 8; vcm++) { in b43_nphy_rev3_rssi_cal() 2152 ~R2057_VCM_MASK, vcm); in b43_nphy_rev3_rssi_cal() 2155 0xE3, vcm << 2); in b43_nphy_rev3_rssi_cal() 2156 b43_nphy_poll_rssi(dev, N_RSSI_NB, results[vcm], 8); in b43_nphy_rev3_rssi_cal() 2159 /* Find out which VCM got the best results */ in b43_nphy_rev3_rssi_cal() 2167 for (vcm = 0; vcm < 8; vcm++) { in b43_nphy_rev3_rssi_cal() 2168 currd = results[vcm][i] * results[vcm][i] + in b43_nphy_rev3_rssi_cal() 2169 results[vcm][i + 1] * results[vcm][i]; in b43_nphy_rev3_rssi_cal() [all …]
|