-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mailbox-v6.13' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/jassibrar/mailbox Pull mailbox updates from Jassi Brar: "Common: - switch back from remove_new() to remove() callback imx: - fix format specifier zynqmp: - setup IPI for each child node thead: - Add th1520 driver and bindings qcom: - add SM8750 and SAR2130p compatibles - fix expected clocks for callbacks - use IRQF_NO_SUSPEND for cpucp mtk-cmdq: - switch to __pm_runtime_put_autosuspend() - fix alloc size of clocks mpfs: - fix reg properties ti-msgmgr: - don't use of_match_ptr helper - enable COMPILE_TEST build pcc: - consider the PCC_ACK_FLAG arm_mhuv2: - fix non-fatal improper reuse of variable" * tag 'mailbox-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox: mailbox: pcc: Check before sending MCTP PCC response ACK mailbox: Switch back to struct platform_driver::remove() mailbox: imx: Modify the incorrect format specifier mailbox: arm_mhuv2: clean up loop in get_irq_chan_comb() mailbox: zynqmp: setup IPI for each valid child node dt-bindings: mailbox: Add thead,th1520-mailbox bindings mailbox: Introduce support for T-head TH1520 Mailbox driver mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks() dt-bindings: mailbox: qcom-ipcc: Add SM8750 dt-bindings: mailbox: qcom,apcs-kpss-global: correct expected clocks for fallbacks dt-bindings: mailbox: qcom-ipcc: Add SAR2130P compatible mailbox: ti-msgmgr: Allow building under COMPILE_TEST mailbox: ti-msgmgr: Remove use of of_match_ptr() helper mailbox: qcom-cpucp: Mark the irq with IRQF_NO_SUSPEND flag mailbox: mtk-cmdq-mailbox: Switch to __pm_runtime_put_autosuspend() mailbox: mpfs: support new, syscon based, devicetree configuration dt-bindings: mailbox: mpfs: fix reg properties
- Loading branch information
Showing
24 changed files
with
874 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
Documentation/devicetree/bindings/mailbox/thead,th1520-mbox.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/mailbox/thead,th1520-mbox.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: T-head TH1520 Mailbox Controller | ||
|
||
description: | ||
The T-head mailbox controller enables communication and coordination between | ||
cores within the SoC by passing messages (e.g., data, status, and control) | ||
through mailbox channels. It also allows one core to signal another processor | ||
using interrupts via the Interrupt Controller Unit (ICU). | ||
|
||
maintainers: | ||
- Michal Wilczynski <m.wilczynski@samsung.com> | ||
|
||
properties: | ||
compatible: | ||
const: thead,th1520-mbox | ||
|
||
clocks: | ||
items: | ||
- description: Clock for the local mailbox | ||
- description: Clock for remote ICU 0 | ||
- description: Clock for remote ICU 1 | ||
- description: Clock for remote ICU 2 | ||
|
||
clock-names: | ||
items: | ||
- const: clk-local | ||
- const: clk-remote-icu0 | ||
- const: clk-remote-icu1 | ||
- const: clk-remote-icu2 | ||
|
||
reg: | ||
items: | ||
- description: Mailbox local base address | ||
- description: Remote ICU 0 base address | ||
- description: Remote ICU 1 base address | ||
- description: Remote ICU 2 base address | ||
|
||
reg-names: | ||
items: | ||
- const: local | ||
- const: remote-icu0 | ||
- const: remote-icu1 | ||
- const: remote-icu2 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
'#mbox-cells': | ||
const: 1 | ||
description: | ||
The one and only cell describes destination CPU ID. | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- clock-names | ||
- reg | ||
- reg-names | ||
- interrupts | ||
- '#mbox-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/thead,th1520-clk-ap.h> | ||
soc { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
mailbox@ffffc38000 { | ||
compatible = "thead,th1520-mbox"; | ||
reg = <0xff 0xffc38000 0x0 0x4000>, | ||
<0xff 0xffc44000 0x0 0x1000>, | ||
<0xff 0xffc4c000 0x0 0x1000>, | ||
<0xff 0xffc54000 0x0 0x1000>; | ||
reg-names = "local", "remote-icu0", "remote-icu1", "remote-icu2"; | ||
clocks = <&clk CLK_MBOX0>, <&clk CLK_MBOX1>, <&clk CLK_MBOX2>, | ||
<&clk CLK_MBOX3>; | ||
clock-names = "clk-local", "clk-remote-icu0", "clk-remote-icu1", | ||
"clk-remote-icu2"; | ||
interrupts = <28>; | ||
#mbox-cells = <1>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.