summaryrefslogtreecommitdiff
path: root/chip/mchp/pwm.c
Commit message (Collapse)AuthorAgeFilesLines
* common: replace 1 << digits, with BIT(digits)Gwendal Grignou2019-03-261-2/+2
| | | | | | | | | | | | | | | | 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>
* ec_chip_mchp: Add PWM and fan filesScott Worley2017-12-281-0/+155
Add Microchip MEC17xx family PWM and fan source files for review BRANCH=none BUG= TEST=Review only. Change-Id: I91439ab999a4662d690b58b0fbbb887f643b3673 Signed-off-by: Scott Worley <scott.worley@microchip.corp-partner.google.com>