Searched +full:rk3368 +full:- +full:mailbox (Results 1 – 2 of 2) sorted by relevance
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 #include <dt-bindings/clock/rk3368-cru.h>7 #include <dt-bindings/gpio/gpio.h>8 #include <dt-bindings/interrupt-controller/irq.h>9 #include <dt-bindings/interrupt-controller/arm-gic.h>10 #include <dt-bindings/pinctrl/rockchip.h>11 #include <dt-bindings/power/rk3368-power.h>12 #include <dt-bindings/soc/rockchip,boot-mode.h>13 #include <dt-bindings/thermal/thermal.h>16 compatible = "rockchip,rk3368";[all …]
1 // SPDX-License-Identifier: GPL-2.0-only54 struct rockchip_mbox *mb = dev_get_drvdata(chan->mbox->dev); in rockchip_mbox_send_data()56 struct rockchip_mbox_chan *chans = mb->chans; in rockchip_mbox_send_data()59 return -EINVAL; in rockchip_mbox_send_data()61 if (msg->rx_size > mb->buf_size) { in rockchip_mbox_send_data()62 dev_err(mb->mbox.dev, "Transmit size over buf size(%d)\n", in rockchip_mbox_send_data()63 mb->buf_size); in rockchip_mbox_send_data()64 return -EINVAL; in rockchip_mbox_send_data()67 dev_dbg(mb->mbox.dev, "Chan[%d]: A2B message, cmd 0x%08x\n", in rockchip_mbox_send_data()68 chans->idx, msg->cmd); in rockchip_mbox_send_data()[all …]