diff options
author | horngchuang <horngchuang@google.com> | 2019-11-06 16:57:15 +0800 |
---|---|---|
committer | horngchuang <horngchuang@google.com> | 2019-11-06 16:57:45 +0800 |
commit | 98d4176701bcbc36358adaace967dd713334d08c (patch) | |
tree | e638cacc091426aeb008396d115a0d63d72db0a7 /sm7150 | |
parent | 16ab4666c5f682b14ec2938208437f6348f0b4a3 (diff) | |
download | sunfish-kernel-98d4176701bcbc36358adaace967dd713334d08c.tar.gz |
sunfish: update kernel-and-modules prebuilt
Linux version 4.14.117-g511a21306853-ab5990649 (android-
build@abfarm963) (Android (5484270 based on r353983c) clang
version 9.0.3 (https://android.googlesource.com/toolchain/clang
745b335211bb9eadfa6aa6301f84715cee4b37c5)
(https://android.googlesource.com/toolchain/llvm
60cf23e54e46c807513f7a36d0a7b777920b5881) (based on LLVM
9.0.3svn)) #1 SMP PREEMPT Wed Nov 6 08:41:33 UTC 2019
build:
9d2ac873 _setup_env.sh: avoid using repo outside of repo checkout
private/msm-google:
511a2130 msm: camera: Support read sensor register function
451d9816 msm: camera: support VCM position readout
25f9fb03 arch: arm64: configs: sunfish: remove unused governors and CONFIG_CPU_BOOST
cb89f9e5 arm64: configs: unset unused DM_CRYPT Kconfig
bc07ca54 arm64: configs: unset redundant EXT4_FS_ICE_ENCRYPTION Kconfigs
12d74145 dts: Add touch device tree for proto panel
dfd8f8d6 build.config.performance: add more configs into the list
31cdc864 arm64: configs: Enable power debug feature
69c6e939 power: Support to print wakeup source
a6e70886 power: Implement power util
private/msm-google/techpack/audio:
768ddf75 audio: add a SEC TDM hostless frontend
Bug: 116345995
Bug: 117424482
Bug: 139846758
Bug: 141456285
Bug: 141966343
Bug: 142098920
Bug: 142839321
Bug: 143662023
Bug: 143926791
Bug: 143995940
Test: make bootimage and boot to home, camera basic function also works
Change-Id: Ifabe4b5943aaad38d851863cad53556dca5bac11
Pick-Prebuilt: 278012881
Build-Id: 5990649
Processing-Config: kernel_headers
Signed-off-by: horngchuang <horngchuang@google.com>
Diffstat (limited to 'sm7150')
-rw-r--r-- | sm7150/kernel-headers/media/cam_sensor.h | 8 | ||||
-rw-r--r-- | sm7150/original-kernel-headers/media/cam_sensor.h | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/sm7150/kernel-headers/media/cam_sensor.h b/sm7150/kernel-headers/media/cam_sensor.h index 0ad99b491..cb521f795 100644 --- a/sm7150/kernel-headers/media/cam_sensor.h +++ b/sm7150/kernel-headers/media/cam_sensor.h @@ -72,6 +72,8 @@ struct cam_cmd_get_ois_data { struct cam_ois_shift { int16_t ois_shift_x; int16_t ois_shift_y; + int16_t af_shift_z; + int16_t af_ois_xtalk_z; int64_t time_readout; } __attribute__((packed)); struct cam_ois_opcode { @@ -190,6 +192,12 @@ struct cam_sensor_streamon_dev { uint32_t reserved; uint64_t info_handle; } __attribute__((packed)); +struct cam_cmd_get_sensor_data { + uint32_t reg_addr; + uint32_t reg_data; + uint64_t query_size_handle; + uint64_t query_data_handle; +} __attribute__((packed)); struct cam_flash_init { uint8_t flash_type; uint16_t reserved; diff --git a/sm7150/original-kernel-headers/media/cam_sensor.h b/sm7150/original-kernel-headers/media/cam_sensor.h index c54cfadc8..3a5350be6 100644 --- a/sm7150/original-kernel-headers/media/cam_sensor.h +++ b/sm7150/original-kernel-headers/media/cam_sensor.h @@ -122,11 +122,15 @@ struct cam_cmd_get_ois_data { * * @ois_shift_x : shift in x dim * @ois_shift_y : shift in y dim + * @af_shift_z : shift in z dim + * @af_ois_xtalk_z : shift in z dim with ois * @time_readout : time that the shift is read out */ struct cam_ois_shift { int16_t ois_shift_x; int16_t ois_shift_y; + int16_t af_shift_z; + int16_t af_ois_xtalk_z; int64_t time_readout; } __attribute__((packed)); @@ -420,6 +424,21 @@ struct cam_sensor_streamon_dev { } __attribute__((packed)); /** + * struct cam_cmd_get_sensor_data - Contains Sensor data read cmd + * + * @reg_addr : register addr to read data from + * @reg_data : number of bytes to read + * @query_size_handle : handle to user space query_size address + * @query_data_handle : handle to user space query_data address + */ +struct cam_cmd_get_sensor_data { + uint32_t reg_addr; + uint32_t reg_data; + uint64_t query_size_handle; + uint64_t query_data_handle; +} __attribute__((packed)); + +/** * struct cam_flash_init : Init command for the flash * @flash_type : flash hw type * @reserved |