]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: imx6: disable bandgap self-bias after boot
authorPeng Fan <Peng.Fan@freescale.com>
Thu, 15 Jan 2015 06:22:32 +0000 (14:22 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:13:35 +0000 (21:13 +0200)
The self-bias circuit is used by the bandgap during startup.
Once the bandgap has stabilized, the self-bias circuit should
be disabled for best noise performance of analog blocks.
Also this bit should be disabled before the chip enters STOP mode or
when ever the regular bandgap is disabled.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>
arch/arm/include/asm/arch-mx6/crm_regs.h

index fdbffaddd7894677f3f3ac62b7eef70eaf053af6..f4a42c4a52e935835c939471e8df67126f073bba 100644 (file)
@@ -1354,4 +1354,6 @@ struct mxc_ccm_reg {
        (((v) << BP_ANADIG_PFD_528_PFD0_FRAC) & \
                BM_ANADIG_PFD_528_PFD0_FRAC)
 
+#define BM_ANADIG_ANA_MISC0_REFTOP_SELBIASOFF 0x00000008
+
 #endif /*__ARCH_ARM_MACH_MX6_CCM_REGS_H__ */