mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Wilczynski <m.wilczynski@samsung.com>
To: Drew Fustini <dfustini@tenstorrent.com>
Cc: drew@pdp7.com, guoren@kernel.org, wefu@redhat.com,
	jassisinghbrar@gmail.com, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, paul.walmsley@sifive.com,
	palmer@dabbelt.com, aou@eecs.berkeley.edu,
	m.szyprowski@samsung.com, samuel.holland@sifive.com,
	emil.renner.berthing@canonical.com,
	linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, christophe.jaillet@wanadoo.fr
Subject: Re: [PATCH v6 3/3] riscv: dts: thead: Add mailbox node
Date: Tue, 17 Dec 2024 15:04:28 +0100	[thread overview]
Message-ID: <f15de5f4-10ab-4ebc-9b71-d81f0ca965c3@samsung.com> (raw)
In-Reply-To: <Z1u2vsoCmmcNm82V@x1>



On 12/13/24 05:23, Drew Fustini wrote:
> On Thu, Dec 12, 2024 at 06:56:25PM -0800, Drew Fustini wrote:
>> On Wed, Dec 11, 2024 at 02:15:01PM -0800, Drew Fustini wrote:
>>> On Mon, Nov 04, 2024 at 11:07:34AM +0100, Michal Wilczynski wrote:
>>>> Add mailbox device tree node. This work is based on the vendor kernel [1].
>>>>
>>>> Link: https://protect2.fireeye.com/v1/url?k=da478eb3-bbcc9b8a-da4605fc-000babffae10-a5d9fc4237b185e3&q=1&e=465c5302-3d9e-4713-b219-30181e5944c2&u=https%3A%2F%2Fgithub.com%2Frevyos%2Fthead-kernel.git [1]
>>>>
>>>> Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
>>>> ---
>>>>  arch/riscv/boot/dts/thead/th1520.dtsi | 16 ++++++++++++++++
>>>>  1 file changed, 16 insertions(+)
>>>>
>>>> diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi
>>>> index 6992060e6a54..89de5634d3d3 100644
>>>> --- a/arch/riscv/boot/dts/thead/th1520.dtsi
>>>> +++ b/arch/riscv/boot/dts/thead/th1520.dtsi
>>>> @@ -520,6 +520,22 @@ timer7: timer@ffffc3303c {
>>>>  			status = "disabled";
>>>>  		};
>>>>  
>>>> +		mbox_910t: mailbox@ffffc38000 {
>>>> +			compatible = "thead,th1520-mbox";
>>>> +			reg = <0xff 0xffc38000 0x0 0x6000>,
>>>> +			      <0xff 0xffc40000 0x0 0x6000>,
>>>> +			      <0xff 0xffc4c000 0x0 0x2000>,
>>>> +			      <0xff 0xffc54000 0x0 0x2000>;
>>>> +			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";
>>>> +			interrupt-parent = <&plic>;
>>>> +			interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
>>>> +			#mbox-cells = <1>;
>>>> +		};
>>>> +
>>>>  		ao_gpio0: gpio@fffff41000 {
>>>>  			compatible = "snps,dw-apb-gpio";
>>>>  			reg = <0xff 0xfff41000 0x0 0x1000>;
>>>> -- 
>>>> 2.34.1
>>>>
>>>
>>> Reviewed-by: Drew Fustini <dfustini@tenstorrent.com>
>>>
>>> dt_binding_check and dtbs_check are clean when I apply this patch to
>>> v6.13-rc1. There is trivial conflict due to the gpio node label having
>>> changed. I'll resolve it when I apply the patch to thead-dt-for-next.
>>
>> I've applied this patch to thead-dt-for-next [1].

Thanks for confirming. I’m currently preparing v2 of the series [2]. In
addition to the changes already discussed, I plan to broaden the scope
to include the power-domain user of the mailbox for completeness, so
I'll include this commit in my series as well. I’ll also ensure that
your Reviewed-by tag is included in the updated commit. Thanks again for
the review and your ongoing support.

[2] - https://lore.kernel.org/all/20241203134137.2114847-1-m.wilczynski@samsung.com/

Michał
>>
>> Thanks,
>> Drew
>>
>> [1] https://protect2.fireeye.com/v1/url?k=ded1044e-bf5a1177-ded08f01-000babffae10-a43021e0091864fc&q=1&e=465c5302-3d9e-4713-b219-30181e5944c2&u=https%3A%2F%2Fgithub.com%2Fpdp7%2Flinux%2Fcommit%2F98064af36cbc0c216d0a2d11da5e3746a57ccce7
> 
> I forgot my SoB so it is now a new hash [1].
> 
> -Drew
> 
> [1] https://protect2.fireeye.com/v1/url?k=21bcf54a-4037e073-21bd7e05-000babffae10-2408d35c4723ee6d&q=1&e=465c5302-3d9e-4713-b219-30181e5944c2&u=https%3A%2F%2Fgithub.com%2Fpdp7%2Flinux%2Fcommit%2Fc95c1362e5bcd90c45987828bbef02236d181ffd
> 

      reply	other threads:[~2024-12-17 14:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20241104100757eucas1p15156cbe4466b785095cfb788192a7077@eucas1p1.samsung.com>
2024-11-04 10:07 ` [PATCH v6 0/3] Introduce support for T-head TH1520 Mailbox Michal Wilczynski
     [not found]   ` <CGME20241104100759eucas1p1251cb0bc0a3c4d621479170a29c454e7@eucas1p1.samsung.com>
2024-11-04 10:07     ` [PATCH v6 1/3] mailbox: Introduce support for T-head TH1520 Mailbox driver Michal Wilczynski
     [not found]   ` <CGME20241104100800eucas1p15817779e9a030e74878ae39a8a99dc1e@eucas1p1.samsung.com>
2024-11-04 10:07     ` [PATCH v6 2/3] dt-bindings: mailbox: Add thead,th1520-mailbox bindings Michal Wilczynski
     [not found]   ` <CGME20241104100801eucas1p27cd0d7b9b5b4500604470664884c42fb@eucas1p2.samsung.com>
2024-11-04 10:07     ` [PATCH v6 3/3] riscv: dts: thead: Add mailbox node Michal Wilczynski
2024-12-11 22:15       ` Drew Fustini
2024-12-13  2:56         ` Drew Fustini
2024-12-13  4:23           ` Drew Fustini
2024-12-17 14:04             ` Michal Wilczynski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f15de5f4-10ab-4ebc-9b71-d81f0ca965c3@samsung.com \
    --to=m.wilczynski@samsung.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dfustini@tenstorrent.com \
    --cc=drew@pdp7.com \
    --cc=emil.renner.berthing@canonical.com \
    --cc=guoren@kernel.org \
    --cc=jassisinghbrar@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=m.szyprowski@samsung.com \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=robh@kernel.org \
    --cc=samuel.holland@sifive.com \
    --cc=wefu@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®