[U-Boot] [PATCH 1/2] arm: dts: Import and update DT for Khadas VIM3

Andreas Färber afaerber at suse.de
Mon Sep 2 12:03:58 UTC 2019


Hi Neil,

Am 02.09.19 um 12:03 schrieb Neil Armstrong:
> On 02/09/2019 04:28, Andreas Färber wrote:
>> In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes
>> and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts.
> 
> Can you precise the Linux commit ID you sync'ed from ?

It was yesterday's linux-next.git (via cgit), adding tag next-20190830.

> The best would be to sync from the v2 dt64 PR from kevin :
> https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git/tag/?h=amlogic-dt64-2.1
> 
> Thanks,
> Neil
> 
>>
>> Signed-off-by: Andreas Färber <afaerber at suse.de>
>> ---
>>  arch/arm/dts/Makefile                              |    3 +-
>>  arch/arm/dts/meson-g12-common.dtsi                 | 2435 ++++++++++++++++++++
>>  arch/arm/dts/meson-g12b-a311d-khadas-vim3.dts      |   15 +
> 
> Can you also sync the s922x version ?

Why? No such model is being sold: https://www.khadas.com/vim3

In any case, if you or someone has such a pre-production model you can
add it as follow-up. In fact you could even entirely replace this import
patch if you so desired, it's intentionally separate.

>>  arch/arm/dts/meson-g12b-a311d.dtsi                 |  149 ++
>>  arch/arm/dts/meson-g12b-khadas-vim3.dtsi           |  544 +++++
>>  arch/arm/dts/meson-g12b.dtsi                       |   39 +-
>>  include/dt-bindings/clock/g12a-clkc.h              |    6 +
>>  include/dt-bindings/power/meson-g12a-power.h       |   13 +
>>  .../reset/amlogic,meson-g12a-audio-reset.h         |   38 +
>>  9 files changed, 3238 insertions(+), 4 deletions(-)
>>  create mode 100644 arch/arm/dts/meson-g12-common.dtsi
>>  create mode 100644 arch/arm/dts/meson-g12b-a311d-khadas-vim3.dts
>>  create mode 100644 arch/arm/dts/meson-g12b-a311d.dtsi
>>  create mode 100644 arch/arm/dts/meson-g12b-khadas-vim3.dtsi
>>  create mode 100644 include/dt-bindings/power/meson-g12a-power.h
>>  create mode 100644 include/dt-bindings/reset/amlogic,meson-g12a-audio-reset.h
>>
>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
>> index aac1b83d49..6de5e4c62a 100644
>> --- a/arch/arm/dts/Makefile
>> +++ b/arch/arm/dts/Makefile
>> @@ -141,7 +141,8 @@ dtb-$(CONFIG_ARCH_MESON) += \
>>  	meson-axg-s400.dtb \
>>  	meson-g12a-u200.dtb \
>>  	meson-g12a-sei510.dtb \
>> -	meson-g12b-odroid-n2.dtb
>> +	meson-g12b-odroid-n2.dtb \
>> +	meson-g12b-a311d-khadas-vim3.dtb
> 
> Same here, can you also build the s922x variant ?

Again, I don't see why, in particular when we don't have a defconfig
using it. If you intend to add one, you can still add it later.

Adding Gouwa for insights.

To my knowledge the VIM3L will have S905D3, not S922X. VIM3 is A311D.

https://www.khadas.com/post/khadas-vim3-won-t-use-s922x

Regards,
Andreas

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 247165 (AG München)


More information about the U-Boot mailing list