[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMty3ZCXQ1bTzQPAFoTrbtfFZoC7Umnpj=UBs3y47wBQzq63TQ@mail.gmail.com>
Date: Thu, 15 Jun 2017 18:45:32 +0530
From: Jagan Teki <jagan@...rulasolutions.com>
To: Shawn Guo <shawnguo@...nel.org>
Cc: Jagan Teki <jagan@...nedev.com>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
devicetree <devicetree@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Sascha Hauer <kernel@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Matteo Lisi <matteo.lisi@...icam.com>,
Michael Trimarchi <michael@...rulasolutions.com>
Subject: Re: [PATCH v3 1/9] ARM: dts: imx6ul-isiot: Add Sound card with codec node
On Thu, Jun 15, 2017 at 1:21 PM, Shawn Guo <shawnguo@...nel.org> wrote:
> On Thu, Jun 15, 2017 at 01:01:22PM +0530, Jagan Teki wrote:
>> > I feel the abstraction is wrong from the beginning. Ideally, we should
>> > have something like below.
>> >
>> > - imx6ul-isiot.dtsi
>> > - imx6ul-isiot-kit.dts and imx6ul-isiot-carrier.dts
>> >
>> > The -isiot should have everything on SoM and common stuff between -kit
>> > and -carrier boards, while -kit and -carrier include -isiot and contains
>> > the base-board specific things. The -isiot can have both emmc and nand
>> > devices with "disabled" status, and let firmware turn device on per SoM
>> > it boots. In that case, the abstraction level can be less and clearer.
>> >
>> > Thoughts?
>>
>> So,even the common stuff (lcdif, ts and etc) should be in -isiot.dtsi
>
> Yes, anything common can be in -isiot.dtsi.
>
>> and make it "disabled" and let them enabled on respective dts. this
>> what you mentioned here?
>
> It doesn't matter. If the lcd/touch is same on -kit and -carrier, you
> can even have them enabled by default in -isiot.dtsi. The -kit.dts and
> -carrier.dts are there to accommodate base-board specific differences.
OK, thanks for the help. I'll resolve and send v4 changes by breaking
this series for each respective modules.
thanks!
--
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
Powered by blists - more mailing lists