Home
last modified time | relevance | path

Searched full:vcm (Results 1 – 25 of 69) sorted by relevance

123

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/
H A Dcn3927v.txt1 * 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 Ddw9800w.txt1 * 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 Ddongwoon,dw9768.yaml8 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 Ddongwoon,dw9807-vcm.txt8 - compatible: "dongwoon,dw9807-vcm"
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Drk_vcm_head.h19 #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 Ddw9807-vcm.c30 * 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 Ddw9768.c39 * 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 Dak7375.c193 * 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 Dcn3927v.c3 * 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 Dimx214_eeprom.c185 /* 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 Dimx258_eeprom.c185 /* 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 Ddw9714.c3 * 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 Dimx258_eeprom_head.h37 u32 flag; //bit[7]: info bit[6]:wb bit[5]:vcm bit[4]:lenc bit[3]:spc
H A Dimx214_eeprom_head.h37 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 Drk3562-rk817-tablet-camera.dtsi92 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 Drk3562-evb2-cam.dtsi98 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 Drk3588-toybrick-imx258.dtsi45 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 Drk3588s-evb1-lp4x-v10-camera.dtsi82 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 Drk3562-evb1-cam.dtsi62 rockchip,vcm-start-current = <10>;
63 rockchip,vcm-rated-current = <85>;
64 rockchip,vcm-step-mode = <5>;
H A Drk3562-evb2-ddr4-v10-dual-camera.dts91 rockchip,vcm-start-current = <10>;
92 rockchip,vcm-rated-current = <85>;
93 rockchip,vcm-step-mode = <5>;
H A Drk3568-toybrick-sd0.dtsi301 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 Datomisp_platform.h192 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 Dfb_ili9325.c41 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 Datomisp-ov5693.c76 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 Dphy_n.c2078 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 …]

123