Re: [PATCH v3 1/9] ARM: dts: imx6ul-isiot: Add Sound card with codec node

From: Shawn Guo
Date: Wed Jun 14 2017 - 22:21:15 EST


On Wed, Jun 14, 2017 at 08:17:04PM +0530, Jagan Teki wrote:
> On Fri, Apr 7, 2017 at 6:46 PM, Shawn Guo <shawnguo@xxxxxxxxxx> wrote:
> > On Thu, Apr 06, 2017 at 11:32:07PM +0530, Jagan Teki wrote:
> >> From: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx>
> >>
> >> Add support for Sound card and related codec(via i2c1) nodes
> >> on Engicam Is.IoT MX6UL variant module boards.
> >>
> >> Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
> >> Cc: Matteo Lisi <matteo.lisi@xxxxxxxxxxx>
> >> Cc: Michael Trimarchi <michael@xxxxxxxxxxxxxxxxxxxx>
> >> Signed-off-by: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx>
> >> ---
> >> Changes for v3:
> >> - Replace fsl,imx-audio-sgtl5000 and use simple-audio-card
> >> Changes for v2:
> >> - Use proper [label:] node-name[@unit-address] for codec
> >> - Remove incorrect codec property 'wlf,shared-lrclk'
> >> - Remove 'gpr' from sound card node
> >>
> >> arch/arm/boot/dts/imx6ul-isiot-common.dtsi | 10 +++++++
> >> arch/arm/boot/dts/imx6ul-isiot.dtsi | 44 ++++++++++++++++++++++++++++++
> >
> > Can you help me understand how these two files are related? Why is
> > sgtl5000 added into one and sound node added into the other?
>
> lcdif, ts and sound card which may differ based on the base-board
> connected with SOM, So I moved these stuff which are related to
> Starter kit supported once's and used with SOM dts files. if some
> other board with same SOM can have different lcdif and etc so they can
> define locally to dts.

I do not follow how these stuff are organized. So far we have the
following isiot dts files.

- imx6ul-isiot-common.dtsi
- imx6ul-isiot.dtsi
- imx6ul-isiot-emmc.dts and imx6ul-isiot-nand.dts

How are they mapping to SoM and base-board?

Shawn