summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/cros_shi
Commit message (Collapse)AuthorAgeFilesLines
* zephyr: shi: it8xxx2: create phandle of pinmux controlTim Lin2021-08-021-0/+18
| | | | | | | | | | | | | | | | | | | Create the pinmux phandle to the SHI driver node in the devicetree. When the pinmux_pin_set function in cros_shi_ite_init can refer to the setting of phandle. It is more flexible to use. BUG=b:187541831 BRANCH=none TEST=host command is normal. Cq-Depend: chromium:3041210 Cq-Depend: chromium:3056118 Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com> Change-Id: I0c71333563eb7da04d29b82767b6a6660d867eed Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045026 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
* zephyr: driver: SHI: remove SHI version controlJun Lin2021-04-021-4/+0
| | | | | | | | | | | | | | | | | | | | | In NPCX7mnFA, the old SHI module and the new SHI module co-exist in this chip. We need to set DEVALTF.bit7 to enable the new version of the SHI module. In the latter npcx7 variants and npcx9 chips, only the new SHI module is supported. Because NPCX7mnFA chip variants are not included in the zephyr repo. We can remove the version control setttng. BUG=b:182600858 BRANCH=none TEST=Test host command "version" and "Hello" on npcx7_evb and the host emulator. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Change-Id: I43b2fb5294f39e2bf04a0794c9d54e87c8e0ce33 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2799335 Tested-by: CH Lin <chlin56@nuvoton.com> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* zephyr: npcx: support SHI driverJun Lin2021-03-311-0/+35
Add the support for SHI (Serial Host Interface) driver. This is used to transfer host commands between EC and ARM-based AP. BUG=b:182600858 BRANCH=none TEST=Test host command "version" and "Hello" on npcx7_evb and the host emulator. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Change-Id: I5f290fe910600162764f5728f094dd0f42d508ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2786887 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Tested-by: Jack Rosenthal <jrosenth@chromium.org>