lkml.org 
[lkml]   [2020]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Reusing DTS from arm64 to arm
Hello Chen-Yu,

On 24-11-20, 13:36, Chen-Yu Tsai wrote:
> Hi,
>
> On Tue, Nov 24, 2020 at 1:28 PM Vinod Koul <vkoul@kernel.org> wrote:
> >
> > Hello Olof, Rob,
> >
> > We have Qualcomm arm platform which uses PMIC PM8150B. This PMIC was
> > also used in SM8150 board and is already upstream [1] but in arm64.
> >
> > So, what is the guidance to share DTS files between 32 and 64 variants?
> > Does a solution already exist which I may not be aware of..?
> >
> > I can think of following options for this, in case we dont have a
> > solution:
> >
> > 1. Hack up arm include paths to also include arm64 path so that we can
> > share DTS
>
> These are already provided. See scripts/dtc/include-prefixes/ .
>
> So just put
>
> #include <arm64/qcom/pm8150b.dtsi>
>
> in your DTS and it should work?

It does work, thank you for pointing me to this

--
~Vinod

\
 
 \ /
  Last update: 2020-11-24 06:49    [W:0.038 / U:1.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site