Re: [PATCH 0/2] Baisc devicetree support for Amlogic T7

Xianwei Zhao
2023-06-30T02:22:55Z

On 2023/6/30 00:33, Lucas Tanure wrote:
> [ EXTERNAL EMAIL ]
>
> On Tue, Jun 27, 2023 at 8:52 AM Xianwei Zhao <xianwei.zhao@amlogic.com> wrote:
>>
>>
>> On 2023/6/27 15:23, Conor Dooley wrote:
>>
>>
>> > [ EXTERNAL EMAIL ]
>> >
>> > On Tue, Jun 27, 2023 at 02:13:34PM +0800, Xianwei Zhao wrote:
>> >> Hi Conor,
>> >> Thanks for you reply.
>> >> On 2023/6/26 18:02, Conor Dooley wrote:
>> >>
>> >>
>> >>> [ EXTERNAL EMAIL ]
>> >>>
>> >>> Hey,
>> >>>
>> >>> On Mon, Jun 26, 2023 at 05:52:21PM +0800, Xianwei Zhao wrote:
>> >>>> T7 is an advanced application processor designed for smart display.
>> >>>>
>> >>>> Add the new T7 SoC/board device tree bindings.
>> >>>>
>> >>>> Add basic support for the T7 based Amlogic AN400 board, which
>> >>>> describesthe following components: CPU, GIC, IRQ, Timer, UART. It's
>> >>>> capable of booting up into the serial console.
>> >>>
>> >>> Lucas has already sent patches for the T7 SoC & is at v5:
>> >>> https://lore.kernel.org/linux-devicetree/20230623081242.109131-1-
>> >>> tanure@linux.com/
>> >>> There's been a bit of discussion there, and there serial stuff in
>> >>> particular is different in his series (it doesn't use always-on for
>> >>> examples).
>> >>> Could you please go and take a look at his series?
>> >>>
>> >>> Cheers,
>> >>> Conor.
>> >>>
>> >> AN400 is the reference board designed by Amlogic, which is different
>> >> from Khadas VIM4.
>> >
>> > Yet you share the same dtsi, which he has got through several
>> > iterations of before you arrived.
>> >
>> Hi Lucas,
>> Are you going to continue with the dtsi part?
>>
>> >> And T7 serial is the same as S4, so I follow S4 serial.
>> >
>> > Yeah, no. SoC specific compatible please.
>> >
>> >
>> > _______________________________________________
>> > linux-amlogic mailing list
>> > linux-amlogic@lists.infradead.org
>> > http://lists.infradead.org/mailman/listinfo/linux-amlogic
>
> Hi Xianwei,
>
> I am doing the basics for Amlogic T7 A311D2, but the next step ( sd
> card or emmc, something to boot on) would be more difficult for me
> than you.
> After the first series for Vim4 gets merged, I will start to work on
> how to get sd cards working.
> But if you already have that working for the AN400 board, please send
> it. And I will look at that work and use it for Vim4.
>
> Or, if you don't have it ready and want to share it with me, we can
> work together on these A311D2 patches.
> You test on AN400, and I test on Vim4.
>
> Thanks
> Lucas

We are preparing this part. However it depends on clock. So the clock
must ready first.