summaryrefslogtreecommitdiff
path: root/driver/ioexpander_it8300.h
Commit message (Collapse)AuthorAgeFilesLines
* common: replace 1 << digits, with BIT(digits)Gwendal Grignou2019-03-261-12/+12
| | | | | | | | | | | | | | | | Requested for linux integration, use BIT instead of 1 << First step replace bit operation with operand containing only digits. Fix an error in motion_lid try to set bit 31 of a signed integer. BUG=None BRANCH=None TEST=compile Change-Id: Ie843611f2f68e241f0f40d4067f7ade726951d29 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1518659 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* driver: Add driver header for it8300 I/O port controllerVijay Hiremath2018-07-041-0/+106
BUG=b:111107786 BRANCH=none TEST=Manually tested on GLKRVP using ITE eval board, i2cxfer works Change-Id: I74055a1138516e1364779fbb0758251c70792c3d Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/1123216 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Jett Rink <jettrink@chromium.org>