Home
last modified time | relevance | path

Searched +full:clk +full:- +full:remote +full:- +full:icu2 (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/mailbox/
H A Dthead,th1520-mbox.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mailbox/thead,th1520-mbox.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: T-head TH1520 Mailbox Controller
10 The T-head mailbox controller enables communication and coordination between
16 - Michal Wilczynski <m.wilczynski@samsung.com>
20 const: thead,th1520-mbox
24 - description: Clock for the local mailbox
25 - description: Clock for remote ICU 0
[all …]
/linux/drivers/mailbox/
H A Dmailbox-th1520.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk.h>
30 /* Generate remote icu IRQ Register */
42 /* store MBOX context across system-wide suspend/resume transitions */
44 u32 intr_mask[TH_1520_MBOX_CHANS - 1];
66 void __iomem *remote_icu[TH_1520_MBOX_CHANS - 1];
88 iowrite32(val, priv->cur_cpu_ch_base + offs); in th1520_mbox_write()
93 return ioread32(priv->cur_cpu_ch_base + offs); in th1520_mbox_read()
102 spin_lock_irqsave(&priv->mbox_lock, flags); in th1520_mbox_rmw()
107 spin_unlock_irqrestore(&priv->mbox_lock, flags); in th1520_mbox_rmw()
[all …]