Home
last modified time | relevance | path

Searched full:cm36651 (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/iio/light/
Dcm36651.c143 static int cm36651_setup_reg(struct cm36651_data *cm36651) in cm36651_setup_reg() argument
145 struct i2c_client *client = cm36651->client; in cm36651_setup_reg()
146 struct i2c_client *ps_client = cm36651->ps_client; in cm36651_setup_reg()
150 cm36651->cs_ctrl_regs[CM36651_CS_CONF1] = CM36651_ALS_ENABLE | in cm36651_setup_reg()
152 cm36651->cs_ctrl_regs[CM36651_CS_CONF2] = CM36651_CS_CONF2_DEFAULT_BIT; in cm36651_setup_reg()
156 cm36651->cs_ctrl_regs[i]); in cm36651_setup_reg()
162 cm36651->ps_ctrl_regs[CM36651_PS_CONF1] = CM36651_PS_ENABLE | in cm36651_setup_reg()
164 cm36651->ps_ctrl_regs[CM36651_PS_THD] = CM36651_PS_INITIAL_THD; in cm36651_setup_reg()
165 cm36651->ps_ctrl_regs[CM36651_PS_CANC] = CM36651_PS_CANC_DEFAULT; in cm36651_setup_reg()
166 cm36651->ps_ctrl_regs[CM36651_PS_CONF2] = CM36651_PS_HYS2 | in cm36651_setup_reg()
[all …]
DKconfig191 config CM36651 config
193 tristate "CM36651 driver"
195 Say Y here if you use cm36651.
197 Capella cm36651 device driver.
200 the module will be called cm36651.
DMakefile23 obj-$(CONFIG_CM36651) += cm36651.o
/linux-6.12.1/Documentation/devicetree/bindings/iio/light/
Dcapella,cm36651.yaml4 $id: http://devicetree.org/schemas/iio/light/capella,cm36651.yaml#
7 title: Capella CM36651 I2C Proximity and Color Light sensor
14 const: capella,cm36651
24 Supply for the IR_LED which is part of the cm36651 for proximity detection.
41 compatible = "capella,cm36651";
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos4412-galaxy-s3.dtsi80 compatible = "capella,cm36651";