Hello,
Not much to add on what has already been answered, just make sure to test the changes before creating a layer on yocto since it could lead to problems later on while bitbaking.
Also, it may be a good idea to check what we already have supported first and then move on with the new implementation, this so you could get accustomed to developing on Linux and then continue your work on Yocto.
Best regards/Saludos,
Aldo.