基于TI的SoC的ARM DTS查询

时间:2017-09-07 13:05:07

标签: linux-kernel arm linux-device-driver device-tree

我正在浏览基于TI的evm dts文件。

http://elixir.free-electrons.com/linux/latest/source/arch/arm/boot/dts/dra7-evm.dts#L686

&atl {
      assigned-clocks =  <&abe_dpll_sys_clk_mux>,
                         <&atl_gfclk_mux>,
                         <&dpll_abe_ck>,
                         <&dpll_abe_m2x2_ck>,
                         <&atl_clkin2_ck>;
      assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
      assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;

      status = "okay";

      atl2 {
             bws = <DRA7_ATL_WS_MCASP2_FSX>;
             aws = <DRA7_ATL_WS_MCASP3_FSX>;
       };
};

 &mcasp3 {
           #sound-dai-cells = <0>;

            assigned-clocks = <&mcasp3_ahclkx_mux>;
            assigned-clock-parents = <&atl_clkin2_ck>;

            status = "okay";

            op-mode = <0>;          /* MCASP_IIS_MODE */
            tdm-slots = <2>;
            /* 4 serializer */
            serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
            1 2 0 0
            >;
            tx-num-evt = <32>;
            rx-num-evt = <32>;
 };

分配时钟包含&lt;&amp; mcasp3_ahclkx_mux&gt;的句柄。这个时钟“&amp; mcasp3_ahclkx_mux&gt;”在“dra7xx-clocks.dtsi”

中定义

http://elixir.free-electrons.com/linux/latest/source/arch/arm/boot/dts/dra7xx-clocks.dtsi#L1814

但是找不到这个“dra7xx-clocks.dtsi”如何包含在“dra7-evm.dtsi”中?

有什么可以指出我如何在dra7-evm.dts中提供mcasp3_ahclkx_mux的定义?

1 个答案:

答案 0 :(得分:1)

  

但是找不到这个&#34; dra7xx-clocks.dtsi&#34;已包含在&#34; dra7-evm.dtsi&#34; ?

dra7-evm.dts包含dra74x.dtsi,其中包含dra7.dtsidra7xx-clocks.dtsi最后包含dra7.dtsi