summaryrefslogtreecommitdiff
path: root/board/ambassador/board.c
Commit message (Collapse)AuthorAgeFilesLines
* adc: Remove adc_chip.h where adc.h is usedCaveh Jalali2021-08-271-1/+0
| | | | | | | | | | | | | | This removes the use of adc_chip.h where adc.h is also used. In this case, adc_chip.h is redundant. BRANCH=none BUG=b:181271666 TEST=buildall passes Change-Id: Id7baf9aef949447a4d47934242f9bae97c971262 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3120317 Reviewed-by: Keith Short <keithshort@chromium.org>
* thermisor: move header to include dirDawid Niedzwiecki2021-04-221-1/+1
| | | | | | | | | | | | | | | | Move the "thermistor.h" header to the include/driver/temp_sensor directory. It is used by the Zephyr shim, so the change is useful to include the header. BUG=b:180403276 BRANCH=none TEST=make buildall Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: I0e83df97e50a3b324440b65ddb900ddf135f2439 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2843323 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* Ambassador: LED PWM channels' IO type change to push-pullSue Chen2021-04-091-4/+2
| | | | | | | | | | | | | | | Remove open-drain flags in led pwm ch.0 and ch.2. BUG=b:184662294 BRANCH=ambassador TEST=make sure the led behavior is normal. Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: I253035f19207414b9a3126c4dc22d913b6f90994 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2812604 Reviewed-by: Joe Tessler <jrt@chromium.org> Commit-Queue: Joe Tessler <jrt@chromium.org> Tested-by: Joe Tessler <jrt@chromium.org>
* ambassador: Update fan and thermal settings.Neill Corlett2021-01-211-8/+8
| | | | | | | | | | | BUG=b:177765580 TEST=Built the EC firmware Change-Id: I56b9aeebd9cfdc647ddb6460619792f76b0d8673 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2643216 Tested-by: Neill Corlett <corlett@google.com> Reviewed-by: Joe Tessler <jrt@chromium.org> Commit-Queue: Neill Corlett <corlett@google.com>
* ambassador: fix LED color.Matt Ziegelbaum2020-11-191-3/+3
| | | | | | | | | | | | | | | Ambassador has red/white LEDs instead of red/green. They are open drain. With this change, amber is actually pink, but there's no constant for pink. BUG=None TEST=On device, control with ec console. BRANCH=none Signed-off-by: Matt Ziegelbaum <ziegs@chromium.org> Change-Id: Ib9901f3b4c3d088b0990da03411f5b785cc2e096 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2542752 Reviewed-by: Joe Tessler <jrt@chromium.org>
* Ambassador: Initial EC image.Matt Ziegelbaum2020-10-271-0/+938
Create the initial EC image for Ambassador by copying the Puff reference board EC files into a new directory named for ambassador. BUG=b:171561264 TEST=buildall BRANCH=none Signed-off-by: Matthew Ziegelbaum <ziegs@google.com> Change-Id: I28b2de23afb9227be7e39f232b45a43a47a4b1d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2499782 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Matthew Ziegelbaum <ziegs@chromium.org> Tested-by: Matthew Ziegelbaum <ziegs@chromium.org>