endif
SOONG_GLOBAL_CONFIG := build/soong/cc/config/global.go
-CLANG_VERSION := $(shell grep "ClangDefaultVersion" $(SOONG_GLOBAL_CONFIG) | grep -o "clang-[0-9][0-9]*")
+CLANG_VERSION := clang-4691093
CLANG_PATH := prebuilts/clang/host/linux-x86
CC :=$(PWD)/$(CLANG_PATH)/$(CLANG_VERSION)/bin/clang
/dts-v1/;
/plugin/;
-#include "exynos9610-troika-camera.dtsi"
#include "exynos9610-troika-common.dtsi"
/ {
samsung,pin-drv = <2>;
};
- fimc_is_mclk3_in: fimc_is_mclk3_in {
- samsung,pins = "gpg3-5";
- samsung,pin-function = <0>;
- samsung,pin-pud = <0>;
- samsung,pin-drv = <2>;
- };
-
fimc_is_mclk0_out: fimc_is_mclk0_out {
samsung,pins = "gpc2-0";
samsung,pin-function = <1>;
samsung,pin-drv = <2>;
};
- fimc_is_mclk3_out: fimc_is_mclk3_out {
- samsung,pins = "gpg3-5";
- samsung,pin-function = <1>;
- samsung,pin-pud = <1>;
- samsung,pin-drv = <2>;
- };
-
fimc_is_mclk0_fn: fimc_is_mclk0_fn {
samsung,pins = "gpc2-0";
samsung,pin-function = <2>;
samsung,pin-drv = <2>;
};
- fimc_is_mclk3_fn: fimc_is_mclk3_fn {
- samsung,pins = "gpg3-5";
- samsung,pin-function = <2>;
- samsung,pin-pud = <0>;
- samsung,pin-drv = <2>;
- };
-
decon_f_te_on: decon_f_te_on {
samsung,pins = "gpc2-3";
samsung,pin-function = <0xf>;
} else {
/* Assume 12 bit ADC with vref at pullup_uv */
uv = (pdata->pullup_uv * (s64)raw) >> 12;
- }
- } else {
- uv = (pdata->pullup_uv * (s64)raw) >> 12;
}
return uv;
return 0;
}
-int request_wb_gain(struct fimc_is_sensor_interface *itf,
- u32 gr_gain, u32 r_gain, u32 b_gain, u32 gb_gain)
-{
- return 0;
-}
-
-int set_sensor_info_mfhdr_mode_change(struct fimc_is_sensor_interface *itf,
- u32 count, u32 *long_expo, u32 *long_again, u32 *long_dgain,
- u32 *expo, u32 *again, u32 *dgain)
-{
- return 0;
-}
-
int init_sensor_interface(struct fimc_is_sensor_interface *itf)
{
int ret = 0;
unsigned int ddi_seq_size;
unsigned char ddi_seq[512];
int user_brightness;
- char ddi_device_type[DSIM_DDI_TYPE_LEN];
};
struct dsim_lcd_driver {
struct iio_channel *chan;
bool iio_convert_support;
- bool iio_convert_support;
int (*read_ohm)(void);
};