summaryrefslogtreecommitdiff
path: root/zephyr/boards/riscv/asurada/asurada.dts
Commit message (Collapse)AuthorAgeFilesLines
* zephyr: Automatically detect shared I2C portsKeith Short2021-09-141-12/+0
| | | | | | | | | | | | | | | | | | | Delete the "physical-port" node from named-i2c-ports, and automatically detected when multiple children point to the same I2C bus. This ensures that the I2C bus locking always blocks all matching I2C nodes, without the user needing to specify this relationship manually in the devicetree. BUG=none BRANCH=none TEST=Dump out i2c_physical_ports[] on herobrine. Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I3d254684483a95af12e7940446f4cd8743684708 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3154694 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Yuval Peress <peress@google.com>
* zephyr: asurada: enable _EVENT_WAKEUP_MASKDino Li2021-07-271-0/+18
| | | | | | | | | | | | | Only allow the defined MKBP events to wake host up. BRANCH=none BUG=none TEST=Running suspend test x50. Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Change-Id: I978a3db3ac0da6e761b8f953e2e89c97b9cbc23e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053135 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
* zephyr: i2c: protect physical portDino Li2021-07-221-0/+12
| | | | | | | | | | | | | | | | | | If i2c devices are connected to the same port, they should use the same mutex_lock() index. So the new transaction won't break the ongoing transaction. BRANCH=none BUG=b:189855648 TEST=Enable CONFIG_SMBUS_PEC and voltage regulator function on asurada. No i2c transaction is broken. Change-Id: Ib848e3c2e60b99ce66ad5fd2fc7095f90820a15d Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3010920 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
* zephyr: move all the boards directories under zephyr/boardsJack Rosenthal2021-07-161-0/+182
Move all the boards directories together under zephyr/boards from their scattered locations under projects/. This is the first step towards de-coupling the concept of a Zephyr board from baseboard/board/model, as it currently is. Further work will be required to actually unify these directories and delete the baseboard-specific names from our tree. BUG=b:193814903 BRANCH=none TEST=zmake testall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I33a344af6890b2c2c54f1e91f0f0fa85caaf19d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3035222 Commit-Queue: Yuval Peress <peress@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org>