Hi,
Iam narrow downing my problem to dts files. I want check the dts files generated were exactly same as that of our custom board. But, There are some loop hole like:
dts for reference board has ldb
&ldb {
clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
<&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
<&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
<&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
clock-names = "di0_pll", "di1_pll",
"di0_sel", "di1_sel", "di2_sel", "di3_sel",
"di0", "di1";
lvds-channel@0 {
port@2 {
reg = <2>;
lvds0_mux_2: endpoint {
remote-endpoint = <&ipu2_di0_lvds0>;
};
};
port@3 {
reg = <3>;
lvds0_mux_3: endpoint {
remote-endpoint = <&ipu2_di1_lvds0>;
};
};
};
lvds-channel@1 {
port@2 {
reg = <2>;
lvds1_mux_2: endpoint {
remote-endpoint = <&ipu2_di0_lvds1>;
};
};
port@3 {
reg = <3>;
lvds1_mux_3: endpoint {
remote-endpoint = <&ipu2_di1_lvds1>;
};
};
};
};
But we are not using any ldb or lvds modules. Our board has only HDMI. Will there be any harm if this ldb is define as above in our custom board.
Also we don't know some of the devices/modules like dcic1,dcic2, caam-sm@00100000,gpt,anatop,tempmon,snvs,epit1,epit2, src,gpc,gpr,romcp,weim, octop,tzosc,vdoa, mlb etc... whether they are required.... what if we keep them dts files.
How to generate exact device tree source files for our custom boards.
we have used pmic for power generation, then how to include that in device tree. what are minimum modules which are reuired for kernel to boot. How will we come to know, which are really important and which are not????