| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mailbox/ |
| H A D | fsl,mu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dong Aisheng <aisheng.dong@nxp.com> 22 registers (Processor A-facing, Processor B-facing). 27 - const: fsl,imx6sx-mu 28 - const: fsl,imx7ulp-mu 29 - const: fsl,imx8-mu-scu 30 - items: 31 - enum: [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | hall-dc-motor.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include <media/v4l2-subdev.h> 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-device.h> 29 #include <linux/rk-camera-module.h> 35 #define DRIVER_NAME "hall-dc" 55 struct device_node *node = motor->dev->of_node; in motor_dev_parse_dt() 59 motor->pwm = devm_pwm_get(motor->dev, NULL); in motor_dev_parse_dt() 60 if (IS_ERR(motor->pwm)) { in motor_dev_parse_dt() 61 error = PTR_ERR(motor->pwm); in motor_dev_parse_dt() [all …]
|
| H A D | rk_ircut.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Rockchip driver for IR-Cuter 17 #include <media/v4l2-subdev.h> 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-device.h> 22 #include <linux/rk-camera-module.h> 67 ((ircut->state == (expected)) ? true : false) 71 ircut->open_gpio = devm_gpiod_get(ircut->dev, "ircut-open", GPIOD_OUT_HIGH); in ap1511a_parse_dt() 72 if (IS_ERR(ircut->open_gpio)) { in ap1511a_parse_dt() 73 dev_err(ircut->dev, "Failed to get ircut-open-gpios\n"); in ap1511a_parse_dt() [all …]
|
| H A D | vm149c.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/rk-camera-module.h> 10 #include <media/v4l2-ctrls.h> 11 #include <media/v4l2-device.h> 52 return container_of(ctrl->handler, struct vm149c_device, ctrls_vcm); in to_vm149c_vcm() 69 if (!client->adapter) { in vm149c_read_msg() 70 dev_err(&client->dev, "client->adapter NULL\n"); in vm149c_read_msg() 71 return -ENODEV; in vm149c_read_msg() 75 msg->addr = client->addr; in vm149c_read_msg() 76 msg->flags = 1; in vm149c_read_msg() [all …]
|
| H A D | aw8601.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/rk-camera-module.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-device.h> 71 return container_of(ctrl->handler, struct aw8601_device, ctrls_vcm); in to_aw8601_vcm() 88 return -EINVAL; in aw8601_write_reg() 95 val_i = 4 - len; in aw8601_write_reg() 101 dev_err(&client->dev, "Failed to write 0x%04x,0x%x\n", reg, val); in aw8601_write_reg() 102 return -EIO; in aw8601_write_reg() 118 return -EINVAL; in aw8601_read_reg() [all …]
|
| H A D | dw9800w.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/rk-camera-module.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-device.h> 76 return container_of(ctrl->handler, struct dw9800w_device, ctrls_vcm); in to_dw9800w_vcm() 93 return -EINVAL; in dw9800w_write_reg() 100 val_i = 4 - len; in dw9800w_write_reg() 106 dev_err(&client->dev, "Failed to write 0x%04x,0x%x\n", reg, val); in dw9800w_write_reg() 107 return -EIO; in dw9800w_write_reg() 123 return -EINVAL; in dw9800w_read_reg() [all …]
|
| H A D | sgm3784.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/rk-camera-module.h> 14 #include <linux/rk-led-flash.h> 17 #include <media/v4l2-ctrls.h> 18 #include <media/v4l2-device.h> 57 MODULE_PARM_DESC(debug, "debug level (0-2)"); 95 struct i2c_client *client = flash->client; in sgm3784_i2c_write() 100 dev_err(&client->dev, in sgm3784_i2c_write() 104 v4l2_dbg(2, debug, &flash->leds[0].sd, in sgm3784_i2c_write() 113 struct i2c_client *client = flash->client; in sgm3784_i2c_read() [all …]
|
| H A D | aw36518.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <linux/rk-camera-module.h> 19 #include <linux/rk-led-flash.h> 22 #include <media/v4l2-ctrls.h> 23 #include <media/v4l2-device.h> 61 (((a) - AW36518_MIN_FLASH_INTENSITY) / AW36518_FLASH_INTENSITY_STEP)) 74 (((a) - AW36518_MIN_TORCH_INTENSITY) / AW36518_TORCH_INTENSITY_STEP)) 90 (((a) - TIMEOUT_MIN) / TIMEOUT_STEP)) 96 MODULE_PARM_DESC(debug, "debug level (0-2)"); 138 struct i2c_client *client = flash->client; in aw36518_i2c_write() [all …]
|
| H A D | dw9763.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/rk-camera-module.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-device.h> 76 return container_of(ctrl->handler, struct dw9763_device, ctrls_vcm); in to_dw9763_vcm() 93 return -EINVAL; in dw9763_write_reg() 100 val_i = 4 - len; in dw9763_write_reg() 106 dev_err(&client->dev, "Failed to write 0x%04x,0x%x\n", reg, val); in dw9763_write_reg() 107 return -EIO; in dw9763_write_reg() 109 dev_dbg(&client->dev, "succeed to write 0x%04x,0x%x\n", reg, val); in dw9763_write_reg() [all …]
|
| H A D | gt9760s.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/rk-camera-module.h> 10 #include <media/v4l2-ctrls.h> 11 #include <media/v4l2-device.h> 151 return container_of(ctrl->handler, struct gt9760s_device, ctrls_vcm); in to_vcm_dev() 166 if (!client->adapter) { in gt9760s_read_msg() 167 dev_err(&client->dev, "client->adapter NULL\n"); in gt9760s_read_msg() 168 return -ENODEV; in gt9760s_read_msg() 172 msg->addr = client->addr; in gt9760s_read_msg() 173 msg->flags = 1; in gt9760s_read_msg() [all …]
|
| H A D | max96714.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * max96714 GMSL2/GMSL1 to CSI-2 Deserializer driver 23 #include <linux/rk-camera-module.h> 24 #include <media/media-entity.h> 25 #include <media/v4l2-async.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-subdev.h> 164 dev_dbg(&client->dev, "write reg(0x%x val:0x%x)!\n", reg, val); in max96714_write_reg() 167 return -EINVAL; in max96714_write_reg() 175 val_i = 4 - len; in max96714_write_reg() [all …]
|
| H A D | imx323.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include <linux/rk-camera-module.h> 24 #include <media/media-entity.h> 25 #include <media/v4l2-async.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-subdev.h> 200 return -EINVAL; in imx323_write_reg() 208 val_i = 4 - len; in imx323_write_reg() 214 return -EIO; in imx323_write_reg() 243 return -EINVAL; in imx323_read_reg() [all …]
|
| H A D | fp5510.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/rk-camera-module.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-device.h> 144 return container_of(ctrl->handler, struct fp5510_device, ctrls_vcm); in to_fp5510_vcm() 154 if (!IS_ERR(dev_vcm->pwdn_gpio)) { in __fp5510_power_on() 155 gpiod_set_value_cansleep(dev_vcm->pwdn_gpio, 1); in __fp5510_power_on() 156 dev_err(dev_vcm->sd.dev, "power on success!\n"); in __fp5510_power_on() 164 if (!IS_ERR(dev_vcm->pwdn_gpio)) { in __fp5510_power_off() 165 gpiod_set_value_cansleep(dev_vcm->pwdn_gpio, 0); in __fp5510_power_off() [all …]
|
| H A D | tp2855.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <linux/rk-camera-module.h> 23 #include <media/media-entity.h> 24 #include <media/v4l2-async.h> 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-subdev.h> 28 #include <linux/rk-preisp.h> 279 msg.addr = client->addr; in tp2855_write_reg() 280 msg.flags = client->flags; in tp2855_write_reg() 284 ret = i2c_transfer(client->adapter, &msg, 1); in tp2855_write_reg() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588s-evb1-lp4x-v10-camera.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 #address-cells = <1>; 12 #size-cells = <0>; 15 #address-cells = <1>; 16 #size-cells = <0>; 20 remote-endpoint = <<7911d_out>; 21 data-lanes = <1 2 3 4>; 25 remote-endpoint = <&ov50c40_out0>; 26 data-lanes = <1 2 3 4>; 32 #address-cells = <1>; [all …]
|
| H A D | rk3588-evb1-lp4-v10-lt6911uxe.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rk3588-evb1-lp4.dtsi" 9 #include "rk3588-android.dtsi" 13 compatible = "rockchip,rk3588-evb1-lp4-v10-lt6911uxe", "rockchip,rk3588"; 15 vcc_mipicsi0: vcc-mipicsi0-regulator { 16 compatible = "regulator-fixed"; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&mipicsi0_pwr>; 20 regulator-name = "vcc_mipicsi0"; [all …]
|
| H A D | rk3566-rk817-tablet-k108.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/input/rk-input.h> 12 #include <dt-bindings/sensor-dev.h> 13 #include <dt-bindings/display/drm_mipi_dsi.h> 15 #include "rk3568-android.dtsi" 19 compatible = "rockchip,rk3566-rk817-tablet-k108", "rockchip,rk3566"; 21 adc_keys: adc-keys { [all …]
|
| H A D | rk3588-vehicle-evb-thine_thcv244.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 15 #address-cells = <1>; 16 #size-cells = <0>; 19 #address-cells = <1>; 20 #size-cells = <0>; 24 remote-endpoint = <&thcv244_out>; 25 data-lanes = <1 2 3 4>; 30 #address-cells = <1>; 31 #size-cells = <0>; 35 remote-endpoint = <&mipi0_csi2_input>; [all …]
|
| H A D | rk3368a-817-tablet.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/pwm/pwm.h> 9 #include <dt-bindings/sensor-dev.h> 11 #include "rk3368-android.dtsi" 16 adc_keys: adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 1>; 19 io-channel-names = "buttons"; [all …]
|
| H A D | rk3588-vehicle-maxim-cameras-s66.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 max96712_osc: max96712-oscillator { 9 compatible = "fixed-clock"; 10 #clock-cells = <1>; 11 clock-frequency = <25000000>; 12 clock-output-names = "max96712-osc"; 15 max96722_osc: max96722-oscillator { 16 compatible = "fixed-clock"; 17 #clock-cells = <1>; 18 clock-frequency = <25000000>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A D | leds-rgb13h.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <media/v4l2-ctrls.h> 7 #include <media/v4l2-subdev.h> 10 #include <linux/led-class-flash.h> 17 #include <linux/rk-camera-module.h> 18 #include <linux/rk-led-flash.h> 49 /* assures led-triggers compatibility */ 79 mutex_lock(&led->lock); in rgb13h_set_output() 80 if (!IS_ERR(led->gpio_en)) in rgb13h_set_output() 81 gpiod_direction_output(led->gpio_en, on); in rgb13h_set_output() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/ |
| H A D | lt7911d.txt | 1 * Lontium lt7911d type-c/DP to MIPI-CSI Bridge 4 - compatible: should be "lontium,lt7911d". 5 - clocks: reference to the 27M xvclk input clock. 6 - clock-names: should be "xvclk". 7 - reset-gpios: Low active reset gpio. 8 - power-gpios: High active power gpio. 9 - hpd-ctl-gpios: High active hpd control gpio. 11 - plugin-det-gpios: Low active plugin detect gpio. 12 - interrupts: GPIO connected to the gpio5. 13 - data-lanes: should be <1 2 3 4> for four-lane operation, [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rv1126-evb-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/display/drm_mipi_dsi.h> 7 #include <dt-bindings/input/input.h> 10 adc-keys { 11 compatible = "adc-keys"; 12 io-channels = <&saradc 0>; 13 io-channel-names = "buttons"; 14 poll-interval = <100>; 15 keyup-threshold-microvolt = <1800000>; 17 esc-key { [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/jaguar1_drv/ |
| H A D | jaguar1_v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <media/media-entity.h> 19 #include <media/v4l2-async.h> 20 #include <media/v4l2-ctrls.h> 21 #include <media/v4l2-subdev.h> 22 #include <media/v4l2-fwnode.h> 31 #include <linux/rk-camera-module.h> 32 #include <linux/rk-preisp.h> 62 #define OF_CAMERA_MODULE_REGULATORS "rockchip,regulator-names" 63 #define OF_CAMERA_MODULE_REGULATOR_VOLTAGES "rockchip,regulator-voltages" [all …]
|
| /OK3568_Linux_fs/buildroot/package/brotli/ |
| H A D | 0001-CMake-Allow-using-BUILD_SHARED_LIBS-to-choose-static.patch | 11 is also usual to expose the BUILD_SHARED_LIBS as an user-facing setting 16 % cmake -DBUILD_SHARED_LIBS=OFF ... 17 % cmake -DBUILS_SHARED_LIBS=ON ... 22 Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> 24 --- 25 CMakeLists.txt | 46 ++++++++++++++----------------------------- 26 c/fuzz/test_fuzzer.sh | 6 +++--- 27 2 files changed, 18 insertions(+), 34 deletions(-) 29 diff --git a/CMakeLists.txt b/CMakeLists.txt 31 --- a/CMakeLists.txt [all …]
|