| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the CONFIG_ADC_CHANNELS_RUNTIME_CONFIG config option to allow
the adc_channels array to be tweaked at runtime.
BRANCH=none
BUG=b:183452273,b:181271666
TEST=buildall passes
Change-Id: I1241012b6e36c19baa7fe80853a6c6de4affeefa
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3116990
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tie CONFIG_PLATFORM_EC_ADC to CONFIG_ADC
Disable the zephyr adc_shell command as there is
already one present in Chromium EC
BUG=none
BRANCH=none
TEST=submit build should verify it is ok
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I3db30f674e917e8b55a90cec2b746939374d6767
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2895790
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Yuval Peress <peress@chromium.org>
|
|
Add ADC shim to connect the platform/ec ADC API to the Zephyr ADC API.
Generate needed global variables/types: enum adc_channel and
adc_channels from dts.
Once ADC_CMD config is enabled, it replaces the "adc" Zephyr console
function.
The shim assues only ADC_0 module.
More specific channel options can be added to named-adc.yaml e.g.
shift or gain.
BUG=b:175881324
BRANCH=none
TEST=build Zephyr
TEST=Run "adc" command, it should return current levels in mv of
configured channels
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Ic9c03223e611f916bebc1296cbee614401098994
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2673418
Reviewed-by: Simon Glass <sjg@chromium.org>
|