Subject: [PATCH 2/3] sunxi: Add USB0 ID detection pin to Ainol AW1 defconfig
From: Paul Kocialkowski <[email-masked]>
To: [email-masked], [email-masked]
Cc: Jagan Teki <[email-masked]>, Maxime Ripard <[email-masked]>, Albert Aribaud <[email-masked]>, Paul Kocialkowski <[email-masked]>
Date: Sun, 25 Mar 2018 14:36:00 +0200

This adds the detection pin for the USB OTG port of the tablet.
It allows properly detecting OTG cables and using connected
devices when they are supported.

Signed-off-by: Paul Kocialkowski <[email-masked]>
---
 configs/Ainol_AW1_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/Ainol_AW1_defconfig b/configs/Ainol_AW1_defconfig
index e11e75d418..9fb464b703 100644
--- a/configs/Ainol_AW1_defconfig
+++ b/configs/Ainol_AW1_defconfig
@@ -6,6 +6,7 @@ CONFIG_DRAM_ZQ=123
 CONFIG_MMC0_CD_PIN="PH1"
 CONFIG_USB0_VBUS_PIN="PB9"
 CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
+CONFIG_USB0_ID_DET="PH4"
 CONFIG_AXP_GPIO=y
 CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:40000,le:87,ri:112,up:38,lo:141,hs:1,vs:1,sync:3,vmode:0"
 CONFIG_VIDEO_LCD_POWER="PH8"
-- 
2.16.2