svn commit: r342076 - head/sys/arm/allwinner

Emmanuel Vadot manu at FreeBSD.org
Fri Dec 14 10:26:18 UTC 2018


Author: manu
Date: Fri Dec 14 10:26:17 2018
New Revision: 342076
URL: https://svnweb.freebsd.org/changeset/base/342076

Log:
  arm64: allwinner: axp81x: Fix double invertion for FLDO1
  
  This fix booting on A64 boards when disabling the unused regulators at boot.
  We did disable all the regulator handled by register 0x13 which of course contain
  mandatory regulators for the board to be up.
  
  Reported by:	Mark Millard <marklmi at yahoo.com>
  X-MFC-With:	r340848

Modified:
  head/sys/arm/allwinner/axp81x.c

Modified: head/sys/arm/allwinner/axp81x.c
==============================================================================
--- head/sys/arm/allwinner/axp81x.c	Fri Dec 14 10:25:22 2018	(r342075)
+++ head/sys/arm/allwinner/axp81x.c	Fri Dec 14 10:26:17 2018	(r342076)
@@ -437,7 +437,7 @@ static struct axp8xx_regdef axp8xx_common_regdefs[] = 
 		.id = AXP8XX_REG_ID_FLDO1,
 		.name = "fldo1",
 		.enable_reg = AXP_POWERCTL3,
-		.enable_mask = (uint8_t) ~AXP_POWERCTL3_FLDO1,
+		.enable_mask = (uint8_t) AXP_POWERCTL3_FLDO1,
 		.enable_value = AXP_POWERCTL3_FLDO1,
 		.voltage_min = 700,
 		.voltage_max = 1450,


More information about the svn-src-head mailing list