Ok. But I want these drivers to be built as part of my kernel image always. For that what should be set. I read we should set it as “y” to make them as part of kernel image during build always.
It said “m” means they will be built as loadable kernel modules (.ko) where we may need to load them explicitly using Insmod, etc. Please clarify about this. Thanks.
“y” makes the kernel image bulky, that’s the reason most of the non-core kernel drivers are built as “m”. Yes, it will be built as loadable modules, but if you enable probe, kernel will take care to insmod of all dependencies. This is the way our drivers are also done. So, you don’t need to explicitly insmod the codec driver.
How to enter phandle of SGTLcodec under I2S4 node.
currently my I2S4 node is like this:
/* Default for all I2S is long fsync width(31) /
aconnect@2a41000 {
ahub {
/ I2S4 in Short frame sync for BT SCO */
i2s@2901300 {
bclk-ratio = <4>;
fsync-width = <0>;
};
};
};
I have added SGTLcodec5000 node under the i2c node: i2c@c250000. Again not sure if the address of i2c c25000 is correct.
Also I am getting parse error for the Voltage property field so I have commented them, as shown below. Not sure from which file it is taking and which file we need to include in our dtsi file.
Yes. I have enabled this node I2S4 - by adding:
status = “okay”
as shown below:
/* Default for all I2S is long fsync width(31) /
aconnect@2a41000 {
ahub {
/ I2S4 in Short frame sync for BT SCO */
i2s@2901300 {
bclk-ratio = <4>;
fsync-width = <0>;
//Trident - Nagesh enabling this I2S4 node.
status = “okay”;
};
};
};
Pls find the device tree, kernel log and audio components log attached obtained from the target board.
We are still not able to see the sound card “NVIDIA Jetson AGX Xavier APE”" getting displayed.
How to check my SGTL5000 Codec is enabled or not?
Because we see the component log we can see, that my address@I2S4 entry is there. Is this the proof that my I2S4_Codec line is enabled?
Thanks very much for the information. Please let us know how did you map the address @3160000 to ‘gen1_i2c’, is there any documentation for it. Thanks.
I found that all the nodes related to audio are “status = disabled” in the parent file “tegra194-soc-audio.dtsi” present inside the “/r35_4_1/Linux_for_Tegra/source/public/hardware/nvidia/soc/t19x/kernel-dts/tegra194-soc/tegra-soc-audio.dtsi” directory.
Is this causing any issue? and thats why were not able see the sound card “NVIDIA Jetson AGX Xavier APE” being displayed on the target sound card list .
Please clarify.As I am planning to edit this file to “status=okay” for all the various sound related nodes present in the file. Thanks.