From 0e1eece04f2ec6191971c3f295b199d1fbce82aa Mon Sep 17 00:00:00 2001 From: CTCaer Date: Mon, 19 Dec 2022 05:35:04 +0200 Subject: [PATCH] bdk: hw-init: remove charger forced enable Anything that doesn't manage it properly should fix itself. (Like for example disabling charging on sleep or something. They should use the gpio equivalent.) --- bdk/soc/hw_init.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/bdk/soc/hw_init.c b/bdk/soc/hw_init.c index b76a6b1..93764f3 100644 --- a/bdk/soc/hw_init.c +++ b/bdk/soc/hw_init.c @@ -398,9 +398,6 @@ void hw_init() // Initialize various regulators based on Erista/Mariko platform. _config_regulators(tegra_t210); - // Enable charger in case it's disabled. - bq24193_enable_charger(); - _config_pmc_scratch(); // Missing from 4.x+ // Set BPMP/SCLK to PLLP_OUT (408MHz).