summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/ryu/usb_pd_config.h6
-rw-r--r--board/ryu/usb_pd_policy.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/board/ryu/usb_pd_config.h b/board/ryu/usb_pd_config.h
index 032611c34a..7017118c0a 100644
--- a/board/ryu/usb_pd_config.h
+++ b/board/ryu/usb_pd_config.h
@@ -199,8 +199,10 @@ static inline int pd_snk_is_vbus_provided(int port)
return gpio_get_level(GPIO_CHGR_ACOK);
}
-/* Standard-current DFP : no-connect voltage is 1.55V */
-#define PD_SRC_VNC 1550 /* mV */
+/* 1.5A DFP : no-connect voltage threshold is 1.60V */
+#define PD_SRC_VNC 1600 /* mV */
+/* 1.5A DFP : Ra/Rd detection voltage threshold is 400mV */
+#define PD_SRC_RD_THRESHOLD 400 /* mV */
/* UFP-side : threshold for DFP connection detection */
#define PD_SNK_VA 200 /* mV */
diff --git a/board/ryu/usb_pd_policy.c b/board/ryu/usb_pd_policy.c
index 9459ab8772..7bb5aea2e4 100644
--- a/board/ryu/usb_pd_policy.c
+++ b/board/ryu/usb_pd_policy.c
@@ -29,8 +29,8 @@ const int pd_src_pdo_cnt = ARRAY_SIZE(pd_src_pdo);
const uint32_t pd_snk_pdo[] = {
PDO_FIXED(5000, 500, PDO_FIXED_FLAGS),
- PDO_BATT(4750, 21000, 10000),
- PDO_VAR(4750, 21000, 3000),
+ PDO_BATT(4500, 14000, 10000),
+ PDO_VAR(4500, 14000, 3000),
};
const int pd_snk_pdo_cnt = ARRAY_SIZE(pd_snk_pdo);