summaryrefslogtreecommitdiff
path: root/board/metaknight/gpio.inc
Commit message (Collapse)AuthorAgeFilesLines
* ish: Trim down the release branchstabilize-wristpin-14469.59.B-ishstabilize-voshyr-14637.B-ishstabilize-quickfix-14695.187.B-ishstabilize-quickfix-14695.124.B-ishstabilize-quickfix-14526.91.B-ishstabilize-14695.85.B-ishstabilize-14695.107.B-ishstabilize-14682.B-ishstabilize-14633.B-ishstabilize-14616.B-ishstabilize-14589.B-ishstabilize-14588.98.B-ishstabilize-14588.14.B-ishstabilize-14588.123.B-ishstabilize-14536.B-ishstabilize-14532.B-ishstabilize-14528.B-ishstabilize-14526.89.B-ishstabilize-14526.84.B-ishstabilize-14526.73.B-ishstabilize-14526.67.B-ishstabilize-14526.57.B-ishstabilize-14498.B-ishstabilize-14496.B-ishstabilize-14477.B-ishstabilize-14469.9.B-ishstabilize-14469.8.B-ishstabilize-14469.58.B-ishstabilize-14469.41.B-ishstabilize-14442.B-ishstabilize-14438.B-ishstabilize-14411.B-ishstabilize-14396.B-ishstabilize-14395.B-ishstabilize-14388.62.B-ishstabilize-14388.61.B-ishstabilize-14388.52.B-ishstabilize-14385.B-ishstabilize-14345.B-ishstabilize-14336.B-ishstabilize-14333.B-ishrelease-R99-14469.B-ishrelease-R98-14388.B-ishrelease-R102-14695.B-ishrelease-R101-14588.B-ishrelease-R100-14526.B-ishfirmware-cherry-14454.B-ishfirmware-brya-14505.B-ishfirmware-brya-14505.71.B-ishfactory-kukui-14374.B-ishfactory-guybrush-14600.B-ishfactory-cherry-14455.B-ishfactory-brya-14517.B-ishJack Rosenthal2021-11-051-152/+0
| | | | | | | | | | | | | | | | | | | | | | In the interest of making long-term branch maintenance incur as little technical debt on us as possible, we should not maintain any files on the branch we are not actually using. This has the added effect of making it extremely clear when merging CLs from the main branch when changes have the possibility to affect us. The follow-on CL adds a convenience script to actually pull updates from the main branch and generate a CL for the update. BUG=b:204206272 BRANCH=ish TEST=make BOARD=arcada_ish && make BOARD=drallion_ish Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
* dedede: Enable CONFIG_ASSERT_CCD_MODE_ON_DTS_CONNECTRob Barnes2021-07-021-1/+1
| | | | | | | | | | | | | | | | | | Enable CONFIG_ASSERT_CCD_MODE_ON_DTS_CONNECT on all dedede boards. This will assert GPIO_CCD_MODE_ODL when a debug device is connected to a CCD port. GPIO_CCD_MODE_ODL must be configured as an open drain so EC and Cr50 don't drive fight. BUG=b:190189242 TEST=Build dedede BRANCH=None Change-Id: I2d71312967f2d4a693ac9753279f49478e8c092c Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2976759 Reviewed-by: Diana Z <dzigterman@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Diana Z <dzigterman@chromium.org>
* Metaknight: Organize source codeYu-An Chen2021-03-241-3/+8
| | | | | | | | | | | | | | | | | | | | Move GPIO00,GPIO40,GPIO73,GPIO80,GPIO92,GPIOE0 to NC pin. Rename EC_I2C_SUB_C1_SDA_HDMI_HPD_ODL to HDMI_HPD_SUB_ODL. Add "HDMI plug-in/out" message in ec console. Remove hdmi_enable/disable function due to GPIO92 not used. Add "SSFC" tag in init g-sensor console message. BUG=None BRANCH=dedede TEST=check DUT can boot, HDMI log correct Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: I0d600408171de68dfa025065845dd55e59e8a6dc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2780863 Tested-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Auto-Submit: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
* Metaknight: Disable keyboard backlight functionYu-An Chen2021-03-231-1/+1
| | | | | | | | | | | | | | Metaknight keyboard not support backlight Disable keyboard backlight function BUG=b:172146031 BRANCH=dedede TEST=check DUT can boot Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: I3f286100d728cd69c53e8efe3304208bc5fe39c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2777934 Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Diana Z <dzigterman@chromium.org>
* metaknight: Remove remnants of 2nd charger ICAseda Aboagye2021-02-171-10/+10
| | | | | | | | | | | | | | | | | This commit cleans up the remnants of a 2nd charger IC as metaknight does not plan to support one. BUG=b:169813211 BRANCH=dedede TEST=`make -j BOARD=metaknight` Signed-off-by: Aseda Aboagye <aaboagye@google.com> Change-Id: I9368cd831cf134f39741a46f2a9ee511bdeeb7cc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2698375 Tested-by: Aseda Aboagye <aaboagye@chromium.org> Auto-Submit: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Diana Z <dzigterman@chromium.org>
* Metaknight: Fix wrong wordsYu-An Chen2021-01-261-1/+1
| | | | | | | | | | | | Fix wrong words. BUG=None BRANCH=main TEST=None Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: I9af86d352d00403dd66012fdac2c639454ca1518 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2644789 Reviewed-by: Diana Z <dzigterman@chromium.org>
* Metaknight: Support motion sensor 2nd sourceYu-An Chen2021-01-231-1/+1
| | | | | | | | | | | | | | | | | | Support motion sensor 2nd source: -Lid : KX022 -Base : LSM6DSM BUG=b:177868819 BRANCH=main TEST=rework KX022/LSM6DSM on DUT, check ectool motionsense lid_angle is correct. Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: If61addd7ca182ff9c3d3e87e1f77076236a006d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2641705 Tested-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Henry Sun <henrysun@google.com>
* Metaknight: Support pen chargeYu-An Chen2020-11-251-0/+1
| | | | | | | | | | | | | | | | | Support pen charge function: GPIO50 low -> pen charge enable GPIO50 high -> pen charge disable BUG=b:169615752 BRANCH=master TEST=make BOARD=metaknight TEST=check pen charge pin voltage ,works as expected. Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: Ifd3d2535df6bbd071045cef8f6f6dae90f28da94 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2557299 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
* Metaknight: Press volume up/down by ADC Hook functionYu-An Chen2020-11-231-2/+2
| | | | | | | | | | | | | | | Add Vol +- volume up/down by ADC HOOK function BUG=b:169615752 BRANCH=master TEST=make BOARD=metaknight TEST=Press Vol+- button function work. Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: I70a10dd867ee1e1e24f34857f8097fbcd0a76350 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2552332 Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Diana Z <dzigterman@chromium.org>
* Metaknight: Support USB-AYu-An Chen2020-11-171-2/+5
| | | | | | | | | | | | | | | | config USB-A pin define, and enable USB SMART function BUG=b:169615752 BRANCH=master TEST=make BOARD=metaknight Signed-off-by: Yu-An.Chen@quanta.corp-partner.google.com Change-Id: I1a4d45952f40304ea8374991dc4ee2e648e566c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2505404 Tested-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Diana Z <dzigterman@chromium.org> Auto-Submit: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
* Metaknight: Reconfig LED GPIO, and modify Led behaviorYu-An Chen2020-11-111-1/+5
| | | | | | | | | | | | | | | | Config GPIOC3, GPIOC4 to control LED. Move GPIOC2 to NC pins. Modify Led behavior. BUG=b:172845491 BRANCH=master TEST=make BOARD=metaknight PASS TEST=Led behavior is correct after change. Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: Icc86b6e6c7e6541c73d70c0903a609be419782ba Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2528730 Reviewed-by: Diana Z <dzigterman@chromium.org>
* metaknight: Initial EC imageYu-An Chen2020-10-211-0/+139
Create the initial EC image for the metaknight variant by copying the waddledoo reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.2.0). BUG=b:169813211 BRANCH=none TEST=make BOARD=metaknight Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Change-Id: I25cf60b45dfdfb50ec7a3e2c057e71eb7cbcaf5f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2488951 Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Commit-Queue: Paul Fagerburg <pfagerburg@chromium.org>