summaryrefslogtreecommitdiff
path: root/board/nautilus/gpio.inc
Commit message (Collapse)AuthorAgeFilesLines
* espi: Rename CONFIG_HOSTCMD_ESPI_VW_SIGNALS to ↵Furquan Shaikh2018-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS This change renames CONFIG_HOSTCMD_ESPI_VW_SIGNALS to CONFIG_HOSTCMD_ESPI_VW_SIGNALS in order to make it clear that this config option indicates that chipset sleep signals (SLP_S3 and SLP_S4) are tranmitted over virtual wires instead of physical lines with eSPI. BUG=b:111859300 BRANCH=None TEST=make -j buildall Change-Id: Iab4423abc9102164d4f43296a279c24355445341 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/1151048 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
* nautilus: Remove the unused GPIO USB_POWERON_LPhilip Chen2018-07-171-2/+1
| | | | | | | | | | | | | BUG=b:111433611 BRANCH=poppy TEST=manually confirm USB-A port still works Change-Id: I70146f696056e526df08831847650710dea4a8ae Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/1139400 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
* espi: rename remaining eSPI optionsJett Rink2018-05-231-1/+1
| | | | | | | | | | | | | Change prefix from CONFIG_ESPI to CONFIG_HOSTCMD_ESPI for consistency. BRANCH=none BUG=chromium:818804 TEST=Full stack builds and works on yorp (espi) and grunt (lpc) Change-Id: I8b6e7eea515d14a0ba9030647cec738d95aea587 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1067513 Reviewed-by: Randall Spangler <rspangler@chromium.org>
* nautilus: Disable sensor in S5Furquan Shaikh2018-02-231-1/+1
| | | | | | | | | | | | BUG=b:73292704 BRANCH=None TEST=None Change-Id: I6f2f09232daed87fcd54a356ee13e69bfeda994c Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/918381 Reviewed-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Jerry Parson <jwp@chromium.org>
* nautilus : clean up gpiosYB.Ha2018-02-011-6/+4
| | | | | | | | | | | | | | | | clean up unused gpios BUG=none BRANCH=none TEST=build/flash nautilus Change-Id: Ifdebc885d7f81b560b27bfed5abb93d8976e9641 Signed-off-by: YB.Ha <ybha@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/897305 Commit-Ready: YongBeum Ha <ybha@samsung.com> Tested-by: YongBeum Ha <ybha@samsung.com> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
* nautilus : fix white led shown issue on ec resetYB.Ha2018-01-301-3/+3
| | | | | | | | | | | | | | | set gpios of LED to output high(off) when ec reset BUG=b:72485879 BRANCH=none TEST=build/flash nautilus Change-Id: I187dc82839fe7000e004cf58c4811656c905c00a Signed-off-by: YB.Ha <ybha@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/892679 Commit-Ready: YongBeum Ha <ybha@samsung.com> Tested-by: YongBeum Ha <ybha@samsung.com> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
* nautilus: set default level for USB_POWERONJongpil Jung2018-01-231-1/+3
| | | | | | | | | | | | | | | | | | | To eanble USB power, USB_POWERON_L should be low. Default is high. So, turn off USB. Power On(Low) : chipset startup Power Off(High) : chipset shutdown BUG=b:72202322 BRANCH=master TEST=emerge-nautilus chromeos-ec flash ec and check if PIN stay low after power on. Change-Id: I9ab617b72f10645fb2dce7005ddeeb023c67605d Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/872810 Commit-Ready: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Tested-by: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Reviewed-by: Shawn N <shawnn@chromium.org>
* nautilus: Remove WLAN_PE_RSTPhilip Chen2018-01-231-1/+0
| | | | | | | | | | | | | | | | We don't use GPIO12 anymore. BUG=b:72334658 BRANCH=none TEST=build Nautilus Change-Id: I0f407caf708040a7ee132fd0993d20b5a0b7bb7a Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/879783 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
* nautilus: support BC1.2 on USB Type-A portYB.Ha2018-01-151-2/+4
| | | | | | | | | | | | | | support BC1.2 on USB Type-A port BUG=b:71775046 BRANCH=none TEST=build/flash nautilus Change-Id: Iff9e95d06c0498d8f093d508bc50a0754e973c37 Reviewed-on: https://chromium-review.googlesource.com/858979 Commit-Ready: YongBeum Ha <ybha@samsung.com> Tested-by: YongBeum Ha <ybha@samsung.com> Reviewed-by: Shawn N <shawnn@chromium.org>
* nautilus : change sensor i2c levelYB.Ha2017-12-081-3/+3
| | | | | | | | | | | | | Level of sensor's i2c and interrupt is changed to 1.8V on rev 2. BUG=b:70299498 BRANCH=none TEST=build/flash nautilus rev1, sensor operates well. Change-Id: Ibee990de76f5a77517994a08474f577e4a92ae83 Reviewed-on: https://chromium-review.googlesource.com/812589 Commit-Ready: YongBeum Ha <ybha@samsung.com> Tested-by: YongBeum Ha <ybha@samsung.com> Reviewed-by: Shawn N <shawnn@chromium.org>
* nautilus: correct board id.Jongpil Jung2017-11-281-2/+2
| | | | | | | | | | | | | | | | BUG=b:69694470 BRANCH=none TEST=build/flash on nautilus rev1. check if board id is rev1. EC : version command. OS : mosys platform version Change-Id: I2dada47468a08e08efa401a6f519ad40ff2175a4 Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/787110 Commit-Ready: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Tested-by: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Reviewed-by: Philip Chen <philipchen@chromium.org>
* nautilus: remove base-related code.Jongpil Jung2017-11-221-2/+0
| | | | | | | | | | | | BUG=b:69389497 BRANCH=none TEST=build/flash on nautilus. Check boot. Change-Id: I02677109a99f57e48a62355e82ca31c8445b6849 Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/781261 Reviewed-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
* nautilus: control power ledJongpil Jung2017-11-221-5/+3
| | | | | | | | | | | | | | | | | Control power LED. BUG=b:69396982 BRANCH=none TEST=build/flash nautilus rev1, power on and boot ok. check LED as power state. check LED with ectool. Change-Id: I4961d1683f881697f508292bd116cb7df69caac3 Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/773521 Commit-Ready: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Tested-by: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
* nautilus: enable touchpad,backlight and disable base.Jongpil Jung2017-11-211-4/+2
| | | | | | | | | | | | | | | | | | clean up base enable/disable for nautilus. enable touchpad and backlight. BUG=b:69389497 BRANCH=none TEST=build/flash nautilus rev1, power on and boot ok. check lcd backlight. check touchpad with evtest. Change-Id: I6e2ddc61737254f088de0867fbb02b09e1099718 Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/773721 Commit-Ready: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Tested-by: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Reviewed-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
* nautilus: remove als.Jongpil Jung2017-11-211-3/+0
| | | | | | | | | | | | | | | | nautilus doesn't have als. So, we need to remove als code in ec firmware. BUG=b:69389497 BRANCH=none TEST=build/flash nautilus rev1, power on and boot ok. check ec console log. There is no als initialization. Change-Id: I99465fb59090c7d370cb4a28f3500159a6fcb77e Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/773764 Commit-Ready: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Tested-by: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Reviewed-by: Philip Chen <philipchen@chromium.org>
* nautilus: clean up code.Jongpil Jung2017-11-201-5/+2
| | | | | | | | | | | | | | | | | | | | remove base related code. remove anx74xx related code. Update GPIO PIN - unused PP3300_DX_SENSOR - unused EC_HAVEN_RESET_ODL - correct PP1800_DX_SENSOR and LTE. BUG=b:69389497 BRANCH=none TEST=build/flash nautilus rev1, power on and boot ok. Change-Id: I27fe5010bc082d4db941955d7ff49f5ae336901a Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/773320 Commit-Ready: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Tested-by: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> Reviewed-by: Philip Chen <philipchen@chromium.org>
* nautilus: Replace anx74xx with another ps8xxxPhilip Chen2017-11-151-3/+5
| | | | | | | | | | | | | | | | | | | On Nautilus, we use two ps8751b TCPC chips. According to the latest schematic (link is in the bug), we'll place two TCPC chips separately on different I2C ports. BUG=b:69017605 BRANCH=none TEST=build/flash nautilus rev0, and confirm PD charging from one USB-C port works. Change-Id: Iab7402023f148d478cba249aaf83a23675a7137b Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/758336 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
* nautilus: Change USB_C{0,1}_PD_RST_L to be GPIO_ODR_HIGHFurquan Shaikh2017-11-141-2/+2
| | | | | | | | | | | | | | | Similar to coral and poppy/soraka devices, configure USB_C{0,1}_PD_RST_L to be GPIO_ODR_HIGH since nautilus uses parade TCPC on both ports. BUG=b:69198785 BRANCH=None TEST=make -j BOARD=nautilus Change-Id: If76cf0588744b3adcfd75f4e2ebe0ea9e721683d Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/767071 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
* nautilus: Support keyboard matrixPhilip Chen2017-11-031-2/+9
| | | | | | | | | | | | | | | Also fix the strapping pins for board id. BUG=b:68684486 BRANCH=none TEST=build Nautilus Change-Id: I9e9b5fe73efc85456f87355524de3e7ff7a592fb Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/746562 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
* nautilus: Correct the year in the headersPhilip Chen2017-10-311-1/+1
| | | | | | | | | | | | | | | This is a 2017 project. BUG=none BRANCH=none TEST=build Nautilus Change-Id: I46db0cd84379f98f3170d4aa426ec58b75f9a129 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/746581 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
* ec: add initial nautilus boardChris Wang2017-10-231-0/+126
For now use the files from poppy. To be changed later on. BUG=b:66458931 TEST=emerge-nautilus chromeos-ec/make buildall -j Change-Id: If829d7307f834f1f30878934623c0e9ee77b907d Signed-off-by: Chris Wang <chriswang@ami.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/701996 Commit-Ready: Grace Kao <grace.kao@intel.com> Tested-by: Grace Kao <grace.kao@intel.com> Reviewed-by: Philip Chen <philipchen@chromium.org>