[PATCH v3 2/3] riscv: dts: add mailbox for Sophgo CV18XX series SoC
Junhui Liu
junhui.liu at pigmoral.tech
Mon Apr 28 19:44:10 PDT 2025
Hi Conor,
Thanks for you review.
The previous email accidentally lost some Cc lists :(, I'm sorry to
harass you.
On 28/04/2025 17:55, Conor Dooley wrote:
> On Mon, Apr 28, 2025 at 08:39:45PM +0800, Junhui Liu wrote:
>> From: Yuntao Dai <d1581209858 at live.com>
>>
>> Add mailbox node for Sophgo CV18XX series SoC.
>>
>> Signed-off-by: Yuntao Dai <d1581209858 at live.com>
>> Signed-off-by: Junhui Liu <junhui.liu at pigmoral.tech>
>> ---
>> arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 7 +++++++
>> 1 file changed, 7 insertions(+)
>>
>> diff --git a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi
>> index c18822ec849f353bc296965d2d600a3df314cff6..f7277288f03c024039054bdc4176fc95c2c8be52 100644
>> --- a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi
>> +++ b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi
>> @@ -55,6 +55,13 @@ soc {
>> dma-noncoherent;
>> ranges;
>>
>> + mailbox: mailbox at 1900000 {
>> + compatible = "sophgo,cv1800b-mailbox";
>> + reg = <0x01900000 0x1000>;
>> + interrupts = <101 IRQ_TYPE_LEVEL_HIGH>;
>> + #mbox-cells = <2>;
>> + };
>
> No user added here, is there another series in the works that adds a
> user of the mailbox?
>
There isn't an actual user node in this specific patch. I used a
`mailbox-test` node to verify the functionality in this patch series.
The intended user for this mailbox is the `remoteproc` node. I plan to
submit the `remoteproc` driver patches once the corresponding reset
driver [1] is ready and merged.
link: https://lore.kernel.org/linux-riscv/20250209122936.2338821-1-inochiama@gmail.com/ [1]
>> +
>> clk: clock-controller at 3002000 {
>> reg = <0x03002000 0x1000>;
>> clocks = <&osc>;
>>
>>
--
Best regards,
Junhui Liu
More information about the linux-riscv
mailing list