Kernel wants an uart3 serction otherwise whines.
Keys should be explicitly enabled and mapped as appropriate.
USB should be enabled by default because it is not detected otherwise.

Signed-off-by: Michal Suchanek <hramr...@gmail.com>
---
 sys_config/a13/inet_86vs.fex          |   14 +++++++++++++-
 sys_config/a13/prestigio_pmp3670b.fex |   14 ++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/sys_config/a13/inet_86vs.fex b/sys_config/a13/inet_86vs.fex
index b2a04c2..6cdfaff 100644
--- a/sys_config/a13/inet_86vs.fex
+++ b/sys_config/a13/inet_86vs.fex
@@ -131,6 +131,13 @@ uart_type = 2
 uart_tx = port:PG03<4><1><default><default>
 uart_rx = port:PG04<4><1><default><default>
 
+[uart_para3]
+uart_used = 0
+uart_port = 3
+uart_type = 2
+uart_tx = port:PG03<4><1><default><default>
+uart_rx = port:PG04<4><1><default><default>
+
 [spi1_para]
 spi_used = 0
 spi_cs0 = port:PG09<2><default><default><default>
@@ -203,6 +210,9 @@ ctp_int_port = port:PG11<6><default><default><default>
 ctp_wakeup = port:PB03<1><default><default><1>
 ctp_io_port = port:PG11<6><default><default><default>
 
+[tabletkeys_para]
+tabletkeys_used=1
+
 [tkey_para]
 tkey_used = 0
 tkey_name = "hv_keypad"
@@ -512,7 +522,9 @@ usb_controller_type = 1
 usb_id_gpio =
 usb_det_vbus_gpio =
 usb_drv_vbus_gpio = port:PG11<1><0><default><0>
-usb_host_init_state = 0
+; set usb_host_init_state to 0 to not enable USB controller until a 
sunxi-specific USB WiFi driver is loaded
+; saves power if you do not use WiFi
+usb_host_init_state = 1
 
 [port_pm]
 restrict_1a = 0
diff --git a/sys_config/a13/prestigio_pmp3670b.fex 
b/sys_config/a13/prestigio_pmp3670b.fex
index e024d2d..8ffa9e0 100644
--- a/sys_config/a13/prestigio_pmp3670b.fex
+++ b/sys_config/a13/prestigio_pmp3670b.fex
@@ -135,6 +135,13 @@ uart_type = 2
 uart_tx =
 uart_rx =
 
+[uart_para3]
+uart_used = 0
+uart_port = 1
+uart_type = 4
+uart_tx =
+uart_rx =
+
 [spi1_para]
 spi_used = 0
 spi_cs0 = port:PG09<2><default><default><default>
@@ -178,6 +185,11 @@ tkey_twi_id = 2
 tkey_twi_addr = 0x62
 tkey_int =
 
+[tabletkeys_para]
+tabletkeys_used = 1
+key0_code = 114
+key1_code = 115
+
 [motor_para]
 motor_used = 0
 motor_shake =
@@ -413,6 +425,8 @@ usb_controller_type = 0
 usb_id_gpio =
 usb_det_vbus_gpio =
 usb_drv_vbus_gpio = port:power203<1><default><default><0>
+; set usb_host_init_state to 0 to not enable USB controller until a 
sunxi-specific USB WiFi driver is loaded
+; saves power if you do not use WiFi
 usb_host_init_state = 1
 
 [port_pm]
-- 
1.7.10.4

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to