Skip to content

Commit

Permalink
guacamoleb: Initial commit
Browse files Browse the repository at this point in the history
* Extracted from OnePlus7Oxygen_14.P.26_OTA_026_all_2003222033_a486.zip
  • Loading branch information
luk1337 committed May 5, 2020
1 parent 9169233 commit b56add6
Show file tree
Hide file tree
Showing 104 changed files with 5,096 additions and 0 deletions.
21 changes: 21 additions & 0 deletions guacamoleb/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Copyright (C) 2019-2020 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* This file is generated by device/oneplus/guacamoleb/setup-makefiles.sh
*/

soong_namespace {
}

21 changes: 21 additions & 0 deletions guacamoleb/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright (C) 2019-2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is generated by device/oneplus/guacamoleb/setup-makefiles.sh

LOCAL_PATH := $(call my-dir)

ifeq ($(TARGET_DEVICE),guacamoleb)

endif
16 changes: 16 additions & 0 deletions guacamoleb/BoardConfigVendor.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (C) 2019-2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is generated by device/oneplus/guacamoleb/setup-makefiles.sh

120 changes: 120 additions & 0 deletions guacamoleb/guacamoleb-vendor.mk

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
39 changes: 39 additions & 0 deletions guacamoleb/proprietary/vendor/etc/sensors/config/ak991x_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"config":{
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"],
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361"]
},
"ak0991x_0":{
"owner": "sns_ak0991x",
".mag":{
"owner": "sns_ak0991x",
".config":{
"owner": "sns_ak0991x",
"is_dri":{ "type": "int", "ver": "0",
"data": "0"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "0"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
},
".config_2":{
"owner": "sns_ak0991x",
"use_fifo":{ "type": "int", "ver": "0",
"data": "1"
},
"nsf":{ "type": "int", "ver": "0",
"data": "0"
},
"sdr":{ "type": "int", "ver": "0",
"data": "0"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"config":{
"hw_platform": ["QRD", "MTP", "Surf", "RCM", "IDP"],
"soc_id": ["339", "355", "356", "361", "365", "366", "394"]
},
"ak0991x_0":{
"owner": "sns_ak0991x",
".mag":{
"owner": "sns_ak0991x",
".config":{
"owner": "sns_ak0991x",
"is_dri":{ "type": "int", "ver": "0",
"data": "0"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "0"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
},
".config_2":{
"owner": "sns_ak0991x",
"use_fifo":{ "type": "int", "ver": "0",
"data": "0"
},
"nsf":{ "type": "int", "ver": "0",
"data": "0"
},
"sdr":{ "type": "int", "ver": "0",
"data": "0"
}
}
}
}
}
81 changes: 81 additions & 0 deletions guacamoleb/proprietary/vendor/etc/sensors/config/bmi26x_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"config":{
"hw_platform": ["MTP", "Surf"],
"soc_id": ["339", "361"]
},
"bmi26x_0":{
"owner": "bmi26x",
".accel":{
"owner": "bmi26x",
".config":{
"owner": "bmi26x",
"is_dri":{ "type": "int", "ver": "0",
"data": "1"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "2"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
},
".gyro":{
"owner": "bmi26x",
".config":{
"owner": "bmi26x",
"is_dri":{ "type": "int", "ver": "0",
"data": "1"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "3"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
},
".md":{
"owner": "bmi26x",
".config":{
"owner": "bmi26x",
"is_dri":{ "type": "int", "ver": "0",
"data": "1"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "0"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
},
".temp":{
"owner": "bmi26x",
".config":{
"owner": "bmi26x",
"is_dri":{ "type": "int", "ver": "0",
"data": "0"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "2"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
}
}
}
46 changes: 46 additions & 0 deletions guacamoleb/proprietary/vendor/etc/sensors/config/lps22hh_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"config":
{
"hw_platform": ["MTP", "Surf", "RCM", "QRD"],
"soc_id": ["356", "361"]
},
"lps22hh_0":{
"owner": "lps22hh",
".presssure":{
"owner": "lps22hh",
".config":{
"owner": "lps22hh",
"is_dri":{ "type": "int", "ver": "0",
"data": "0"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "2"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
},
".temp":{
"owner": "lps22hh",
".config":{
"owner": "lps22hh",
"is_dri":{ "type": "int", "ver": "0",
"data": "0"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "2"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
}
}
}
82 changes: 82 additions & 0 deletions guacamoleb/proprietary/vendor/etc/sensors/config/lsm6dsm_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"config":
{
"hw_platform": ["MTP", "Dragon", "Surf"],
"soc_id": ["339", "291", "246", "305", "321", "361"]
},
"lsm6dsm_0":{
"owner": "lsm6dsm",
".accel":{
"owner": "lsm6dsm",
".config":{
"owner": "lsm6dsm",
"is_dri":{ "type": "int", "ver": "0",
"data": "1"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "2"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
},
".gyro":{
"owner": "lsm6dsm",
".config":{
"owner": "lsm6dsm",
"is_dri":{ "type": "int", "ver": "0",
"data": "1"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "4"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
},
".md":{
"owner": "lsm6dsm",
".config":{
"owner": "lsm6dsm",
"is_dri":{ "type": "int", "ver": "0",
"data": "1"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "0"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
},
".temp":{
"owner": "lsm6dsm",
".config":{
"owner": "lsm6dsm",
"is_dri":{ "type": "int", "ver": "0",
"data": "0"
},
"hw_id":{ "type": "int", "ver": "0",
"data": "0"
},
"res_idx":{ "type": "int", "ver": "0",
"data": "2"
},
"sync_stream":{ "type": "int", "ver": "0",
"data": "0"
}
}
}
}
}
20 changes: 20 additions & 0 deletions guacamoleb/proprietary/vendor/etc/sensors/config/lsm6dsm_0_8g.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"config":
{
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"],
"soc_id": ["336", "341", "347", "360", "361"]
},
"lsm6dsm_0":{
"owner": "lsm6dsm",
".accel":{
"owner": "lsm6dsm",
".config":{
"owner": "lsm6dsm",
"res_idx":{ "type": "int", "ver": "0",
"data": "2"
}
}
}
}
}

Loading

0 comments on commit b56add6

Please sign in to comment.