Linux Kernel 3.4.91 instantiating audio codec without device tree

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












At the moment I am dealing with an ARM based device shipped with sources for Kernel 3.4.91. The name of the platform is mdm9615.
The particular problem is how to instantiate an audio codec, TLV320AIC3104. It is connected to the I2C bus for configuration and to the I2S for digital audio streaming. What should be done in order to use this device? In the Kernel documentation I have seen three different ways of instantiating I2C. Since 3.4.91 doesn't support the device tree, it seems like I need to change board source files and to add i2c_register_board_info instances. However, since the codec is also part of the audio path, it should also be somehow declared to the sound subsystem. What is the proper way of making this work?










share|improve this question























  • There is a lot of information that you left out here like what board support package used, what micro processor, and if you compiled the kernel, but if you have a GPIO driver you might be able to export and use the GPIO pin from user space. Check out this kernel doc
    – jc__
    Oct 9 '17 at 13:51














up vote
0
down vote

favorite












At the moment I am dealing with an ARM based device shipped with sources for Kernel 3.4.91. The name of the platform is mdm9615.
The particular problem is how to instantiate an audio codec, TLV320AIC3104. It is connected to the I2C bus for configuration and to the I2S for digital audio streaming. What should be done in order to use this device? In the Kernel documentation I have seen three different ways of instantiating I2C. Since 3.4.91 doesn't support the device tree, it seems like I need to change board source files and to add i2c_register_board_info instances. However, since the codec is also part of the audio path, it should also be somehow declared to the sound subsystem. What is the proper way of making this work?










share|improve this question























  • There is a lot of information that you left out here like what board support package used, what micro processor, and if you compiled the kernel, but if you have a GPIO driver you might be able to export and use the GPIO pin from user space. Check out this kernel doc
    – jc__
    Oct 9 '17 at 13:51












up vote
0
down vote

favorite









up vote
0
down vote

favorite











At the moment I am dealing with an ARM based device shipped with sources for Kernel 3.4.91. The name of the platform is mdm9615.
The particular problem is how to instantiate an audio codec, TLV320AIC3104. It is connected to the I2C bus for configuration and to the I2S for digital audio streaming. What should be done in order to use this device? In the Kernel documentation I have seen three different ways of instantiating I2C. Since 3.4.91 doesn't support the device tree, it seems like I need to change board source files and to add i2c_register_board_info instances. However, since the codec is also part of the audio path, it should also be somehow declared to the sound subsystem. What is the proper way of making this work?










share|improve this question















At the moment I am dealing with an ARM based device shipped with sources for Kernel 3.4.91. The name of the platform is mdm9615.
The particular problem is how to instantiate an audio codec, TLV320AIC3104. It is connected to the I2C bus for configuration and to the I2S for digital audio streaming. What should be done in order to use this device? In the Kernel documentation I have seen three different ways of instantiating I2C. Since 3.4.91 doesn't support the device tree, it seems like I need to change board source files and to add i2c_register_board_info instances. However, since the codec is also part of the audio path, it should also be somehow declared to the sound subsystem. What is the proper way of making this work?







linux-kernel audio device-tree






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 16 '17 at 9:43

























asked Oct 8 '17 at 16:04









Nexy_sm

134




134











  • There is a lot of information that you left out here like what board support package used, what micro processor, and if you compiled the kernel, but if you have a GPIO driver you might be able to export and use the GPIO pin from user space. Check out this kernel doc
    – jc__
    Oct 9 '17 at 13:51
















  • There is a lot of information that you left out here like what board support package used, what micro processor, and if you compiled the kernel, but if you have a GPIO driver you might be able to export and use the GPIO pin from user space. Check out this kernel doc
    – jc__
    Oct 9 '17 at 13:51















There is a lot of information that you left out here like what board support package used, what micro processor, and if you compiled the kernel, but if you have a GPIO driver you might be able to export and use the GPIO pin from user space. Check out this kernel doc
– jc__
Oct 9 '17 at 13:51




There is a lot of information that you left out here like what board support package used, what micro processor, and if you compiled the kernel, but if you have a GPIO driver you might be able to export and use the GPIO pin from user space. Check out this kernel doc
– jc__
Oct 9 '17 at 13:51















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396863%2flinux-kernel-3-4-91-instantiating-audio-codec-without-device-tree%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396863%2flinux-kernel-3-4-91-instantiating-audio-codec-without-device-tree%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?