summaryrefslogtreecommitdiff
path: root/board/redrix
Commit message (Collapse)AuthorAgeFilesLines
* Redrix: Enable search keyDevin Lu2021-09-241-1/+1
| | | | | | | | | | | | BUG=none BRANCH=none TEST=On Redrix, make sure search key works. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I2bb65db54fd10b5b3282728852ac6d9e094ad354 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3180701 Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* board: Do not enable gyroscope by defaultGwendal Grignou2021-09-231-10/+0
| | | | | | | | | | | | | | | | | | | | | Enable gyroscope only when the AP needs it. It is not used by the EC. For lid calculation, set frequency at 10HZ, the drivers will calculate higher frequencies when needed. Modify other boards as well: Use awk '/\.type = MOTIONSENSE_TYPE_GYRO,/ { check_config=1 } \ /\.config = / { if (check_config) { print FILENAME,$0 } } \ /\.type = MOTIONSENSE_TYPE_[^G]/ { check_config=0 }' board/*/sensors.c | \ cut -d ' ' -f 1' to locate the impacted files (board.c as well). BUG=none BRANCH=none TEST=Check rotation is still working on brya Change-Id: I45d82d00c30e35541df80d1b7805f8302b3d98ff Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3170174 Reviewed-by: Keith Short <keithshort@chromium.org>
* BB Retimer: Add new HPD callback to boardsDiana Z2021-09-161-0/+2
| | | | | | | | | | | | | | | Now that the BB retimer has its own HPD interface, add this interface to every board using the bb_usb_retimer driver. BRANCH=None BUG=b:195773400 TEST=on voxel, pass tast typec.Mode*.manual Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ia70d139431739e8f2c0577359cb3aaa7fb906d0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3163930 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
* redrix: Set rpm deviation to 1%Devin Lu2021-09-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently rpm deviation is 7%, it is too large to cause fan rpm between actual and target is not accurate. This patch set lower rpm deviation to 1%. BUG=b:195673113 BRANCH=none TEST=run ectool pwmsetfanrpm 4000 ~ 4500 rpm. make sure fan actual rpm is accurate. 21-09-10 13:50:32.674 Fan 0 Actual: 4012 rpm 21-09-10 13:50:32.676 Fan 0 Target: 4000 rpm 21-09-10 13:51:28.618 Fan 0 Actual: 4130 rpm 21-09-10 13:51:28.620 Fan 0 Target: 4100 rpm 21-09-10 13:51:54.591 Fan 0 Actual: 4201 rpm 21-09-10 13:51:54.594 Fan 0 Target: 4200 rpm 21-09-10 13:52:28.177 Fan 0 Actual: 4330 rpm 21-09-10 13:52:28.179 Fan 0 Target: 4300 rpm 21-09-10 13:53:20.527 Fan 0 Actual: 4428 rpm 21-09-10 13:53:20.529 Fan 0 Target: 4400 rpm 21-09-10 13:54:12.183 Fan 0 Actual: 4509 rpm 21-09-10 13:54:12.186 Fan 0 Target: 4500 rpm Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I1282ecf3b305541c8f8ac7df59392de6fabeec1f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3153121 Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* redrix: Update fan table version 1Devin Lu2021-09-163-0/+217
| | | | | | | | | | | | | | This patch adds a custom fan table which is controlled by EC. BUG=b:195673113 BRANCH=none TEST=Thermal team verified thermal policy is expected. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I0ebf7809437d2528ec6fce5074a320580e444fd0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3153118 Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* redrix: Update fan real rpmDevin Lu2021-09-151-7/+6
| | | | | | | | | | | | BUG=b:193487913 BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I9d4491937d0dd2d679537aae3020f17cfb014a86 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3153120 Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* brya: Move charger config from baseboard to boardDavid Huang2021-09-022-0/+2
| | | | | | | | | | | | | | | Move charger config from baseboard to board. Change Kano charger to isl9241. BUG=none BRANCH=brya TEST=make buildall -j succeeded. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: Ia97424bbcf0654127e21c47d6834ad6c2c6163ee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3132556 Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* redrix: Correct accelerometer orientationDevin Lu2021-08-301-5/+3
| | | | | | | | | | | | | | BUG=b:197804802 BRANCH=none TEST=On Redrix mockup, check the screen rotation was normally. Make sure the x-y-z axis direction is indeed. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I7a9dffaea3a16e2beb5d6df2af605086a4e13b48 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3117527 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: Boris Mittelberg <bmbm@google.com>
* redrix: Move MICMUTE key before MUTE keyDevin Lu2021-08-271-5/+5
| | | | | | | | | | | | | BUG=b:193752537 BRANCH=none TEST=evtest, make sure the keycode is correct. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: If9a67903d4368d46d42acc3052a6540a381afd56 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3120987 Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* redrix: Fix C1 port bb retimer addressDevin Lu2021-08-171-1/+1
| | | | | | | | | | | | BUG=b:196476916 BRANCH=none TEST=No error with bb retimer initial. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Iccf5bde3029ddcc2e0a83c7e5ea9f4d3da835973 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068490 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
* nct38xx: Split after-reset timestabilize-14151.B-mainDevin Lu2021-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Split after-reset time for NCT3807 and NCT3808, since the after-reset time is not the same. From the datasheet (section 4.4.2 Reset Timing) as following: * | Min | Max | * ----------------------+-------+-------+ * NCT3807 (single port) | x | 1.5ms | * ----------------------+-------+-------+ * NCT3808 (dual port) | x | 3ms | * ----------------------+-------+-------+ Currently the after-reset time for NCT3807 is zero. Change to 2ms to fit specification as well. BUG=none BRANCH=none TEST=On Redrix. Initial success with NCT3807. TEST=On Dirinboz. Initial success with NCT3807. TEST=make buildall. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I1f47f57c0d8955946b1c2522e1a1736739217f41 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068492 Reviewed-by: caveh jalali <caveh@chromium.org>
* Redrix: Enable hardware charging rampDevin Lu2021-08-103-36/+1
| | | | | | | | | | | | | | | | | | This patch enables hw charging ramp, the bq25720 have hw ramp function (call Input Current Optimizer (ICO)). Enable it instead of sw ramp. BUG=b:195826406 BRANCH=none TEST=On Redrix. Plug in CDP, SDP, DCP, type-C and PD charger: 1. EC console chgsup to make sure voltage/current is indeed. 2. PDtrace to make sure we ramp current to a reasonable value. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I37c7854769b4bc1f1eafbe8134bf0804ea35474a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3077590 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: Keith Short <keithshort@chromium.org>
* redrix: cleanup: Remove kb backlight unused codeDevin Lu2021-08-072-9/+0
| | | | | | | | | | | | BUG=none BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I9bb42cd5295785d525c063931f425228dc02968d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3077585 Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org>
* redrix: Configure thermal sensorsDevin Lu2021-08-062-36/+72
| | | | | | | | | | | | | | | | | | | | | | | | | There are 4 thermal sensors on Redrix. The sensor map as following: ADC_TEMP_SENSOR_1_DDR: Close to DDR. ADC_TEMP_SENSOR_2_SOC: Close to SOC. ADC_TEMP_SENSOR_3_CHARGER: Close to charger. ADC_TEMP_SENSOR_4_REGULATOR: Close to 5V regulator. BUG=b:195673113 BRANCH=none TEST=EC console "temps". > temps DDR : 319 K = 46 C 73% SOC : 322 K = 49 C 93% Charger : 316 K = 43 C 20% Regulator : 319 K = 46 C 40% Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I51548faa34e70ffcbd809d18b2ca5996992e3753 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3076600 Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org>
* redrix: Fix lsm6dsm initial dataDevin Lu2021-08-061-1/+1
| | | | | | | | | | | | | Add the lsm6dsm initial data to avoid unexpected exception occurs. BUG=b:195377407 BRANCH=none TEST=Boot EC success. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Ic3a898fe4fde6a4d4ceb702f8a2e8a0bdf223806 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3073704 Reviewed-by: caveh jalali <caveh@chromium.org>
* redrix: Initialize the vivaldi keyboardDevin Lu2021-08-064-7/+74
| | | | | | | | | | | | | | Redrix has 2 keyboard layouts. One for privacy screen keyboard layout. Other for default keyboard layout. BUG=b:193752537 BRANCH=none TEST=evtest, make sure the keycode is correct. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I7777866d1cfe91ee940eee97bdc03e26559c2481 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3073702 Reviewed-by: caveh jalali <caveh@chromium.org>
* redrix: add PCHG supportZick Wei2021-08-054-0/+37
| | | | | | | | | | | | | This patch add PCHG:ctn730 support on redrix. BUG=none BRANCH=none TEST=verify PCHG work as intended. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I8bf0abc3df9e28e7a018ddeb4fb971d2ede46039 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3066828 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* redrix: Reverse keyboard backlight enableDevin Lu2021-08-032-3/+3
| | | | | | | | | | | | | | | Reverse the enabling signal to active high. BUG=none BRANCH=none TEST=Keyboard backlight works normally. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I07c97d73a9ddd9d30303121d0e4be4afd45a5f07 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068845 Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* redrix: Fix LED allocationDevin Lu2021-08-031-5/+5
| | | | | | | | | | | | | | BUG=b:193945754 BRANCH=none TEST=Battery Error should be blinking white (0.5 sec on, 0.5 sec off). C0 and C1 port allocation is indeed. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I52584907fc72fece1661af54def4771968c32b2a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068841 Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
* Redrix: Lower LED task priorityDevin Lu2021-08-031-2/+2
| | | | | | | | | | | BUG=none BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Ia87bdc9c42cb271c3f7d51759f625b80d17c9f66 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3067278 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* Redrix: Update FW_CONFIG fieldDevin Lu2021-08-032-35/+13
| | | | | | | | | | | | | | This patch update the FW_CONFIG field for Redix. Remove daughter board configuration. BUG=none BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I3e02afc2f2508886e41bb954c0b15657b80033f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3043760 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* Redrix: Tuning TCPC reset timingDevin Lu2021-07-241-8/+6
| | | | | | | | | | | BUG=b:193461268 BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: If14e5de907c69fc830167f165c371e1b3e40fb05 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045431 Reviewed-by: caveh jalali <caveh@chromium.org>
* keyboard: Use __override for keyboard_scan_configDaisuke Nojiri2021-07-231-1/+1
| | | | | | | | | | | | | | | | | Currently keyboard_scan_config is defined by each board using CONFIG_KEYBOARD_BOARD_CONFIG. This patch makes it defined as __override hence removes CONFIG_KEYBOARD_BOARD_CONFIG. BUG=None BRANCH=None TEST=buildall Change-Id: I53a356741ba4d00e829ca59b74ee6dc704188728 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044403 Tested-by: Gwendal Grignou <gwendal@chromium.org> Commit-Queue: Gwendal Grignou <gwendal@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
* redrix: Configure Motion SensorsDevin Lu2021-07-214-44/+33
| | | | | | | | | | | | | | | Regarding the lid accelerometer, change to Bosch BMA253 and remove the interrupt pin. And the base accelerometer changed to LSM6DSLU. BUG=b:193744971 BRANCH=none TEST=make buildall -j Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I2db5f981e86217ce1cf8e207c40040493071f5d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3037286 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* redrix: Add FAN2 supportDevin Lu2021-07-214-48/+36
| | | | | | | | | | | BUG=b:193487913 BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I213e7f05783d784a138e908493fd1262e9b4fc3b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023744 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* redrix: Add battery configurationDevin Lu2021-07-212-53/+20
| | | | | | | | | | | | | | | | [Simply copy from: https://crrev.com/c/1971511] Add Dynapack CosMX battery configuration. The battery was the same as Jinlon. BUG=b:190797341 BRANCH=none TEST=make buildall -j Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I6aedb010c2d3300ee12ebe0b4be5d99c874aac9d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023512 Reviewed-by: caveh jalali <caveh@chromium.org>
* redrix: Implement ledsDevin Lu2021-07-215-108/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simply copy from: https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/main/board/jinlon/led.c |1. Add some macro changes and change C0 charging led to left side.| |2. Add a LED task to replace the hook task.| 1. Redrix has the same design as Jinlon, there are two set charging leds on system (right side and left side), each side has two colors amber and white. 2. Redrix has a power led to indicate power state suspend/off. The led behavior define as following: 1. Charging led: led on with charging port active, other port is off. Charging: Amber. Discharging: Off. Battery Error: Blinking white (0.5 sec on, 0.5 sec off) Fuel < 10%: Blinking white on right side port (1 sec on, 1 sec off) Force idle for factory: Blinking amber (1 sec on, 1 sec off) 2. Power led: System is S0: White System is suspend/S0ix: Blinking white (1 sec on, 1 sec off) System is S5: Off BUG=b:193945754 BRANCH=none TEST=Cherry-picked this patch to Jinlon and Verified as following: make sure led behavior intended. make sure ectool led power white/off/auto work correctly. make sure ectool led left white/amber/off/auto work correctly. make sure ectool led right white/amber/off/auto work correctly. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: If05c9e2750ca3afcbcfaf51ce495d0f03d1fa756 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023511 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com>
* sensor: fix LSM6DSO drv_data overlappingelmo_lan2021-07-191-2/+4
| | | | | | | | | | | | | | | | | The base g-sensor provides 2 functions: accelerometer and gyro. EC need to assign 2 different addresses to store each calibration data. BRANCH=none BUG=none TEST=make BOARD Signed-off-by: elmo_lan <elmo_lan@compal.corp-partner.google.com> Change-Id: I90f5c4daa51b63788f102c0689c59e566255ffc2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023757 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com> Tested-by: Boris Mittelberg <bmbm@google.com>
* redrix: follow up gpio changes from bryaZick Wei2021-07-131-9/+9
| | | | | | | | | | | | | | | | This CL follow up CL:2977478, CL:2977479, CL:2977480, CL:2977481, CL:2993548 to synchronize brya gpio changes. BUG=none BRANCH=none TEST=make BOARD=redrix Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I336b2383854642afe02da4165f7aba40af87b706 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3000895 Reviewed-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: caveh jalali <caveh@chromium.org>
* redrix: config USBC portZick Wei2021-07-136-145/+68
| | | | | | | | | | | | | | Remove USBC2 port and config USBC1 port to follow schematic, redrix use TCPC: NCT3807 on both USBC0 and USBC1 port. BUG=b:190822765 BRANCH=none TEST=make BOARD=redrix Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I27cb5b1c33b1dca565a68e6d8f1e3dc20f542bb5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3000305 Reviewed-by: caveh jalali <caveh@chromium.org>
* redrix: remove db optionsZick Wei2021-07-133-48/+12
| | | | | | | | | | | | | | There's no daughter board on redrix, so remove relate code. BUG=b:190954036 BRANCH=none TEST=make BOARD=redrix Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: Iac6633fa30fedc867e121ba9a9d20a46b7c362d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2999413 Reviewed-by: caveh jalali <caveh@chromium.org>
* redrix: Remove board ID 1 supportDevin Lu2021-07-013-108/+6
| | | | | | | | | | | | | Redrix is now p2 schematic. Remove unused board ID configuration. BUG=none BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Iea2d824641ae35c135b45742fe1e34dd99931f42 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2995899 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* redrix: Remove tune mp2964 settingsDevin Lu2021-07-013-52/+3
| | | | | | | | | | | BUG=none BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I10488f2e3228512359a0784459063c74fcbff82c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2995238 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* redrix: Merge generated-gpio.incDevin Lu2021-07-012-136/+119
| | | | | | | | | | | | | | Redrix does not auto-generate their GPIO definitions. Merge generated-gpio.inc to gpio.inc to customize in future. BUG=none BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Icea3dd5237c0fca4bae96163cd2b2d20c74b34f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2995232 Reviewed-by: Boris Mittelberg <bmbm@google.com>
* redrix: Include-what-you-use scrubDevin Lu2021-07-0111-7/+33
| | | | | | | | | | | | | | | | | [Synchronize with CL:2987159 to Redrix] This updates the list of header files included by brya board files to match what is actually used. BUG=none BRANCH=none TEST=make BOARD=redrix Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I7f9cc8ef363279a763f540d9fecb0a1fe733a097 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2995237 Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Reviewed-by: Boris Mittelberg <bmbm@google.com>
* redrix: Initial EC imageWisley Chen2021-06-2919-0/+2034
Create the initial EC image for the redrix variant by copying the brya reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.5.0). BUG=b:192052098 BRANCH=None TEST=make BOARD=redrix Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com> Change-Id: I63d1029ce4581f74bd061bbcc7b98fc41e375e4c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2991396 Reviewed-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Boris Mittelberg <bmbm@google.com>