Searched +full:sun6i +full:- +full:a31 +full:- +full:msgbox (Results 1 – 6 of 6) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/mailbox/allwinner,sun6i-a31-msgbox.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Samuel Holland <samuel@sholland.org>13 The hardware message box on sun6i, sun8i, sun9i, and sun50i SoCs is a14 two-user mailbox controller containing 8 unidirectional FIFOs. An interrupt17 hold four 32-bit messages; when a FIFO is full, clients must wait before20 Refer to ./mailbox.txt for generic information about mailbox device-tree26 - items:[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)4 #include <dt-bindings/interrupt-controller/arm-gic.h>5 #include <dt-bindings/clock/sun50i-h6-ccu.h>6 #include <dt-bindings/clock/sun50i-h6-r-ccu.h>7 #include <dt-bindings/clock/sun8i-de2.h>8 #include <dt-bindings/clock/sun8i-tcon-top.h>9 #include <dt-bindings/reset/sun50i-h6-ccu.h>10 #include <dt-bindings/reset/sun50i-h6-r-ccu.h>11 #include <dt-bindings/reset/sun8i-de2.h>12 #include <dt-bindings/thermal/thermal.h>[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 #include <dt-bindings/clock/sun50i-a64-ccu.h>7 #include <dt-bindings/clock/sun8i-de2.h>8 #include <dt-bindings/clock/sun8i-r-ccu.h>9 #include <dt-bindings/interrupt-controller/arm-gic.h>10 #include <dt-bindings/reset/sun50i-a64-ccu.h>11 #include <dt-bindings/reset/sun8i-de2.h>12 #include <dt-bindings/reset/sun8i-r-ccu.h>13 #include <dt-bindings/thermal/thermal.h>16 interrupt-parent = <&gic>;[all …]
4 * This file is dual-licensed: you can use it either under the terms43 #include <dt-bindings/clock/sun8i-de2.h>44 #include <dt-bindings/clock/sun8i-h3-ccu.h>45 #include <dt-bindings/clock/sun8i-r-ccu.h>46 #include <dt-bindings/interrupt-controller/arm-gic.h>47 #include <dt-bindings/reset/sun8i-de2.h>48 #include <dt-bindings/reset/sun8i-h3-ccu.h>49 #include <dt-bindings/reset/sun8i-r-ccu.h>52 interrupt-parent = <&gic>;53 #address-cells = <1>;[all …]
6 * This file is dual-licensed: you can use it either under the terms45 #include <dt-bindings/interrupt-controller/arm-gic.h>47 #include <dt-bindings/clock/sun8i-a83t-ccu.h>48 #include <dt-bindings/clock/sun8i-de2.h>49 #include <dt-bindings/clock/sun8i-r-ccu.h>50 #include <dt-bindings/reset/sun8i-a83t-ccu.h>51 #include <dt-bindings/reset/sun8i-de2.h>52 #include <dt-bindings/reset/sun8i-r-ccu.h>53 #include <dt-bindings/thermal/thermal.h>56 interrupt-parent = <&gic>;[all …]
1 // SPDX-License-Identifier: GPL-2.03 // Copyright (c) 2017-2019 Samuel Holland <samuel@sholland.org>44 #define mbox_dbg(mbox, ...) dev_dbg((mbox)->controller.dev, __VA_ARGS__)58 return chan - chan->mbox->chans; in channel_number()63 return chan->con_priv; in to_sun6i_msgbox()73 status = readl(mbox->regs + LOCAL_IRQ_EN_REG) & in sun6i_msgbox_irq()74 readl(mbox->regs + LOCAL_IRQ_STAT_REG); in sun6i_msgbox_irq()80 struct mbox_chan *chan = &mbox->controller.chans[n]; in sun6i_msgbox_irq()86 uint32_t msg = readl(mbox->regs + MSG_DATA_REG(n)); in sun6i_msgbox_irq()93 writel(RX_IRQ(n), mbox->regs + LOCAL_IRQ_STAT_REG); in sun6i_msgbox_irq()[all …]