debian
#1
I want to use PIN29, PIN30, PIN31, PIN32, PIN33 as GPIO for VIM3
But it not GPIO, So I dont use these pins as GPIO .
So, I deleted the auge_sound node with kvim3_linux.dtb and dtb.img and tried status =“disabled” in the auge_sound node.
I also modified kvim3_linux.dtb and also dtb.img. However, either way I can’t set it to gpio. its is not working as gpio.
Could you please tell me how to do it in more detail?
AND I have another question.
at VIM3 , there are two dtb file , one is dtb.img , another is kvim3_linux.dtb
Which file should I use?
Frank
#2
@debian I will check it and faceback here today.
Frank
#3
@debian Apply this patch and recompile
diff --git a/arch/arm64/boot/dts/amlogic/kvim3_linux.dts b/arch/arm64/boot/dts/amlogic/kvim3_linux.dts
index 5183c62b27df..f6401be41679 100644
--- a/arch/arm64/boot/dts/amlogic/kvim3_linux.dts
+++ b/arch/arm64/boot/dts/amlogic/kvim3_linux.dts
@@ -571,6 +571,7 @@
auge_sound {
compatible = "amlogic, g12a-sound-card";
aml-audio-card,name = "AML-AUGESOUND";
+ status = "disabled";
//aml-audio-card,aux-devs = <&amlogic_codec>;
/*for audio effect ,eqdrc */
@@ -978,6 +979,7 @@
* 4: spdifout_b;
*/
samesource_sel = <3>;
+ status = "disabled";
};
aml_tdmc: tdmc {