From 02aaa6eae61c4c285dcae8a9c6901861d1ede8b8 Mon Sep 17 00:00:00 2001 From: Richard Qian Date: Wed, 22 Jun 2022 23:51:48 -0500 Subject: [PATCH] amazon-austin: new device (MR 3251) Based on hexdump0815 and GjergjiFloychi's work. [ci:skip-build] Already built successfuly on CI in MR --- device/testing/device-amazon-austin/APKBUILD | 30 + .../testing/device-amazon-austin/deviceinfo | 31 + device/testing/linux-amazon-austin/APKBUILD | 86 + .../config-amazon-austin.armv7 | 3429 ++++++++ .../fix-host-card-inserted.patch | 31 + .../gcc4-compile-fixes.patch | 26 + .../silence-battery-logspam.patch | 56 + .../silence-cmb-logspam.patch | 36 + .../silence-hotplug-logspam.patch | 177 + .../silence-i2c-logspam.patch | 26 + .../silence-mtkfb-logspam.patch | 13 + .../silence-power-logspam.patch | 7050 +++++++++++++++++ .../silence-thermal-logspam.patch | 27 + .../silence-time-logspam.patch | 20 + .../silence-tz-logspam.patch | 22 + .../silence-uart-logspam.patch | 26 + .../silence-usb-logspam.patch | 87 + .../silence-vsync-logspam.patch | 13 + 18 files changed, 11186 insertions(+) create mode 100644 device/testing/device-amazon-austin/APKBUILD create mode 100644 device/testing/device-amazon-austin/deviceinfo create mode 100644 device/testing/linux-amazon-austin/APKBUILD create mode 100644 device/testing/linux-amazon-austin/config-amazon-austin.armv7 create mode 100644 device/testing/linux-amazon-austin/fix-host-card-inserted.patch create mode 100644 device/testing/linux-amazon-austin/gcc4-compile-fixes.patch create mode 100644 device/testing/linux-amazon-austin/silence-battery-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-cmb-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-hotplug-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-i2c-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-mtkfb-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-power-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-thermal-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-time-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-tz-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-uart-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-usb-logspam.patch create mode 100644 device/testing/linux-amazon-austin/silence-vsync-logspam.patch diff --git a/device/testing/device-amazon-austin/APKBUILD b/device/testing/device-amazon-austin/APKBUILD new file mode 100644 index 000000000..d4969d362 --- /dev/null +++ b/device/testing/device-amazon-austin/APKBUILD @@ -0,0 +1,30 @@ +# Reference: +pkgname=device-amazon-austin +pkgdesc="Amazon Fire 7 (2017)" +pkgver=1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="armv7" +options="!check !archcheck" +depends=" + linux-amazon-austin + mesa-dri-gallium + mkbootimg + postmarketos-base + msm-fb-refresher +" +makedepends="devicepkg-dev" +source="deviceinfo" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname +} + +sha512sums=" +7996497bcd36f7c49ffc83392bc7528f9c8e911356e8eb890d537be2fd3bbef13a678b53b8f57a955503b128a0182db3ed5c95182c616a317d2e43ad6e603640 deviceinfo +" diff --git a/device/testing/device-amazon-austin/deviceinfo b/device/testing/device-amazon-austin/deviceinfo new file mode 100644 index 000000000..041e3a2ac --- /dev/null +++ b/device/testing/device-amazon-austin/deviceinfo @@ -0,0 +1,31 @@ +# Reference: +# Please use double quotes only. You can source this file in shell +# scripts. + +deviceinfo_format_version="0" +deviceinfo_name="Amazon Fire 7 (2017)" +deviceinfo_manufacturer="Amazon" +deviceinfo_codename="amazon-austin" +deviceinfo_year="2017" +deviceinfo_arch="armv7" + +# Device related +deviceinfo_chassis="tablet" +deviceinfo_keyboard="false" +deviceinfo_external_storage="true" +deviceinfo_screen_width="600" +deviceinfo_screen_height="1024" + +# Bootloader related +deviceinfo_flash_method="fastboot" +deviceinfo_kernel_cmdline="bootopt=64S3,32N2,32N2 loglevel=4 rootwait ro fsck.repair=yes net.ifnames=0 ipv6.disable=1" +deviceinfo_generate_bootimg="true" +deviceinfo_bootimg_qcdt="false" +deviceinfo_bootimg_mtk_mkimage="false" +deviceinfo_bootimg_dtb_second="false" +deviceinfo_flash_offset_base="0x80000000" +deviceinfo_flash_offset_kernel="0x00008000" +deviceinfo_flash_offset_ramdisk="0x04000000" +deviceinfo_flash_offset_second="0x00f00000" +deviceinfo_flash_offset_tags="0x00000100" +deviceinfo_flash_pagesize="2048" diff --git a/device/testing/linux-amazon-austin/APKBUILD b/device/testing/linux-amazon-austin/APKBUILD new file mode 100644 index 000000000..882586d79 --- /dev/null +++ b/device/testing/linux-amazon-austin/APKBUILD @@ -0,0 +1,86 @@ +# Reference: +# This port is heavily inspired by https://github.com/GjergjiFloychi/amazon-austin-pmaports +# Kernel config based on: https://github.com/NixOS/mobile-nixos/blob/master/devices/amazon-austin/kernel/config.armv7 + +pkgname=linux-amazon-austin +pkgver=3.10.54 +pkgrel=0 +pkgdesc="Amazon Fire 7 (2017) kernel fork" +arch="armv7" +_carch="arm" +_flavor="amazon-austin" +url="https://kernel.org" +license="GPL-2.0-only" +options="!strip !check !tracedeps pmb:cross-native" +makedepends="bash bc bison devicepkg-dev flex openssl-dev perl gcc4 linux-headers xz" + +# Compiler: GCC 4 (doesn't compile with versions above GCC 4) +if [ "${CC:0:5}" != "gcc4-" ]; then + CC="gcc4-$CC" + HOSTCC="gcc4-gcc" + CROSS_COMPILE="gcc4-$CROSS_COMPILE" +fi + +# Source from amazon stock kernel +_repository="linux-amazon-mediatek-mt8127-kernel-source" +_commit="Fire_7_7th_Gen-5.3.7.3-20210714" +_config="config-$_flavor.$arch" +source=" + $pkgname-$_commit.tar.gz::https://github.com/hexdump0815/$_repository/archive/$_commit.tar.gz + $_config + gcc4-compile-fixes.patch + fix-host-card-inserted.patch + silence-hotplug-logspam.patch + silence-power-logspam.patch + silence-battery-logspam.patch + silence-mtkfb-logspam.patch + silence-usb-logspam.patch + silence-time-logspam.patch + silence-i2c-logspam.patch + silence-cmb-logspam.patch + silence-tz-logspam.patch + silence-thermal-logspam.patch + silence-uart-logspam.patch + silence-vsync-logspam.patch +" +builddir="$srcdir/$_repository-$_commit" + +prepare() { + default_prepare + . downstreamkernel_prepare +} + +build() { + unset LDFLAGS + make ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" +} + +package() { + downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" + + # in case there will be modules at any time, make sure they get installed as well + unset LDFLAGS + make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" \ + INSTALL_MOD_PATH="$pkgdir" INSTALL_MOD_STRIP=1 modules_install +} + +sha512sums=" +2017b730bb7e9470084ff812dc3d35cd50040c4a69a9b443b2105393cdc6ce6bb03fc5c80ed8d2a04020103e89675162629fc81d2601ce40a291001bd4bfaea5 linux-amazon-austin-Fire_7_7th_Gen-5.3.7.3-20210714.tar.gz +ce3842273ab183f8135d3128a4a53a3ea6677f6379c6243e5e33a266c6c05916b13e754d931166481bffe6841136f99aefaeebf931878fb38eb70e0fa3d402f5 config-amazon-austin.armv7 +0ae455bd3d91ef03644f742916340951617e438e09e6552438daf71e3d5eaf498b022c01535160de92ef2fa3b4100f5a2bdb475179ac9705352a0a337b26e8b8 gcc4-compile-fixes.patch +bfd9134f02059fdc948890a0f923f9c681e209b9ada6025eaa61e04348f69c9e155a094c929e5d6842c09d5782cbb98de3d004fee0ce40767ff954f4499e60fa fix-host-card-inserted.patch +50760092b5125466b2280aead0baa12644f064cedc4821fbab6068c97900799922b3d67e6b75968639a1d5bc2cd6af94e90645c594f42c6ac28473c1ea20d9f4 silence-hotplug-logspam.patch +fc3529031cda24670d668fc8ad0e1cbd745db6a65b28df506169e49b6918de0fa81b6921a1f51271eb826a58d4e2c6c3292d46908913b3c8e70f790f3a82da76 silence-power-logspam.patch +ef9358ccf23b1a397d07ae0e26fa155aa421870e20c998452855ccec4b1cda1e22b5e95cdcbcd754d0217f1fcfe7bb505f5dda1853dee15548ff948c1b7338c9 silence-battery-logspam.patch +fde906379c3ab5e7b1e9f6036c77877a07342e0b9f508d6dd2e084862b8fc95122180fac82f9dbd85f4e2a401ce4d440aae0f3b6743deff332926f0bd2898554 silence-mtkfb-logspam.patch +35889da4c5bef7defd7dcab9497bcc98b0e5998de61a1f98e2d4ac5bd8aec47266fb6979e1cddcc9a94b20b43a6cc893dd14dfbc48d7212c2fc8425f16c376be silence-usb-logspam.patch +b3b037b2145c079c95c06781604fa2a874a2c547137f96704d861f5f591069afb6e02869b7fedaca73aff5e7fb6b2449b2a6434aedc80ff36670acd2bc51155d silence-time-logspam.patch +9eb4e60f988a289385a4ee0eb94573dd0cbd249c8236eb695b6637322a1a3826dc90728c5f939d51c3320ec3fb2b1eea252c28e34cdfd307db8807dc9f9080a3 silence-i2c-logspam.patch +56f77c21867325e461d9d8db2400d3a521d682ee10f7d58bef1cc4d50e3648db68be7e40ff9ba67d75ef9832e8914867540381fb38e2108ac5906964536980f8 silence-cmb-logspam.patch +bac2c215a7a5329e7e0cc6cddc901d7144050a66e1204b4de2bec732a33b2c18bb45732e7b41f62ef5dfc0a6db3518d3870c17e59c13edaf64a5b64b9cbda821 silence-tz-logspam.patch +d67f2b902c8ce1797ccdce053c95a97adbdc20c49a88d8f257ab4bdd7a643242fffcbba31aad5d3cb91580c3c3351a4fe159041304fe531e857ebfb84aedc962 silence-thermal-logspam.patch +8447d2509916babb105a91d1f5f04bef12498135de71141f2229ce83cd93c6875b8f6f8ae03ff11d34d7eca6d05464159aa661650fee605c9789125bb755a531 silence-uart-logspam.patch +3868047c589f0c3efc2b94aece0c46a55d0798650ad1bf8bc4f2328c4a5daaf071d699048edf6a6e0735407d84eb48688c7ade18b439cff1f09ac33087e7170a silence-vsync-logspam.patch +" diff --git a/device/testing/linux-amazon-austin/config-amazon-austin.armv7 b/device/testing/linux-amazon-austin/config-amazon-austin.armv7 new file mode 100644 index 000000000..c127c16a3 --- /dev/null +++ b/device/testing/linux-amazon-austin/config-amazon-austin.armv7 @@ -0,0 +1,3429 @@ +# +# Automatically generated file; DO NOT EDIT. +# Linux/arm 3.10.54 Kernel Configuration +# +CONFIG_ARM=y +CONFIG_ARM_HAS_SG_CHAIN=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_HAVE_PROC_CPU=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_ARCH_HAS_CPUFREQ=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_NEED_DMA_MAP_STATE=y +CONFIG_FIQ=y +CONFIG_VECTORS_BASE=0xffff0000 +# CONFIG_ARM_PATCH_PHYS_VIRT is not set +CONFIG_NEED_MACH_MEMORY_H=y +CONFIG_GENERIC_BUG=y +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_IRQ_WORK=y +CONFIG_BUILDTIME_EXTABLE_SORT=y + +# +# General setup +# +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +CONFIG_LOCALVERSION="" +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_XZ=y +CONFIG_HAVE_KERNEL_LZO=y +# CONFIG_KERNEL_GZIP is not set +# CONFIG_KERNEL_LZMA is not set +CONFIG_KERNEL_XZ=y +# CONFIG_KERNEL_LZO is not set +CONFIG_DEFAULT_HOSTNAME="(none)" +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +# CONFIG_POSIX_MQUEUE is not set +# CONFIG_FHANDLE is not set +CONFIG_AUDIT=y +CONFIG_AUDITSYSCALL=y +CONFIG_AUDIT_WATCH=y +CONFIG_AUDIT_TREE=y +# CONFIG_AUDIT_LOGINUID_IMMUTABLE is not set +CONFIG_HAVE_GENERIC_HARDIRQS=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_HARDIRQS=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_IRQ_DOMAIN=y +CONFIG_IRQ_DOMAIN_DEBUG=y +CONFIG_KTIME_SCALAR=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_ARCH_HAS_TICK_BROADCAST=y +CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y + +# +# Timers subsystem +# +CONFIG_TICK_ONESHOT=y +CONFIG_NO_HZ_COMMON=y +# CONFIG_HZ_PERIODIC is not set +CONFIG_NO_HZ_IDLE=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y + +# +# CPU/Task time and stats accounting +# +CONFIG_TICK_CPU_ACCOUNTING=y +# CONFIG_IRQ_TIME_ACCOUNTING is not set +# CONFIG_BSD_PROCESS_ACCT is not set +# CONFIG_TASKSTATS is not set + +# +# RCU Subsystem +# +CONFIG_TREE_PREEMPT_RCU=y +CONFIG_PREEMPT_RCU=y +CONFIG_RCU_STALL_COMMON=y +# CONFIG_RCU_USER_QS is not set +CONFIG_RCU_FANOUT=32 +CONFIG_RCU_FANOUT_LEAF=16 +# CONFIG_RCU_FANOUT_EXACT is not set +# CONFIG_RCU_FAST_NO_HZ is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_RCU_BOOST is not set +# CONFIG_RCU_NOCB_CPU is not set +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=21 +CONFIG_GENERIC_SCHED_CLOCK=y +CONFIG_CGROUPS=y +# CONFIG_CGROUP_DEBUG is not set +# CONFIG_CGROUP_FREEZER is not set +# CONFIG_CGROUP_DEVICE is not set +# CONFIG_CPUSETS is not set +CONFIG_CGROUP_CPUACCT=y +CONFIG_RESOURCE_COUNTERS=y +# CONFIG_MEMCG is not set +# CONFIG_CGROUP_PERF is not set +CONFIG_CGROUP_SCHED=y +CONFIG_FAIR_GROUP_SCHED=y +# CONFIG_CFS_BANDWIDTH is not set +CONFIG_RT_GROUP_SCHED=y +# CONFIG_BLK_CGROUP is not set +# CONFIG_CHECKPOINT_RESTORE is not set +CONFIG_NAMESPACES=y +CONFIG_UTS_NS=y +CONFIG_IPC_NS=y +# CONFIG_USER_NS is not set +CONFIG_PID_NS=y +CONFIG_NET_NS=y +CONFIG_UIDGID_CONVERTED=y +# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_SYSFS_DEPRECATED is not set +# CONFIG_RELAY is not set +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_RD_GZIP=y +# CONFIG_RD_BZIP2 is not set +# CONFIG_RD_LZMA is not set +CONFIG_RD_XZ=y +# CONFIG_RD_LZO is not set +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_HAVE_UID16=y +CONFIG_HOTPLUG=y +CONFIG_PANIC_TIMEOUT=1 +CONFIG_EXPERT=y +CONFIG_UID16=y +# CONFIG_SYSCTL_SYSCALL is not set +CONFIG_KALLSYMS=y +# CONFIG_KALLSYMS_ALL is not set +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y +CONFIG_PERF_USE_VMALLOC=y + +# +# Kernel Performance Events And Counters +# +CONFIG_PERF_EVENTS=y +# CONFIG_DEBUG_PERF_USE_VMALLOC is not set +CONFIG_VM_EVENT_COUNTERS=y +# CONFIG_SLUB_DEBUG is not set +CONFIG_COMPAT_BRK=y +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_TRACEPOINTS=y +# CONFIG_OPROFILE is not set +CONFIG_HAVE_OPROFILE=y +# CONFIG_KPROBES is not set +# CONFIG_JUMP_LABEL is not set +# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_ATTRS=y +CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_USE_GENERIC_SMP_HELPERS=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_GENERIC_IDLE_POLL_SETUP=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_DMA_API_DEBUG=y +CONFIG_HAVE_HW_BREAKPOINT=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y +CONFIG_SECCOMP_FILTER=y +CONFIG_HAVE_CONTEXT_TRACKING=y +CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y +CONFIG_MODULES_USE_ELF_REL=y +CONFIG_CLONE_BACKWARDS=y +CONFIG_OLD_SIGSUSPEND3=y +CONFIG_OLD_SIGACTION=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +# CONFIG_MODULE_UNLOAD is not set +# CONFIG_MODVERSIONS is not set +# CONFIG_MODULE_SRCVERSION_ALL is not set +# CONFIG_MODULE_SIG is not set +CONFIG_STOP_MACHINE=y +CONFIG_BLOCK=y +CONFIG_LBDAF=y +# CONFIG_BLK_DEV_BSG is not set +# CONFIG_BLK_DEV_BSGLIB is not set +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# Partition Types +# +# CONFIG_PARTITION_ADVANCED is not set +CONFIG_MSDOS_PARTITION=y +CONFIG_EFI_PARTITION=y + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +# CONFIG_DEFAULT_DEADLINE is not set +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="cfq" +CONFIG_UNINLINE_SPIN_UNLOCK=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +CONFIG_MUTEX_SPIN_ON_OWNER=y +CONFIG_FREEZER=y + +# +# System Type +# +CONFIG_MMU=y +# CONFIG_ARCH_MULTIPLATFORM is not set +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_GEMINI is not set +# CONFIG_ARCH_EBSA110 is not set +# CONFIG_ARCH_EP93XX is not set +# CONFIG_ARCH_FOOTBRIDGE is not set +# CONFIG_ARCH_NETX is not set +# CONFIG_ARCH_IOP13XX is not set +# CONFIG_ARCH_IOP32X is not set +# CONFIG_ARCH_IOP33X is not set +# CONFIG_ARCH_IXP4XX is not set +# CONFIG_ARCH_DOVE is not set +# CONFIG_ARCH_KIRKWOOD is not set +# CONFIG_ARCH_MV78XX0 is not set +# CONFIG_ARCH_ORION5X is not set +# CONFIG_ARCH_MMP is not set +# CONFIG_ARCH_KS8695 is not set +# CONFIG_ARCH_W90X900 is not set +# CONFIG_ARCH_LPC32XX is not set +# CONFIG_ARCH_PXA is not set +# CONFIG_ARCH_MSM is not set +CONFIG_ARCH_MT8127=y +# CONFIG_ARCH_SHMOBILE is not set +# CONFIG_ARCH_RPC is not set +# CONFIG_ARCH_SA1100 is not set +# CONFIG_ARCH_S3C24XX is not set +# CONFIG_ARCH_S3C64XX is not set +# CONFIG_ARCH_S5P64X0 is not set +# CONFIG_ARCH_S5PC100 is not set +# CONFIG_ARCH_S5PV210 is not set +# CONFIG_ARCH_EXYNOS is not set +# CONFIG_ARCH_SHARK is not set +# CONFIG_ARCH_U300 is not set +# CONFIG_ARCH_DAVINCI is not set +# CONFIG_ARCH_OMAP1 is not set +# CONFIG_GPIO_PCA953X is not set +# CONFIG_KEYBOARD_GPIO_POLLED is not set + +# +# MT8127 Board Support Package +# +# CONFIG_MT8127_FPGA is not set +CONFIG_MT8127_EVB_BOARD=y +CONFIG_MAX_DRAM_SIZE_SUPPORT=0x80000000 + +# +# MTK Board Support Package +# +# CONFIG_PLAT_SPEAR is not set + +# +# Processor Type +# +CONFIG_CPU_V7=y +CONFIG_CPU_32v6K=y +CONFIG_CPU_32v7=y +CONFIG_CPU_ABRT_EV7=y +CONFIG_CPU_PABRT_V7=y +CONFIG_CPU_CACHE_V7=y +CONFIG_CPU_CACHE_VIPT=y +CONFIG_CPU_COPY_V6=y +CONFIG_CPU_TLB_V7=y +CONFIG_CPU_HAS_ASID=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y + +# +# Processor Features +# +# CONFIG_ARM_LPAE is not set +# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set +CONFIG_ARM_THUMB=y +CONFIG_ARM_THUMBEE=y +CONFIG_ARM_VIRT_EXT=y +CONFIG_SWP_EMULATE=y +# CONFIG_CPU_ICACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_DISABLE is not set +# CONFIG_CPU_BPREDICT_DISABLE is not set +CONFIG_KUSER_HELPERS=y +# CONFIG_CACHE_L2X0 is not set +CONFIG_ARM_L1_CACHE_SHIFT_6=y +CONFIG_ARM_L1_CACHE_SHIFT=6 +CONFIG_ARM_DMA_MEM_BUFFERABLE=y +CONFIG_ARM_NR_BANKS=8 +# CONFIG_MTK_KERNEL_IN_SECURE_MODE is not set +# CONFIG_L1C_OPT is not set +# CONFIG_ARM_ERRATA_430973 is not set +# CONFIG_ARM_ERRATA_458693 is not set +# CONFIG_ARM_ERRATA_460075 is not set +# CONFIG_ARM_ERRATA_742230 is not set +# CONFIG_ARM_ERRATA_742231 is not set +# CONFIG_ARM_ERRATA_643719 is not set +# CONFIG_ARM_ERRATA_720789 is not set +# CONFIG_ARM_ERRATA_743622 is not set +# CONFIG_ARM_ERRATA_751472 is not set +# CONFIG_ARM_ERRATA_754322 is not set +# CONFIG_ARM_ERRATA_754327 is not set +# CONFIG_ARM_ERRATA_764369 is not set +# CONFIG_ARM_ERRATA_775420 is not set +# CONFIG_ARM_ERRATA_798181 is not set +# CONFIG_ARM_ERRATA_828419 is not set +# CONFIG_ARM_ERRATA_828420 is not set +# CONFIG_ARM_ERRATA_831171 is not set +# CONFIG_ARM_ERRATA_824069 is not set +# CONFIG_ARM_ERRATA_826319 is not set +CONFIG_FIQ_GLUE=y + +# +# Bus support +# +CONFIG_ARM_AMBA=y +# CONFIG_PCI_SYSCALL is not set +# CONFIG_PCCARD is not set + +# +# Kernel Features +# +CONFIG_HAVE_SMP=y +CONFIG_SMP=y +CONFIG_SMP_ON_UP=y +CONFIG_ARM_CPU_TOPOLOGY=y +# CONFIG_SCHED_MC is not set +# CONFIG_SCHED_SMT is not set +# CONFIG_DISABLE_CPU_SCHED_DOMAIN_BALANCE is not set +CONFIG_TOUCH_BOOST=y +# CONFIG_HEVTASK_INTERFACE is not set +# CONFIG_ARCH_SCALE_INVARIANT_CPU_CAPACITY is not set +# CONFIG_HAVE_ARM_ARCH_TIMER is not set +# CONFIG_MCPM is not set +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +# CONFIG_ARM_PSCI is not set +CONFIG_LOCAL_TIMERS=y +CONFIG_ARCH_NR_GPIO=0 +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +CONFIG_PREEMPT=y +CONFIG_PREEMPT_COUNT=y +CONFIG_HZ=100 +CONFIG_SCHED_HRTICK=y +# CONFIG_THUMB2_KERNEL is not set +CONFIG_AEABI=y +# CONFIG_OABI_COMPAT is not set +# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set +# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +CONFIG_HAVE_ARCH_PFN_VALID=y +CONFIG_HIGHMEM=y +# CONFIG_HIGHPTE is not set +CONFIG_HW_PERF_EVENTS=y +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_HAVE_MEMBLOCK=y +# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +CONFIG_COMPACTION=y +CONFIG_MIGRATION=y +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=0 +CONFIG_BOUNCE=y +CONFIG_KSM=y +CONFIG_KSM_CHECK_PAGE=y +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_CROSS_MEMORY_ATTACH=y +CONFIG_CLEANCACHE=y +CONFIG_FRONTSWAP=y +CONFIG_FORCE_MAX_ZONEORDER=11 +CONFIG_ALIGNMENT_TRAP=y +# CONFIG_UACCESS_WITH_MEMCPY is not set +CONFIG_SECCOMP=y +CONFIG_CC_STACKPROTECTOR=y +# CONFIG_ARM_FLUSH_CONSOLE_ON_RESTART is not set + +# +# Boot options +# +# CONFIG_USE_OF is not set +CONFIG_ATAGS=y +# CONFIG_DEPRECATED_PARAM_STRUCT is not set +CONFIG_ZBOOT_ROM_TEXT=0 +CONFIG_ZBOOT_ROM_BSS=0 +# CONFIG_COMPAT_CPUINFO is not set +CONFIG_CMDLINE="console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=O coherent_pool=3240K" +CONFIG_CMDLINE_FROM_BOOTLOADER=y +# CONFIG_CMDLINE_EXTEND is not set +# CONFIG_CMDLINE_FORCE is not set +# CONFIG_XIP_KERNEL is not set +# CONFIG_KEXEC is not set +# CONFIG_CRASH_DUMP is not set +CONFIG_RESTART_DISABLE_CACHE=y +# CONFIG_AUTO_ZRELADDR is not set + +# +# CPU Power Management +# + +# +# CPU Frequency scaling +# +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_TABLE=y +CONFIG_CPU_FREQ_GOV_COMMON=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_STAT_DETAILS=y +# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVEPLUS is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_BALANCE is not set +CONFIG_CPU_FREQ_DEFAULT_GOV_HOTPLUG=y +# CONFIG_CPU_FREQ_GOV_BALANCE is not set +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_INTERACTIVEPLUS=y +CONFIG_CPU_FREQ_GOV_INTERACTIVE=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_HOTPLUG=y + +# +# ARM CPU frequency scaling drivers +# +# CONFIG_ARM_EXYNOS4210_CPUFREQ is not set +# CONFIG_ARM_EXYNOS4X12_CPUFREQ is not set +# CONFIG_ARM_EXYNOS5250_CPUFREQ is not set +# CONFIG_ARM_KIRKWOOD_CPUFREQ is not set +# CONFIG_CPU_IDLE is not set +# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set + +# +# Floating point emulation +# + +# +# At least one emulation must be selected +# +CONFIG_VFP=y +# CONFIG_VFP_OPT is not set +CONFIG_VFPv3=y +CONFIG_NEON=y + +# +# Userspace binary formats +# +CONFIG_BINFMT_ELF=y +CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y +CONFIG_BINFMT_SCRIPT=y +# CONFIG_HAVE_AOUT is not set +# CONFIG_BINFMT_MISC is not set +# CONFIG_COREDUMP is not set + +# +# Power management options +# +CONFIG_SUSPEND=y +CONFIG_SUSPEND_FREEZER=y +CONFIG_HAS_WAKELOCK=y +CONFIG_HAS_EARLYSUSPEND=y +CONFIG_HAS_SBSUSPEND=y +CONFIG_WAKELOCK=y +CONFIG_EARLYSUSPEND=y +CONFIG_FB_EARLYSUSPEND=y +CONFIG_HIBERNATE_CALLBACKS=y +CONFIG_HIBERNATION=y +CONFIG_PM_STD_PARTITION="" +CONFIG_TOI_CORE=y + +# +# Image Storage (you need at least one allocator) +# +CONFIG_TOI_FILE=y +CONFIG_TOI_SWAP=y + +# +# General Options +# +CONFIG_TOI_CRYPTO=y +CONFIG_TOI_USERUI=y +CONFIG_TOI_USERUI_DEFAULT_PATH="/usr/local/sbin/tuxoniceui_text" +CONFIG_TOI_DEFAULT_IMAGE_SIZE_LIMIT=-2 +# CONFIG_TOI_KEEP_IMAGE is not set +CONFIG_TOI_REPLACE_SWSUSP=y +# CONFIG_TOI_IGNORE_LATE_INITCALL is not set +CONFIG_TOI_DEFAULT_WAIT=2 +CONFIG_TOI_DEFAULT_EXTRA_PAGES_ALLOWANCE=2000 +# CONFIG_TOI_CHECKSUM is not set +CONFIG_TOI=y +CONFIG_TOI_ZRAM_SUPPORT=y +CONFIG_TOI_FIXUP=y +CONFIG_TOI_ENHANCE=y +CONFIG_PM_SLEEP=y +CONFIG_PM_SLEEP_SMP=y +CONFIG_PM_AUTOSLEEP=y +CONFIG_PM_WAKELOCKS=y +CONFIG_PM_WAKELOCKS_LIMIT=100 +CONFIG_PM_WAKELOCKS_GC=y +# CONFIG_PM_RUNTIME is not set +CONFIG_PM=y +CONFIG_PM_DEBUG=y +CONFIG_PM_ADVANCED_DEBUG=y +CONFIG_PM_TEST_SUSPEND=y +CONFIG_PM_SLEEP_DEBUG=y +# CONFIG_APM_EMULATION is not set +CONFIG_CPU_PM=y +# CONFIG_SUSPEND_TIME is not set +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARM_CPU_SUSPEND=y +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +# CONFIG_PACKET_DIAG is not set +CONFIG_UNIX=y +# CONFIG_UNIX_DIAG is not set +CONFIG_XFRM=y +CONFIG_XFRM_ALGO=y +# CONFIG_XFRM_USER is not set +# CONFIG_XFRM_SUB_POLICY is not set +CONFIG_XFRM_MIGRATE=y +# CONFIG_XFRM_STATISTICS is not set +CONFIG_XFRM_IPCOMP=y +CONFIG_NET_KEY=y +# CONFIG_NET_KEY_MIGRATE is not set +CONFIG_INET=y +# CONFIG_IP_WOW is not set +CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y +# CONFIG_IP_FIB_TRIE_STATS is not set +CONFIG_IP_MULTIPLE_TABLES=y +# CONFIG_IP_ROUTE_MULTIPATH is not set +# CONFIG_IP_ROUTE_VERBOSE is not set +CONFIG_IP_ROUTE_CLASSID=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_PNP_BOOTP=y +# CONFIG_IP_PNP_RARP is not set +CONFIG_NET_IPIP=y +# CONFIG_NET_IPGRE_DEMUX is not set +CONFIG_NET_IP_TUNNEL=y +CONFIG_IP_MROUTE=y +CONFIG_IP_MROUTE_MULTIPLE_TABLES=y +CONFIG_IP_PIMSM_V1=y +CONFIG_IP_PIMSM_V2=y +CONFIG_ARPD=y +CONFIG_SYN_COOKIES=y +# CONFIG_NET_IPVTI is not set +CONFIG_INET_AH=y +CONFIG_INET_ESP=y +CONFIG_INET_IPCOMP=y +CONFIG_INET_XFRM_TUNNEL=y +CONFIG_INET_TUNNEL=y +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y +# CONFIG_INET_LRO is not set +CONFIG_INET_DIAG=y +CONFIG_INET_TCP_DIAG=y +# CONFIG_INET_UDP_DIAG is not set +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +CONFIG_IPV6=y +CONFIG_IPV6_PRIVACY=y +CONFIG_IPV6_ROUTER_PREF=y +CONFIG_IPV6_ROUTE_INFO=y +CONFIG_IPV6_OPTIMISTIC_DAD=y +CONFIG_INET6_AH=y +CONFIG_INET6_ESP=y +CONFIG_INET6_IPCOMP=y +CONFIG_IPV6_MIP6=y +CONFIG_INET6_XFRM_TUNNEL=y +CONFIG_INET6_TUNNEL=y +CONFIG_INET6_XFRM_MODE_TRANSPORT=y +CONFIG_INET6_XFRM_MODE_TUNNEL=y +CONFIG_INET6_XFRM_MODE_BEET=y +CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=y +CONFIG_IPV6_SIT=y +CONFIG_IPV6_SIT_6RD=y +CONFIG_IPV6_NDISC_NODETYPE=y +CONFIG_IPV6_TUNNEL=y +# CONFIG_IPV6_GRE is not set +CONFIG_IPV6_MULTIPLE_TABLES=y +CONFIG_IPV6_SUBTREES=y +CONFIG_IPV6_MROUTE=y +# CONFIG_IPV6_MROUTE_MULTIPLE_TABLES is not set +CONFIG_IPV6_PIMSM_V2=y +CONFIG_MTK_DHCPV6C_WIFI=y +# CONFIG_NETLABEL is not set +# CONFIG_ANDROID_PARANOID_NETWORK is not set +CONFIG_NET_ACTIVITY_STATS=y +CONFIG_NETWORK_SECMARK=y +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +CONFIG_NETFILTER_ADVANCED=y +CONFIG_BRIDGE_NETFILTER=y + +# +# Core Netfilter Configuration +# +CONFIG_NETFILTER_NETLINK=y +# CONFIG_NETFILTER_NETLINK_ACCT is not set +CONFIG_NETFILTER_NETLINK_QUEUE=y +CONFIG_NETFILTER_NETLINK_LOG=y +CONFIG_NF_CONNTRACK=y +CONFIG_NF_CONNTRACK_MARK=y +# CONFIG_NF_CONNTRACK_SECMARK is not set +CONFIG_NF_CONNTRACK_PROCFS=y +CONFIG_NF_CONNTRACK_EVENTS=y +# CONFIG_NF_CONNTRACK_TIMEOUT is not set +# CONFIG_NF_CONNTRACK_TIMESTAMP is not set +# CONFIG_NF_CT_PROTO_DCCP is not set +CONFIG_NF_CT_PROTO_GRE=y +# CONFIG_NF_CT_PROTO_SCTP is not set +CONFIG_NF_CT_PROTO_UDPLITE=y +# CONFIG_NF_CONNTRACK_AMANDA is not set +CONFIG_NF_CONNTRACK_FTP=y +# CONFIG_NF_CONNTRACK_H323 is not set +# CONFIG_NF_CONNTRACK_IRC is not set +# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set +# CONFIG_NF_CONNTRACK_SNMP is not set +CONFIG_NF_CONNTRACK_PPTP=y +# CONFIG_NF_CONNTRACK_SANE is not set +CONFIG_NF_CONNTRACK_SIP=y +CONFIG_NF_CONNTRACK_TFTP=y +CONFIG_NF_CT_NETLINK=y +# CONFIG_NF_CT_NETLINK_TIMEOUT is not set +# CONFIG_NETFILTER_NETLINK_QUEUE_CT is not set +CONFIG_NF_NAT=y +CONFIG_NF_NAT_NEEDED=y +CONFIG_NF_NAT_PROTO_UDPLITE=y +# CONFIG_NF_NAT_AMANDA is not set +CONFIG_NF_NAT_FTP=y +# CONFIG_NF_NAT_IRC is not set +CONFIG_NF_NAT_SIP=y +CONFIG_NF_NAT_TFTP=y +CONFIG_NETFILTER_TPROXY=y +CONFIG_NETFILTER_XTABLES=y + +# +# Xtables combined modules +# +CONFIG_NETFILTER_XT_MARK=y +CONFIG_NETFILTER_XT_CONNMARK=y + +# +# Xtables targets +# +# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set +# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set +CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y +# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set +# CONFIG_NETFILTER_XT_TARGET_CT is not set +# CONFIG_NETFILTER_XT_TARGET_DSCP is not set +CONFIG_NETFILTER_XT_TARGET_HL=y +# CONFIG_NETFILTER_XT_TARGET_HMARK is not set +CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y +# CONFIG_NETFILTER_XT_TARGET_LED is not set +# CONFIG_NETFILTER_XT_TARGET_LOG is not set +CONFIG_NETFILTER_XT_TARGET_MARK=y +CONFIG_NETFILTER_XT_TARGET_NETMAP=y +CONFIG_NETFILTER_XT_TARGET_NFLOG=y +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y +# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set +# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set +CONFIG_NETFILTER_XT_TARGET_REDIRECT=y +# CONFIG_NETFILTER_XT_TARGET_TEE is not set +# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set +# CONFIG_NETFILTER_XT_TARGET_TRACE is not set +# CONFIG_NETFILTER_XT_TARGET_SECMARK is not set +CONFIG_NETFILTER_XT_TARGET_TCPMSS=y +# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set + +# +# Xtables matches +# +# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set +# CONFIG_NETFILTER_XT_MATCH_BPF is not set +# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set +# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set +CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y +# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set +# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set +# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set +# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set +# CONFIG_NETFILTER_XT_MATCH_CPU is not set +# CONFIG_NETFILTER_XT_MATCH_DCCP is not set +# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set +# CONFIG_NETFILTER_XT_MATCH_DSCP is not set +# CONFIG_NETFILTER_XT_MATCH_ECN is not set +# CONFIG_NETFILTER_XT_MATCH_ESP is not set +# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set +# CONFIG_NETFILTER_XT_MATCH_HELPER is not set +# CONFIG_NETFILTER_XT_MATCH_HL is not set +CONFIG_NETFILTER_XT_MATCH_IPRANGE=y +CONFIG_NETFILTER_XT_MATCH_LENGTH=y +CONFIG_NETFILTER_XT_MATCH_LIMIT=y +CONFIG_NETFILTER_XT_MATCH_MAC=y +CONFIG_NETFILTER_XT_MATCH_MARK=y +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y +# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set +# CONFIG_NETFILTER_XT_MATCH_OSF is not set +# CONFIG_NETFILTER_XT_MATCH_OWNER is not set +CONFIG_NETFILTER_XT_MATCH_POLICY=y +CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y +# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set +CONFIG_NETFILTER_XT_MATCH_QTAGUID=y +CONFIG_NETFILTER_XT_MATCH_QUOTA=y +CONFIG_NETFILTER_XT_MATCH_QUOTA2=y +CONFIG_NETFILTER_XT_MATCH_QUOTA2_LOG=y +# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set +CONFIG_NETFILTER_XT_MATCH_REALM=y +CONFIG_NETFILTER_XT_MATCH_RECENT=y +# CONFIG_NETFILTER_XT_MATCH_SCTP is not set +CONFIG_NETFILTER_XT_MATCH_SOCKET=y +CONFIG_NETFILTER_XT_MATCH_STATE=y +CONFIG_NETFILTER_XT_MATCH_STATISTIC=y +CONFIG_NETFILTER_XT_MATCH_STRING=y +CONFIG_NETFILTER_XT_MATCH_TCPMSS=y +CONFIG_NETFILTER_XT_MATCH_TIME=y +CONFIG_NETFILTER_XT_MATCH_U32=y +# CONFIG_IP_SET is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV4=y +CONFIG_NF_CONNTRACK_IPV4=y +CONFIG_NF_CONNTRACK_PROC_COMPAT=y +CONFIG_IP_NF_IPTABLES=y +# CONFIG_IP_NF_MATCH_AH is not set +# CONFIG_IP_NF_MATCH_ECN is not set +# CONFIG_IP_NF_MATCH_RPFILTER is not set +# CONFIG_IP_NF_MATCH_TTL is not set +CONFIG_IP_NF_FILTER=y +CONFIG_IP_NF_TARGET_REJECT=y +# CONFIG_IP_NF_TARGET_REJECT_SKERR is not set +# CONFIG_IP_NF_TARGET_ULOG is not set +CONFIG_NF_NAT_IPV4=y +CONFIG_IP_NF_TARGET_MASQUERADE=y +CONFIG_IP_NF_TARGET_NETMAP=y +CONFIG_IP_NF_TARGET_REDIRECT=y +CONFIG_NF_NAT_PROTO_GRE=y +CONFIG_NF_NAT_PPTP=y +# CONFIG_NF_NAT_H323 is not set +CONFIG_IP_NF_MANGLE=y +# CONFIG_IP_NF_TARGET_CLUSTERIP is not set +# CONFIG_IP_NF_TARGET_ECN is not set +# CONFIG_IP_NF_TARGET_TTL is not set +CONFIG_IP_NF_RAW=y +# CONFIG_IP_NF_SECURITY is not set +CONFIG_IP_NF_ARPTABLES=y +# CONFIG_IP_NF_ARPFILTER is not set +# CONFIG_IP_NF_ARP_MANGLE is not set + +# +# IPv6: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV6=y +CONFIG_NF_CONNTRACK_IPV6=y +CONFIG_IP6_NF_IPTABLES=y +# CONFIG_IP6_NF_MATCH_AH is not set +# CONFIG_IP6_NF_MATCH_EUI64 is not set +CONFIG_IP6_NF_MATCH_FRAG=y +# CONFIG_IP6_NF_MATCH_OPTS is not set +# CONFIG_IP6_NF_MATCH_HL is not set +CONFIG_IP6_NF_MATCH_IPV6HEADER=y +# CONFIG_IP6_NF_MATCH_MH is not set +# CONFIG_IP6_NF_MATCH_RPFILTER is not set +# CONFIG_IP6_NF_MATCH_RT is not set +CONFIG_IP6_NF_TARGET_HL=y +CONFIG_IP6_NF_FILTER=y +CONFIG_IP6_NF_TARGET_REJECT=y +CONFIG_IP6_NF_TARGET_REJECT_SKERR=y +CONFIG_IP6_NF_MANGLE=y +CONFIG_IP6_NF_RAW=y +# CONFIG_IP6_NF_SECURITY is not set +# CONFIG_NF_NAT_IPV6 is not set +# CONFIG_BRIDGE_NF_EBTABLES is not set +# CONFIG_IP_DCCP is not set +# CONFIG_IP_SCTP is not set +# CONFIG_RDS is not set +# CONFIG_TIPC is not set +# CONFIG_ATM is not set +# CONFIG_L2TP is not set +CONFIG_STP=y +CONFIG_BRIDGE=y +CONFIG_BRIDGE_IGMP_SNOOPING=y +# CONFIG_BRIDGE_VLAN_FILTERING is not set +CONFIG_HAVE_NET_DSA=y +CONFIG_VLAN_8021Q=y +# CONFIG_VLAN_8021Q_GVRP is not set +# CONFIG_VLAN_8021Q_MVRP is not set +# CONFIG_DECNET is not set +CONFIG_LLC=y +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +CONFIG_NET_SCHED=y + +# +# Queueing/Scheduling +# +# CONFIG_NET_SCH_CBQ is not set +CONFIG_NET_SCH_HTB=y +# CONFIG_NET_SCH_HFSC is not set +# CONFIG_NET_SCH_PRIO is not set +# CONFIG_NET_SCH_MULTIQ is not set +# CONFIG_NET_SCH_RED is not set +# CONFIG_NET_SCH_SFB is not set +# CONFIG_NET_SCH_SFQ is not set +# CONFIG_NET_SCH_TEQL is not set +# CONFIG_NET_SCH_TBF is not set +# CONFIG_NET_SCH_GRED is not set +# CONFIG_NET_SCH_DSMARK is not set +# CONFIG_NET_SCH_NETEM is not set +# CONFIG_NET_SCH_DRR is not set +# CONFIG_NET_SCH_MQPRIO is not set +# CONFIG_NET_SCH_CHOKE is not set +# CONFIG_NET_SCH_QFQ is not set +# CONFIG_NET_SCH_CODEL is not set +# CONFIG_NET_SCH_FQ_CODEL is not set +CONFIG_NET_SCH_INGRESS=y +# CONFIG_NET_SCH_PLUG is not set + +# +# Classification +# +CONFIG_NET_CLS=y +# CONFIG_NET_CLS_BASIC is not set +# CONFIG_NET_CLS_TCINDEX is not set +# CONFIG_NET_CLS_ROUTE4 is not set +CONFIG_NET_CLS_FW=y +CONFIG_NET_CLS_U32=y +CONFIG_CLS_U32_PERF=y +CONFIG_CLS_U32_MARK=y +# CONFIG_NET_CLS_RSVP is not set +# CONFIG_NET_CLS_RSVP6 is not set +CONFIG_NET_CLS_FLOW=y +# CONFIG_NET_CLS_CGROUP is not set +# CONFIG_NET_EMATCH is not set +CONFIG_NET_CLS_ACT=y +CONFIG_NET_ACT_POLICE=y +# CONFIG_NET_ACT_GACT is not set +CONFIG_NET_ACT_MIRRED=y +CONFIG_NET_ACT_IPT=y +# CONFIG_NET_ACT_NAT is not set +# CONFIG_NET_ACT_PEDIT is not set +# CONFIG_NET_ACT_SIMP is not set +# CONFIG_NET_ACT_SKBEDIT is not set +# CONFIG_NET_ACT_CSUM is not set +CONFIG_NET_CLS_IND=y +CONFIG_NET_SCH_FIFO=y +# CONFIG_DCB is not set +# CONFIG_BATMAN_ADV is not set +# CONFIG_OPENVSWITCH is not set +# CONFIG_VSOCKETS is not set +# CONFIG_NETLINK_MMAP is not set +# CONFIG_NETLINK_DIAG is not set +CONFIG_RPS=y +CONFIG_RFS_ACCEL=y +CONFIG_XPS=y +# CONFIG_NETPRIO_CGROUP is not set +CONFIG_BQL=y +# CONFIG_BPF_JIT is not set + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +# CONFIG_NET_DROP_MONITOR is not set +# CONFIG_HAMRADIO is not set +# CONFIG_CAN is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +CONFIG_FIB_RULES=y +CONFIG_WIRELESS=y +CONFIG_WIRELESS_EXT=y +CONFIG_WEXT_CORE=y +CONFIG_WEXT_PROC=y +CONFIG_WEXT_PRIV=y +CONFIG_CFG80211=y +CONFIG_NL80211_TESTMODE=y +CONFIG_CFG80211_DEVELOPER_WARNINGS=y +# CONFIG_CFG80211_REG_DEBUG is not set +# CONFIG_CFG80211_CERTIFICATION_ONUS is not set +# CONFIG_CFG80211_DEFAULT_PS is not set +# CONFIG_CFG80211_DEBUGFS is not set +CONFIG_CFG80211_INTERNAL_REGDB=y +CONFIG_CFG80211_WEXT=y +# CONFIG_LIB80211 is not set +# CONFIG_CFG80211_ALLOW_RECONNECT is not set +CONFIG_MAC80211=y +CONFIG_MAC80211_HAS_RC=y +# CONFIG_MAC80211_RC_PID is not set +CONFIG_MAC80211_RC_MINSTREL=y +CONFIG_MAC80211_RC_MINSTREL_HT=y +CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y +CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" +# CONFIG_MAC80211_MESH is not set +CONFIG_MAC80211_LEDS=y +# CONFIG_MAC80211_DEBUGFS is not set +# CONFIG_MAC80211_MESSAGE_TRACING is not set +# CONFIG_MAC80211_DEBUG_MENU is not set +# CONFIG_WIMAX is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set +# CONFIG_NFC is not set +CONFIG_HAVE_BPF_JIT=y +# CONFIG_MTK_NET_LOGGING is not set + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_UEVENT_HELPER_PATH="" +CONFIG_DEVTMPFS=y +# CONFIG_DEVTMPFS_MOUNT is not set +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +CONFIG_FW_LOADER_USER_HELPER=y +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_GENERIC_CPU_DEVICES is not set +# CONFIG_HAVE_CPU_AUTOPROBE is not set +CONFIG_DMA_SHARED_BUFFER=y +# CONFIG_CMA is not set + +# +# Bus devices +# +# CONFIG_ARM_CCI is not set +# CONFIG_CONNECTOR is not set +CONFIG_MTD=y +# CONFIG_MTD_TESTS is not set +# CONFIG_MTD_REDBOOT_PARTS is not set +# CONFIG_MTD_CMDLINE_PARTS is not set +# CONFIG_MTD_AFS_PARTS is not set +# CONFIG_MTD_AR7_PARTS is not set + +# +# User Modules And Translation Layers +# +CONFIG_MTD_BLKDEVS=y +CONFIG_MTD_BLOCK=y +# CONFIG_FTL is not set +# CONFIG_NFTL is not set +# CONFIG_INFTL is not set +# CONFIG_RFD_FTL is not set +# CONFIG_SSFDC is not set +# CONFIG_SM_FTL is not set +# CONFIG_MTD_OOPS is not set +# CONFIG_MTD_SWAP is not set + +# +# RAM/ROM/Flash chip drivers +# +# CONFIG_MTD_CFI is not set +# CONFIG_MTD_JEDECPROBE is not set +CONFIG_MTD_MAP_BANK_WIDTH_1=y +CONFIG_MTD_MAP_BANK_WIDTH_2=y +CONFIG_MTD_MAP_BANK_WIDTH_4=y +# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set +CONFIG_MTD_CFI_I1=y +CONFIG_MTD_CFI_I2=y +# CONFIG_MTD_CFI_I4 is not set +# CONFIG_MTD_CFI_I8 is not set +# CONFIG_MTD_RAM is not set +# CONFIG_MTD_ROM is not set +# CONFIG_MTD_ABSENT is not set + +# +# Mapping drivers for chip access +# +# CONFIG_MTD_COMPLEX_MAPPINGS is not set +# CONFIG_MTD_PLATRAM is not set + +# +# Self-contained MTD device drivers +# +# CONFIG_MTD_DATAFLASH is not set +# CONFIG_MTD_M25P80 is not set +# CONFIG_MTD_SST25L is not set +# CONFIG_MTD_SLRAM is not set +# CONFIG_MTD_PHRAM is not set +# CONFIG_MTD_MTDRAM is not set +# CONFIG_MTD_BLOCK2MTD is not set + +# +# Disk-On-Chip Device Drivers +# +# CONFIG_MTD_DOCG3 is not set +CONFIG_MTD_NAND_IDS=y +CONFIG_MTD_NAND_ECC=y +# CONFIG_MTD_NAND_ECC_SMC is not set +CONFIG_MTD_NAND=y +# CONFIG_MTD_NAND_ECC_BCH is not set +# CONFIG_MTD_SM_COMMON is not set +# CONFIG_MTD_NAND_DENALI is not set +# CONFIG_MTD_NAND_GPIO is not set +# CONFIG_MTD_NAND_DISKONCHIP is not set +# CONFIG_MTD_NAND_DOCG4 is not set +# CONFIG_MTD_NAND_NANDSIM is not set +CONFIG_MTD_NAND_PLATFORM=y +# CONFIG_MTD_ALAUDA is not set +# CONFIG_MTD_ONENAND is not set + +# +# LPDDR flash memory drivers +# +# CONFIG_MTD_LPDDR is not set +# CONFIG_MTD_UBI is not set +# CONFIG_PARPORT is not set +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_COW_COMMON is not set +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 +# CONFIG_BLK_DEV_CRYPTOLOOP is not set +# CONFIG_BLK_DEV_DRBD is not set +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_RAM is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_MG_DISK is not set +# CONFIG_BLK_DEV_RBD is not set + +# +# Misc devices +# +CONFIG_ANDROID_PMEM=y +# CONFIG_SENSORS_LIS3LV02D is not set +# CONFIG_AD525X_DPOT is not set +# CONFIG_DUMMY_IRQ is not set +# CONFIG_ICS932S401 is not set +# CONFIG_ATMEL_SSC is not set +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_APDS9802ALS is not set +# CONFIG_ISL29003 is not set +# CONFIG_ISL29020 is not set +# CONFIG_SENSORS_TSL2550 is not set +# CONFIG_SENSORS_BH1780 is not set +# CONFIG_SENSORS_BH1770 is not set +# CONFIG_SENSORS_APDS990X is not set +# CONFIG_HMC6352 is not set +# CONFIG_DS1682 is not set +# CONFIG_TI_DAC7512 is not set +CONFIG_UID_STAT=y +# CONFIG_BMP085_I2C is not set +# CONFIG_BMP085_SPI is not set +# CONFIG_USB_SWITCH_FSA9480 is not set +# CONFIG_LATTICE_ECP3_CONFIG is not set +# CONFIG_SRAM is not set +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +CONFIG_EEPROM_AT24=y +# CONFIG_EEPROM_AT25 is not set +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EEPROM_MAX6875 is not set +CONFIG_EEPROM_93CX6=y +# CONFIG_EEPROM_93XX46 is not set + +# +# Texas Instruments shared transport line discipline +# +# CONFIG_TI_ST is not set +# CONFIG_SENSORS_LIS3_SPI is not set +# CONFIG_SENSORS_LIS3_I2C is not set + +# +# Altera FPGA firmware download module +# +# CONFIG_ALTERA_STAPL is not set +CONFIG_MEDIATEK_SOLUTION=y +CONFIG_MTK_PLATFORM="mt8127" +CONFIG_ARCH_MTK_PROJECT="ford" +CONFIG_AUSTIN_PROJECT=y +CONFIG_MTK_INTERNAL=y +CONFIG_MTK_CIRQ=y +# CONFIG_MTK_SYSTRACKER is not set +# CONFIG_MTK_L2C_SHARE is not set +# CONFIG_HAVE_AEE_FEATURE is not set +CONFIG_HAVE_XLOG_FEATURE=y +# CONFIG_FPGA_EARLY_PORTING is not set +CONFIG_MTK_EMMC_SUPPORT=y +CONFIG_MTK_NEW_COMBO_EMMC_SUPPORT=y +# CONFIG_MTK_GPT_SCHEME_SUPPORT is not set +CONFIG_MTK_SHARED_SDCARD=y +CONFIG_MTK_MULTI_STORAGE_SUPPORT=y +CONFIG_MTK_MULTI_PARTITION_MOUNT_ONLY_SUPPORT=y +CONFIG_MTK_SECURITY_SW_SUPPORT=y +CONFIG_HAVE_MTK_IN_HOUSE_TEE_SUPPORT=y +CONFIG_MTK_IN_HOUSE_TEE_SUPPORT=y +# CONFIG_HAVE_TRUSTONIC_TEE_SUPPORT is not set +CONFIG_MTK_SEC_VIDEO_PATH_SUPPORT=y +# CONFIG_MTK_THERMAL_STATUS_COLLECTION is not set +# CONFIG_MD32_SUPPORT is not set +# CONFIG_MTK_MEMCFG is not set +# CONFIG_MTK_DT_SUPPORT is not set +# CONFIG_EVDO_DT_SUPPORT is not set +# CONFIG_EVDO_DT_VIA_SUPPORT is not set +# CONFIG_MTK_SMARTBOOK_SUPPORT is not set +CONFIG_MTK_SENSOR_SUPPORT=y +CONFIG_MTK_AUTO_DETECT_ACCELEROMETER=y +# CONFIG_MTK_AUTO_DETECT_MAGNETOMETER is not set +# CONFIG_MTK_AUTO_DETECT_ALSPS is not set +CONFIG_CUSTOM_KERNEL_ACCELEROMETER=y +# CONFIG_CUSTOM_KERNEL_GYROSCOPE is not set +# CONFIG_CUSTOM_KERNEL_ALSPS is not set +# CONFIG_CUSTOM_SEC_AUTH_SUPPORT is not set +# CONFIG_CUSTOM_KERNEL_MAGNETOMETER is not set +# CONFIG_CUSTOM_KERNEL_BAROMETER is not set +# CONFIG_MTK_SENSOR_HUB_SUPPORT is not set +CONFIG_CUSTOM_KERNEL_SENSORHUB="" +CONFIG_CUSTOM_KERNEL_STEP_COUNTER="" +CONFIG_CUSTOM_KERNEL_SIGNIFICANT_MOTION_SENSOR="" +CONFIG_CUSTOM_KERNEL_ACTIVITY_SENSOR="" +CONFIG_CUSTOM_KERNEL_PICK_UP_SENSOR="" +CONFIG_CUSTOM_KERNEL_SHAKE_SENSOR="" +CONFIG_CUSTOM_KERNEL_FACE_DOWN_SENSOR="" +CONFIG_CUSTOM_KERNEL_IN_POCKET_SENSOR="" +CONFIG_CUSTOM_KERNEL_PEDOMETER="" +CONFIG_CUSTOM_KERNEL_HEART_RATE_SENSOR="" +CONFIG_CUSTOM_KERNEL_TILT_DETECTOR_SENSOR="" +CONFIG_CUSTOM_KERNEL_WAKE_GESTURE_SENSOR="" +CONFIG_CUSTOM_KERNEL_GLANCE_GESTURE_SENSOR="" +CONFIG_CUSTOM_KERNEL_IMGSENSOR="sp2509_mipi_raw gc2355_mipi_raw_huaquan sp0a19_raw gc0312_mipi_raw" +CONFIG_CUSTOM_KERNEL_LCM="nt51021_inx_dsi_vdo_kd ota7290b_auo_dsi_vdo_kd nt51021_inx_dsi_vdo_inx ota7290b_auo_dsi_vdo_tpv ota7290b_hsd_dsi_vdo_kd nt51021_inx_dsi_vdo_txd" +CONFIG_CUSTOM_KERNEL_FLASHLIGHT="constant_flashlight" +CONFIG_CUSTOM_KERNEL_EXTMD="" +CONFIG_CUSTOM_KERNEL_SSW="ssw_single" +# CONFIG_MTK_FORCE_CLUSTER1 is not set +CONFIG_MTK_MMPROFILE_SUPPORT=y +CONFIG_MTK_HIBERNATION=y +# CONFIG_CUSTOM_KERNEL_CHARGEPUMP is not set +# CONFIG_MTK_TC1_FEATURE is not set + +# +# Kernel Configurations +# + +# +# MTK Cluster MultiProcessor Scheduler +# + +# +# Tracer Related +# +# CONFIG_MTK_SCHED_TRACERS is not set +# CONFIG_MTK_KERNEL_MARKER is not set +# CONFIG_MT65XX_TRACER is not set +CONFIG_GENERIC_TRACER=y + +# +# MET +# +# CONFIG_MTK_MET is not set + +# +# MTPROF tools +# +CONFIG_MTK_MUTATION=y +CONFIG_MTPROF_CPUTIME=y +# CONFIG_MTPROF_IRQ_DURATION is not set +CONFIG_MTK_AEE_FEATURE=y +# CONFIG_MTK_AEE_AED is not set +# CONFIG_MTK_AEE_IPANIC is not set +# CONFIG_MTK_AEE_POWERKEY_HANG_DETECT is not set +# CONFIG_MTK_AEE_MRDUMP is not set +# CONFIG_ANDROID_VMEM is not set +# CONFIG_CPUTIME_SUPPORT is not set +# CONFIG_CPUTIME_STATS is not set +CONFIG_MTK_RAM_CONSOLE=y +# CONFIG_MTK_RAM_CONSOLE_USING_SRAM is not set +CONFIG_MTK_RAM_CONSOLE_USING_DRAM=y +CONFIG_MTK_RAM_CONSOLE_SIZE=0x1C00 +CONFIG_MTK_RAM_CONSOLE_ADDR=0xF900DC00 +CONFIG_MTK_RAM_CONSOLE_DRAM_SIZE=0x100000 +CONFIG_MTK_RAM_CONSOLE_DRAM_ADDR=0x83F00000 +# CONFIG_PREEMPT_MONITOR is not set +# CONFIG_ISR_MONITOR is not set +# CONFIG_MT_SCHED_MONITOR is not set +# CONFIG_MT_CHRDEV_REG is not set +# CONFIG_MT_LOCK_DEBUG is not set +CONFIG_PRINTK_PROCESS_INFO=y +CONFIG_MT_PRINTK_UART_CONSOLE=y +# CONFIG_MT_ENG_BUILD is not set +CONFIG_RAMDISK_OFFSET=0xF00000 +CONFIG_EARLY_LINUX_PORTING=y +# CONFIG_MTK_MCI is not set +# CONFIG_MTK_ETM is not set + +# +# MT load balance and schedule enhancement +# +CONFIG_MT_SCHED=y +# CONFIG_MT_LOAD_BALANCE_ENHANCEMENT is not set +# CONFIG_MT_LOAD_BALANCE_PROFILER is not set +# CONFIG_MT_SCHED_NOTICE is not set +# CONFIG_MT_PRIO_TRACER is not set +# CONFIG_MTK_WQ_DEBUG is not set +# CONFIG_MTK_SCHED_RQAVG_US is not set +# CONFIG_MTK_SCHED_RQAVG_KS is not set +# CONFIG_MTK_STORAGE_PID_LOGGER is not set + +# +# MTK Large Memory mode support +# +# CONFIG_MTK_LM_MODE is not set +CONFIG_MTK_TABLET_HARDWARE=y +# CONFIG_MTK_IPV6_TETHER_NDP_MODE is not set +# CONFIG_MTK_EMMC_SUPPORT_OTP is not set +CONFIG_MTK_TETHERINGIPV6_SUPPORT=y + +# +# Drivers Configurations +# +CONFIG_MTK_ACCDET=y +# CONFIG_MTK_CCCI_DEVICES is not set +# CONFIG_MTK_MD_LOW_BAT_SUPPORT is not set +CONFIG_MTK_MD_SBP_CUSTOM_VALUE="" +CONFIG_MTK_MD2_SBP_CUSTOM_VALUE="" +# CONFIG_MTK_UMTS_TDD128_MODE is not set +# CONFIG_MTK_EMCI_DEVICES is not set +CONFIG_MTK_EXTERNAL_MODEM_SLOT="" +# CONFIG_MTK_SWITCH_TX_POWER is not set +# CONFIG_MTK_LTE_SUPPORT is not set +CONFIG_MTK_FB=y +CONFIG_MTK_FB_SUPPORT_ASSERTION_LAYER=y +CONFIG_MTK_DITHERING_SUPPORT=y +CONFIG_MTK_LCM_PHYSICAL_ROTATION="0" +CONFIG_LCM_HEIGHT="1024" +CONFIG_LCM_WIDTH="600" +CONFIG_MTK_OVERLAY_ENGINE_SUPPORT=y +# CONFIG_MTK_TVOUT_SUPPORT is not set +# CONFIG_MIXMODE_FOR_INCELL is not set +# CONFIG_LCM_SEND_CMD_IN_VIDEO is not set +CONFIG_GPS=y +CONFIG_MTK_GPS=y +# CONFIG_MTK_NFC is not set +CONFIG_MTK_BTIF=y +CONFIG_MTK_COMBO=y +# CONFIG_MTK_COMBO_CHIP_MT6620 is not set +# CONFIG_MTK_COMBO_CHIP_MT6628 is not set +# CONFIG_MTK_COMBO_CHIP_MT6630 is not set +# CONFIG_MTK_COMBO_CHIP_CONSYS_6572 is not set +# CONFIG_MTK_COMBO_CHIP_CONSYS_6582 is not set +CONFIG_MTK_COMBO_CHIP_CONSYS_8127=y +# CONFIG_MTK_COMBO_CHIP_CONSYS_6752 is not set +# CONFIG_MTK_COMBO_CHIP_CONSYS_6592 is not set +CONFIG_MTK_COMBO_CHIP="CONSYS_8127" +CONFIG_MTK_WLAN_CHIP="CONSYS_8127" +CONFIG_MTK_WLAN_SUPPORT=y +CONFIG_MTK_WAPI_SUPPORT=y +# CONFIG_MTK_PASSPOINT_R1_SUPPORT is not set +# CONFIG_MTK_PASSPOINT_R2_SUPPORT is not set +CONFIG_MTK_WIFI_MCC_SUPPORT=y +CONFIG_MTK_COMBO_PLAT_PATH="" +# CONFIG_MTK_COMBO_COMM is not set +CONFIG_MTK_COMBO_BT=y +# CONFIG_MTK_COMBO_ANT is not set +CONFIG_MTK_COMBO_GPS=y +CONFIG_MTK_GPS_SUPPORT=y +CONFIG_MTK_COMBO_WIFI=y +CONFIG_MTK_BT_SUPPORT=y +CONFIG_MTK_WFD_SUPPORT=y +CONFIG_MTK_FM=y +CONFIG_MTK_FM_SUPPORT=y +CONFIG_MTK_FM_CHIP="MT6627_FM" +# CONFIG_MTK_FM_50KHZ_SUPPORT is not set +# CONFIG_MTK_MERGE_INTERFACE_SUPPORT is not set +# CONFIG_SDIOAUTOK_SUPPORT is not set +CONFIG_MTK_MT6306_SUPPORT=y +CONFIG_MTK_IDLE_TIME_FIX=y +CONFIG_MTK_G2D=y +CONFIG_MTK_MPEG4_DEC_DRIVER=y +CONFIG_MTK_MPEG4_ENC_DRIVER=y +CONFIG_MTK_H264_DEC_DRIVER=y +CONFIG_MTK_MFLEXVIDEO_DRIVER=y +CONFIG_MTK_VIDEOCODEC_DRIVER=y +# CONFIG_MTK_MJC_DRIVER is not set +CONFIG_MTK_I2C=y +# CONFIG_MTK_SPI is not set +CONFIG_MTK_JPEG=y +CONFIG_MTK_KEYPAD=y +CONFIG_KEYBOARD_HID=y +CONFIG_MTK_LEDS=y +CONFIG_MTK_MMC=y +# CONFIG_MTK_SDIOAUTOK_SUPPORT is not set + +# +# MediaTek OFN / Jogball Related Drivers +# +# CONFIG_MOUSE_PANASONIC_EVQWJN is not set +# CONFIG_MOUSE_AVAGOTECH_A320 is not set +# CONFIG_MTK_MTD_NAND is not set +CONFIG_MTK_SMART_BATTERY=y +CONFIG_MTK_PMIC=y +CONFIG_MTK_PMIC_WRAP=y +# CONFIG_MTK_PMIC_MT6397 is not set +# CONFIG_POWER_EXT is not set +# CONFIG_MTK_POWER_EXT_DETECT is not set +# CONFIG_MTK_PUMP_EXPRESS_SUPPORT is not set +# CONFIG_MTK_PUMP_EXPRESS_PLUS_SUPPORT is not set +# CONFIG_MTK_VOW_SUPPORT is not set +# CONFIG_MTK_EXTERNAL_LDO is not set +# CONFIG_X2_BQ27531_SUPPORT is not set +# CONFIG_MTK_AUTO_POWER_ON_WITH_CHARGER is not set +# CONFIG_MTK_BQ24250_SUPPORT is not set +# CONFIG_MTK_BQ24261_SUPPORT is not set +# CONFIG_MTK_BQ24196_SUPPORT is not set +# CONFIG_MTK_FAN5405_SUPPORT is not set +# CONFIG_MTK_FAN5402_SUPPORT is not set +# CONFIG_MTK_BQ24158_SUPPORT is not set +CONFIG_MTK_BQ24296_SUPPORT=y +CONFIG_MTK_SN2871_SUPPORT=y +# CONFIG_MTK_BQ27541_SUPPORT is not set +# CONFIG_MTK_NCP1851_SUPPORT is not set +# CONFIG_MTK_NCP1854_SUPPORT is not set +# CONFIG_MTK_RT9536_SUPPORT is not set +# CONFIG_MTK_MAX8971_SUPPORT is not set +# CONFIG_MTK_DUAL_INPUT_CHARGER_SUPPORT is not set +# CONFIG_MTK_WIRELESS_CHARGER_SUPPORT is not set +# CONFIG_MTK_JEITA_STANDARD_SUPPORT is not set +CONFIG_MTK_RTC=y +CONFIG_MTK_SERIAL=y +CONFIG_MTK_SERIAL_CONSOLE=y +# CONFIG_MTK_SERIAL_MODEM_TEST is not set +CONFIG_MTK_UART_USB_SWITCH=y +CONFIG_MTK_SIM2=y +CONFIG_MTK_SOUND=y +# CONFIG_MTK_AUDIO_EXTCODEC_SUPPORT is not set +# CONFIG_MTK_CM36283 is not set +# CONFIG_MTK_GP2AP002S00F is not set +# CONFIG_MTK_APM_16D is not set +# CONFIG_MTK_EPL2182 is not set +# CONFIG_MTK_EPL2182_NEW is not set +# CONFIG_MTK_STK3X1X is not set +# CONFIG_MTK_CM36652_NEW is not set +# CONFIG_MTK_APDS9930 is not set +# CONFIG_MTK_CM3232_NEW is not set +# CONFIG_MTK_APDS9930_NEW is not set +# CONFIG_MTK_RPR410 is not set +CONFIG_MTK_KXTJ2_1009=y +# CONFIG_MTK_KXTIK1004 is not set +# CONFIG_MTK_K2DH is not set +# CONFIG_MTK_BMA222E is not set +# CONFIG_MTK_BMA222E_NEW is not set +# CONFIG_MTK_MPU6050G is not set +# CONFIG_MTK_MPU6050G_NEW is not set +# CONFIG_MTK_BMA250 is not set +CONFIG_MTK_BMA253=y +CONFIG_MTK_MC3410=y +CONFIG_MTK_HALL_SENSOR=y +# CONFIG_MTK_MPU6515A is not set +# CONFIG_MTK_KXTJ2_1009_NEW is not set +# CONFIG_MTK_BMA250E is not set +# CONFIG_MTK_BMA056 is not set +# CONFIG_MTK_MPU3050C is not set +# CONFIG_MTK_MPU3000 is not set +# CONFIG_MTK_MPU3000_NEW is not set +# CONFIG_MTK_MPU6050GY is not set +# CONFIG_MTK_MPU6050GY_NEW is not set +# CONFIG_MTK_MPU6515G is not set +# CONFIG_MTK_MPU3050C_NEW is not set +# CONFIG_MTK_AKM8963 is not set +# CONFIG_MTK_AKM09911 is not set +# CONFIG_MTK_AKM8963_NEW is not set +# CONFIG_MTK_HSCDTD006 is not set +# CONFIG_MTK_BMM050 is not set +# CONFIG_MTK_BMM050_NEW is not set +# CONFIG_MTK_MMC3416X is not set +# CONFIG_MTK_BMA050 is not set +# CONFIG_MTK_BMA050_NEW is not set +# CONFIG_MTK_BMM056_NEW is not set +# CONFIG_MTK_S2200 is not set +# CONFIG_MTK_YAS532 is not set +# CONFIG_MTK_BMP180_NEW is not set +CONFIG_MTK_TOUCHPANEL=y +# CONFIG_MTK_S7020 is not set +CONFIG_MTK_USB_GADGET=y +# CONFIG_USB_MU3D_PIO_ONLY is not set +# CONFIG_USB_MU3D_DRV is not set +# CONFIG_USB_MU3D_DVT is not set +# CONFIG_MU3_PHY is not set +# CONFIG_MTK_XHCI is not set +# CONFIG_MTK_OTG_PMIC_BOOST_5V is not set +# CONFIG_MTK_TEST_XHCI is not set +# CONFIG_USBIF_COMPLIANCE is not set +# CONFIG_MTK_S3320 is not set +# CONFIG_MTK_S3320_47 is not set +# CONFIG_LEDS_LM3632 is not set +# CONFIG_LEDS_LM3639 is not set +# CONFIG_LEDS_RT8542 is not set +# CONFIG_MTK_VIBRATOR is not set +CONFIG_MTK_WD_KICKER=y +# CONFIG_MT592X_SDIO_CLNT is not set +CONFIG_USB_MTK_ACM_TEMP=y +CONFIG_USB_MTK_HDRC=y +CONFIG_USB_MTK_HDRC_GADGET=y +CONFIG_USB_MTK_OTG=y +# CONFIG_USB_MTK_DUALMODE is not set +# CONFIG_USB_MTK_DEBUG_FS is not set +# CONFIG_USB_MTK_DEBUG is not set +CONFIG_USB_MTK_HDRC_HCD=y +# CONFIG_MTK_USB_UNIQUE_SERIAL is not set +# CONFIG_MTK_USBFSH is not set +# CONFIG_MUSBFSH_PIO_ONLY is not set +CONFIG_AMPC_CDEV_NUM=151 +CONFIG_ION_MTK=y +# CONFIG_MMPROFILE is not set +CONFIG_MTK_STAGING=y +# CONFIG_MTKPASR is not set +# CONFIG_PWR_LOSS_MTK_TEST is not set +# CONFIG_MTK_EMMC_CACHE is not set +CONFIG_MTK_GPU_SUPPORT=y +# CONFIG_MTK_ICUSB_SUPPORT is not set +# CONFIG_MTK_DT_USB_SUPPORT is not set +# CONFIG_MTK_SWCHR_SUPPORT is not set +# CONFIG_MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION is not set +CONFIG_MTK_KERNEL_POWER_OFF_CHARGING=y +CONFIG_MTK_BATTERY_LIFETIME_DATA_SUPPORT=y +# CONFIG_MTK_BQ24160_SUPPORT is not set +# CONFIG_MTK_MT8193_SUPPORT is not set +# CONFIG_MTK_HDMI_SUPPORT is not set +# CONFIG_MTK_MT8193_HDCP_SUPPORT is not set +CONFIG_CUSTOM_KERNEL_HDMI="" +# CONFIG_SINGLE_PANEL_OUTPUT is not set +# CONFIG_MTK_THERMAL_PA_VIA_ATCMD is not set +CONFIG_MTK_SIM1_SOCKET_TYPE="1" +CONFIG_MTK_SIM2_SOCKET_TYPE="1" +# CONFIG_MTK_SEC_MODEM_NVRAM_ANTI_CLONE is not set +# CONFIG_MTK_MT6333_SUPPORT is not set +# CONFIG_MTK_CTP_RESET_CONFIG is not set +CONFIG_MTK_BICR_SUPPORT=y +# CONFIG_MTK_VIDEO_HEVC_SUPPORT is not set +CONFIG_MTK_AAL_SUPPORT=y +# CONFIG_MTK_MULTIBRIDGE_SUPPORT is not set +# CONFIG_NAND_OTP_SUPPORT is not set +# CONFIG_MTK_OD_SUPPORT is not set +CONFIG_MTK_LENS_DUMMYLENS_SUPPORT=y +# CONFIG_MTK_LENS_AD5820AF_SUPPORT is not set +# CONFIG_MTK_LENS_AD5823_SUPPORT is not set +# CONFIG_MTK_LENS_AD5823AF_SUPPORT is not set +# CONFIG_MTK_LENS_AK7345AF_SUPPORT is not set +# CONFIG_MTK_LENS_BU6424AF_SUPPORT is not set +# CONFIG_MTK_LENS_BU6429AF_SUPPORT is not set +# CONFIG_MTK_LENS_BU64745GWZAF_SUPPORT is not set +# CONFIG_MTK_LENS_DW9718AF_SUPPORT is not set +# CONFIG_MTK_LENS_DW9714AF_SUPPORT is not set +# CONFIG_MTK_LENS_DW9714A_SUPPORT is not set +# CONFIG_MTK_LENS_LC898122AF_SUPPORT is not set +# CONFIG_MTK_LENS_LC898212AF_SUPPORT is not set +# CONFIG_MTK_LENS_FM50AF_SUPPORT is not set +# CONFIG_MTK_LENS_MT9P017AF_SUPPORT is not set +# CONFIG_MTK_LENS_OV8825AF_SUPPORT is not set +# CONFIG_MTK_LENS_SENSORDRIVE_SUPPORT is not set +# CONFIG_MTK_LENS_GAF001AF_SUPPORT is not set +# CONFIG_MTK_LENS_GAF002AF_SUPPORT is not set +# CONFIG_MTK_LENS_GAF008AF_SUPPORT is not set +# CONFIG_MTK_CAM_CAL_GT24C32A_SUPPORT is not set +# CONFIG_MTK_CAM_CAL_BRCC064GWZ_3_SUPPORT is not set +# CONFIG_MTK_CAM_CAL_BRCB032GWZ_3_SUPPORT is not set +# CONFIG_MTK_EXTMEM is not set +CONFIG_MTK_DRM_KEY_MNG_SUPPORT=y +# CONFIG_MTK_CPU_STRESS is not set +# CONFIG_MTK_LASTPC is not set +CONFIG_MTK_FMRADIO=y +CONFIG_MTK_HWMON=y +# CONFIG_MTK_CMDQ is not set +# CONFIG_MTK_VIDEOX is not set +CONFIG_MTK_MT_LOGGER=y +CONFIG_MTK_CONN_MD=y +CONFIG_MTK_LENS=y +CONFIG_MTK_IMGSENSOR=y +CONFIG_MTK_FLASHLIGHT=y +CONFIG_MTK_SYSENV=y +CONFIG_MTK_SMI=y +CONFIG_MTK_BTCVSD=y +CONFIG_MTK_SOUND_DRV=y +CONFIG_MTK_POWER_GS=y +CONFIG_MTK_VIDEO=y +CONFIG_MTK_MRDUMP=y +# CONFIG_MTK_WMT_CCCI is not set +# CONFIG_MTK_VCOREFS is not set +CONFIG_MTK_EMI_MPU=y +CONFIG_MTK_EMI_BWL=y +# CONFIG_MTK_DBG_DUMP is not set + +# +# SCSI device support +# +CONFIG_SCSI_MOD=y +# CONFIG_RAID_ATTRS is not set +CONFIG_SCSI=y +CONFIG_SCSI_DMA=y +CONFIG_SCSI_TGT=y +# CONFIG_SCSI_NETLINK is not set +CONFIG_SCSI_PROC_FS=y + +# +# SCSI support type (disk, tape, CD-ROM) +# +CONFIG_BLK_DEV_SD=y +# CONFIG_CHR_DEV_ST is not set +# CONFIG_CHR_DEV_OSST is not set +# CONFIG_BLK_DEV_SR is not set +# CONFIG_CHR_DEV_SG is not set +# CONFIG_CHR_DEV_SCH is not set +CONFIG_SCSI_MULTI_LUN=y +# CONFIG_SCSI_CONSTANTS is not set +# CONFIG_SCSI_LOGGING is not set +CONFIG_SCSI_SCAN_ASYNC=y + +# +# SCSI Transports +# +# CONFIG_SCSI_SPI_ATTRS is not set +# CONFIG_SCSI_FC_ATTRS is not set +# CONFIG_SCSI_ISCSI_ATTRS is not set +# CONFIG_SCSI_SAS_ATTRS is not set +# CONFIG_SCSI_SAS_LIBSAS is not set +# CONFIG_SCSI_SRP_ATTRS is not set +# CONFIG_SCSI_LOWLEVEL is not set +# CONFIG_SCSI_DH is not set +# CONFIG_SCSI_OSD_INITIATOR is not set +# CONFIG_ATA is not set +CONFIG_MD=y +# CONFIG_BLK_DEV_MD is not set +# CONFIG_BCACHE is not set +CONFIG_BLK_DEV_DM_BUILTIN=y +CONFIG_BLK_DEV_DM=y +# CONFIG_DM_DEBUG is not set +CONFIG_DM_CRYPT=y +# CONFIG_DM_SNAPSHOT is not set +# CONFIG_DM_THIN_PROVISIONING is not set +# CONFIG_DM_CACHE is not set +# CONFIG_DM_MIRROR is not set +# CONFIG_DM_RAID is not set +# CONFIG_DM_ZERO is not set +# CONFIG_DM_MULTIPATH is not set +# CONFIG_DM_DELAY is not set +CONFIG_DM_UEVENT=y +# CONFIG_DM_FLAKEY is not set +# CONFIG_DM_VERITY is not set +# CONFIG_TARGET_CORE is not set +CONFIG_NETDEVICES=y +CONFIG_NET_CORE=y +# CONFIG_BONDING is not set +# CONFIG_DUMMY is not set +# CONFIG_EQUALIZER is not set +CONFIG_MII=y +CONFIG_IFB=y +# CONFIG_NET_TEAM is not set +# CONFIG_MACVLAN is not set +# CONFIG_VXLAN is not set +# CONFIG_NETCONSOLE is not set +# CONFIG_NETPOLL is not set +# CONFIG_NET_POLL_CONTROLLER is not set +CONFIG_TUN=y +# CONFIG_VETH is not set + +# +# CAIF transport drivers +# + +# +# Distributed Switch Architecture drivers +# +# CONFIG_NET_DSA_MV88E6XXX is not set +# CONFIG_NET_DSA_MV88E6060 is not set +# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set +# CONFIG_NET_DSA_MV88E6131 is not set +# CONFIG_NET_DSA_MV88E6123_61_65 is not set +# CONFIG_ETHERNET is not set +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_AT803X_PHY is not set +# CONFIG_AMD_PHY is not set +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_BCM87XX_PHY is not set +# CONFIG_ICPLUS_PHY is not set +# CONFIG_REALTEK_PHY is not set +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +# CONFIG_MICREL_KS8995MA is not set +CONFIG_PPP=y +CONFIG_PPP_BSDCOMP=y +CONFIG_PPP_DEFLATE=y +CONFIG_PPP_FILTER=y +CONFIG_PPP_MPPE=y +CONFIG_PPP_MULTILINK=y +CONFIG_PPPOE=y +CONFIG_PPPOLAC=y +CONFIG_PPPOPNS=y +CONFIG_PPP_ASYNC=y +CONFIG_PPP_SYNC_TTY=y +# CONFIG_SLIP is not set +CONFIG_SLHC=y + +# +# USB Network Adapters +# +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +# CONFIG_USB_NET_CDC_EEM is not set +CONFIG_USB_NET_CDC_NCM=y +# CONFIG_USB_NET_CDC_MBIM is not set +CONFIG_USB_NET_DM9601=y +# CONFIG_USB_NET_SMSC75XX is not set +# CONFIG_USB_NET_SMSC95XX is not set +# CONFIG_USB_NET_GL620A is not set +CONFIG_USB_NET_NET1080=y +# CONFIG_USB_NET_PLUSB is not set +# CONFIG_USB_NET_MCS7830 is not set +# CONFIG_USB_NET_RNDIS_HOST is not set +CONFIG_USB_NET_CDC_SUBSET=y +# CONFIG_USB_ALI_M5632 is not set +# CONFIG_USB_AN2720 is not set +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +# CONFIG_USB_EPSON2888 is not set +# CONFIG_USB_KC2190 is not set +CONFIG_USB_NET_ZAURUS=y +# CONFIG_USB_NET_CX82310_ETH is not set +# CONFIG_USB_NET_KALMIA is not set +# CONFIG_USB_NET_QMI_WWAN is not set +# CONFIG_USB_NET_INT51X1 is not set +# CONFIG_USB_IPHETH is not set +# CONFIG_USB_SIERRA_NET is not set +# CONFIG_USB_VL600 is not set +CONFIG_WLAN=y +# CONFIG_LIBERTAS_THINFIRM is not set +# CONFIG_AT76C50X_USB is not set +# CONFIG_USB_ZD1201 is not set +# CONFIG_USB_NET_RNDIS_WLAN is not set +CONFIG_RTL8187=y +CONFIG_RTL8187_LEDS=y +# CONFIG_MAC80211_HWSIM is not set +# CONFIG_WIFI_CONTROL_FUNC is not set +# CONFIG_ATH_CARDS is not set +# CONFIG_B43 is not set +# CONFIG_B43LEGACY is not set +# CONFIG_BRCMFMAC is not set +# CONFIG_HOSTAP is not set +# CONFIG_LIBERTAS is not set +# CONFIG_P54_COMMON is not set +# CONFIG_RT2X00 is not set +# CONFIG_RTLWIFI is not set +# CONFIG_WL_TI is not set +# CONFIG_ZD1211RW is not set +# CONFIG_MWIFIEX is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# +# CONFIG_WAN is not set +# CONFIG_ISDN is not set + +# +# Input device support +# +CONFIG_INPUT=y +# CONFIG_INPUT_FF_MEMLESS is not set +# CONFIG_INPUT_POLLDEV is not set +# CONFIG_INPUT_SPARSEKMAP is not set +# CONFIG_INPUT_MATRIXKMAP is not set + +# +# Userland interfaces +# +CONFIG_INPUT_MOUSEDEV=y +CONFIG_INPUT_MOUSEDEV_PSAUX=y +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 +# CONFIG_INPUT_JOYDEV is not set +CONFIG_INPUT_EVDEV=y +# CONFIG_INPUT_EVBUG is not set +# CONFIG_INPUT_KEYRESET is not set +# CONFIG_INPUT_KEYCOMBO is not set + +# +# Input Device Drivers +# +CONFIG_INPUT_KEYBOARD=y +# CONFIG_KEYBOARD_ADP5588 is not set +# CONFIG_KEYBOARD_ADP5589 is not set +# CONFIG_KEYBOARD_ATKBD is not set +# CONFIG_KEYBOARD_QT1070 is not set +# CONFIG_KEYBOARD_QT2160 is not set +# CONFIG_KEYBOARD_LKKBD is not set +# CONFIG_KEYBOARD_GPIO is not set +# CONFIG_KEYBOARD_TCA6416 is not set +# CONFIG_KEYBOARD_TCA8418 is not set +# CONFIG_KEYBOARD_MATRIX is not set +# CONFIG_KEYBOARD_LM8323 is not set +# CONFIG_KEYBOARD_LM8333 is not set +# CONFIG_KEYBOARD_MAX7359 is not set +# CONFIG_KEYBOARD_MCS is not set +# CONFIG_KEYBOARD_MPR121 is not set +# CONFIG_KEYBOARD_NEWTON is not set +# CONFIG_KEYBOARD_OPENCORES is not set +# CONFIG_KEYBOARD_STOWAWAY is not set +# CONFIG_KEYBOARD_SUNKBD is not set +# CONFIG_KEYBOARD_XTKBD is not set +CONFIG_INPUT_MOUSE=y +# CONFIG_MOUSE_PS2 is not set +# CONFIG_MOUSE_SERIAL is not set +# CONFIG_MOUSE_APPLETOUCH is not set +# CONFIG_MOUSE_BCM5974 is not set +# CONFIG_MOUSE_CYAPA is not set +# CONFIG_MOUSE_VSXXXAA is not set +# CONFIG_MOUSE_GPIO is not set +# CONFIG_MOUSE_SYNAPTICS_I2C is not set +# CONFIG_MOUSE_SYNAPTICS_USB is not set +CONFIG_INPUT_JOYSTICK=y +# CONFIG_JOYSTICK_ANALOG is not set +# CONFIG_JOYSTICK_A3D is not set +# CONFIG_JOYSTICK_ADI is not set +# CONFIG_JOYSTICK_COBRA is not set +# CONFIG_JOYSTICK_GF2K is not set +# CONFIG_JOYSTICK_GRIP is not set +# CONFIG_JOYSTICK_GRIP_MP is not set +# CONFIG_JOYSTICK_GUILLEMOT is not set +# CONFIG_JOYSTICK_INTERACT is not set +# CONFIG_JOYSTICK_SIDEWINDER is not set +# CONFIG_JOYSTICK_TMDC is not set +# CONFIG_JOYSTICK_IFORCE is not set +CONFIG_JOYSTICK_WARRIOR=y +# CONFIG_JOYSTICK_MAGELLAN is not set +# CONFIG_JOYSTICK_SPACEORB is not set +# CONFIG_JOYSTICK_SPACEBALL is not set +# CONFIG_JOYSTICK_STINGER is not set +# CONFIG_JOYSTICK_TWIDJOY is not set +# CONFIG_JOYSTICK_ZHENHUA is not set +# CONFIG_JOYSTICK_AS5011 is not set +# CONFIG_JOYSTICK_JOYDUMP is not set +CONFIG_JOYSTICK_XPAD=y +# CONFIG_JOYSTICK_XPAD_FF is not set +# CONFIG_JOYSTICK_XPAD_LEDS is not set +# CONFIG_INPUT_TABLET is not set +CONFIG_INPUT_TOUCHSCREEN=y +# CONFIG_TOUCHSCREEN_ADS7846 is not set +# CONFIG_TOUCHSCREEN_AD7877 is not set +# CONFIG_TOUCHSCREEN_AD7879 is not set +# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set +# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set +# CONFIG_TOUCHSCREEN_BU21013 is not set +# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set +# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set +# CONFIG_TOUCHSCREEN_DYNAPRO is not set +# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set +# CONFIG_TOUCHSCREEN_EETI is not set +# CONFIG_TOUCHSCREEN_FUJITSU is not set +# CONFIG_TOUCHSCREEN_ILI210X is not set +# CONFIG_TOUCHSCREEN_GUNZE is not set +# CONFIG_TOUCHSCREEN_ELO is not set +# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set +# CONFIG_TOUCHSCREEN_WACOM_I2C is not set +# CONFIG_TOUCHSCREEN_MAX11801 is not set +# CONFIG_TOUCHSCREEN_MCS5000 is not set +# CONFIG_TOUCHSCREEN_MMS114 is not set +# CONFIG_TOUCHSCREEN_MTOUCH is not set +# CONFIG_TOUCHSCREEN_INEXIO is not set +# CONFIG_TOUCHSCREEN_MK712 is not set +# CONFIG_TOUCHSCREEN_MTK is not set +# CONFIG_TOUCHSCREEN_MTK_GT818B_FPGA is not set +# CONFIG_MTK_GT9XX is not set +# CONFIG_MTK_GT911 is not set +# CONFIG_MTK_MMS244 is not set +# CONFIG_GT9XX_HOTKNOT_FLASHLESS is not set +# CONFIG_MTK_FT5406 is not set +# CONFIG_MTK_FT5406_82 is not set +# CONFIG_MTK_FT5206 is not set +# CONFIG_MTK_FT5X0X is not set +# CONFIG_MTK_MMS134 is not set +# CONFIG_MTK_MMS128 is not set +# CONFIG_MTK_MIT200 is not set +# CONFIG_TOUCHSCREEN_PENMOUNT is not set +# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set +# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set +# CONFIG_TOUCHSCREEN_TOUCHWIN is not set +# CONFIG_TOUCHSCREEN_PIXCIR is not set +# CONFIG_TOUCHSCREEN_MTK_FTS2A052 is not set +# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set +# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set +# CONFIG_TOUCHSCREEN_TSC_SERIO is not set +# CONFIG_TOUCHSCREEN_TSC2005 is not set +# CONFIG_TOUCHSCREEN_TSC2007 is not set +# CONFIG_TOUCHSCREEN_ST1232 is not set +# CONFIG_TOUCHSCREEN_TPS6507X is not set +# CONFIG_TOUCHSCREEN_SYNAPTICS_S3528 is not set +CONFIG_INPUT_MISC=y +# CONFIG_INPUT_AD714X is not set +# CONFIG_INPUT_BMA150 is not set +# CONFIG_INPUT_MMA8450 is not set +# CONFIG_INPUT_MPU3050 is not set +# CONFIG_INPUT_GP2A is not set +# CONFIG_INPUT_GPIO_TILT_POLLED is not set +# CONFIG_INPUT_ATI_REMOTE2 is not set +# CONFIG_INPUT_KEYCHORD is not set +# CONFIG_INPUT_KEYSPAN_REMOTE is not set +# CONFIG_INPUT_KXTJ9 is not set +# CONFIG_INPUT_POWERMATE is not set +# CONFIG_INPUT_YEALINK is not set +# CONFIG_INPUT_CM109 is not set +CONFIG_INPUT_UINPUT=y +# CONFIG_INPUT_GPIO is not set +# CONFIG_INPUT_PCF8574 is not set +# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set +# CONFIG_INPUT_ADXL34X is not set +# CONFIG_INPUT_IMS_PCU is not set +# CONFIG_INPUT_CMA3000 is not set +CONFIG_INPUT_TEMPERATURE_TMP103=y + +# +# Hardware I/O ports +# +CONFIG_SERIO=y +CONFIG_SERIO_SERPORT=y +# CONFIG_SERIO_AMBAKMI is not set +# CONFIG_SERIO_LIBPS2 is not set +# CONFIG_SERIO_RAW is not set +# CONFIG_SERIO_ALTERA_PS2 is not set +# CONFIG_SERIO_PS2MULT is not set +# CONFIG_SERIO_ARC_PS2 is not set +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_TTY=y +CONFIG_VT=y +CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_VT_CONSOLE=y +CONFIG_VT_CONSOLE_SLEEP=y +CONFIG_HW_CONSOLE=y +CONFIG_VT_HW_CONSOLE_BINDING=y +CONFIG_UNIX98_PTYS=y +CONFIG_DEVPTS_MULTIPLE_INSTANCES=y +CONFIG_LEGACY_PTYS=y +CONFIG_LEGACY_PTY_COUNT=16 +# CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_N_GSM is not set +# CONFIG_TRACE_SINK is not set +CONFIG_DEVMEM=y +# CONFIG_DEVKMEM is not set + +# +# Serial drivers +# +# CONFIG_SERIAL_8250 is not set + +# +# Non-8250 serial port support +# +# CONFIG_SERIAL_AMBA_PL010 is not set +# CONFIG_SERIAL_AMBA_PL011 is not set +# CONFIG_SERIAL_MAX3100 is not set +# CONFIG_SERIAL_MAX310X is not set +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +# CONFIG_SERIAL_SCCNXP is not set +# CONFIG_SERIAL_TIMBERDALE is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_IFX6X60 is not set +# CONFIG_SERIAL_ARC is not set +# CONFIG_TTY_PRINTK is not set +# CONFIG_HVC_DCC is not set +# CONFIG_IPMI_HANDLER is not set +CONFIG_HW_RANDOM=y +# CONFIG_HW_RANDOM_TIMERIOMEM is not set +# CONFIG_R3964 is not set +# CONFIG_RAW_DRIVER is not set +# CONFIG_TCG_TPM is not set +# CONFIG_DCC_TTY is not set +CONFIG_I2C=y +CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_COMPAT=y +CONFIG_I2C_CHARDEV=y +# CONFIG_I2C_MUX is not set +CONFIG_I2C_HELPER_AUTO=y + +# +# I2C Hardware Bus support +# + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +# CONFIG_I2C_CBUS_GPIO is not set +# CONFIG_I2C_GPIO is not set +# CONFIG_I2C_NOMADIK is not set +# CONFIG_I2C_OCORES is not set +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_PXA_PCI is not set +# CONFIG_I2C_SIMTEC is not set +# CONFIG_I2C_XILINX is not set + +# +# External I2C/SMBus adapter drivers +# +# CONFIG_I2C_DIOLAN_U2C is not set +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_TAOS_EVM is not set +# CONFIG_I2C_TINY_USB is not set + +# +# Other I2C/SMBus bus drivers +# +# CONFIG_I2C_STUB is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +CONFIG_SPI=y +# CONFIG_SPI_DEBUG is not set +CONFIG_SPI_MASTER=y + +# +# SPI Master Controller Drivers +# +# CONFIG_SPI_ALTERA is not set +# CONFIG_SPI_BITBANG is not set +# CONFIG_SPI_GPIO is not set +# CONFIG_SPI_OC_TINY is not set +# CONFIG_SPI_PL022 is not set +# CONFIG_SPI_PXA2XX_PCI is not set +# CONFIG_SPI_SC18IS602 is not set +# CONFIG_SPI_XCOMM is not set +# CONFIG_SPI_XILINX is not set +# CONFIG_SPI_DESIGNWARE is not set + +# +# SPI Protocol Masters +# +# CONFIG_SPI_SPIDEV is not set +# CONFIG_SPI_TLE62X0 is not set + +# +# Qualcomm MSM SSBI bus support +# +# CONFIG_SSBI is not set +# CONFIG_HSI is not set + +# +# PPS support +# +# CONFIG_PPS is not set + +# +# PPS generators support +# + +# +# PTP clock support +# +# CONFIG_PTP_1588_CLOCK is not set + +# +# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. +# +# CONFIG_PTP_1588_CLOCK_PCH is not set +CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y +CONFIG_ARCH_REQUIRE_GPIOLIB=y +CONFIG_GPIO_DEVRES=y +CONFIG_GPIOLIB=y +# CONFIG_DEBUG_GPIO is not set +# CONFIG_GPIO_SYSFS is not set + +# +# Memory mapped GPIO drivers: +# +# CONFIG_GPIO_GENERIC_PLATFORM is not set +# CONFIG_GPIO_EM is not set +# CONFIG_GPIO_PL061 is not set +# CONFIG_GPIO_RCAR is not set +# CONFIG_GPIO_TS5500 is not set + +# +# I2C GPIO expanders: +# +# CONFIG_GPIO_MAX7300 is not set +# CONFIG_GPIO_MAX732X is not set +# CONFIG_GPIO_PCF857X is not set +# CONFIG_GPIO_SX150X is not set +# CONFIG_GPIO_ADP5588 is not set + +# +# PCI GPIO expanders: +# + +# +# SPI GPIO expanders: +# +# CONFIG_GPIO_MAX7301 is not set +# CONFIG_GPIO_MCP23S08 is not set +# CONFIG_GPIO_MC33880 is not set +# CONFIG_GPIO_74X164 is not set + +# +# AC97 GPIO expanders: +# + +# +# MODULbus GPIO expanders: +# + +# +# USB GPIO expanders: +# +# CONFIG_W1 is not set +CONFIG_POWER_SUPPLY=y +# CONFIG_POWER_SUPPLY_DEBUG is not set +# CONFIG_PDA_POWER is not set +# CONFIG_TEST_POWER is not set +# CONFIG_BATTERY_DS2780 is not set +# CONFIG_BATTERY_DS2781 is not set +# CONFIG_BATTERY_DS2782 is not set +# CONFIG_BATTERY_SBS is not set +# CONFIG_BATTERY_BQ27x00 is not set +# CONFIG_BATTERY_MAX17040 is not set +# CONFIG_BATTERY_MAX17042 is not set +# CONFIG_CHARGER_ISP1704 is not set +# CONFIG_CHARGER_MAX8903 is not set +# CONFIG_CHARGER_LP8727 is not set +# CONFIG_CHARGER_GPIO is not set +# CONFIG_CHARGER_BQ2415X is not set +# CONFIG_CHARGER_SMB347 is not set +# CONFIG_BATTERY_GOLDFISH is not set +# CONFIG_POWER_RESET is not set +# CONFIG_POWER_RESET_RESTART is not set +# CONFIG_POWER_AVS is not set +# CONFIG_HWMON is not set +CONFIG_THERMAL=y +# CONFIG_THERMAL_DEFAULT_GOV_BACKWARD_COMPATIBLE is not set +# CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE is not set +# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set +# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set +CONFIG_THERMAL_DEFAULT_GOV_TRIP_STEP_WISE=y +# CONFIG_BACKWARD_COMPATIBLE is not set +# CONFIG_THERMAL_GOV_FAIR_SHARE is not set +CONFIG_THERMAL_GOV_STEP_WISE=y +# CONFIG_THERMAL_GOV_USER_SPACE is not set +CONFIG_THERMAL_GOV_TRIP_STEP_WISE=y +CONFIG_CPU_THERMAL=y +# CONFIG_THERMAL_EMULATION is not set +CONFIG_VS_THERMAL=y +# CONFIG_WATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set +CONFIG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +# CONFIG_BCMA is not set + +# +# Multifunction device drivers +# +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_AS3711 is not set +# CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_AAT2870_CORE is not set +# CONFIG_MFD_CROS_EC is not set +# CONFIG_MFD_ASIC3 is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_MFD_DA9052_SPI is not set +# CONFIG_MFD_DA9052_I2C is not set +# CONFIG_MFD_DA9055 is not set +# CONFIG_MFD_MC13XXX_SPI is not set +# CONFIG_MFD_MC13XXX_I2C is not set +# CONFIG_HTC_EGPIO is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_HTC_I2CPLD is not set +# CONFIG_MFD_88PM800 is not set +# CONFIG_MFD_88PM805 is not set +# CONFIG_MFD_88PM860X is not set +# CONFIG_MFD_MAX77686 is not set +# CONFIG_MFD_MAX77693 is not set +# CONFIG_MFD_MAX8907 is not set +# CONFIG_MFD_MAX8925 is not set +# CONFIG_MFD_MAX8997 is not set +# CONFIG_MFD_MAX8998 is not set +# CONFIG_EZX_PCAP is not set +# CONFIG_MFD_VIPERBOARD is not set +# CONFIG_MFD_RETU is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_MFD_RC5T583 is not set +# CONFIG_MFD_SEC_CORE is not set +# CONFIG_MFD_SI476X_CORE is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_MFD_SMSC is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_STMPE is not set +# CONFIG_MFD_SYSCON is not set +# CONFIG_MFD_TI_AM335X_TSCADC is not set +# CONFIG_MFD_LP8788 is not set +# CONFIG_MFD_PALMAS is not set +# CONFIG_TPS6105X is not set +# CONFIG_TPS65010 is not set +# CONFIG_TPS6507X is not set +# CONFIG_MFD_TPS65090 is not set +# CONFIG_MFD_TPS65217 is not set +# CONFIG_MFD_TPS6586X is not set +# CONFIG_MFD_TPS65910 is not set +# CONFIG_MFD_TPS65912 is not set +# CONFIG_MFD_TPS65912_I2C is not set +# CONFIG_MFD_TPS65912_SPI is not set +# CONFIG_MFD_TPS80031 is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_TWL6040_CORE is not set +# CONFIG_MFD_WL1273_CORE is not set +# CONFIG_MFD_LM3533 is not set +# CONFIG_MFD_TC3589X is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_ARIZONA_I2C is not set +# CONFIG_MFD_ARIZONA_SPI is not set +# CONFIG_MFD_WM8400 is not set +# CONFIG_MFD_WM831X_I2C is not set +# CONFIG_MFD_WM831X_SPI is not set +# CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_WM8994 is not set +# CONFIG_REGULATOR is not set +CONFIG_MEDIA_SUPPORT=y + +# +# Multimedia core support +# +# CONFIG_MEDIA_CAMERA_SUPPORT is not set +# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set +# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set +# CONFIG_MEDIA_RADIO_SUPPORT is not set +CONFIG_MEDIA_RC_SUPPORT=y +# CONFIG_VIDEO_ADV_DEBUG is not set +# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set +# CONFIG_TTPCI_EEPROM is not set + +# +# Media drivers +# +CONFIG_RC_CORE=y +CONFIG_RC_MAP=y +CONFIG_RC_DECODERS=y +CONFIG_LIRC=y +CONFIG_IR_LIRC_CODEC=y +CONFIG_IR_NEC_DECODER=y +CONFIG_IR_RC5_DECODER=y +CONFIG_IR_RC6_DECODER=y +CONFIG_IR_JVC_DECODER=y +CONFIG_IR_SONY_DECODER=y +CONFIG_IR_RC5_SZ_DECODER=y +CONFIG_IR_SANYO_DECODER=y +CONFIG_IR_MCE_KBD_DECODER=y +# CONFIG_RC_DEVICES is not set +# CONFIG_MEDIA_USB_SUPPORT is not set + +# +# Supported MMC/SDIO adapters +# +# CONFIG_CYPRESS_FIRMWARE is not set + +# +# Media ancillary drivers (tuners, sensors, i2c, frontends) +# + +# +# Customise DVB Frontends +# +# CONFIG_DVB_TUNER_DIB0070 is not set +# CONFIG_DVB_TUNER_DIB0090 is not set + +# +# Tools to develop new frontends +# +# CONFIG_DVB_DUMMY_FE is not set + +# +# Graphics support +# +# CONFIG_DRM is not set +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +CONFIG_FB=y +# CONFIG_FIRMWARE_EDID is not set +# CONFIG_FB_DDC is not set +# CONFIG_FB_BOOT_VESA_SUPPORT is not set +CONFIG_FB_CFB_FILLRECT=y +CONFIG_FB_CFB_COPYAREA=y +CONFIG_FB_CFB_IMAGEBLIT=y +# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set +# CONFIG_FB_SYS_FILLRECT is not set +# CONFIG_FB_SYS_COPYAREA is not set +# CONFIG_FB_SYS_IMAGEBLIT is not set +# CONFIG_FB_FOREIGN_ENDIAN is not set +# CONFIG_FB_SYS_FOPS is not set +# CONFIG_FB_SVGALIB is not set +# CONFIG_FB_MACMODES is not set +# CONFIG_FB_BACKLIGHT is not set +CONFIG_FB_MODE_HELPERS=y +CONFIG_FB_TILEBLITTING=y + +# +# Frame buffer hardware drivers +# +# CONFIG_FB_ARMCLCD is not set +# CONFIG_FB_S1D13XXX is not set +# CONFIG_FB_SMSCUFX is not set +# CONFIG_FB_UDL is not set +# CONFIG_FB_GOLDFISH is not set +# CONFIG_FB_VIRTUAL is not set +# CONFIG_FB_METRONOME is not set +# CONFIG_FB_BROADSHEET is not set +# CONFIG_FB_AUO_K190X is not set +# CONFIG_EXYNOS_VIDEO is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set +# CONFIG_ADF is not set + +# +# Console display driver support +# +CONFIG_DUMMY_CONSOLE=y +CONFIG_FRAMEBUFFER_CONSOLE=y +# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y +# CONFIG_FONTS is not set +CONFIG_FONT_8x8=y +CONFIG_FONT_8x16=y +CONFIG_LOGO=y +CONFIG_LOGO_LINUX_MONO=y +CONFIG_LOGO_LINUX_VGA16=y +CONFIG_LOGO_LINUX_CLUT224=y +CONFIG_SOUND=y +# CONFIG_SOUND_OSS_CORE is not set +CONFIG_SND=y +CONFIG_SND_TIMER=y +CONFIG_SND_PCM=y +CONFIG_SND_HWDEP=y +CONFIG_SND_RAWMIDI=y +CONFIG_SND_SEQUENCER=y +CONFIG_SND_SEQ_DUMMY=y +# CONFIG_SND_MIXER_OSS is not set +# CONFIG_SND_PCM_OSS is not set +# CONFIG_SND_SEQUENCER_OSS is not set +CONFIG_SND_HRTIMER=y +CONFIG_SND_SEQ_HRTIMER_DEFAULT=y +# CONFIG_SND_DYNAMIC_MINORS is not set +# CONFIG_SND_SUPPORT_OLD_API is not set +# CONFIG_SND_VERBOSE_PROCFS is not set +# CONFIG_SND_VERBOSE_PRINTK is not set +# CONFIG_SND_DEBUG is not set +CONFIG_SND_RAWMIDI_SEQ=y +# CONFIG_SND_OPL3_LIB_SEQ is not set +# CONFIG_SND_OPL4_LIB_SEQ is not set +# CONFIG_SND_SBAWE_SEQ is not set +# CONFIG_SND_EMU10K1_SEQ is not set +CONFIG_SND_DRIVERS=y +# CONFIG_SND_DUMMY is not set +# CONFIG_SND_ALOOP is not set +CONFIG_SND_VIRMIDI=y +# CONFIG_SND_MTPAV is not set +# CONFIG_SND_SERIAL_U16550 is not set +# CONFIG_SND_MPU401 is not set +# CONFIG_SND_ARM is not set +# CONFIG_SND_SPI is not set +CONFIG_SND_USB=y +CONFIG_SND_USB_AUDIO=y +# CONFIG_SND_USB_UA101 is not set +# CONFIG_SND_USB_CAIAQ is not set +# CONFIG_SND_USB_6FIRE is not set +# CONFIG_SND_SOC is not set +# CONFIG_SOUND_PRIME is not set + +# +# HID support +# +CONFIG_HID=y +# CONFIG_HID_BATTERY_STRENGTH is not set +# CONFIG_HIDRAW is not set +CONFIG_UHID=y +CONFIG_HID_GENERIC=y + +# +# Special HID drivers +# +CONFIG_HID_A4TECH=y +CONFIG_HID_ACRUX=y +# CONFIG_HID_ACRUX_FF is not set +CONFIG_HID_AMAZON_ASPEN=y +CONFIG_HID_APPLE=y +# CONFIG_HID_APPLEIR is not set +# CONFIG_HID_AUREAL is not set +CONFIG_HID_BELKIN=y +CONFIG_HID_CHERRY=y +CONFIG_HID_CHICONY=y +# CONFIG_HID_PRODIKEYS is not set +CONFIG_HID_CYPRESS=y +CONFIG_HID_DRAGONRISE=y +# CONFIG_DRAGONRISE_FF is not set +# CONFIG_HID_EMS_FF is not set +# CONFIG_HID_ELECOM is not set +CONFIG_HID_EZKEY=y +# CONFIG_HID_HOLTEK is not set +# CONFIG_HID_KEYTOUCH is not set +CONFIG_HID_KYE=y +# CONFIG_HID_UCLOGIC is not set +# CONFIG_HID_WALTOP is not set +CONFIG_HID_GYRATION=y +# CONFIG_HID_ICADE is not set +CONFIG_HID_TWINHAN=y +CONFIG_HID_KENSINGTON=y +# CONFIG_HID_LCPOWER is not set +# CONFIG_HID_LENOVO_TPKBD is not set +CONFIG_HID_LOGITECH=y +# CONFIG_LOGITECH_FF is not set +# CONFIG_LOGIRUMBLEPAD2_FF is not set +# CONFIG_LOGIG940_FF is not set +# CONFIG_LOGIWHEELS_FF is not set +CONFIG_HID_MAGICMOUSE=y +CONFIG_HID_MICROSOFT=y +CONFIG_HID_MONTEREY=y +# CONFIG_HID_MULTITOUCH is not set +CONFIG_HID_NTRIG=y +# CONFIG_HID_ORTEK is not set +CONFIG_HID_PANTHERLORD=y +# CONFIG_PANTHERLORD_FF is not set +CONFIG_HID_PETALYNX=y +# CONFIG_HID_PICOLCD is not set +# CONFIG_HID_PRIMAX is not set +# CONFIG_HID_PS3REMOTE is not set +# CONFIG_HID_ROCCAT is not set +# CONFIG_HID_SAITEK is not set +CONFIG_HID_SAMSUNG=y +CONFIG_HID_SONY=y +# CONFIG_HID_SPEEDLINK is not set +# CONFIG_HID_STEELSERIES is not set +CONFIG_HID_SUNPLUS=y +CONFIG_HID_GREENASIA=y +# CONFIG_GREENASIA_FF is not set +CONFIG_HID_SMARTJOYPLUS=y +# CONFIG_SMARTJOYPLUS_FF is not set +# CONFIG_HID_TIVO is not set +CONFIG_HID_TOPSEED=y +# CONFIG_HID_THINGM is not set +CONFIG_HID_THRUSTMASTER=y +# CONFIG_THRUSTMASTER_FF is not set +# CONFIG_HID_WACOM is not set +# CONFIG_HID_WIIMOTE is not set +CONFIG_HID_ZEROPLUS=y +# CONFIG_ZEROPLUS_FF is not set +# CONFIG_HID_ZYDACRON is not set +# CONFIG_HID_SENSOR_HUB is not set +CONFIG_HID_LAB126=y + +# +# USB HID support +# +CONFIG_USB_HID=y +# CONFIG_HID_PID is not set +# CONFIG_USB_HIDDEV is not set + +# +# I2C HID support +# +# CONFIG_I2C_HID is not set +# CONFIG_USB_ARCH_HAS_OHCI is not set +# CONFIG_USB_ARCH_HAS_EHCI is not set +# CONFIG_USB_ARCH_HAS_XHCI is not set +CONFIG_USB_SUPPORT=y +CONFIG_USB_COMMON=y +CONFIG_USB_ARCH_HAS_HCD=y +CONFIG_USB=y +# CONFIG_USB_DEBUG is not set +# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set + +# +# Miscellaneous USB options +# +CONFIG_USB_DEFAULT_PERSIST=y +# CONFIG_USB_DYNAMIC_MINORS is not set +# CONFIG_USB_OTG_WHITELIST is not set +# CONFIG_USB_OTG_BLACKLIST_HUB is not set +# CONFIG_USB_MON is not set +# CONFIG_USB_WUSB_CBAF is not set + +# +# USB Host Controller Drivers +# +# CONFIG_USB_C67X00_HCD is not set +# CONFIG_USB_OXU210HP_HCD is not set +# CONFIG_USB_ISP116X_HCD is not set +# CONFIG_USB_ISP1760_HCD is not set +# CONFIG_USB_ISP1362_HCD is not set +# CONFIG_USB_SL811_HCD is not set +# CONFIG_USB_R8A66597_HCD is not set +# CONFIG_USB_MUSB_HDRC is not set +# CONFIG_USB_RENESAS_USBHS is not set + +# +# USB Device Class drivers +# +CONFIG_USB_ACM=y +CONFIG_USB_PRINTER=y +# CONFIG_USB_WDM is not set +# CONFIG_USB_TMC is not set + +# +# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may +# + +# +# also be needed; see USB_STORAGE Help for more info +# +CONFIG_USB_STORAGE=y +# CONFIG_USB_STORAGE_DEBUG is not set +# CONFIG_USB_STORAGE_REALTEK is not set +CONFIG_USB_STORAGE_DATAFAB=y +CONFIG_USB_STORAGE_FREECOM=y +CONFIG_USB_STORAGE_ISD200=y +CONFIG_USB_STORAGE_USBAT=y +CONFIG_USB_STORAGE_SDDR09=y +CONFIG_USB_STORAGE_SDDR55=y +CONFIG_USB_STORAGE_JUMPSHOT=y +CONFIG_USB_STORAGE_ALAUDA=y +CONFIG_USB_STORAGE_ONETOUCH=y +CONFIG_USB_STORAGE_KARMA=y +CONFIG_USB_STORAGE_CYPRESS_ATACB=y +# CONFIG_USB_STORAGE_ENE_UB6250 is not set + +# +# USB Imaging devices +# +# CONFIG_USB_MDC800 is not set +# CONFIG_USB_MICROTEK is not set +# CONFIG_USB_DWC3 is not set +# CONFIG_USB_CHIPIDEA is not set + +# +# USB port drivers +# +CONFIG_USB_SERIAL=y +# CONFIG_USB_SERIAL_CONSOLE is not set +# CONFIG_USB_SERIAL_GENERIC is not set +# CONFIG_USB_SERIAL_AIRCABLE is not set +# CONFIG_USB_SERIAL_ARK3116 is not set +# CONFIG_USB_SERIAL_BELKIN is not set +# CONFIG_USB_SERIAL_CH341 is not set +# CONFIG_USB_SERIAL_WHITEHEAT is not set +# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set +# CONFIG_USB_SERIAL_CP210X is not set +# CONFIG_USB_SERIAL_CYPRESS_M8 is not set +# CONFIG_USB_SERIAL_EMPEG is not set +# CONFIG_USB_SERIAL_FTDI_SIO is not set +# CONFIG_USB_SERIAL_FUNSOFT is not set +# CONFIG_USB_SERIAL_VISOR is not set +# CONFIG_USB_SERIAL_IPAQ is not set +# CONFIG_USB_SERIAL_IR is not set +# CONFIG_USB_SERIAL_EDGEPORT is not set +# CONFIG_USB_SERIAL_EDGEPORT_TI is not set +# CONFIG_USB_SERIAL_F81232 is not set +# CONFIG_USB_SERIAL_GARMIN is not set +# CONFIG_USB_SERIAL_IPW is not set +# CONFIG_USB_SERIAL_IUU is not set +# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set +# CONFIG_USB_SERIAL_KEYSPAN is not set +# CONFIG_USB_SERIAL_KLSI is not set +# CONFIG_USB_SERIAL_KOBIL_SCT is not set +# CONFIG_USB_SERIAL_MCT_U232 is not set +# CONFIG_USB_SERIAL_METRO is not set +# CONFIG_USB_SERIAL_MOS7720 is not set +# CONFIG_USB_SERIAL_MOS7840 is not set +# CONFIG_USB_SERIAL_MOTOROLA is not set +# CONFIG_USB_SERIAL_NAVMAN is not set +CONFIG_USB_SERIAL_PL2303=y +# CONFIG_USB_SERIAL_OTI6858 is not set +# CONFIG_USB_SERIAL_QCAUX is not set +# CONFIG_USB_SERIAL_QUALCOMM is not set +# CONFIG_USB_SERIAL_SPCP8X5 is not set +# CONFIG_USB_SERIAL_HP4X is not set +# CONFIG_USB_SERIAL_SAFE is not set +# CONFIG_USB_SERIAL_SIEMENS_MPI is not set +# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set +# CONFIG_USB_SERIAL_SYMBOL is not set +# CONFIG_USB_SERIAL_TI is not set +# CONFIG_USB_SERIAL_CYBERJACK is not set +# CONFIG_USB_SERIAL_XIRCOM is not set +CONFIG_USB_SERIAL_WWAN=y +CONFIG_USB_SERIAL_OPTION=y +# CONFIG_USB_SERIAL_OMNINET is not set +# CONFIG_USB_SERIAL_OPTICON is not set +# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set +# CONFIG_USB_SERIAL_XSENS_MT is not set +# CONFIG_USB_SERIAL_ZIO is not set +# CONFIG_USB_SERIAL_WISHBONE is not set +# CONFIG_USB_SERIAL_ZTE is not set +# CONFIG_USB_SERIAL_SSU100 is not set +# CONFIG_USB_SERIAL_QT2 is not set +# CONFIG_USB_SERIAL_DEBUG is not set + +# +# USB Miscellaneous drivers +# +# CONFIG_USB_EMI62 is not set +# CONFIG_USB_EMI26 is not set +# CONFIG_USB_ADUTUX is not set +# CONFIG_USB_SEVSEG is not set +# CONFIG_USB_RIO500 is not set +# CONFIG_USB_LEGOTOWER is not set +# CONFIG_USB_LCD is not set +# CONFIG_USB_LED is not set +# CONFIG_USB_CYPRESS_CY7C63 is not set +# CONFIG_USB_CYTHERM is not set +# CONFIG_USB_IDMOUSE is not set +# CONFIG_USB_FTDI_ELAN is not set +# CONFIG_USB_APPLEDISPLAY is not set +# CONFIG_USB_LD is not set +CONFIG_USB_TRANCEVIBRATOR=y +# CONFIG_USB_IOWARRIOR is not set +# CONFIG_USB_TEST is not set +# CONFIG_USB_ISIGHTFW is not set +# CONFIG_USB_YUREX is not set +# CONFIG_USB_EZUSB_FX2 is not set +# CONFIG_USB_HSIC_USB3503 is not set +CONFIG_USB_PHY=y +# CONFIG_USB_OTG_WAKELOCK is not set +CONFIG_NOP_USB_XCEIV=y +# CONFIG_OMAP_CONTROL_USB is not set +# CONFIG_OMAP_USB3 is not set +# CONFIG_SAMSUNG_USBPHY is not set +# CONFIG_SAMSUNG_USB2PHY is not set +# CONFIG_SAMSUNG_USB3PHY is not set +# CONFIG_USB_GPIO_VBUS is not set +# CONFIG_USB_ISP1301 is not set +# CONFIG_USB_RCAR_PHY is not set +# CONFIG_USB_ULPI is not set +CONFIG_USB_GADGET=y +# CONFIG_USB_GADGET_DEBUG is not set +# CONFIG_USB_GADGET_DEBUG_FILES is not set +# CONFIG_USB_GADGET_DEBUG_FS is not set +CONFIG_USB_GADGET_VBUS_DRAW=500 +CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 + +# +# USB Peripheral Controller +# +# CONFIG_USB_FUSB300 is not set +# CONFIG_USB_R8A66597 is not set +# CONFIG_USB_PXA27X is not set +# CONFIG_USB_MV_UDC is not set +# CONFIG_USB_MV_U3D is not set +# CONFIG_USB_M66592 is not set +# CONFIG_USB_NET2272 is not set +# CONFIG_USB_DUMMY_HCD is not set +CONFIG_USB_LIBCOMPOSITE=y +CONFIG_USB_F_ACM=y +CONFIG_USB_U_SERIAL=y +CONFIG_USB_F_SERIAL=y +# CONFIG_USB_ZERO is not set +# CONFIG_USB_AUDIO is not set +# CONFIG_USB_ETH is not set +# CONFIG_USB_G_NCM is not set +# CONFIG_USB_GADGETFS is not set +# CONFIG_USB_FUNCTIONFS is not set +# CONFIG_USB_MASS_STORAGE is not set +# CONFIG_USB_G_SERIAL is not set +# CONFIG_USB_MIDI_GADGET is not set +# CONFIG_USB_G_PRINTER is not set +CONFIG_USB_G_ANDROID=y +# CONFIG_USB_ANDROID_RNDIS_DWORD_ALIGNED is not set +# CONFIG_USB_CDC_COMPOSITE is not set +# CONFIG_USB_G_ACM_MS is not set +# CONFIG_USB_G_MULTI is not set +# CONFIG_USB_G_HID is not set +# CONFIG_USB_G_DBGP is not set +CONFIG_MMC=y +# CONFIG_MMC_DEBUG is not set +CONFIG_MMC_UNSAFE_RESUME=y +# CONFIG_MMC_CLKGATE is not set +# CONFIG_MMC_EMBEDDED_SDIO is not set +# CONFIG_MMC_PARANOID_SD_INIT is not set +CONFIG_MMC_SAMSUNG_SMART=y + +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC_BLOCK=y +CONFIG_MMC_BLOCK_MINORS=32 +CONFIG_MMC_BLOCK_BOUNCE=y +# CONFIG_MMC_BLOCK_DEFERRED_RESUME is not set +# CONFIG_SDIO_UART is not set +# CONFIG_MMC_TEST is not set + +# +# MMC/SD/SDIO Host Controller Drivers +# +# CONFIG_MMC_ARMMMCI is not set +# CONFIG_MMC_SDHCI is not set +# CONFIG_MMC_DW is not set +# CONFIG_MMC_VUB300 is not set +# CONFIG_MMC_USHC is not set +# CONFIG_MTK_STORAGE_PERF_LOGGING is not set +# CONFIG_MEMSTICK is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y + +# +# LED drivers +# +# CONFIG_LEDS_LM3530 is not set +# CONFIG_LEDS_LM3642 is not set +# CONFIG_LEDS_PCA9532 is not set +# CONFIG_LEDS_GPIO is not set +# CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_LP5521 is not set +# CONFIG_LEDS_LP5523 is not set +# CONFIG_LEDS_LP5562 is not set +# CONFIG_LEDS_PCA955X is not set +# CONFIG_LEDS_PCA9633 is not set +# CONFIG_LEDS_DAC124S085 is not set +# CONFIG_LEDS_BD2802 is not set +# CONFIG_LEDS_LT3593 is not set +# CONFIG_LEDS_TCA6507 is not set +# CONFIG_LEDS_LM355x is not set +# CONFIG_LEDS_OT200 is not set +# CONFIG_LEDS_BLINKM is not set + +# +# LED Triggers +# +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y +# CONFIG_LEDS_TRIGGER_ONESHOT is not set +# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +# CONFIG_LEDS_TRIGGER_CPU is not set +# CONFIG_LEDS_TRIGGER_GPIO is not set +# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set + +# +# iptables trigger is under Netfilter config (LED target) +# +# CONFIG_LEDS_TRIGGER_TRANSIENT is not set +# CONFIG_LEDS_TRIGGER_CAMERA is not set +CONFIG_SWITCH=y +# CONFIG_SWITCH_GPIO is not set +# CONFIG_ACCESSIBILITY is not set +# CONFIG_EDAC is not set +CONFIG_RTC_LIB=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_HCTOSYS=y +CONFIG_RTC_SYSTOHC=y +CONFIG_RTC_HCTOSYS_DEVICE="rtc0" +# CONFIG_RTC_DEBUG is not set + +# +# RTC interfaces +# +CONFIG_RTC_INTF_SYSFS=y +CONFIG_RTC_INTF_PROC=y +CONFIG_RTC_INTF_DEV=y +# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set +# CONFIG_RTC_DRV_TEST is not set + +# +# I2C RTC drivers +# +# CONFIG_RTC_DRV_DS1307 is not set +# CONFIG_RTC_DRV_DS1374 is not set +# CONFIG_RTC_DRV_DS1672 is not set +# CONFIG_RTC_DRV_DS3232 is not set +# CONFIG_RTC_DRV_MAX6900 is not set +# CONFIG_RTC_DRV_RS5C372 is not set +# CONFIG_RTC_DRV_ISL1208 is not set +# CONFIG_RTC_DRV_ISL12022 is not set +# CONFIG_RTC_DRV_X1205 is not set +# CONFIG_RTC_DRV_PCF8523 is not set +# CONFIG_RTC_DRV_PCF8563 is not set +# CONFIG_RTC_DRV_PCF8583 is not set +# CONFIG_RTC_DRV_M41T80 is not set +# CONFIG_RTC_DRV_BQ32K is not set +# CONFIG_RTC_DRV_S35390A is not set +# CONFIG_RTC_DRV_FM3130 is not set +# CONFIG_RTC_DRV_RX8581 is not set +# CONFIG_RTC_DRV_RX8025 is not set +# CONFIG_RTC_DRV_EM3027 is not set +# CONFIG_RTC_DRV_RV3029C2 is not set + +# +# SPI RTC drivers +# +# CONFIG_RTC_DRV_M41T93 is not set +# CONFIG_RTC_DRV_M41T94 is not set +# CONFIG_RTC_DRV_DS1305 is not set +# CONFIG_RTC_DRV_DS1390 is not set +# CONFIG_RTC_DRV_MAX6902 is not set +# CONFIG_RTC_DRV_R9701 is not set +# CONFIG_RTC_DRV_RS5C348 is not set +# CONFIG_RTC_DRV_DS3234 is not set +# CONFIG_RTC_DRV_PCF2123 is not set +# CONFIG_RTC_DRV_RX4581 is not set + +# +# Platform RTC drivers +# +# CONFIG_RTC_DRV_CMOS is not set +# CONFIG_RTC_DRV_DS1286 is not set +# CONFIG_RTC_DRV_DS1511 is not set +# CONFIG_RTC_DRV_DS1553 is not set +# CONFIG_RTC_DRV_DS1742 is not set +# CONFIG_RTC_DRV_STK17TA8 is not set +# CONFIG_RTC_DRV_M48T86 is not set +# CONFIG_RTC_DRV_M48T35 is not set +# CONFIG_RTC_DRV_M48T59 is not set +# CONFIG_RTC_DRV_MSM6242 is not set +# CONFIG_RTC_DRV_BQ4802 is not set +# CONFIG_RTC_DRV_RP5C01 is not set +# CONFIG_RTC_DRV_V3020 is not set +# CONFIG_RTC_DRV_DS2404 is not set + +# +# on-CPU RTC drivers +# +# CONFIG_RTC_DRV_PL030 is not set +# CONFIG_RTC_DRV_PL031 is not set + +# +# HID Sensor RTC drivers +# +# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set +# CONFIG_DMADEVICES is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set +# CONFIG_VIRT_DRIVERS is not set + +# +# Virtio drivers +# +# CONFIG_VIRTIO_MMIO is not set + +# +# Microsoft Hyper-V guest support +# +CONFIG_STAGING=y +# CONFIG_USBIP_CORE is not set +# CONFIG_W35UND is not set +# CONFIG_PRISM2_USB is not set +# CONFIG_ECHO is not set +# CONFIG_COMEDI is not set +# CONFIG_ASUS_OLED is not set +# CONFIG_RTLLIB is not set +# CONFIG_R8712U is not set +# CONFIG_RTS5139 is not set +# CONFIG_TRANZPORT is not set +# CONFIG_LINE6_USB is not set +# CONFIG_USB_SERIAL_QUATECH2 is not set +# CONFIG_VT6656 is not set +CONFIG_ZSMALLOC=y +CONFIG_ZRAM=y +CONFIG_ZRAM_DEBUG=y +# CONFIG_USB_ENESTORAGE is not set +# CONFIG_BCM_WIMAX is not set +# CONFIG_FT1000 is not set + +# +# Speakup console speech +# +# CONFIG_SPEAKUP is not set +# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set +# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set +# CONFIG_STAGING_MEDIA is not set + +# +# Android +# +CONFIG_ANDROID=y +CONFIG_ANDROID_BINDER_IPC=y +CONFIG_ANDROID_BINDER_IPC_32BIT=y +CONFIG_ASHMEM=y +# CONFIG_ANDROID_LOGGER is not set +CONFIG_ANDROID_TIMED_OUTPUT=y +# CONFIG_ANDROID_TIMED_GPIO is not set +CONFIG_ANDROID_LOW_MEMORY_KILLER=y +CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES=y +CONFIG_ANDROID_INTF_ALARM_DEV=y +CONFIG_SYNC=y +CONFIG_SW_SYNC=y +CONFIG_SW_SYNC_USER=y +# CONFIG_AMAZON_LOG is not set +# CONFIG_MTK_LCA_RAM_OPTIMIZE is not set +CONFIG_ION=y +# CONFIG_ION_TEST is not set +# CONFIG_FIQ_DEBUGGER is not set +# CONFIG_FIQ_WATCHDOG is not set +# CONFIG_USB_WPAN_HCD is not set +# CONFIG_WIMAX_GDM72XX is not set +# CONFIG_CSR_WIFI is not set +# CONFIG_CED1401 is not set +# CONFIG_DGRP is not set +# CONFIG_ZCACHE is not set + +# +# AMAZON +# +CONFIG_AMAZON=y +# CONFIG_IDME is not set +# CONFIG_AMAZON_SIGN_OF_LIFE is not set +# CONFIG_AMAZON_SIGN_OF_LIFE_MTK is not set +# CONFIG_AMAZON_POWEROFF_LOG is not set +# CONFIG_MDUMP is not set +# CONFIG_MDUMP_COMPRESS is not set +# CONFIG_AMAZON_LL_LOG is not set +CONFIG_TRAPZ=y +# CONFIG_TRAPZ_TP is not set +# CONFIG_TRAPZ_TRIGGER is not set + +# +# Hardware Spinlock drivers +# +# CONFIG_MAILBOX is not set +# CONFIG_IOMMU_SUPPORT is not set + +# +# Remoteproc drivers +# +# CONFIG_STE_MODEM_RPROC is not set + +# +# Rpmsg drivers +# +# CONFIG_PM_DEVFREQ is not set +# CONFIG_EXTCON is not set +# CONFIG_MEMORY is not set +# CONFIG_IIO is not set +# CONFIG_PWM is not set +# CONFIG_IPACK_BUS is not set +# CONFIG_RESET_CONTROLLER is not set + +# +# File systems +# +CONFIG_DCACHE_WORD_ACCESS=y +# CONFIG_EXT2_FS is not set +# CONFIG_EXT3_FS is not set +CONFIG_EXT4_FS=y +# CONFIG_EXT4_USE_FOR_EXT23 is not set +# CONFIG_EXT4_FS_POSIX_ACL is not set +CONFIG_EXT4_FS_SECURITY=y +# CONFIG_EXT4_DEBUG is not set +CONFIG_JBD2=y +# CONFIG_JBD2_DEBUG is not set +CONFIG_FS_MBCACHE=y +# CONFIG_REISERFS_FS is not set +# CONFIG_JFS_FS is not set +# CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set +# CONFIG_OCFS2_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +CONFIG_FS_POSIX_ACL=y +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +CONFIG_INOTIFY_USER=y +# CONFIG_FANOTIFY is not set +# CONFIG_QUOTA is not set +# CONFIG_QUOTACTL is not set +# CONFIG_AUTOFS4_FS is not set +CONFIG_FUSE_FS=y +# CONFIG_CUSE is not set +CONFIG_GENERIC_ACL=y + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# CD-ROM/DVD Filesystems +# +CONFIG_ISO9660_FS=y +CONFIG_JOLIET=y +CONFIG_ZISOFS=y +# CONFIG_UDF_FS is not set + +# +# DOS/FAT/NT Filesystems +# +CONFIG_FAT_FS=y +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" +# CONFIG_NTFS_FS is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_TMPFS_XATTR=y +# CONFIG_HUGETLB_PAGE is not set +CONFIG_CONFIGFS_FS=y +CONFIG_MISC_FILESYSTEMS=y +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +# CONFIG_JFFS2_FS is not set +# CONFIG_LOGFS is not set +# CONFIG_CRAMFS is not set +CONFIG_SQUASHFS=y +CONFIG_SQUASHFS_XATTR=y +# CONFIG_SQUASHFS_ZLIB is not set +CONFIG_SQUASHFS_LZO=y +# CONFIG_SQUASHFS_XZ is not set +CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y +# CONFIG_SQUASHFS_EMBEDDED is not set +CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 +# CONFIG_VXFS_FS is not set +# CONFIG_MINIX_FS is not set +# CONFIG_OMFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +# CONFIG_QNX6FS_FS is not set +# CONFIG_ROMFS_FS is not set +# CONFIG_PSTORE is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set +# CONFIG_F2FS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +# CONFIG_NFS_FS is not set +# CONFIG_NFSD is not set +# CONFIG_CEPH_FS is not set +# CONFIG_CIFS is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +CONFIG_NLS_CODEPAGE_437=y +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +# CONFIG_NLS_CODEPAGE_864 is not set +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +CONFIG_NLS_CODEPAGE_950=y +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y +# CONFIG_NLS_ISO8859_2 is not set +# CONFIG_NLS_ISO8859_3 is not set +# CONFIG_NLS_ISO8859_4 is not set +# CONFIG_NLS_ISO8859_5 is not set +# CONFIG_NLS_ISO8859_6 is not set +# CONFIG_NLS_ISO8859_7 is not set +# CONFIG_NLS_ISO8859_9 is not set +# CONFIG_NLS_ISO8859_13 is not set +# CONFIG_NLS_ISO8859_14 is not set +# CONFIG_NLS_ISO8859_15 is not set +# CONFIG_NLS_KOI8_R is not set +# CONFIG_NLS_KOI8_U is not set +# CONFIG_NLS_MAC_ROMAN is not set +# CONFIG_NLS_MAC_CELTIC is not set +# CONFIG_NLS_MAC_CENTEURO is not set +# CONFIG_NLS_MAC_CROATIAN is not set +# CONFIG_NLS_MAC_CYRILLIC is not set +# CONFIG_NLS_MAC_GAELIC is not set +# CONFIG_NLS_MAC_GREEK is not set +# CONFIG_NLS_MAC_ICELAND is not set +# CONFIG_NLS_MAC_INUIT is not set +# CONFIG_NLS_MAC_ROMANIAN is not set +# CONFIG_NLS_MAC_TURKISH is not set +CONFIG_NLS_UTF8=y +# CONFIG_DLM is not set + +# +# Kernel hacking +# +CONFIG_PRINTK_TIME=y +CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1400 +CONFIG_MAGIC_SYSRQ=y +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_READABLE_ASM is not set +# CONFIG_UNUSED_SYMBOLS is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +CONFIG_LOCKUP_DETECTOR=y +CONFIG_HARDLOCKUP_DETECTOR_OTHER_CPU=y +CONFIG_HARDLOCKUP_DETECTOR=y +# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0 +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +CONFIG_PANIC_ON_OOPS=y +CONFIG_PANIC_ON_OOPS_VALUE=1 +# CONFIG_DETECT_HUNG_TASK is not set +CONFIG_SCHED_DEBUG=y +CONFIG_SCHEDSTATS=y +# CONFIG_TIMER_STATS is not set +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_STATS is not set +CONFIG_HAVE_DEBUG_KMEMLEAK=y +# CONFIG_DEBUG_KMEMLEAK is not set +CONFIG_DEBUG_PREEMPT=y +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_RT_MUTEX_TESTER is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +CONFIG_STACKTRACE=y +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_KOBJECT is not set +# CONFIG_DEBUG_HIGHMEM is not set +# CONFIG_DEBUG_BUGVERBOSE is not set +# CONFIG_DEBUG_INFO is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_WRITECOUNT is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +# CONFIG_DEBUG_LIST is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +CONFIG_FRAME_POINTER=y +# CONFIG_BOOT_PRINTK_DELAY is not set + +# +# RCU Debugging +# +# CONFIG_PROVE_RCU_DELAY is not set +# CONFIG_SPARSE_RCU_POINTER is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_TIMEOUT=60 +CONFIG_RCU_CPU_STALL_VERBOSE=y +# CONFIG_RCU_CPU_STALL_INFO is not set +# CONFIG_RCU_TRACE is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_DEBUG_PER_CPU_MAPS is not set +# CONFIG_LKDTM is not set +# CONFIG_NOTIFIER_ERROR_INJECTION is not set +# CONFIG_FAULT_INJECTION is not set +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_TRACE_CLOCK=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_TRACING=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +# CONFIG_FUNCTION_TRACER is not set +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_FTRACE_SYSCALLS is not set +# CONFIG_TRACER_SNAPSHOT is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +# CONFIG_STACK_TRACER is not set +# CONFIG_BLK_DEV_IO_TRACE is not set +# CONFIG_PROBE_EVENTS is not set +# CONFIG_FTRACE_STARTUP_TEST is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_RING_BUFFER_STARTUP_TEST is not set +# CONFIG_RBTREE_TEST is not set +# CONFIG_INTERVAL_TREE_TEST is not set +# CONFIG_DYNAMIC_DEBUG is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_TEST_STRING_HELPERS is not set +# CONFIG_TEST_KSTRTOX is not set +CONFIG_STRICT_DEVMEM=y +# CONFIG_ARM_UNWIND is not set +# CONFIG_DEBUG_USER is not set +CONFIG_DEBUG_RODATA=y +# CONFIG_DEBUG_RODATA_TEST is not set +# CONFIG_DEBUG_LL is not set +CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" +CONFIG_UNCOMPRESS_INCLUDE="mach/uncompress.h" +# CONFIG_OC_ETM is not set +# CONFIG_PID_IN_CONTEXTIDR is not set + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set +# CONFIG_SECURITY_PERF_EVENTS_RESTRICT is not set +CONFIG_SECURITY=y +# CONFIG_SECURITYFS is not set +CONFIG_SECURITY_NETWORK=y +# CONFIG_SECURITY_NETWORK_XFRM is not set +# CONFIG_SECURITY_PATH is not set +CONFIG_LSM_MMAP_MIN_ADDR=32768 +CONFIG_SECURITY_SELINUX=y +CONFIG_SECURITY_SELINUX_BOOTPARAM=y +CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 +# CONFIG_SECURITY_SELINUX_DISABLE is not set +CONFIG_SECURITY_SELINUX_DEVELOP=y +# CONFIG_SECURITY_SELINUX_KERN_PERMISSIVE is not set +CONFIG_SECURITY_SELINUX_AVC_STATS=y +CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1 +# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set +# CONFIG_SECURITY_SMACK is not set +# CONFIG_SECURITY_TOMOYO is not set +# CONFIG_SECURITY_APPARMOR is not set +# CONFIG_SECURITY_YAMA is not set +# CONFIG_IMA is not set +CONFIG_DEFAULT_SECURITY_SELINUX=y +# CONFIG_DEFAULT_SECURITY_DAC is not set +CONFIG_DEFAULT_SECURITY="selinux" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +CONFIG_CRYPTO_AEAD=y +CONFIG_CRYPTO_AEAD2=y +CONFIG_CRYPTO_BLKCIPHER=y +CONFIG_CRYPTO_BLKCIPHER2=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_PCOMP2=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +# CONFIG_CRYPTO_USER is not set +CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y +CONFIG_CRYPTO_GF128MUL=y +# CONFIG_CRYPTO_NULL is not set +# CONFIG_CRYPTO_PCRYPT is not set +CONFIG_CRYPTO_WORKQUEUE=y +# CONFIG_CRYPTO_CRYPTD is not set +CONFIG_CRYPTO_AUTHENC=y +# CONFIG_CRYPTO_TEST is not set + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +CONFIG_CRYPTO_CBC=y +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +CONFIG_CRYPTO_ECB=y +# CONFIG_CRYPTO_LRW is not set +# CONFIG_CRYPTO_PCBC is not set +CONFIG_CRYPTO_XTS=y + +# +# Hash modes +# +# CONFIG_CRYPTO_CMAC is not set +CONFIG_CRYPTO_HMAC=y +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +CONFIG_CRYPTO_CRC32C=y +# CONFIG_CRYPTO_CRC32 is not set +# CONFIG_CRYPTO_GHASH is not set +# CONFIG_CRYPTO_MD4 is not set +CONFIG_CRYPTO_MD5=y +# CONFIG_CRYPTO_MICHAEL_MIC is not set +# CONFIG_CRYPTO_RMD128 is not set +# CONFIG_CRYPTO_RMD160 is not set +# CONFIG_CRYPTO_RMD256 is not set +# CONFIG_CRYPTO_RMD320 is not set +CONFIG_CRYPTO_SHA1=y +# CONFIG_CRYPTO_SHA1_ARM is not set +CONFIG_CRYPTO_SHA256=y +# CONFIG_CRYPTO_SHA512 is not set +# CONFIG_CRYPTO_TGR192 is not set +# CONFIG_CRYPTO_WP512 is not set + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +CONFIG_CRYPTO_AES_ARM=y +# CONFIG_CRYPTO_AES_ARM32_CE is not set +# CONFIG_CRYPTO_ANUBIS is not set +CONFIG_CRYPTO_ARC4=y +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_CAMELLIA is not set +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +CONFIG_CRYPTO_DES=y +# CONFIG_CRYPTO_FCRYPT is not set +# CONFIG_CRYPTO_KHAZAD is not set +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SEED is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_TEA is not set +CONFIG_CRYPTO_TWOFISH=y +CONFIG_CRYPTO_TWOFISH_COMMON=y + +# +# Compression +# +CONFIG_CRYPTO_DEFLATE=y +# CONFIG_CRYPTO_ZLIB is not set +CONFIG_CRYPTO_LZO=y + +# +# Random Number Generation +# +# CONFIG_CRYPTO_ANSI_CPRNG is not set +CONFIG_CRYPTO_USER_API=y +CONFIG_CRYPTO_USER_API_HASH=y +CONFIG_CRYPTO_USER_API_SKCIPHER=y +# CONFIG_CRYPTO_HW is not set +CONFIG_BINARY_PRINTF=y + +# +# Library routines +# +CONFIG_BITREVERSE=y +CONFIG_GENERIC_STRNCPY_FROM_USER=y +CONFIG_GENERIC_STRNLEN_USER=y +CONFIG_GENERIC_PCI_IOMAP=y +CONFIG_GENERIC_IO=y +CONFIG_CRC_CCITT=y +CONFIG_CRC16=y +# CONFIG_CRC_T10DIF is not set +# CONFIG_CRC_ITU_T is not set +CONFIG_CRC32=y +# CONFIG_CRC32_SELFTEST is not set +CONFIG_CRC32_SLICEBY8=y +# CONFIG_CRC32_SLICEBY4 is not set +# CONFIG_CRC32_SARWATE is not set +# CONFIG_CRC32_BIT is not set +# CONFIG_CRC7 is not set +CONFIG_LIBCRC32C=y +# CONFIG_CRC8 is not set +CONFIG_AUDIT_GENERIC=y +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=y +CONFIG_LZO_COMPRESS=y +CONFIG_LZO_DECOMPRESS=y +# CONFIG_LZ4K is not set +CONFIG_XZ_DEC=y +# CONFIG_XZ_DEC_X86 is not set +# CONFIG_XZ_DEC_POWERPC is not set +# CONFIG_XZ_DEC_IA64 is not set +CONFIG_XZ_DEC_ARM=y +CONFIG_XZ_DEC_ARMTHUMB=y +# CONFIG_XZ_DEC_SPARC is not set +CONFIG_XZ_DEC_BCJ=y +# CONFIG_XZ_DEC_TEST is not set +CONFIG_DECOMPRESS_GZIP=y +CONFIG_DECOMPRESS_XZ=y +CONFIG_GENERIC_ALLOCATOR=y +CONFIG_TEXTSEARCH=y +CONFIG_TEXTSEARCH_KMP=y +CONFIG_TEXTSEARCH_BM=y +CONFIG_TEXTSEARCH_FSM=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y +CONFIG_CPU_RMAP=y +CONFIG_DQL=y +CONFIG_NLATTR=y +CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y +CONFIG_AVERAGE=y +# CONFIG_CORDIC is not set +# CONFIG_DDR is not set +# CONFIG_VIRTUALIZATION is not set diff --git a/device/testing/linux-amazon-austin/fix-host-card-inserted.patch b/device/testing/linux-amazon-austin/fix-host-card-inserted.patch new file mode 100644 index 000000000..239354d25 --- /dev/null +++ b/device/testing/linux-amazon-austin/fix-host-card-inserted.patch @@ -0,0 +1,31 @@ +diff --git a/drivers/misc/mediatek/mmc-host/mt8127/sd.c b/drivers/misc/mediatek/mmc-host/mt8127/sd.c +index b78d8f83..d6f0130d 100644 +--- a/drivers/misc/mediatek/mmc-host/mt8127/sd.c ++++ b/drivers/misc/mediatek/mmc-host/mt8127/sd.c +@@ -216,7 +216,7 @@ MSDC_DEV_ATTR(cmdtimeout_count, "%d", host->cmdtimeout_count, u32); + MSDC_DEV_ATTR(reqtimeout_count, "%d", host->reqtimeout_count, u32); + MSDC_DEV_ATTR(pc_count, "%d", host->pc_count, u32); + MSDC_DEV_ATTR(pc_suspend, "%d", host->pc_suspend, u32); +-MSDC_DEV_ATTR(inserted, "%d", host->inserted, u32); ++MSDC_DEV_ATTR(inserted, "%d", host->card_inserted, u32); + + static struct device_attribute *msdc_attrs[] = { + &dev_attr_crc_count, +@@ -271,7 +271,7 @@ static void msdc_metrics_work(struct work_struct *work) + MSDC_LOG_COUNTER_TO_VITALS(reqto, host->reqtimeout_count); + MSDC_LOG_COUNTER_TO_VITALS(pc_count, host->pc_count); + MSDC_LOG_COUNTER_TO_VITALS(pc_suspend, host->pc_suspend); +- MSDC_LOG_COUNTER_TO_VITALS(inserted, host->inserted); ++ MSDC_LOG_COUNTER_TO_VITALS(inserted, host->card_inserted); + } + #endif + +@@ -1908,7 +1908,7 @@ static void msdc_tasklet_card(unsigned long arg) + } + + if ((host->hw->host_function == MSDC_SD) && inserted) { +- host->inserted++; ++ host->card_inserted++; + #ifdef CONFIG_AMAZON_METRICS_LOG + mod_delayed_work(system_wq, &host->metrics_work, METRICS_DELAY); + #endif diff --git a/device/testing/linux-amazon-austin/gcc4-compile-fixes.patch b/device/testing/linux-amazon-austin/gcc4-compile-fixes.patch new file mode 100644 index 000000000..5736276c0 --- /dev/null +++ b/device/testing/linux-amazon-austin/gcc4-compile-fixes.patch @@ -0,0 +1,26 @@ +diff --git a/arch/arm/mach-mt8127/ford/touchpanel/tpd_debug.c b/arch/arm/mach-mt8127/ford/touchpanel/tpd_debug.c +index aa1515d9..3df17b83 100644 +--- a/arch/arm/mach-mt8127/ford/touchpanel/tpd_debug.c ++++ b/arch/arm/mach-mt8127/ford/touchpanel/tpd_debug.c +@@ -4,7 +4,7 @@ + #include + #include + #include +-#include ++#include "tpd.h" + + #ifdef TPD_DEBUG_CODE + int tpd_fail_count = 0; +diff --git a/drivers/thermal/virtual_sensor_cpufreq_cooling.c b/drivers/thermal/virtual_sensor_cpufreq_cooling.c +index 99c4cae1..705993b1 100644 +--- a/drivers/thermal/virtual_sensor_cpufreq_cooling.c ++++ b/drivers/thermal/virtual_sensor_cpufreq_cooling.c +@@ -29,7 +29,7 @@ + #include + #include + #include +-#include ++#include "thermal_core.h" + + #define MAX_STATE 4 /* 0-4 total 5 */ + diff --git a/device/testing/linux-amazon-austin/silence-battery-logspam.patch b/device/testing/linux-amazon-austin/silence-battery-logspam.patch new file mode 100644 index 000000000..64b7b475c --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-battery-logspam.patch @@ -0,0 +1,56 @@ +diff --git a/include/mach/charging.h b/include/mach/charging.h +index a6c2a4cb..49379bba 100644 +--- a/include/mach/charging.h ++++ b/include/mach/charging.h +@@ -43,12 +43,13 @@ + #define BAT_LOG_CRTI 1 + #define BAT_LOG_FULL 2 + +-#define battery_xlog_printk(num, fmt, args...) \ +- do { \ +- if (Enable_BATDRV_LOG >= (int)num) { \ +- pr_notice(fmt, ##args); \ +- } \ +- } while (0) ++//#define battery_xlog_printk(num, fmt, args...) \ ++// do { \ ++// if (Enable_BATDRV_LOG >= (int)num) { \ ++// pr_notice(fmt, ##args); \ ++// } \ ++// } while (0) ++#define battery_xlog_printk(num, fmt, args...) do {} while (0) + + + /* ============================================================ */ +diff --git a/drivers/power/mediatek/battery_common.c b/drivers/power/mediatek/battery_common.c +index 92228b5d..6c3d42cd 100755 +--- a/drivers/power/mediatek/battery_common.c ++++ b/drivers/power/mediatek/battery_common.c +@@ -2789,10 +2789,10 @@ void mt_battery_GetBatteryData(void) + if (g_battery_soc_ready == KAL_FALSE) + g_battery_soc_ready = KAL_TRUE; + +- pr_notice("AvgVbat=(%d),bat_vol=(%d),AvgI=(%d),I=(%d),VChr=(%d),AvgT=(%d),T=(%d),pre_SOC=(%d),SOC=(%d),ZCV=(%d)\n", +- BMT_status.bat_vol, bat_vol, BMT_status.ICharging, ICharging, +- BMT_status.charger_vol, BMT_status.temperature, temperature, +- previous_SOC, BMT_status.SOC, BMT_status.ZCV); ++// pr_notice("AvgVbat=(%d),bat_vol=(%d),AvgI=(%d),I=(%d),VChr=(%d),AvgT=(%d),T=(%d),pre_SOC=(%d),SOC=(%d),ZCV=(%d)\n", ++// BMT_status.bat_vol, bat_vol, BMT_status.ICharging, ICharging, ++// BMT_status.charger_vol, BMT_status.temperature, temperature, ++// previous_SOC, BMT_status.SOC, BMT_status.ZCV); + + + } +diff --git a/drivers/power/mediatek/linear_charging.c b/drivers/power/mediatek/linear_charging.c +index c3bf6a0c..2dd6e5ba 100644 +--- a/drivers/power/mediatek/linear_charging.c ++++ b/drivers/power/mediatek/linear_charging.c +@@ -310,7 +310,7 @@ static void mtk_ta_vchr_select(int i,int ta_v_chr_candidate[], int ta_charging_c + + current_vchr = battery_meter_get_charger_voltage(); + if(ta_current_level != 5000 && current_vchr >= 4900) { /* pattern error before, so reset vchr to 5V */ +- battery_xlog_printk(BAT_LOG_CRTI, "mtk_ta_vchr_select() : curr_VChr=%d, ta_current_level=%d\n",current_vchr,ta_current_level); ++// battery_xlog_printk(BAT_LOG_CRTI, "mtk_ta_vchr_select() : curr_VChr=%d, ta_current_level=%d\n",current_vchr,ta_current_level); + + mtk_ta_reset_vchr(); + } diff --git a/device/testing/linux-amazon-austin/silence-cmb-logspam.patch b/device/testing/linux-amazon-austin/silence-cmb-logspam.patch new file mode 100644 index 000000000..636961ee9 --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-cmb-logspam.patch @@ -0,0 +1,36 @@ +diff --git a/drivers/misc/mediatek/connectivity/combo/common/platform/alps/mtk_wcn_cmb_stub_alps.c b/drivers/misc/mediatek/connectivity/combo/common/platform/alps/mtk_wcn_cmb_stub_alps.c +index 1bba50c6..85fea736 100644 +--- a/drivers/misc/mediatek/connectivity/combo/common/platform/alps/mtk_wcn_cmb_stub_alps.c ++++ b/drivers/misc/mediatek/connectivity/combo/common/platform/alps/mtk_wcn_cmb_stub_alps.c +@@ -15,9 +15,9 @@ + * M A C R O S + ******************************************************************************** + */ +-#define CMB_STUB_LOG_INFO(fmt, arg...) pr_warn(fmt, ##arg) +-#define CMB_STUB_LOG_WARN(fmt, arg...) pr_err(fmt, ##arg) +-#define CMB_STUB_LOG_DBG(fmt, arg...) pr_warn(fmt, ##arg) ++#define CMB_STUB_LOG_INFO(fmt, arg...) pr_info(fmt, ##arg) ++#define CMB_STUB_LOG_WARN(fmt, arg...) pr_warn(fmt, ##arg) ++#define CMB_STUB_LOG_DBG(fmt, arg...) pr_debug(fmt, ##arg) + + + /******************************************************************************* +diff --git a/drivers/misc/mediatek/connectivity/common_detect/mtk_wcn_stub_alps.c b/drivers/misc/mediatek/connectivity/common_detect/mtk_wcn_stub_alps.c +index c2d20e1a..dcf43e74 100644 +--- a/drivers/misc/mediatek/connectivity/common_detect/mtk_wcn_stub_alps.c ++++ b/drivers/misc/mediatek/connectivity/common_detect/mtk_wcn_stub_alps.c +@@ -305,10 +305,10 @@ signed long mtk_wcn_cmb_stub_query_ctrl() + { + temp = (*cmb_stub_thermal_ctrl_cb)(); + } +- else +- { +- CMB_STUB_LOG_DBG("[cmb_stub] thermal_ctrl_cb null\n"); +- } ++// else ++// { ++// CMB_STUB_LOG_DBG("[cmb_stub] thermal_ctrl_cb null\n"); ++// } + + return temp; + } diff --git a/device/testing/linux-amazon-austin/silence-hotplug-logspam.patch b/device/testing/linux-amazon-austin/silence-hotplug-logspam.patch new file mode 100644 index 000000000..7cd437e57 --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-hotplug-logspam.patch @@ -0,0 +1,177 @@ +diff --git a/arch/arm/mach-mt8127/include/mach/hotplug.h b/arch/arm/mach-mt8127/include/mach/hotplug.h +index fa139f2a..413b7dbc 100644 +--- a/arch/arm/mach-mt8127/include/mach/hotplug.h ++++ b/arch/arm/mach-mt8127/include/mach/hotplug.h +@@ -11,7 +11,8 @@ + #define HOTPLUG_LOG_WITH_XLOG 1 + #define HOTPLUG_LOG_WITH_PRINTK 2 + +-#define HOTPLUG_LOG_PRINT HOTPLUG_LOG_WITH_PRINTK ++// #define HOTPLUG_LOG_PRINT HOTPLUG_LOG_WITH_PRINTK ++#define HOTPLUG_LOG_PRINT HOTPLUG_LOG_NONE + + #if (HOTPLUG_LOG_PRINT == HOTPLUG_LOG_NONE) + #define HOTPLUG_INFO(fmt, args...) +diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c +index 5c5842d6..62de84f3 100644 +--- a/arch/arm/kernel/smp.c ++++ b/arch/arm/kernel/smp.c +@@ -220,7 +220,7 @@ void __cpuinit __cpu_die(unsigned int cpu) + pr_err("CPU%u: cpu didn't die\n", cpu); + return; + } +- printk(KERN_NOTICE "CPU%u: shutdown\n", cpu); ++// printk(KERN_NOTICE "CPU%u: shutdown\n", cpu); + + /* + * platform_cpu_kill() is generally expected to do the powering off +@@ -356,7 +356,7 @@ asmlinkage void __cpuinit secondary_start_kernel(void) + cpu_init(); + aee_rr_rec_hoplug(cpu, 5, 0); + +- printk("CPU%u: Booted secondary processor\n", cpu); ++// printk("CPU%u: Booted secondary processor\n", cpu); + + preempt_disable(); + aee_rr_rec_hoplug(cpu, 6, 0); +diff --git a/arch/arm/mach-mt8127/ca7_timer.c b/arch/arm/mach-mt8127/ca7_timer.c +index c752bb1d..0ca334e4 100644 +--- a/arch/arm/mach-mt8127/ca7_timer.c ++++ b/arch/arm/mach-mt8127/ca7_timer.c +@@ -289,7 +289,7 @@ static int __cpuinit generic_timer_setup(struct clock_event_device *clk) + { + struct clock_event_device **this_cpu_clk; + +- pr_info("[ca7_timer]%s entry\n", __func__); ++// pr_info("[ca7_timer]%s entry\n", __func__); + generic_timer_calibrate_rate(); + + write_cntp_ctl(0x0); +diff --git a/arch/arm/mach-mt8127/mt-smp.c b/arch/arm/mach-mt8127/mt-smp.c +index 4df773d2..1fbd14c9 100644 +--- a/arch/arm/mach-mt8127/mt-smp.c ++++ b/arch/arm/mach-mt8127/mt-smp.c +@@ -127,7 +127,7 @@ void __cpuinit mt_platform_secondary_init(unsigned int cpu) + { + struct wd_api *wd_api = NULL; + +- printk(KERN_INFO "Slave cpu init\n"); ++// printk(KERN_INFO "Slave cpu init\n"); + HOTPLUG_INFO("platform_secondary_init, cpu: %d\n", cpu); + + mt_gic_secondary_init(); +@@ -170,7 +170,7 @@ static void __cpuinit mt_wakeup_cpu(int cpu) + } + else + { +- printk("mt_wakeup_cpu: not first boot!(%d)\n", cpu); ++// printk("mt_wakeup_cpu: not first boot!(%d)\n", cpu); + mt65xx_reg_sync_writel(virt_to_phys(mt_secondary_startup), BOOT_ADDR); + + #if defined(CONFIG_TRUSTONIC_TEE_SUPPORT) || defined(CONFIG_MTK_IN_HOUSE_TEE_SUPPORT) +@@ -189,7 +189,7 @@ int __cpuinit mt_boot_secondary(unsigned int cpu, struct task_struct *idle) + { + unsigned long timeout; + +- printk(KERN_CRIT "Boot slave CPU\n"); ++// printk(KERN_INFO "Boot slave CPU\n"); + + atomic_inc(&hotplug_cpu_count); + +@@ -224,7 +224,7 @@ int __cpuinit mt_boot_secondary(unsigned int cpu, struct task_struct *idle) + #if !defined (CONFIG_TRUSTONIC_TEE_SUPPORT) + mt_wakeup_cpu(cpu); + #else //#if !defined (CONFIG_TRUSTONIC_TEE_SUPPORT) +- printk("mt_wakeup_cpu: not first boot!(%d)\n", cpu); ++// printk("mt_wakeup_cpu: not first boot!(%d)\n", cpu); + //mt65xx_reg_sync_writel(virt_to_phys(mt_secondary_startup), BOOT_ADDR); + // fixme, to replace SMC with parameter of ns_slave_boot_addr + mt_secure_call(MC_FC_SET_RESET_VECTOR, virt_to_phys(mt_secondary_startup), cpu, 0); +diff --git a/arch/arm/mach-mt8127/mt_dbg.c b/arch/arm/mach-mt8127/mt_dbg.c +index 3391891a..14ad42e1 100644 +--- a/arch/arm/mach-mt8127/mt_dbg.c ++++ b/arch/arm/mach-mt8127/mt_dbg.c +@@ -71,7 +71,7 @@ regs_hotplug_callback(struct notifier_block *nfb, unsigned long action, void *hc + // printk(KERN_ALERT "In hotplug callback\n"); + int i; + unsigned int cpu = (unsigned int) hcpu; +- printk("regs_hotplug_callback cpu = %d\n", cpu); ++// printk("regs_hotplug_callback cpu = %d\n", cpu); + switch (action) { + case CPU_ONLINE: + case CPU_ONLINE_FROZEN: +diff --git a/drivers/misc/mediatek/wdk/wd_api.c b/drivers/misc/mediatek/wdk/wd_api.c +index c382f7a7..b94fcf7a 100644 +--- a/drivers/misc/mediatek/wdk/wd_api.c ++++ b/drivers/misc/mediatek/wdk/wd_api.c +@@ -88,7 +88,7 @@ static int wd_cpu_hot_plug_on_notify(int cpu) + int res = 0; + wk_cpu_update_bit_flag(cpu, 1); + mtk_wdt_restart(WD_TYPE_NOLOCK); /* for KICK external wdt */ +- printk("WD wd_cpu_hot_plug_on_notify kick ext wd\n"); ++// printk("WD wd_cpu_hot_plug_on_notify kick ext wd\n"); + + return res; + } +diff --git a/drivers/misc/mediatek/wdk/wd_common_drv.c b/drivers/misc/mediatek/wdk/wd_common_drv.c +index aecc3081..36ba4773 100644 +--- a/drivers/misc/mediatek/wdk/wd_common_drv.c ++++ b/drivers/misc/mediatek/wdk/wd_common_drv.c +@@ -230,7 +230,7 @@ void kicker_cpu_bind(int cpu) + //kthread_bind(wk_tsk[cpu], cpu); + WARN_ON_ONCE(set_cpus_allowed_ptr(wk_tsk[cpu], cpumask_of(cpu)) < 0); + +- printk("[wdk]bind kicker thread[%d] to cpu[%d]\n",wk_tsk[cpu]->pid,cpu); ++// printk("[wdk]bind kicker thread[%d] to cpu[%d]\n",wk_tsk[cpu]->pid,cpu); + wake_up_process(wk_tsk[cpu]); + } + } +@@ -570,7 +570,7 @@ static int __cpuinit wk_cpu_callback(struct notifier_block *nfb, unsigned long a + mpcore_wdt_restart(WD_TYPE_NORMAL); + #endif + +- printk("[WDK]cpu %d plug on kick wdt\n", hotcpu); ++// printk("[WDK]cpu %d plug on kick wdt\n", hotcpu); + break; + #ifdef CONFIG_HOTPLUG_CPU + #ifdef CONFIG_LOCAL_WDT +@@ -584,14 +584,14 @@ static int __cpuinit wk_cpu_callback(struct notifier_block *nfb, unsigned long a + + mtk_wdt_restart(WD_TYPE_NORMAL); /* for KICK external wdt */ + #ifdef CONFIG_LOCAL_WDT +- printk("[WDK]cpu %d plug off kick local wdt\n", hotcpu); ++// printk("[WDK]cpu %d plug off kick local wdt\n", hotcpu); + /* kick local wdt */ + /* mpcore_wdt_restart(WD_TYPE_NORMAL); */ + /* disable local watchdog */ + mpcore_wk_wdt_stop(); + #endif + wk_cpu_update_bit_flag(hotcpu, 0); +- printk("[WDK]cpu %d plug off, kick wdt\n", hotcpu); ++// printk("[WDK]cpu %d plug off, kick wdt\n", hotcpu); + break; + #endif /* CONFIG_HOTPLUG_CPU */ + } +diff --git a/kernel/sched/core.c b/kernel/sched/core.c +index fb958294..43e3e69d 100644 +--- a/kernel/sched/core.c ++++ b/kernel/sched/core.c +@@ -4197,12 +4197,12 @@ recheck: + return -EINVAL; + } + +- if(rt_policy(policy)){ +- if (!check_mt_allow_rt((struct sched_param *)param)){ +- printk("[RT_MONITOR]WARNNING [%d:%s] SET NOT ALLOW RT Prio [%d] for proc [%d:%s]\n", current->pid, current->comm, param->sched_priority, p->pid, p->comm); +- //dump_stack(); +- } +- } ++// if(rt_policy(policy)){ ++// if (!check_mt_allow_rt((struct sched_param *)param)){ ++// printk("[RT_MONITOR]WARNNING [%d:%s] SET NOT ALLOW RT Prio [%d] for proc [%d:%s]\n", current->pid, current->comm, param->sched_priority, p->pid, p->comm); ++// //dump_stack(); ++// } ++// } + + /* + * Valid priorities for SCHED_FIFO and SCHED_RR are diff --git a/device/testing/linux-amazon-austin/silence-i2c-logspam.patch b/device/testing/linux-amazon-austin/silence-i2c-logspam.patch new file mode 100644 index 000000000..194243cf3 --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-i2c-logspam.patch @@ -0,0 +1,26 @@ +diff --git a/drivers/misc/mediatek/i2c/mt8127/i2c.c b/drivers/misc/mediatek/i2c/mt8127/i2c.c +index 328e6867..4934a19e 100644 +--- a/drivers/misc/mediatek/i2c/mt8127/i2c.c ++++ b/drivers/misc/mediatek/i2c/mt8127/i2c.c +@@ -54,6 +54,7 @@ static mt_i2c *g_i2c[2]; + #endif + /***********************************i2c debug********************************************************/ + //#define I2C_DEBUG_FS ++#undef I2C_DEBUG_FS + #ifdef I2C_DEBUG_FS + #define PORT_COUNT 7 + #define MESSAGE_COUNT 16 +@@ -367,10 +368,12 @@ static S32 _i2c_deal_result(mt_i2c *i2c) + I2CERR("I2C_HS_NACKERR\n"); + if (i2c->irq_stat & I2C_ACKERR) + I2CERR("I2C_ACKERR\n"); ++ #ifdef I2C_DEBUG_FS + if (i2c->filter_msg==FALSE) //TEST + { + _i2c_dump_info(i2c); +- } ++ } ++ #endif + + spin_lock(&i2c->lock); + /*Reset i2c port*/ diff --git a/device/testing/linux-amazon-austin/silence-mtkfb-logspam.patch b/device/testing/linux-amazon-austin/silence-mtkfb-logspam.patch new file mode 100644 index 000000000..555f9de6b --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-mtkfb-logspam.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/misc/mediatek/video/mt8127/mtkfb.c b/drivers/misc/mediatek/video/mt8127/mtkfb.c +index 50bfbcd0..238f09d2 100644 +--- a/drivers/misc/mediatek/video/mt8127/mtkfb.c ++++ b/drivers/misc/mediatek/video/mt8127/mtkfb.c +@@ -63,6 +63,8 @@ + + //#undef pr_info + //#define pr_info printk ++#undef pr_info ++#define pr_info(fmt, args...) do {} while (0) + + unsigned int EnableVSyncLog = 0; + diff --git a/device/testing/linux-amazon-austin/silence-power-logspam.patch b/device/testing/linux-amazon-austin/silence-power-logspam.patch new file mode 100644 index 000000000..bb8da5630 --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-power-logspam.patch @@ -0,0 +1,7050 @@ +diff --git a/drivers/misc/mediatek/power/mt8127/addon/mt6320_fuel_gauge_bq24196.c b/drivers/misc/mediatek/power/mt8127/addon/mt6320_fuel_gauge_bq24196.c +index c92f1a18..59ad6ac4 100644 +--- a/drivers/misc/mediatek/power/mt8127/addon/mt6320_fuel_gauge_bq24196.c ++++ b/drivers/misc/mediatek/power/mt8127/addon/mt6320_fuel_gauge_bq24196.c +@@ -329,11 +329,11 @@ void get_hw_chip_diff_trim_value(void) + + chip_diff_trim_value_4_0 = reg_val_1 | (reg_val_2 << 3); + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Chip_Trim] Reg[0x%x]=0x%x, Reg[0x%x]=0x%x, chip_diff_trim_value_4_0=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Chip_Trim] Reg[0x%x]=0x%x, Reg[0x%x]=0x%x, chip_diff_trim_value_4_0=%d\n", + 0x01C4, upmu_get_reg_value(0x01C4), 0x01C6, upmu_get_reg_value(0x01C6), chip_diff_trim_value_4_0); + + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Chip_Trim] need check reg number\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Chip_Trim] need check reg number\n"); + #endif + + switch(chip_diff_trim_value_4_0){ +@@ -372,11 +372,11 @@ void get_hw_chip_diff_trim_value(void) + case 18: chip_diff_trim_value = 930; break; + case 17: chip_diff_trim_value = 925; break; + default: +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Chip_Trim] Invalid value(%d)\n", chip_diff_trim_value_4_0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Chip_Trim] Invalid value(%d)\n", chip_diff_trim_value_4_0); + break; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Chip_Trim] %d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Chip_Trim] %d,%d\n", + chip_diff_trim_value_4_0, chip_diff_trim_value); + } + +@@ -387,7 +387,7 @@ kal_int32 use_chip_trim_value(kal_int32 not_trim_val) + ret_val=((not_trim_val*chip_diff_trim_value)/1000); + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[use_chip_trim_value] %d -> %d\n", not_trim_val, ret_val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[use_chip_trim_value] %d -> %d\n", not_trim_val, ret_val); + } + + return ret_val; +@@ -595,7 +595,7 @@ kal_int32 fgauge_read_columb(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 1 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 1 !\r\n"); + } + break; + } +@@ -623,7 +623,7 @@ kal_int32 fgauge_read_columb(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 2 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 2 !\r\n"); + } + break; + } +@@ -720,7 +720,7 @@ kal_int32 fgauge_read_columb_reset(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 1 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 1 !\r\n"); + } + break; + } +@@ -748,7 +748,7 @@ kal_int32 fgauge_read_columb_reset(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 2 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 2 !\r\n"); + } + break; + } +@@ -863,7 +863,7 @@ kal_int32 fgauge_read_current(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_current] fg_get_data_ready_status timeout 1 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_current] fg_get_data_ready_status timeout 1 !\r\n"); + } + break; + } +@@ -886,7 +886,7 @@ kal_int32 fgauge_read_current(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_current] fg_get_data_ready_status timeout 2 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_current] fg_get_data_ready_status timeout 2 !\r\n"); + } + break; + } +@@ -1141,7 +1141,7 @@ void fgauge_read_avg_I_V(void) + + // if (Enable_FGADC_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_avg_I_V] AVG voltage[%d], current[%d]\r\n", gFG_voltage, gFG_current); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_avg_I_V] AVG voltage[%d], current[%d]\r\n", gFG_voltage, gFG_current); + } + } + +@@ -1254,7 +1254,7 @@ void fgauge_construct_battery_profile(kal_int32 temperature, BATTERY_PROFILE_STR + // Dumpt new battery profile + for (i = 0; i < saddles ; i++) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", " at %d = <%d,%d>\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", " at %d = <%d,%d>\r\n", + temperature, (temp_profile_p+i)->percentage, (temp_profile_p+i)->voltage); + } + +@@ -1402,7 +1402,7 @@ void fgauge_construct_r_table_profile(kal_int32 temperature, R_PROFILE_STRUC_P t + // Dumpt new r-table profile + for (i = 0; i < saddles ; i++) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", " at %d = <%d,%d>\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", " at %d = <%d,%d>\r\n", + temperature, (temp_profile_p+i)->resistance, (temp_profile_p+i)->voltage); + } + +@@ -1546,12 +1546,12 @@ void fg_qmax_update_for_aging(void) + // tuning + gFG_BATT_CAPACITY_aging = (gFG_BATT_CAPACITY_aging * 100) / AGING_TUNING_VALUE; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fg_qmax_update_for_aging] need update : gFG_columb=%d, gFG_DOD0=%d, new_qmax=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fg_qmax_update_for_aging] need update : gFG_columb=%d, gFG_DOD0=%d, new_qmax=%d\r\n", + gFG_columb, gFG_DOD0, gFG_BATT_CAPACITY_aging); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fg_qmax_update_for_aging] no update : gFG_columb=%d, gFG_DOD0=%d, new_qmax=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fg_qmax_update_for_aging] no update : gFG_columb=%d, gFG_DOD0=%d, new_qmax=%d\r\n", + gFG_columb, gFG_DOD0, gFG_BATT_CAPACITY_aging); + } + } +@@ -1912,7 +1912,7 @@ kal_int32 fgauge_read_d_by_v(kal_int32 volt_bat) + profile_p = fgauge_get_profile(TEMPERATURE_T); + if (profile_p == NULL) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] fgauge get ZCV profile : fail !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] fgauge get ZCV profile : fail !\r\n"); + return 100; + } + +@@ -2018,7 +2018,7 @@ kal_int32 mtk_imp_tracking(kal_int32 ori_voltage, kal_int32 ori_current, kal_int + temp_voltage_2 = temp_voltage_1 + ret_compensate_value; + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[mtk_imp_tracking] temp_voltage_2=%d,temp_voltage_1=%d,ret_compensate_value=%d,gFG_resistance_bat=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[mtk_imp_tracking] temp_voltage_2=%d,temp_voltage_1=%d,ret_compensate_value=%d,gFG_resistance_bat=%d\n", + temp_voltage_2,temp_voltage_1,ret_compensate_value,gFG_resistance_bat); + } + } +@@ -2030,7 +2030,7 @@ kal_int32 mtk_imp_tracking(kal_int32 ori_voltage, kal_int32 ori_current, kal_int + gFG_compensate_value = ret_compensate_value; + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[mtk_imp_tracking] temp_voltage_2=%d,temp_voltage_1=%d,ret_compensate_value=%d,gFG_resistance_bat=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[mtk_imp_tracking] temp_voltage_2=%d,temp_voltage_1=%d,ret_compensate_value=%d,gFG_resistance_bat=%d\n", + temp_voltage_2,temp_voltage_1,ret_compensate_value,gFG_resistance_bat); + } + +@@ -2048,12 +2048,12 @@ int get_hw_ocv(void) + #if defined(SWCHR_POWER_PATH) + adc_result_reg = upmu_get_rg_adc_out_wakeup_swchr_trim(); + adc_result = (adc_result_reg*r_val_temp*1200)/1024; +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam] get_hw_ocv (swchr) : adc_result_reg=%d, adc_result=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam] get_hw_ocv (swchr) : adc_result_reg=%d, adc_result=%d\n", + adc_result_reg, adc_result); + #else + adc_result_reg = upmu_get_rg_adc_out_wakeup_pchr_trim(); + adc_result = (adc_result_reg*r_val_temp*1200)/1024; +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam] get_hw_ocv (pchr) : adc_result_reg=%d, adc_result=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam] get_hw_ocv (pchr) : adc_result_reg=%d, adc_result=%d\n", + adc_result_reg, adc_result); + #endif + +@@ -2074,11 +2074,11 @@ void oam_init(void) + + if(oam_init_i == 0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_init] oam_v_ocv_1,oam_v_ocv_2,oam_r_1,oam_r_2,oam_d0,oam_i_ori\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_init] oam_v_ocv_1,oam_v_ocv_2,oam_r_1,oam_r_2,oam_d0,oam_i_ori\n"); + oam_init_i=1; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_init] %d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_init] %d,%d,%d,%d,%d,%d\n", + oam_v_ocv_1, oam_v_ocv_2, oam_r_1, oam_r_2, oam_d0, oam_i_ori); + } + +@@ -2145,7 +2145,7 @@ void oam_run(void) + case 4: d5_count_time_rate = (((gFG_BATT_CAPACITY_aging*60*60/100/(650-50))*10)+5)/10; + break; + default: +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_charger_type] Invalid value\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_charger_type] Invalid value\n"); + break; + } + +@@ -2195,31 +2195,31 @@ void oam_run(void) + } + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_run] %d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_run] %d,%d,%d,%d,%d,%d,%d\n", + d5_count, d5_count_time, oam_d_3_pre, oam_d_3, oam_d_4_pre, oam_d_4, oam_d_5); + } + + if(oam_run_i == 0) + { + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_run] oam_i_1,oam_i_2,oam_car_1,oam_car_2,oam_d_1,oam_d_2,oam_v_ocv_1,oam_d_3,oam_r_1,oam_v_ocv_2,oam_r_2,vol_bat,vol_bat_hw_ocv,d_hw_ocv\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_run] oam_i_1,oam_i_2,oam_car_1,oam_car_2,oam_d_1,oam_d_2,oam_v_ocv_1,oam_d_3,oam_r_1,oam_v_ocv_2,oam_r_2,vol_bat,vol_bat_hw_ocv,d_hw_ocv\n"); + } + oam_run_i=1; + } + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_run] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_run] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", + oam_i_1,oam_i_2,oam_car_1,oam_car_2,oam_d_1,oam_d_2,oam_v_ocv_1,oam_d_3,oam_r_1,oam_v_ocv_2,oam_r_2,vol_bat,vol_bat_hw_ocv,d_hw_ocv); + } + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_total] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_total] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", + gFG_capacity_by_c, gFG_capacity_by_v, gfg_percent_check_point, + oam_d_1, oam_d_2, oam_d_3, oam_d_4, oam_d_5, gFG_capacity_by_c_init, d_hw_ocv); + } + + if (Enable_FGADC_LOG == 2) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_total_s] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_total_s] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", + gFG_capacity_by_c, // 1 + gFG_capacity_by_v, // 2 + gfg_percent_check_point, // 3 +@@ -2234,7 +2234,7 @@ void oam_run(void) + } + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_total_s_err] %d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_total_s_err] %d,%d,%d,%d,%d,%d,%d\n", + (gFG_capacity_by_c - gFG_capacity_by_v), + (gFG_capacity_by_c - gfg_percent_check_point), + (gFG_capacity_by_c - (100-oam_d_1)), +@@ -2377,7 +2377,7 @@ void fgauge_Normal_Mode_Work(void) + //use get_hw_ocv----------------------------------------------------------------- + gFG_voltage = get_hw_ocv(); + gFG_capacity_by_v = fgauge_read_capacity_by_v(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] get_hw_ocv=%d, SOC=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] get_hw_ocv=%d, SOC=%d\n", + gFG_voltage, gFG_capacity_by_v); + //------------------------------------------------------------------------------- + #endif +@@ -2392,7 +2392,7 @@ void fgauge_Normal_Mode_Work(void) + gFG_capacity_by_v = g_rtc_fg_soc; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] [1] g_rtc_fg_soc=%d, gFG_capacity_by_v=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] [1] g_rtc_fg_soc=%d, gFG_capacity_by_v=%d\n", + g_rtc_fg_soc, gFG_capacity_by_v); + } + else +@@ -2405,7 +2405,7 @@ void fgauge_Normal_Mode_Work(void) + gFG_capacity_by_v = g_rtc_fg_soc; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] [2] g_rtc_fg_soc=%d, gFG_capacity_by_v=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] [2] g_rtc_fg_soc=%d, gFG_capacity_by_v=%d\n", + g_rtc_fg_soc, gFG_capacity_by_v); + } + //------------------------------------------------------------------------------- +@@ -2424,21 +2424,21 @@ void fgauge_Normal_Mode_Work(void) + bat_volt_check_point = gFG_capacity; + gfg_percent_check_point = bat_volt_check_point; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] update DOD0 after booting %d s\r\n", (MAX_BOOTING_TIME_FGCURRENT)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] update DOD0 after booting %d s\r\n", (MAX_BOOTING_TIME_FGCURRENT)); + + //OAM (only auxadc mode) + oam_init(); + + #if defined(CHANGE_TRACKING_POINT) + gFG_15_vlot = fgauge_read_v_by_capacity( (100-g_tracking_point) ); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] gFG_15_vlot = %dmV\r\n", gFG_15_vlot); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] gFG_15_vlot = %dmV\r\n", gFG_15_vlot); + #else + //gFG_15_vlot = fgauge_read_v_by_capacity(86); //14% + gFG_15_vlot = fgauge_read_v_by_capacity( (100-g_tracking_point) ); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] gFG_15_vlot = %dmV\r\n", gFG_15_vlot); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] gFG_15_vlot = %dmV\r\n", gFG_15_vlot); + if( (gFG_15_vlot > 3800) || (gFG_15_vlot < 3600) ) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] gFG_15_vlot(%d) over range, reset to 3700\r\n", gFG_15_vlot); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] gFG_15_vlot(%d) over range, reset to 3700\r\n", gFG_15_vlot); + gFG_15_vlot = 3700; + } + #endif +@@ -2446,7 +2446,7 @@ void fgauge_Normal_Mode_Work(void) + //double check + if(gFG_current_auto_detect_R_fg_total == 0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "gFG_current_auto_detect_R_fg_total=0, need double check [2]\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "gFG_current_auto_detect_R_fg_total=0, need double check [2]\n"); + + gFG_current_auto_detect_R_fg_count = 0; + +@@ -2464,7 +2464,7 @@ void fgauge_Normal_Mode_Work(void) + + batteryBufferFirst = KAL_FALSE; // for init array values when measuring by AUXADC + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] Detect NO Rfg, use AUXADC report. (%d=%d/%d)(%d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] Detect NO Rfg, use AUXADC report. (%d=%d/%d)(%d)\r\n", + gFG_current_auto_detect_R_fg_result, gFG_current_auto_detect_R_fg_total, + gFG_current_auto_detect_R_fg_count, gForceADCsolution); + } +@@ -2474,13 +2474,13 @@ void fgauge_Normal_Mode_Work(void) + { + gForceADCsolution=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] Detect Rfg, use FG report. (%d=%d/%d)(%d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] Detect Rfg, use FG report. (%d=%d/%d)(%d)\r\n", + gFG_current_auto_detect_R_fg_result, gFG_current_auto_detect_R_fg_total, + gFG_current_auto_detect_R_fg_count, gForceADCsolution); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] Detect Rfg, but use AUXADC report. due to gForceADCsolution=%d \r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] Detect Rfg, but use AUXADC report. due to gForceADCsolution=%d \r\n", + gForceADCsolution); + } + } +@@ -2657,7 +2657,7 @@ void fgauge_initialization(void) + + //reset HW FG + ret=pmic_config_interface(FGADC_CON0, 0x7100, 0xFF00, 0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** [fgauge_initialization] reset HW FG!\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** [fgauge_initialization] reset HW FG!\n" ); + + // 2. SW algorithm initialization + gFG_voltage = fgauge_read_voltage(); +@@ -2678,7 +2678,7 @@ void fgauge_initialization(void) + if(g_ocv_lookup_done == 0) + { + gFG_capacity = fgauge_read_capacity(0); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "g_ocv_loopup_done is 0, do fgauge_read_capacity(0)\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "g_ocv_loopup_done is 0, do fgauge_read_capacity(0)\n" ); + } + else + { +@@ -2729,28 +2729,28 @@ void FGADC_Reset_SW_Parameter(void) + kal_uint32 ret = 0; + + #if 0 +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Todo \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Todo \r\n"); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Start \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Start \r\n"); + gFG_SW_CoulombCounter = 0; + while(val_car != 0x0) + { + ret=pmic_config_interface(FGADC_CON0, 0x7100, 0xFF00, 0x0); + gFG_columb = fgauge_read_columb_reset(); + val_car = gFG_columb; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "#"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "#"); + } + gFG_columb = 0; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Done \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Done \r\n"); + + if(g_Calibration_FG==1) + { + gFG_DOD0 = 0; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] FG Calibration DOD0=%d and DOD1=%d \r\n", gFG_DOD0, gFG_DOD1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] FG Calibration DOD0=%d and DOD1=%d \r\n", gFG_DOD0, gFG_DOD1); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] Update DOD0(%d) by %d \r\n", gFG_DOD0, gFG_DOD1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] Update DOD0(%d) by %d \r\n", gFG_DOD0, gFG_DOD1); + gFG_DOD0 = gFG_DOD1; + } + #endif +@@ -2810,7 +2810,7 @@ kal_int32 get_dynamic_period(int first_use, int first_wakeup_time, int battery_c + if(g_car_sleep > g_car_wakeup) + { + g_car_sleep = g_car_wakeup; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_dynamic_period] reset g_car_sleep\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_dynamic_period] reset g_car_sleep\r\n"); + } + + I_sleep = ((g_car_wakeup-g_car_sleep)*3600)/g_last_time; // unit: second +@@ -2842,7 +2842,7 @@ kal_int32 get_dynamic_period(int first_use, int first_wakeup_time, int battery_c + if(ret_val == 0) + ret_val = first_wakeup_time; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_dynamic_period] g_car_instant=%d, g_car_wakeup=%d, g_car_sleep=%d, I_sleep=%d, gFG_BATT_CAPACITY=%d, g_last_time=%d, new_time=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_dynamic_period] g_car_instant=%d, g_car_wakeup=%d, g_car_sleep=%d, I_sleep=%d, gFG_BATT_CAPACITY=%d, g_last_time=%d, new_time=%d\r\n", + g_car_instant, g_car_wakeup, g_car_sleep, I_sleep, gFG_BATT_CAPACITY, g_last_time, new_time); + + //update parameter +@@ -2851,7 +2851,7 @@ kal_int32 get_dynamic_period(int first_use, int first_wakeup_time, int battery_c + } + #else + ret_val = first_wakeup_time; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_dynamic_period] ret_val = %d\n", first_wakeup_time); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_dynamic_period] ret_val = %d\n", first_wakeup_time); + #endif + + return ret_val; +@@ -2906,7 +2906,7 @@ void FGADC_thread_kthread(void) + + //if (Enable_FGADC_LOG >= 1) + //{ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\r\n", + gFG_Is_Charging,gFG_current, + gFG_SW_CoulombCounter,gFG_columb,gFG_voltage,gFG_capacity_by_v,gFG_capacity_by_c,gFG_capacity_by_c_init, + gFG_BATT_CAPACITY,gFG_BATT_CAPACITY_aging,gFG_compensate_value,gFG_ori_voltage,OCV_BOARD_COMPESATE,R_FG_BOARD_SLOPE, +@@ -2923,7 +2923,7 @@ void FGADC_thread_kthread(void) + //double check + if(gFG_current_auto_detect_R_fg_total == 0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "gFG_current_auto_detect_R_fg_total=0, need double check\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "gFG_current_auto_detect_R_fg_total=0, need double check\n"); + + gFG_current_auto_detect_R_fg_count = 0; + +@@ -2965,18 +2965,18 @@ ssize_t fgadc_log_write( struct file *filp, const char __user *buff, + unsigned long len, void *data ) + { + if (copy_from_user( &proc_fgadc_data, buff, len )) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "fgadc_log_write error.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "fgadc_log_write error.\n"); + return -EFAULT; + } + + if (proc_fgadc_data[0] == '1') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "enable FGADC driver log system\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "enable FGADC driver log system\n"); + Enable_FGADC_LOG = 1; + } else if (proc_fgadc_data[0] == '2') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "enable FGADC driver log system:2\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "enable FGADC driver log system:2\n"); + Enable_FGADC_LOG = 2; + } else { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "Disable FGADC driver log system\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "Disable FGADC driver log system\n"); + Enable_FGADC_LOG = 0; + } + +@@ -2990,11 +2990,11 @@ int init_proc_log_fg(void) + + if (proc_entry_fgadc == NULL) { + ret = -ENOMEM; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "init_proc_log_fg: Couldn't create proc entry\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "init_proc_log_fg: Couldn't create proc entry\n"); + } else { + proc_entry_fgadc->write_proc = fgadc_log_write; + //proc_entry->owner = THIS_MODULE; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "init_proc_log_fg loaded.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "init_proc_log_fg loaded.\n"); + } + + return ret; +@@ -3016,9 +3016,9 @@ static ssize_t show_FG_Current(struct device *dev,struct device_attribute *attr, + { + gFG_current_inout_battery = gFG_current; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] %d\r\n", gFG_current_inout_battery); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] %d\r\n", gFG_current_inout_battery); + //----------------------------------------------- +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] gFG_current_inout_battery : %d\n", gFG_current_inout_battery); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] gFG_current_inout_battery : %d\n", gFG_current_inout_battery); + return sprintf(buf, "%d\n", gFG_current_inout_battery); + } + static ssize_t store_FG_Current(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3032,7 +3032,7 @@ static DEVICE_ATTR(FG_Current, 0664, show_FG_Current, store_FG_Current); + /////////////////////////////////////////////////////////////////////////////////////////// + static ssize_t show_FG_g_fg_dbg_bat_volt(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_volt : %d\n", g_fg_dbg_bat_volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_volt : %d\n", g_fg_dbg_bat_volt); + return sprintf(buf, "%d\n", g_fg_dbg_bat_volt); + } + static ssize_t store_FG_g_fg_dbg_bat_volt(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3043,7 +3043,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_volt, 0664, show_FG_g_fg_dbg_bat_volt, store_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_current(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_current : %d\n", g_fg_dbg_bat_current); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_current : %d\n", g_fg_dbg_bat_current); + return sprintf(buf, "%d\n", g_fg_dbg_bat_current); + } + static ssize_t store_FG_g_fg_dbg_bat_current(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3054,7 +3054,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_current, 0664, show_FG_g_fg_dbg_bat_current, + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_zcv(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_zcv : %d\n", g_fg_dbg_bat_zcv); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_zcv : %d\n", g_fg_dbg_bat_zcv); + return sprintf(buf, "%d\n", g_fg_dbg_bat_zcv); + } + static ssize_t store_FG_g_fg_dbg_bat_zcv(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3065,7 +3065,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_zcv, 0664, show_FG_g_fg_dbg_bat_zcv, store_FG + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_temp(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_temp : %d\n", g_fg_dbg_bat_temp); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_temp : %d\n", g_fg_dbg_bat_temp); + return sprintf(buf, "%d\n", g_fg_dbg_bat_temp); + } + static ssize_t store_FG_g_fg_dbg_bat_temp(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3076,7 +3076,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_temp, 0664, show_FG_g_fg_dbg_bat_temp, store_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_r(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_r : %d\n", g_fg_dbg_bat_r); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_r : %d\n", g_fg_dbg_bat_r); + return sprintf(buf, "%d\n", g_fg_dbg_bat_r); + } + static ssize_t store_FG_g_fg_dbg_bat_r(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3087,7 +3087,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_r, 0664, show_FG_g_fg_dbg_bat_r, store_FG_g_f + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_car(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_car : %d\n", g_fg_dbg_bat_car); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_car : %d\n", g_fg_dbg_bat_car); + return sprintf(buf, "%d\n", g_fg_dbg_bat_car); + } + static ssize_t store_FG_g_fg_dbg_bat_car(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3098,7 +3098,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_car, 0664, show_FG_g_fg_dbg_bat_car, store_FG + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_qmax(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_qmax : %d\n", g_fg_dbg_bat_qmax); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_qmax : %d\n", g_fg_dbg_bat_qmax); + return sprintf(buf, "%d\n", g_fg_dbg_bat_qmax); + } + static ssize_t store_FG_g_fg_dbg_bat_qmax(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3109,7 +3109,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_qmax, 0664, show_FG_g_fg_dbg_bat_qmax, store_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_d0(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_d0 : %d\n", g_fg_dbg_d0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_d0 : %d\n", g_fg_dbg_d0); + return sprintf(buf, "%d\n", g_fg_dbg_d0); + } + static ssize_t store_FG_g_fg_dbg_d0(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3120,7 +3120,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_d0, 0664, show_FG_g_fg_dbg_d0, store_FG_g_fg_dbg_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_d1(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_d1 : %d\n", g_fg_dbg_d1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_d1 : %d\n", g_fg_dbg_d1); + return sprintf(buf, "%d\n", g_fg_dbg_d1); + } + static ssize_t store_FG_g_fg_dbg_d1(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3131,7 +3131,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_d1, 0664, show_FG_g_fg_dbg_d1, store_FG_g_fg_dbg_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_percentage(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_percentage : %d\n", g_fg_dbg_percentage); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_percentage : %d\n", g_fg_dbg_percentage); + return sprintf(buf, "%d\n", g_fg_dbg_percentage); + } + static ssize_t store_FG_g_fg_dbg_percentage(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3142,7 +3142,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_percentage, 0664, show_FG_g_fg_dbg_percentage, st + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_percentage_fg(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_percentage_fg : %d\n", g_fg_dbg_percentage_fg); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_percentage_fg : %d\n", g_fg_dbg_percentage_fg); + return sprintf(buf, "%d\n", g_fg_dbg_percentage_fg); + } + static ssize_t store_FG_g_fg_dbg_percentage_fg(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3153,7 +3153,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_percentage_fg, 0664, show_FG_g_fg_dbg_percentage_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_percentage_voltmode(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_percentage_voltmode : %d\n", g_fg_dbg_percentage_voltmode); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_percentage_voltmode : %d\n", g_fg_dbg_percentage_voltmode); + return sprintf(buf, "%d\n", g_fg_dbg_percentage_voltmode); + } + static ssize_t store_FG_g_fg_dbg_percentage_voltmode(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3170,9 +3170,9 @@ static int mt6320_fgadc_probe(struct platform_device *dev) + int ret_device_file = 0; + + #if defined(CONFIG_POWER_EXT) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] INIT : EVB \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] INIT : EVB \n"); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] MT6320 FGADC driver probe!! \n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] MT6320 FGADC driver probe!! \n" ); + + /* FG driver init */ + //fgauge_initialization(); +@@ -3202,14 +3202,14 @@ static int mt6320_fgadc_probe(struct platform_device *dev) + + static int mt6320_fgadc_remove(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] MT6320 FGADC driver remove!! \n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] MT6320 FGADC driver remove!! \n" ); + + return 0; + } + + static void mt6320_fgadc_shutdown(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] MT6320 FGADC driver shutdown!! \n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] MT6320 FGADC driver shutdown!! \n" ); + } + + static int mt6320_fgadc_suspend(struct platform_device *dev, pm_message_t state) +@@ -3259,17 +3259,17 @@ static int __init mt6320_fgadc_init(void) + + ret = platform_device_register(&MT6320_fgadc_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_fgadc_driver] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_fgadc_driver] Unable to device register(%d)\n", ret); + return ret; + } + + ret = platform_driver_register(&mt6320_fgadc_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_fgadc_driver] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_fgadc_driver] Unable to register driver (%d)\n", ret); + return ret; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_fgadc_driver] Initialization : DONE \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_fgadc_driver] Initialization : DONE \n"); + + return 0; + +diff --git a/drivers/misc/mediatek/power/mt8127/addon/mt6320_fuel_gauge_ncp1851.c b/drivers/misc/mediatek/power/mt8127/addon/mt6320_fuel_gauge_ncp1851.c +index 61b4be63..570eae49 100644 +--- a/drivers/misc/mediatek/power/mt8127/addon/mt6320_fuel_gauge_ncp1851.c ++++ b/drivers/misc/mediatek/power/mt8127/addon/mt6320_fuel_gauge_ncp1851.c +@@ -483,11 +483,11 @@ void get_hw_chip_diff_trim_value(void) + + chip_diff_trim_value_4_0 = reg_val_1 | (reg_val_2 << 3); + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Chip_Trim] Reg[0x%x]=0x%x, Reg[0x%x]=0x%x, chip_diff_trim_value_4_0=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Chip_Trim] Reg[0x%x]=0x%x, Reg[0x%x]=0x%x, chip_diff_trim_value_4_0=%d\n", + 0x01C4, upmu_get_reg_value(0x01C4), 0x01C6, upmu_get_reg_value(0x01C6), chip_diff_trim_value_4_0); + + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Chip_Trim] need check reg number\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Chip_Trim] need check reg number\n"); + #endif + + switch(chip_diff_trim_value_4_0){ +@@ -526,11 +526,11 @@ void get_hw_chip_diff_trim_value(void) + case 18: chip_diff_trim_value = 930; break; + case 17: chip_diff_trim_value = 925; break; + default: +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Chip_Trim] Invalid value(%d)\n", chip_diff_trim_value_4_0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Chip_Trim] Invalid value(%d)\n", chip_diff_trim_value_4_0); + break; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Chip_Trim] %d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Chip_Trim] %d,%d\n", + chip_diff_trim_value_4_0, chip_diff_trim_value); + } + +@@ -541,7 +541,7 @@ kal_int32 use_chip_trim_value(kal_int32 not_trim_val) + ret_val=((not_trim_val*chip_diff_trim_value)/1000); + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[use_chip_trim_value] %d -> %d\n", not_trim_val, ret_val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[use_chip_trim_value] %d -> %d\n", not_trim_val, ret_val); + } + + return ret_val; +@@ -749,7 +749,7 @@ kal_int32 fgauge_read_columb(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 1 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 1 !\r\n"); + } + break; + } +@@ -777,7 +777,7 @@ kal_int32 fgauge_read_columb(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 2 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 2 !\r\n"); + } + break; + } +@@ -875,7 +875,7 @@ kal_int32 fgauge_read_columb_reset(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 1 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 1 !\r\n"); + } + break; + } +@@ -903,7 +903,7 @@ kal_int32 fgauge_read_columb_reset(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 2 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_columb] fg_get_data_ready_status timeout 2 !\r\n"); + } + break; + } +@@ -1019,7 +1019,7 @@ kal_int32 fgauge_read_current(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_current] fg_get_data_ready_status timeout 1 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_current] fg_get_data_ready_status timeout 1 !\r\n"); + } + break; + } +@@ -1042,7 +1042,7 @@ kal_int32 fgauge_read_current(void) + if(m>1000) + { + if (Enable_FGADC_LOG == 1){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_current] fg_get_data_ready_status timeout 2 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_current] fg_get_data_ready_status timeout 2 !\r\n"); + } + break; + } +@@ -1267,7 +1267,7 @@ void fgauge_read_avg_I_V(void) + vol[i] = vol[i] + OCV_BOARD_COMPESATE; + + cur_sum += gFG_current; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_avg_I_V] #%d voltage[%d], current[%d]\r\n", i, vol[i], gFG_current); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_avg_I_V] #%d voltage[%d], current[%d]\r\n", i, vol[i], gFG_current); + } + + //sorting vol +@@ -1288,7 +1288,7 @@ void fgauge_read_avg_I_V(void) + { + // if (Enable_FGADC_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_avg_I_V] vol[%d] = %d\r\n", i, vol[i]); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_avg_I_V] vol[%d] = %d\r\n", i, vol[i]); + } + vol_sum += vol[i]; + } +@@ -1298,7 +1298,7 @@ void fgauge_read_avg_I_V(void) + + // if (Enable_FGADC_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_avg_I_V] AVG voltage[%d], current[%d]\r\n", gFG_voltage, gFG_current); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_avg_I_V] AVG voltage[%d], current[%d]\r\n", gFG_voltage, gFG_current); + } + } + +@@ -1703,12 +1703,12 @@ void fg_qmax_update_for_aging(void) + // tuning + gFG_BATT_CAPACITY_aging = (gFG_BATT_CAPACITY_aging * 100) / AGING_TUNING_VALUE; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fg_qmax_update_for_aging] need update : gFG_columb=%d, gFG_DOD0=%d, new_qmax=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fg_qmax_update_for_aging] need update : gFG_columb=%d, gFG_DOD0=%d, new_qmax=%d\r\n", + gFG_columb, gFG_DOD0, gFG_BATT_CAPACITY_aging); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fg_qmax_update_for_aging] no update : gFG_columb=%d, gFG_DOD0=%d, new_qmax=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fg_qmax_update_for_aging] no update : gFG_columb=%d, gFG_DOD0=%d, new_qmax=%d\r\n", + gFG_columb, gFG_DOD0, gFG_BATT_CAPACITY_aging); + } + } +@@ -2075,7 +2075,7 @@ kal_int32 fgauge_read_d_by_v(kal_int32 volt_bat) + profile_p = fgauge_get_profile(TEMPERATURE_T); + if (profile_p == NULL) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] fgauge get ZCV profile : fail !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] fgauge get ZCV profile : fail !\r\n"); + return 100; + } + +@@ -2181,7 +2181,7 @@ kal_int32 mtk_imp_tracking(kal_int32 ori_voltage, kal_int32 ori_current, kal_int + temp_voltage_2 = temp_voltage_1 + ret_compensate_value; + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[mtk_imp_tracking] temp_voltage_2=%d,temp_voltage_1=%d,ret_compensate_value=%d,gFG_resistance_bat=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[mtk_imp_tracking] temp_voltage_2=%d,temp_voltage_1=%d,ret_compensate_value=%d,gFG_resistance_bat=%d\n", + temp_voltage_2,temp_voltage_1,ret_compensate_value,gFG_resistance_bat); + } + } +@@ -2193,7 +2193,7 @@ kal_int32 mtk_imp_tracking(kal_int32 ori_voltage, kal_int32 ori_current, kal_int + gFG_compensate_value = ret_compensate_value; + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[mtk_imp_tracking] temp_voltage_2=%d,temp_voltage_1=%d,ret_compensate_value=%d,gFG_resistance_bat=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[mtk_imp_tracking] temp_voltage_2=%d,temp_voltage_1=%d,ret_compensate_value=%d,gFG_resistance_bat=%d\n", + temp_voltage_2,temp_voltage_1,ret_compensate_value,gFG_resistance_bat); + } + +@@ -2211,12 +2211,12 @@ int get_hw_ocv(void) + #if 1//defined(SWCHR_POWER_PATH) + adc_result_reg = upmu_get_rg_adc_out_wakeup_swchr_trim(); + adc_result = (adc_result_reg*r_val_temp*1200)/1024; +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam] get_hw_ocv (swchr) : adc_result_reg=%d, adc_result=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam] get_hw_ocv (swchr) : adc_result_reg=%d, adc_result=%d\n", + adc_result_reg, adc_result); + #else + adc_result_reg = upmu_get_rg_adc_out_wakeup_pchr_trim(); + adc_result = (adc_result_reg*r_val_temp*1200)/1024; +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam] get_hw_ocv (pchr) : adc_result_reg=%d, adc_result=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam] get_hw_ocv (pchr) : adc_result_reg=%d, adc_result=%d\n", + adc_result_reg, adc_result); + #endif + adc_result += g_hw_ocv_tune_value; +@@ -2236,11 +2236,11 @@ void oam_init(void) + + if(oam_init_i == 0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_init] oam_v_ocv_1,oam_v_ocv_2,oam_r_1,oam_r_2,oam_d0,oam_i_ori\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_init] oam_v_ocv_1,oam_v_ocv_2,oam_r_1,oam_r_2,oam_d0,oam_i_ori\n"); + oam_init_i=1; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_init] %d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_init] %d,%d,%d,%d,%d,%d\n", + oam_v_ocv_1, oam_v_ocv_2, oam_r_1, oam_r_2, oam_d0, oam_i_ori); + } + +@@ -2307,7 +2307,7 @@ void oam_run(void) + case 4: d5_count_time_rate = (((gFG_BATT_CAPACITY_aging*60*60/100/(650-50))*10)+5)/10; + break; + default: +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_charger_type] Invalid value\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_charger_type] Invalid value\n"); + break; + } + +@@ -2357,31 +2357,31 @@ void oam_run(void) + } + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_run] %d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_run] %d,%d,%d,%d,%d,%d,%d\n", + d5_count, d5_count_time, oam_d_3_pre, oam_d_3, oam_d_4_pre, oam_d_4, oam_d_5); + } + + if(oam_run_i == 0) + { + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_run] oam_i_1,oam_i_2,oam_car_1,oam_car_2,oam_d_1,oam_d_2,oam_v_ocv_1,oam_d_3,oam_r_1,oam_v_ocv_2,oam_r_2,vol_bat,vol_bat_hw_ocv,d_hw_ocv\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_run] oam_i_1,oam_i_2,oam_car_1,oam_car_2,oam_d_1,oam_d_2,oam_v_ocv_1,oam_d_3,oam_r_1,oam_v_ocv_2,oam_r_2,vol_bat,vol_bat_hw_ocv,d_hw_ocv\n"); + } + oam_run_i=1; + } + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_run] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_run] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", + oam_i_1,oam_i_2,oam_car_1,oam_car_2,oam_d_1,oam_d_2,oam_v_ocv_1,oam_d_3,oam_r_1,oam_v_ocv_2,oam_r_2,vol_bat,vol_bat_hw_ocv,d_hw_ocv); + } + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_total] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_total] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", + gFG_capacity_by_c, gFG_capacity_by_v, gfg_percent_check_point, + oam_d_1, oam_d_2, oam_d_3, oam_d_4, oam_d_5, gFG_capacity_by_c_init, d_hw_ocv); + } + + if (Enable_FGADC_LOG == 2) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_total_s] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_total_s] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", + gFG_capacity_by_c, // 1 + gFG_capacity_by_v, // 2 + gfg_percent_check_point, // 3 +@@ -2396,7 +2396,7 @@ void oam_run(void) + } + + if (Enable_FGADC_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/FGOAM", "[oam_total_s_err] %d,%d,%d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/FGOAM", "[oam_total_s_err] %d,%d,%d,%d,%d,%d,%d\n", + (gFG_capacity_by_c - gFG_capacity_by_v), + (gFG_capacity_by_c - gfg_percent_check_point), + (gFG_capacity_by_c - (100-oam_d_1)), +@@ -2539,10 +2539,10 @@ void fgauge_Normal_Mode_Work(void) + { + vol_adc = gFG_voltage; + gFG_voltage = get_hw_ocv(); //use HW OCV +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_read_avg_I_V] HW OCV[%d], SW OCV[%d]\r\n", gFG_voltage, vol_adc); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_read_avg_I_V] HW OCV[%d], SW OCV[%d]\r\n", gFG_voltage, vol_adc); + } + gFG_capacity_by_v = fgauge_read_capacity_by_v(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] get_hw_ocv=%d, SOC=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] get_hw_ocv=%d, SOC=%d\n", + gFG_voltage, gFG_capacity_by_v); + //------------------------------------------------------------------------------- + #endif +@@ -2557,7 +2557,7 @@ void fgauge_Normal_Mode_Work(void) + gFG_capacity_by_v = g_rtc_fg_soc; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] [1] g_rtc_fg_soc=%d, gFG_capacity_by_v=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] [1] g_rtc_fg_soc=%d, gFG_capacity_by_v=%d\n", + g_rtc_fg_soc, gFG_capacity_by_v); + } + else +@@ -2570,7 +2570,7 @@ void fgauge_Normal_Mode_Work(void) + gFG_capacity_by_v = g_rtc_fg_soc; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] [2] g_rtc_fg_soc=%d, gFG_capacity_by_v=%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] [2] g_rtc_fg_soc=%d, gFG_capacity_by_v=%d\n", + g_rtc_fg_soc, gFG_capacity_by_v); + } + //------------------------------------------------------------------------------- +@@ -2588,21 +2588,21 @@ void fgauge_Normal_Mode_Work(void) + bat_volt_check_point = gFG_capacity; + gfg_percent_check_point = bat_volt_check_point; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] update DOD0 after booting %d s\r\n", (MAX_BOOTING_TIME_FGCURRENT)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] update DOD0 after booting %d s\r\n", (MAX_BOOTING_TIME_FGCURRENT)); + + //OAM (only auxadc mode) + oam_init(); + + #if defined(CHANGE_TRACKING_POINT) + gFG_15_vlot = fgauge_read_v_by_capacity( (100-g_tracking_point) ); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] gFG_15_vlot = %dmV\r\n", gFG_15_vlot); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] gFG_15_vlot = %dmV\r\n", gFG_15_vlot); + #else + //gFG_15_vlot = fgauge_read_v_by_capacity(86); //14% + gFG_15_vlot = fgauge_read_v_by_capacity( (100-g_tracking_point) ); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] gFG_15_vlot = %dmV\r\n", gFG_15_vlot); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] gFG_15_vlot = %dmV\r\n", gFG_15_vlot); + if( (gFG_15_vlot > 3800) || (gFG_15_vlot < 3600) ) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] gFG_15_vlot(%d) over range, reset to 3700\r\n", gFG_15_vlot); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] gFG_15_vlot(%d) over range, reset to 3700\r\n", gFG_15_vlot); + gFG_15_vlot = 3700; + } + #endif +@@ -2614,7 +2614,7 @@ void fgauge_Normal_Mode_Work(void) + + batteryBufferFirst = KAL_FALSE; // for init array values when measuring by AUXADC + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] Detect NO Rfg, use AUXADC report. (%d=%d/%d)(%d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] Detect NO Rfg, use AUXADC report. (%d=%d/%d)(%d)\r\n", + gFG_current_auto_detect_R_fg_result, gFG_current_auto_detect_R_fg_total, + gFG_current_auto_detect_R_fg_count, gForceADCsolution); + } +@@ -2624,13 +2624,13 @@ void fgauge_Normal_Mode_Work(void) + { + gForceADCsolution=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] Detect Rfg, use FG report. (%d=%d/%d)(%d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] Detect Rfg, use FG report. (%d=%d/%d)(%d)\r\n", + gFG_current_auto_detect_R_fg_result, gFG_current_auto_detect_R_fg_total, + gFG_current_auto_detect_R_fg_count, gForceADCsolution); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] Detect Rfg, but use AUXADC report. due to gForceADCsolution=%d \r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] Detect Rfg, but use AUXADC report. due to gForceADCsolution=%d \r\n", + gForceADCsolution); + } + } +@@ -2951,7 +2951,7 @@ void fgauge_precharge_init(void) + + //reset HW FG + ret=pmic_config_interface(FGADC_CON0, 0x7100, 0xFF00, 0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** [fgauge_initialization] reset HW FG!\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** [fgauge_initialization] reset HW FG!\n" ); + + i=0; + while( current_val == 0 ) +@@ -2967,7 +2967,7 @@ void fgauge_precharge_init(void) + #endif + + if(current_val == 0) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_precharge_init] current value is still 0\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_precharge_init] current value is still 0\r\n"); + } + + void fgauge_precharge_uninit(void) +@@ -2981,7 +2981,7 @@ void fgauge_precharge_uninit(void) + { + ret=pmic_config_interface(FGADC_CON0, 0x7100, 0xFF00, 0x0); + val_car = fgauge_read_columb_reset(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "#"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "#"); + } + + //(1) i2c_write (0x61, 0x69, 0x29); // Disable FGADC +@@ -3072,7 +3072,7 @@ kal_int32 fgauge_precharge_compensated_voltage(kal_int32 recursion_time) + + if (Enable_FGADC_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[fgauge_precharge_compensated_voltage] %d,%d,%d,%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[fgauge_precharge_compensated_voltage] %d,%d,%d,%d\r\n", + temp_voltage_1, temp_voltage_2, bat_res, ret_compensate_value); + } + +@@ -3156,7 +3156,7 @@ void fgauge_initialization(void) + + //reset HW FG + ret=pmic_config_interface(FGADC_CON0, 0x7100, 0xFF00, 0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** [fgauge_initialization] reset HW FG!\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** [fgauge_initialization] reset HW FG!\n" ); + + // 2. SW algorithm initialization + gFG_voltage = fgauge_read_voltage(); +@@ -3176,7 +3176,7 @@ void fgauge_initialization(void) + if(g_ocv_lookup_done == 0) + { + gFG_capacity = fgauge_read_capacity(0); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "g_ocv_loopup_done is 0, do fgauge_read_capacity(0)\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "g_ocv_loopup_done is 0, do fgauge_read_capacity(0)\n" ); + } + else + { +@@ -3227,28 +3227,28 @@ void FGADC_Reset_SW_Parameter(void) + kal_uint32 ret = 0; + + #if 0 +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Todo \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Todo \r\n"); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Start \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Start \r\n"); + gFG_SW_CoulombCounter = 0; + while(val_car != 0x0) + { + ret=pmic_config_interface(FGADC_CON0, 0x7100, 0xFF00, 0x0); + gFG_columb = fgauge_read_columb_reset(); + val_car = gFG_columb; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "#"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "#"); + } + gFG_columb = 0; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Done \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] FGADC_Reset_SW_Parameter : Done \r\n"); + + if(g_Calibration_FG==1) + { + gFG_DOD0 = 0; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] FG Calibration DOD0=%d and DOD1=%d \r\n", gFG_DOD0, gFG_DOD1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] FG Calibration DOD0=%d and DOD1=%d \r\n", gFG_DOD0, gFG_DOD1); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] Update DOD0(%d) by %d \r\n", gFG_DOD0, gFG_DOD1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] Update DOD0(%d) by %d \r\n", gFG_DOD0, gFG_DOD1); + gFG_DOD0 = gFG_DOD1; + } + #endif +@@ -3308,7 +3308,7 @@ kal_int32 get_dynamic_period(int first_use, int first_wakeup_time, int battery_c + if(g_car_sleep > g_car_wakeup) + { + g_car_sleep = g_car_wakeup; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_dynamic_period] reset g_car_sleep\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_dynamic_period] reset g_car_sleep\r\n"); + } + + I_sleep = ((g_car_wakeup-g_car_sleep)*3600)/g_last_time; // unit: second +@@ -3340,7 +3340,7 @@ kal_int32 get_dynamic_period(int first_use, int first_wakeup_time, int battery_c + if(ret_val == 0) + ret_val = first_wakeup_time; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_dynamic_period] g_car_instant=%d, g_car_wakeup=%d, g_car_sleep=%d, I_sleep=%d, gFG_BATT_CAPACITY=%d, g_last_time=%d, new_time=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_dynamic_period] g_car_instant=%d, g_car_wakeup=%d, g_car_sleep=%d, I_sleep=%d, gFG_BATT_CAPACITY=%d, g_last_time=%d, new_time=%d\r\n", + g_car_instant, g_car_wakeup, g_car_sleep, I_sleep, gFG_BATT_CAPACITY, g_last_time, new_time); + + //update parameter +@@ -3349,7 +3349,7 @@ kal_int32 get_dynamic_period(int first_use, int first_wakeup_time, int battery_c + } + #else + ret_val = first_wakeup_time; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_dynamic_period] ret_val = %d\n", first_wakeup_time); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_dynamic_period] ret_val = %d\n", first_wakeup_time); + #endif + + return ret_val; +@@ -3404,7 +3404,7 @@ void FGADC_thread_kthread(void) + + //if (Enable_FGADC_LOG >= 1) + //{ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\r\n", + gFG_Is_Charging,gFG_current, + gFG_SW_CoulombCounter,gFG_columb,gFG_voltage,gFG_capacity_by_v,gFG_capacity_by_c,gFG_capacity_by_c_init, + gFG_BATT_CAPACITY,gFG_BATT_CAPACITY_aging,gFG_compensate_value,gFG_ori_voltage,OCV_BOARD_COMPESATE,R_FG_BOARD_SLOPE, +@@ -3421,7 +3421,7 @@ void FGADC_thread_kthread(void) + //double check + if(gFG_current_auto_detect_R_fg_total == 0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "gFG_current_auto_detect_R_fg_total=0, need double check\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "gFG_current_auto_detect_R_fg_total=0, need double check\n"); + + gFG_current_auto_detect_R_fg_count = 0; + +@@ -3463,18 +3463,18 @@ ssize_t fgadc_log_write( struct file *filp, const char __user *buff, + unsigned long len, void *data ) + { + if (copy_from_user( &proc_fgadc_data, buff, len )) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "fgadc_log_write error.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "fgadc_log_write error.\n"); + return -EFAULT; + } + + if (proc_fgadc_data[0] == '1') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "enable FGADC driver log system\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "enable FGADC driver log system\n"); + Enable_FGADC_LOG = 1; + } else if (proc_fgadc_data[0] == '2') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "enable FGADC driver log system:2\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "enable FGADC driver log system:2\n"); + Enable_FGADC_LOG = 2; + } else { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "Disable FGADC driver log system\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "Disable FGADC driver log system\n"); + Enable_FGADC_LOG = 0; + } + +@@ -3488,11 +3488,11 @@ int init_proc_log_fg(void) + + if (proc_entry_fgadc == NULL) { + ret = -ENOMEM; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "init_proc_log_fg: Couldn't create proc entry\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "init_proc_log_fg: Couldn't create proc entry\n"); + } else { + proc_entry_fgadc->write_proc = fgadc_log_write; + //proc_entry->owner = THIS_MODULE; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "init_proc_log_fg loaded.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "init_proc_log_fg loaded.\n"); + } + + return ret; +@@ -3514,9 +3514,9 @@ static ssize_t show_FG_Current(struct device *dev,struct device_attribute *attr, + { + gFG_current_inout_battery = gFG_current; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] %d\r\n", gFG_current_inout_battery); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] %d\r\n", gFG_current_inout_battery); + //----------------------------------------------- +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] gFG_current_inout_battery : %d\n", gFG_current_inout_battery); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] gFG_current_inout_battery : %d\n", gFG_current_inout_battery); + return sprintf(buf, "%d\n", gFG_current_inout_battery); + } + static ssize_t store_FG_Current(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3530,7 +3530,7 @@ static DEVICE_ATTR(FG_Current, 0664, show_FG_Current, store_FG_Current); + /////////////////////////////////////////////////////////////////////////////////////////// + static ssize_t show_FG_g_fg_dbg_bat_volt(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_volt : %d\n", g_fg_dbg_bat_volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_volt : %d\n", g_fg_dbg_bat_volt); + return sprintf(buf, "%d\n", g_fg_dbg_bat_volt); + } + static ssize_t store_FG_g_fg_dbg_bat_volt(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3541,7 +3541,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_volt, 0664, show_FG_g_fg_dbg_bat_volt, store_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_current(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_current : %d\n", g_fg_dbg_bat_current); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_current : %d\n", g_fg_dbg_bat_current); + return sprintf(buf, "%d\n", g_fg_dbg_bat_current); + } + static ssize_t store_FG_g_fg_dbg_bat_current(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3552,7 +3552,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_current, 0664, show_FG_g_fg_dbg_bat_current, + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_zcv(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_zcv : %d\n", g_fg_dbg_bat_zcv); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_zcv : %d\n", g_fg_dbg_bat_zcv); + return sprintf(buf, "%d\n", g_fg_dbg_bat_zcv); + } + static ssize_t store_FG_g_fg_dbg_bat_zcv(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3563,7 +3563,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_zcv, 0664, show_FG_g_fg_dbg_bat_zcv, store_FG + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_temp(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_temp : %d\n", g_fg_dbg_bat_temp); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_temp : %d\n", g_fg_dbg_bat_temp); + return sprintf(buf, "%d\n", g_fg_dbg_bat_temp); + } + static ssize_t store_FG_g_fg_dbg_bat_temp(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3574,7 +3574,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_temp, 0664, show_FG_g_fg_dbg_bat_temp, store_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_r(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_r : %d\n", g_fg_dbg_bat_r); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_r : %d\n", g_fg_dbg_bat_r); + return sprintf(buf, "%d\n", g_fg_dbg_bat_r); + } + static ssize_t store_FG_g_fg_dbg_bat_r(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3585,7 +3585,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_r, 0664, show_FG_g_fg_dbg_bat_r, store_FG_g_f + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_car(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_car : %d\n", g_fg_dbg_bat_car); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_car : %d\n", g_fg_dbg_bat_car); + return sprintf(buf, "%d\n", g_fg_dbg_bat_car); + } + static ssize_t store_FG_g_fg_dbg_bat_car(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3596,7 +3596,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_car, 0664, show_FG_g_fg_dbg_bat_car, store_FG + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_bat_qmax(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_bat_qmax : %d\n", g_fg_dbg_bat_qmax); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_bat_qmax : %d\n", g_fg_dbg_bat_qmax); + return sprintf(buf, "%d\n", g_fg_dbg_bat_qmax); + } + static ssize_t store_FG_g_fg_dbg_bat_qmax(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3607,7 +3607,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_bat_qmax, 0664, show_FG_g_fg_dbg_bat_qmax, store_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_d0(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_d0 : %d\n", g_fg_dbg_d0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_d0 : %d\n", g_fg_dbg_d0); + return sprintf(buf, "%d\n", g_fg_dbg_d0); + } + static ssize_t store_FG_g_fg_dbg_d0(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3618,7 +3618,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_d0, 0664, show_FG_g_fg_dbg_d0, store_FG_g_fg_dbg_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_d1(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_d1 : %d\n", g_fg_dbg_d1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_d1 : %d\n", g_fg_dbg_d1); + return sprintf(buf, "%d\n", g_fg_dbg_d1); + } + static ssize_t store_FG_g_fg_dbg_d1(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3629,7 +3629,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_d1, 0664, show_FG_g_fg_dbg_d1, store_FG_g_fg_dbg_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_percentage(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_percentage : %d\n", g_fg_dbg_percentage); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_percentage : %d\n", g_fg_dbg_percentage); + return sprintf(buf, "%d\n", g_fg_dbg_percentage); + } + static ssize_t store_FG_g_fg_dbg_percentage(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3640,7 +3640,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_percentage, 0664, show_FG_g_fg_dbg_percentage, st + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_percentage_fg(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_percentage_fg : %d\n", g_fg_dbg_percentage_fg); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_percentage_fg : %d\n", g_fg_dbg_percentage_fg); + return sprintf(buf, "%d\n", g_fg_dbg_percentage_fg); + } + static ssize_t store_FG_g_fg_dbg_percentage_fg(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3651,7 +3651,7 @@ static DEVICE_ATTR(FG_g_fg_dbg_percentage_fg, 0664, show_FG_g_fg_dbg_percentage_ + //------------------------------------------------------------------------------------------- + static ssize_t show_FG_g_fg_dbg_percentage_voltmode(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FG] g_fg_dbg_percentage_voltmode : %d\n", g_fg_dbg_percentage_voltmode); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FG] g_fg_dbg_percentage_voltmode : %d\n", g_fg_dbg_percentage_voltmode); + return sprintf(buf, "%d\n", g_fg_dbg_percentage_voltmode); + } + static ssize_t store_FG_g_fg_dbg_percentage_voltmode(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -3668,9 +3668,9 @@ static int mt6320_fgadc_probe(struct platform_device *dev) + int ret_device_file = 0; + + #if defined(CONFIG_POWER_EXT) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] INIT : EVB \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] INIT : EVB \n"); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] MT6320 FGADC driver probe!! \n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] MT6320 FGADC driver probe!! \n" ); + + /* FG driver init */ + //fgauge_initialization(); +@@ -3700,14 +3700,14 @@ static int mt6320_fgadc_probe(struct platform_device *dev) + + static int mt6320_fgadc_remove(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] MT6320 FGADC driver remove!! \n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] MT6320 FGADC driver remove!! \n" ); + + return 0; + } + + static void mt6320_fgadc_shutdown(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[FGADC] MT6320 FGADC driver shutdown!! \n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[FGADC] MT6320 FGADC driver shutdown!! \n" ); + } + + static int mt6320_fgadc_suspend(struct platform_device *dev, pm_message_t state) +@@ -3757,17 +3757,17 @@ static int __init mt6320_fgadc_init(void) + + ret = platform_device_register(&MT6320_fgadc_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_fgadc_driver] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_fgadc_driver] Unable to device register(%d)\n", ret); + return ret; + } + + ret = platform_driver_register(&mt6320_fgadc_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_fgadc_driver] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_fgadc_driver] Unable to register driver (%d)\n", ret); + return ret; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_fgadc_driver] Initialization : DONE \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_fgadc_driver] Initialization : DONE \n"); + + return 0; + +diff --git a/drivers/misc/mediatek/power/mt8127/addon/mt_battery_bq24196.c b/drivers/misc/mediatek/power/mt8127/addon/mt_battery_bq24196.c +index f783aa95..72346c9a 100644 +--- a/drivers/misc/mediatek/power/mt8127/addon/mt_battery_bq24196.c ++++ b/drivers/misc/mediatek/power/mt8127/addon/mt_battery_bq24196.c +@@ -170,7 +170,7 @@ extern int g_first_check; + #ifdef CONFIG_USB_MTK_HDRC_HCD + void tbl_charger_otg_vbus(int mode) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[tbl_charger_otg_vbus] mode = %d\n", mode); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[tbl_charger_otg_vbus] mode = %d\n", mode); + if(mode&0xFF) + { + bq24196_set_chg_config(0x3); //OTG +@@ -237,7 +237,7 @@ int get_charger_volt(int times) + int get_tbat_volt(int times) + { + #ifdef BEFORE_TREF_REWORK +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(3,times,1);\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(3,times,1);\n"); + return PMIC_IMM_GetOneChannelValue(3,times,1); + #else + if(upmu_get_cid() == 0x1020) +@@ -248,12 +248,12 @@ int get_tbat_volt(int times) + { + #if defined(ENABLE_TBAT_TREF_SUPPORT) + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(3,times,1);\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(3,times,1);\n"); + } + return PMIC_IMM_GetOneChannelValue(3,times,1); + #else + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(4,times,1);\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(4,times,1);\n"); + } + return PMIC_IMM_GetOneChannelValue(4,times,1); + #endif +@@ -294,20 +294,20 @@ kal_bool upmu_is_chr_det(void) + if( mt_usb_is_device() ) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] Charger exist and USB is not host\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] Charger exist and USB is not host\n"); + } + return KAL_TRUE; + } + else + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] Charger exist but USB is host\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] Charger exist but USB is host\n"); + } + //Monitor BQ24196 boost mode status + if(bq24196_get_vbus_stat()!= 0x3) //not in OTG boost mode + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] USB host mode but boost mode fault\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] USB host mode but boost mode fault\n"); + } + //bq24196_set_chg_config(0x3); //TODO: decide if need auto retry + } +@@ -550,18 +550,18 @@ ssize_t bat_log_write( struct file *filp, const char __user *buff, + unsigned long len, void *data ) + { + if (copy_from_user( &proc_bat_data, buff, len )) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "bat_log_write error.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "bat_log_write error.\n"); + return -EFAULT; + } + + if (proc_bat_data[0] == '1') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "enable battery driver log system\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "enable battery driver log system\n"); + Enable_BATDRV_LOG = 1; + } else if (proc_bat_data[0] == '2') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "enable battery driver log system:2\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "enable battery driver log system:2\n"); + Enable_BATDRV_LOG = 2; + } else { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "Disable battery driver log system\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "Disable battery driver log system\n"); + Enable_BATDRV_LOG = 0; + } + +@@ -572,18 +572,18 @@ ssize_t bat_thread_ctrl_write( struct file *filp, const char __user *buff, + unsigned long len, void *data ) + { + if (copy_from_user( &proc_bat_data_ctrl, buff, len )) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "bat_thread_ctrl_write error.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "bat_thread_ctrl_write error.\n"); + return -EFAULT; + } + + if (proc_bat_data_ctrl[0] == '1') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "resume bat_thread_kthread()\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "resume bat_thread_kthread()\n"); + bat_thread_control(1); + } else if (proc_bat_data_ctrl[0] == '2') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "stop bat_thread_kthread()\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "stop bat_thread_kthread()\n"); + bat_thread_control(0); + } else { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "not valid value, resume bat_thread_kthread() as default\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "not valid value, resume bat_thread_kthread() as default\n"); + bat_thread_control(1); + } + +@@ -597,10 +597,10 @@ int init_proc_log(void) + + if (proc_entry == NULL) { + ret = -ENOMEM; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "init_proc_log: Couldn't create proc entry\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "init_proc_log: Couldn't create proc entry\n"); + } else { + proc_entry->write_proc = bat_log_write; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "init_proc_log loaded.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "init_proc_log loaded.\n"); + } + + return ret; +@@ -936,7 +936,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + else + { + gFGsyncTimer_jeita+=10; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] In JEITA (%d on %d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] In JEITA (%d on %d)\r\n", + bat_volt_check_point, gFGsyncTimer_jeita); + } + #else +@@ -950,13 +950,13 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + bat_data->BAT_CAPACITY = bat_volt_check_point; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] In FULL Range (%d)\r\n", bat_volt_check_point); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] In FULL Range (%d)\r\n", bat_volt_check_point); + } + + gSyncPercentage=1; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_SyncRecharge] In recharging state, do not sync FG\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_SyncRecharge] In recharging state, do not sync FG\r\n"); + } + } + } +@@ -980,7 +980,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + + gSyncPercentage=1; + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_Recharging] Keep UI as 100. bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_Recharging] Keep UI as 100. bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", + bat_volt_check_point, BMT_status.SOC); + } + } +@@ -1007,7 +1007,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gSyncPercentage=1; + + //if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] Use gas gauge : gas gague get 100 first (%d)\r\n", bat_volt_check_point); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] Use gas gauge : gas gague get 100 first (%d)\r\n", bat_volt_check_point); + //} + } + else +@@ -1017,14 +1017,14 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gSyncPercentage=0; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] Can sync due to bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] Can sync due to bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", + bat_volt_check_point, BMT_status.SOC); + } + } + else + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] Keep UI due to bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] Keep UI due to bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", + bat_volt_check_point, BMT_status.SOC); + } + } +@@ -1056,7 +1056,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + /*Use no gas gauge*/ + if( gForceADCsolution == 1 ) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BAT BATTERY] VBAT < %d mV : Android will Power Off System !!\r\n", SYSTEM_OFF_VOLTAGE); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BAT BATTERY] VBAT < %d mV : Android will Power Off System !!\r\n", SYSTEM_OFF_VOLTAGE); + bat_data->BAT_CAPACITY = 0; + } + /*Use gas gauge*/ +@@ -1074,7 +1074,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gFG_DOD1=gFG_DOD0; + BMT_status.SOC=bat_volt_check_point; + bat_data->BAT_CAPACITY = bat_volt_check_point; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] VBAT < %d mV (%d, gFG_DOD0=%d)\r\n", SYSTEM_OFF_VOLTAGE, bat_volt_check_point,gFG_DOD0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] VBAT < %d mV (%d, gFG_DOD0=%d)\r\n", SYSTEM_OFF_VOLTAGE, bat_volt_check_point,gFG_DOD0); + } + } + #ifndef MTK_BQ27541_SUPPORT +@@ -1098,7 +1098,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gFG_DOD1=gFG_DOD0; + BMT_status.SOC=bat_volt_check_point; + bat_data->BAT_CAPACITY = bat_volt_check_point; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] FG_VBAT <= %d, then SOC run to 15. (SOC=%d,Point=%d,D1=%d,D0=%d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] FG_VBAT <= %d, then SOC run to 15. (SOC=%d,Point=%d,D1=%d,D0=%d)\r\n", + gFG_15_vlot, BMT_status.SOC, bat_volt_check_point, gFG_DOD1, gFG_DOD0); + } + /* If "FG_VBAT > gFG_15_vlot" and "FG_report=15%" , then keep 15% till FG_VBAT <= gFG_15_vlot */ +@@ -1113,7 +1113,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gFG_DOD1=gFG_DOD0; + BMT_status.SOC=bat_volt_check_point; + bat_data->BAT_CAPACITY = bat_volt_check_point; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] FG_VBAT(%d) > gFG_15_vlot(%d) and FG_report=15, then UI(%d) keep 15. (D1=%d,D0=%d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] FG_VBAT(%d) > gFG_15_vlot(%d) and FG_report=15, then UI(%d) keep 15. (D1=%d,D0=%d)\r\n", + gFG_voltage, gFG_15_vlot, bat_volt_check_point, gFG_DOD1, gFG_DOD0); + } + #endif +@@ -1133,7 +1133,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + else + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_OnlyBattery!] bat_volt_check_point=%d,BMT_status.SOC=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_OnlyBattery!] bat_volt_check_point=%d,BMT_status.SOC=%d\r\n", + bat_volt_check_point, BMT_status.SOC); + } + +@@ -1142,7 +1142,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + if( (bat_volt_check_point>BMT_status.SOC) && ((bat_volt_check_point!=1)) ) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_OnlyBattery] bat_volt_check_point=%d,BMT_status.SOC=%d,gFGsyncTimer=%d(on %d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_OnlyBattery] bat_volt_check_point=%d,BMT_status.SOC=%d,gFGsyncTimer=%d(on %d)\r\n", + bat_volt_check_point, BMT_status.SOC, gFGsyncTimer, DEFAULT_SYNC_TIME_OUT); + } + +@@ -1167,7 +1167,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gSyncPercentage=1; + + //if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] Use gas gauge : gas gague get 0 first (%d)\r\n", bat_volt_check_point); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] Use gas gauge : gas gague get 0 first (%d)\r\n", bat_volt_check_point); + //} + } + else +@@ -1186,7 +1186,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + if(bat_volt_check_point == 100) { + g_bat_full_user_view = KAL_TRUE; + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_Only] Set g_bat_full_user_view=KAL_TRUE\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_Only] Set g_bat_full_user_view=KAL_TRUE\r\n"); + } + } + } +@@ -1194,7 +1194,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + } + + if (Enable_BATDRV_LOG >= 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:IntegrationFG:point,per_C,per_V,count,vbat_charger,CSDAC_DAT] %d,%d,%d,%d,%d,ADC_Solution=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:IntegrationFG:point,per_C,per_V,count,vbat_charger,CSDAC_DAT] %d,%d,%d,%d,%d,ADC_Solution=%d\r\n", + bat_volt_check_point, BMT_status.SOC, FGADC_Get_BatteryCapacity_VoltageMothod(), + BATTERY_AVERAGE_SIZE, BMT_status.bat_vol, gForceADCsolution); + } +@@ -1241,36 +1241,36 @@ static int mt6320_battery_probe(struct platform_device *dev) + { + int ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver probe!! ********\n" ); + + /* Integrate with Android Battery Service */ + ret = power_supply_register(&(dev->dev), &mt6320_ac_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Success !!\n"); + + ret = power_supply_register(&(dev->dev), &mt6320_usb_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Success !!\n"); + + ret = power_supply_register(&(dev->dev), &mt6320_battery_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Success !!\n"); + + //battery kernel thread for 10s check and charger in/out event + /*kthread_run(bat_thread_kthread, NULL, "bat_thread_kthread"); */ +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[bat_thread_kthread] Done\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[bat_thread_kthread] Done\n"); + + g_bat_init_flag=1; + +@@ -1492,10 +1492,10 @@ INT16 BattVoltToTemp(UINT32 dwVolt) + void BATTERY_SetUSBState(int usb_state_value) + { + if ( (usb_state_value < USB_SUSPEND) || ((usb_state_value > USB_CONFIGURED))){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY] BAT_SetUSBState Fail! Restore to default value\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY] BAT_SetUSBState Fail! Restore to default value\r\n"); + usb_state_value = USB_UNCONFIGURED; + } else { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY] BAT_SetUSBState Success! Set %d\r\n", usb_state_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY] BAT_SetUSBState Success! Set %d\r\n", usb_state_value); + g_usb_state = usb_state_value; + } + } +@@ -1510,7 +1510,7 @@ kal_bool pmic_chrdet_status(void) + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[pmic_chrdet_status] No charger\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[pmic_chrdet_status] No charger\r\n"); + return KAL_FALSE; + } + } +@@ -1527,12 +1527,12 @@ void bq24196_set_ac_current(void) + int ichg_val; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bq24196_set_ac_current \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bq24196_set_ac_current \r\n"); + } + + if((g_temp_CC_value > 2484) || (g_temp_CC_value < 500)) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] invalid current selected (%d), use 500mA \r\n", g_temp_CC_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] invalid current selected (%d), use 500mA \r\n", g_temp_CC_value); + bq24196_set_ichg(0); //offset is 500mA + } + else +@@ -1556,7 +1556,7 @@ void bq24196_set_ac_current(void) + void bq24196_set_low_chg_current(void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bq24196_set_low_chg_current \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bq24196_set_low_chg_current \r\n"); + } + bq24196_set_iinlim(0x0); //IN current limit at 100mA + bq24196_set_ichg(0); //charging current limit at 500mA +@@ -1758,7 +1758,7 @@ void select_charging_curret_bq24196(void) + { + if (g_ftm_battery_flag) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] FTM charging : %d\r\n", charging_level_data[0]); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] FTM charging : %d\r\n", charging_level_data[0]); + g_temp_CC_value = charging_level_data[0]; + + if((g_temp_CC_value > 2484) || (g_temp_CC_value < 500)) +@@ -1780,7 +1780,7 @@ void select_charging_curret_bq24196(void) + { + g_temp_CC_value = USB_CHARGER_CURRENT_SUSPEND; + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] disable charging\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] disable charging\r\n"); + } + } + else if (g_usb_state == USB_UNCONFIGURED) +@@ -1788,7 +1788,7 @@ void select_charging_curret_bq24196(void) + g_temp_CC_value = USB_CHARGER_CURRENT_UNCONFIGURED; + bq24196_set_low_chg_current(); // 100mA + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bq24196_set_low_chg_current() \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bq24196_set_low_chg_current() \r\n"); + } + } + else if (g_usb_state == USB_CONFIGURED) +@@ -1797,7 +1797,7 @@ void select_charging_curret_bq24196(void) + bq24196_set_iinlim(0x2); //IN current limit at 500mA + bq24196_set_ac_current(); + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bq24196_set_ac_current(), CC value (%d) \r\n", g_temp_CC_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bq24196_set_ac_current(), CC value (%d) \r\n", g_temp_CC_value); + } + } + else +@@ -1805,7 +1805,7 @@ void select_charging_curret_bq24196(void) + g_temp_CC_value = USB_CHARGER_CURRENT_UNCONFIGURED; + bq24196_set_low_chg_current(); // 100mA + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bq24196_set_low_chg_current() \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bq24196_set_low_chg_current() \r\n"); + } + } + } +@@ -1815,7 +1815,7 @@ void select_charging_curret_bq24196(void) + bq24196_set_iinlim(0x2); //IN current limit at 500mA + bq24196_set_ac_current(); + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bq24196_set_ac_current(), CC value(%d) \r\n", g_temp_CC_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bq24196_set_ac_current(), CC value(%d) \r\n", g_temp_CC_value); + } + } + } +@@ -1840,7 +1840,7 @@ void select_charging_curret_bq24196(void) + else + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Unknown charger type\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Unknown charger type\n"); + } + g_temp_CC_value = 500; + bq24196_set_iinlim(0x2); //IN current limit at 500mA +@@ -1853,7 +1853,7 @@ void select_charging_curret_bq24196(void) + void ChargerHwInit_bq24196(void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] ChargerHwInit_bq24196\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] ChargerHwInit_bq24196\n" ); + } + + upmu_set_rg_bc11_bb_ctrl(1); //BC11_BB_CTRL +@@ -1906,7 +1906,7 @@ void ChargerHwInit_bq24196(void) + void pchr_turn_off_charging_bq24196 (void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] pchr_turn_off_charging_bq24196!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] pchr_turn_off_charging_bq24196!\r\n"); + } + + bq24196_set_wdt_rst(0x1); //Kick watchdog +@@ -1926,7 +1926,7 @@ void pchr_turn_on_charging_bq24196 (void) + if ( BMT_status.bat_charging_state == CHR_ERROR ) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Charger Error, turn OFF charging !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Charger Error, turn OFF charging !\r\n"); + } + BMT_status.total_charging_time = 0; + pchr_turn_off_charging_bq24196(); +@@ -1941,7 +1941,7 @@ void pchr_turn_on_charging_bq24196 (void) + ChargerHwInit_bq24196(); + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] pchr_turn_on_charging_bq24196 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] pchr_turn_on_charging_bq24196 !\r\n"); + } + + if (g_bcct_flag == 1) +@@ -1970,7 +1970,7 @@ void pchr_turn_on_charging_bq24196 (void) + bq24196_set_en_hiz(0x0); + bq24196_set_chg_config(0x1); // charger enable + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] charger enable !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] charger enable !\r\n"); + } + if (Enable_BATDRV_LOG == 1) { + printk("[BATTERY:bq24196] charger enable !\r\n"); +@@ -1979,7 +1979,7 @@ void pchr_turn_on_charging_bq24196 (void) + else + { + pchr_turn_off_charging_bq24196(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] wait gFG_booting_counter_I_FLAG==2 (%d)\r\n", gFG_booting_counter_I_FLAG); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] wait gFG_booting_counter_I_FLAG==2 (%d)\r\n", gFG_booting_counter_I_FLAG); + } + } + } +@@ -2218,7 +2218,7 @@ int do_jeita_state_machine(void) + { + if(Enable_BATDRV_LOG >=1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Battery Normal Temperature between %d and %d !!\n\r", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Battery Normal Temperature between %d and %d !!\n\r", + TEMP_POS_10_THRESHOLD,TEMP_POS_45_THRESHOLD); + } + g_temp_status = TEMP_POS_10_TO_POS_45; +@@ -2317,7 +2317,7 @@ int BAT_CheckBatteryStatus_bq24196(void) + #endif + BMT_status.temperature = g_bat_temperature_pre; + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY] Warning !! bat_temperature_volt == 0, restore temperature value\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY] Warning !! bat_temperature_volt == 0, restore temperature value\n\r"); + } + } + else +@@ -2346,7 +2346,7 @@ int BAT_CheckBatteryStatus_bq24196(void) + bat_temperature_volt_temp = bat_temperature_volt; + bat_temperature_volt = bat_temperature_volt + ((fg_current_temp*fg_r_value)/1000); + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[tbat_workaround] %d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[tbat_workaround] %d,%d,%d,%d,%d\n", + bat_temperature_volt_temp, bat_temperature_volt, fg_current_state, fg_current_temp, fg_r_value); + } + //----------------------------------------------------------------------------- +@@ -2359,11 +2359,11 @@ int BAT_CheckBatteryStatus_bq24196(void) + ret = bq27541_set_cmd_read(BQ27541_CMD_Temperature, &returnData); + if(ret != 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ADC:bq27541] bq27541 i2c access error, use MT6320 measured battery temperature\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ADC:bq27541] bq27541 i2c access error, use MT6320 measured battery temperature\n"); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ADC:bq27541] battery temperature read raw data(%d)0.1K\n", returnData); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ADC:bq27541] battery temperature read raw data(%d)0.1K\n", returnData); + BMT_status.temperature = ((returnData/10) - 273); + } + #endif +@@ -2371,12 +2371,12 @@ int BAT_CheckBatteryStatus_bq24196(void) + if((g_battery_tt_check_flag == 0) && (BMT_status.temperature < MAX_CHARGE_TEMPERATURE) && (BMT_status.temperature > MIN_CHARGE_TEMPERATURE)) + { + g_battery_thermal_throttling_flag = 1; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Enable battery TT (%d)\n\r", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Enable battery TT (%d)\n\r", BMT_status.temperature); + g_battery_tt_check_flag = 1; + } + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ADC:bq24196] VCHR:%d BAT_SENSE:%d I_SENSE:%d TBAT:%d TBAT_vol:%d BatTT:%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ADC:bq24196] VCHR:%d BAT_SENSE:%d I_SENSE:%d TBAT:%d TBAT_vol:%d BatTT:%d\n", + BMT_status.charger_vol, BMT_status.ADC_BAT_SENSE, BMT_status.ADC_I_SENSE, BMT_status.temperature, bat_temperature_volt, g_battery_thermal_throttling_flag); + } + +@@ -2399,12 +2399,12 @@ int BAT_CheckBatteryStatus_bq24196(void) + if(ret != 1) + { + BMT_status.SOC = BattVoltToPercent(BMT_status.bat_vol); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq27541] bq27541 i2c access error\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq27541] bq27541 i2c access error\n"); + } + else + { + BMT_status.SOC = returnData; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq27541] bq27541 read SOC raw data = %d\n", returnData); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq27541] bq27541 read SOC raw data = %d\n", returnData); + } + #else + BMT_status.SOC = BattVoltToPercent(BMT_status.bat_vol); +@@ -2492,12 +2492,12 @@ int BAT_CheckBatteryStatus_bq24196(void) + if(ret != 1) + { + BMT_status.SOC = FGADC_Get_BatteryCapacity_CoulombMothod(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq27541] bq27541 i2c access error\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq27541] bq27541 i2c access error\n"); + } + else + { + BMT_status.SOC = returnData; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq27541] bq27541 read SOC raw data = %d\n", returnData); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq27541] bq27541 read SOC raw data = %d\n", returnData); + } + #else + BMT_status.SOC = FGADC_Get_BatteryCapacity_CoulombMothod(); +@@ -2576,11 +2576,11 @@ int BAT_CheckBatteryStatus_bq24196(void) + ret = bq27541_set_cmd_read(BQ27541_CMD_Temperature, &returnData); + if(ret != 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:AVG:bq27541] bq27541 i2c access error, use MT6320 measured battery temperature\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:AVG:bq27541] bq27541 i2c access error, use MT6320 measured battery temperature\n"); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:AVG:bq27541] battery temperature read raw data(%d)0.1K\n", returnData); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:AVG:bq27541] battery temperature read raw data(%d)0.1K\n", returnData); + BMT_status.temperature = ((returnData/10) - 273); + } + #endif +@@ -2615,13 +2615,13 @@ int BAT_CheckBatteryStatus_bq24196(void) + //------------------------------------------------------------ + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:AVG:bq24196] BatTemp:%d Vbat:%d VBatSen:%d SOC:%d ChrDet:%d Vchrin:%d Icharging:%d ChrType:%d USBstate:%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:AVG:bq24196] BatTemp:%d Vbat:%d VBatSen:%d SOC:%d ChrDet:%d Vchrin:%d Icharging:%d ChrType:%d USBstate:%d\r\n", + BMT_status.temperature ,BMT_status.bat_vol, BMT_status.ADC_BAT_SENSE, BMT_status.SOC, + upmu_is_chr_det(), BMT_status.charger_vol, BMT_status.ICharging, CHR_Type_num, g_usb_state ); + } + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:FG:bq24196] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:FG:bq24196] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\r\n", + BMT_status.temperature ,BMT_status.bat_vol, BMT_status.ADC_BAT_SENSE, BMT_status.SOC, + upmu_is_chr_det(), BMT_status.charger_vol, BMT_status.ICharging, CHR_Type_num, + FGADC_Get_BatteryCapacity_CoulombMothod(), FGADC_Get_BatteryCapacity_VoltageMothod(), BATTERY_AVERAGE_SIZE ); +@@ -2641,12 +2641,12 @@ int BAT_CheckBatteryStatus_bq24196(void) + + if(battery_cmd_thermal_test_mode == 1){ + BMT_status.temperature = battery_cmd_thermal_test_mode_value; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); + } + + #if defined(MTK_JEITA_STANDARD_SUPPORT) + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] support JEITA, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] support JEITA, Tbat=%d\n", BMT_status.temperature); + } + if( do_jeita_state_machine() == PMU_STATUS_FAIL) + { +@@ -2701,7 +2701,7 @@ int BAT_CheckBatteryStatus_bq24196(void) + #endif + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Battery Re-charging !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Battery Re-charging !!\n\r"); + } + BMT_status.bat_full = KAL_FALSE; + BMT_status.bat_charging_state = CHR_CC; +@@ -2720,7 +2720,7 @@ int BAT_CheckBatteryStatus_bq24196(void) + g_Calibration_FG = 0; + + // if (Enable_BATDRV_LOG == 1) { +-// xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Battery Re-charging. Call FGADC_Reset_SW_Parameter.\n\r"); ++// xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Battery Re-charging. Call FGADC_Reset_SW_Parameter.\n\r"); + // } + // FGADC_Reset_SW_Parameter(); + } +@@ -2736,7 +2736,7 @@ int BAT_CheckBatteryStatus_bq24196(void) + PMU_STATUS BAT_BatteryStatusFailAction(void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] BAD Battery status... Charging Stop !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] BAD Battery status... Charging Stop !!\n\r"); + } + + #if defined(MTK_JEITA_STANDARD_SUPPORT) +@@ -2766,7 +2766,7 @@ PMU_STATUS BAT_BatteryStatusFailAction(void) + + PMU_STATUS BAT_ChargingOTAction(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Charging over %d hr stop !!\n\r", MAX_CHARGING_TIME); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Charging over %d hr stop !!\n\r", MAX_CHARGING_TIME); + + //BMT_status.bat_full = KAL_TRUE; + BMT_status.total_charging_time = 0; +@@ -2789,7 +2789,7 @@ extern void fg_qmax_update_for_aging(void); + PMU_STATUS BAT_BatteryFullAction(void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] check Battery full !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] check Battery full !!\n\r"); + } + + BMT_status.bat_full = KAL_TRUE; +@@ -2813,7 +2813,7 @@ PMU_STATUS BAT_BatteryFullAction(void) + gFG_can_reset_flag = 0; + + if (Enable_BATDRV_LOG >= 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); + } + FGADC_Reset_SW_Parameter(); + } +@@ -2826,7 +2826,7 @@ PMU_STATUS BAT_BatteryFullAction(void) + g_bat_full_user_view = KAL_TRUE; + g_HW_Charging_Done = 0; + if (Enable_BATDRV_LOG >= 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] (%d) VBAT<4150mV. Don't FGADC_Reset_SW_Parameter.\n", BMT_status.bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] (%d) VBAT<4150mV. Don't FGADC_Reset_SW_Parameter.\n", BMT_status.bat_vol); + } + } + } +@@ -2861,7 +2861,7 @@ void mt_battery_notify_check(void) + //if(BMT_status.charger_vol > 3000) //test + { + g_BatteryNotifyCode |= 0x0001; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] BMT_status.charger_vol(%d) > %d mV\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] BMT_status.charger_vol(%d) > %d mV\n", + BMT_status.charger_vol, V_CHARGER_MAX); + } + else +@@ -2869,7 +2869,7 @@ void mt_battery_notify_check(void) + g_BatteryNotifyCode &= ~(0x0001); + } + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0001 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0001 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -2879,14 +2879,14 @@ void mt_battery_notify_check(void) + //if(BMT_status.temperature > 20) //test + { + g_BatteryNotifyCode |= 0x0002; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bat_temp(%d) > 50'C\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bat_temp(%d) > 50'C\n", BMT_status.temperature); + } + else + { + g_BatteryNotifyCode &= ~(0x0002); + } + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0002 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0002 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -2898,14 +2898,14 @@ void mt_battery_notify_check(void) + //if(BMT_status.ICharging > 200) //test + { + g_BatteryNotifyCode |= 0x0004; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] I_charging(%d) > 1000mA\n", BMT_status.ICharging); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] I_charging(%d) > 1000mA\n", BMT_status.ICharging); + } + else + { + g_BatteryNotifyCode &= ~(0x0004); + } + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0003 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0003 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -2915,14 +2915,14 @@ void mt_battery_notify_check(void) + //if(BMT_status.bat_vol > 3800) //test + { + g_BatteryNotifyCode |= 0x0008; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bat_vlot(%d) > 4350mV\n", BMT_status.bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bat_vlot(%d) > 4350mV\n", BMT_status.bat_vol); + } + else + { + g_BatteryNotifyCode &= ~(0x0008); + } + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0004 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0004 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -2938,7 +2938,7 @@ void mt_battery_notify_check(void) + //if(BMT_status.total_charging_time >= 60) //test + { + g_BatteryNotifyCode |= 0x0010; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Charging Over Time\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Charging Over Time\n"); + } + else + { +@@ -2947,7 +2947,7 @@ void mt_battery_notify_check(void) + } + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0005 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] BATTERY_NOTIFY_CASE_0005 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -3016,7 +3016,7 @@ void check_battery_exist(void) + /////////////////////////////////////////////////////////////////////////////////////////// + void pmic_init_for_bq24196(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[pmic_init_for_bq24196] Start\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[pmic_init_for_bq24196] Start\n"); + + upmu_set_rg_chrwdt_td(0x0); // CHRWDT_TD, 4s + upmu_set_rg_chrwdt_int_en(0); // CHRWDT_INT_EN +@@ -3046,7 +3046,7 @@ void pmic_init_for_bq24196(void) + upmu_set_rg_chr_en(0); // CHR_EN + upmu_set_rg_hwcv_en(0); // RG_HWCV_EN + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[pmic_init_for_bq24196] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[pmic_init_for_bq24196] Done\n"); + } + + void BAT_UpdateChargerStatus(void) +@@ -3099,7 +3099,7 @@ void BAT_thread_bq24196(void) + { + if(battery_cmd_thermal_test_mode == 1){ + BMT_status.temperature = battery_cmd_thermal_test_mode_value; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery:bq24196] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery:bq24196] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); + } + + #if defined(MTK_JEITA_STANDARD_SUPPORT) +@@ -3110,7 +3110,7 @@ void BAT_thread_bq24196(void) + #if defined(CONFIG_POWER_EXT) + xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] CONFIG_POWER_EXT, no update mt6577_battery_update_power_down.\n"); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery:bq24196] Tbat(%d)>=60, system need power down.\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery:bq24196] Tbat(%d)>=60, system need power down.\n", BMT_status.temperature); + mt6320_battery_update_power_down(&mt6320_battery_main); + if( upmu_is_chr_det() == KAL_TRUE ) + { +@@ -3132,7 +3132,7 @@ void BAT_thread_bq24196(void) + if(BMT_status.charger_type == CHARGER_UNKNOWN) + { + CHR_Type_num = mt_charger_type_detection(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BAT_thread:bq24196] CHR_Type_num = %d\r\n", CHR_Type_num); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BAT_thread:bq24196] CHR_Type_num = %d\r\n", CHR_Type_num); + BMT_status.charger_type = CHR_Type_num; + if( (CHR_Type_num==STANDARD_HOST) || (CHR_Type_num==CHARGING_HOST) ) + { +@@ -3160,7 +3160,7 @@ void BAT_thread_bq24196(void) + g_bat_full_user_view = KAL_FALSE; + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_Only:bq24196] Set g_bat_full_user_view=KAL_FALSE\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_Only:bq24196] Set g_bat_full_user_view=KAL_FALSE\r\n"); + } + } + } +@@ -3226,14 +3226,14 @@ void BAT_thread_bq24196(void) + + if(battery_cmd_thermal_test_mode == 1){ + BMT_status.temperature = battery_cmd_thermal_test_mode_value; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] In thermal_test_mode 3, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] In thermal_test_mode 3, Tbat=%d\n", BMT_status.temperature); + } + + /* Battery Notify Check */ + mt_battery_notify_check(); + + #if defined(CONFIG_POWER_EXT) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] CONFIG_POWER_EXT, no update Android.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] CONFIG_POWER_EXT, no update Android.\n"); + #else + if(gFG_booting_counter_I_FLAG == 2) + { +@@ -3256,22 +3256,22 @@ void BAT_thread_bq24196(void) + if(ret != 1) + { + mt6320_battery_main.BAT_CAPACITY = 50; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq27541] bq27541 i2c access error\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq27541] bq27541 i2c access error\n"); + } + else + { + mt6320_battery_main.BAT_CAPACITY = returnData; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq27541] bq27541 read SOC raw data = %d\n", returnData); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq27541] bq27541 read SOC raw data = %d\n", returnData); + } + #else + mt6320_battery_main.BAT_CAPACITY = 50; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] gFG_booting_counter_I_FLAG is 1, SOC=50.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] gFG_booting_counter_I_FLAG is 1, SOC=50.\n"); + #endif + } + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] gFG_booting_counter_I_FLAG!=2 (%d)\r\n", gFG_booting_counter_I_FLAG); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] gFG_booting_counter_I_FLAG!=2 (%d)\r\n", gFG_booting_counter_I_FLAG); + } + #endif + +@@ -3290,7 +3290,7 @@ void BAT_thread_bq24196(void) + + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] PMU_STATUS_FAIL (chr_err_cnt = %d)\n", chr_err_cnt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] PMU_STATUS_FAIL (chr_err_cnt = %d)\n", chr_err_cnt); + } + } + /* Battery Full */ +@@ -3299,7 +3299,7 @@ void BAT_thread_bq24196(void) + { + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Battery real full. \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Battery real full. \n"); + } + BMT_status.bat_full = KAL_TRUE; + BMT_status.total_charging_time = 0; +@@ -3317,7 +3317,7 @@ void BAT_thread_bq24196(void) + gFG_can_reset_flag = 0; + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); + } + FGADC_Reset_SW_Parameter(); + } +@@ -3330,7 +3330,7 @@ void BAT_thread_bq24196(void) + { + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Charging Over Time. \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Charging Over Time. \n"); + } + pchr_turn_off_charging_bq24196(); + +@@ -3347,13 +3347,13 @@ void BAT_thread_bq24196(void) + + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] state=%d, \n", BMT_status.bat_charging_state); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] state=%d, \n", BMT_status.bat_charging_state); + } + + /* Charging OT */ + if(BMT_status.total_charging_time >= MAX_CHARGING_TIME) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Charging over %d hr stop !!\n\r", MAX_CHARGING_TIME); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Charging over %d hr stop !!\n\r", MAX_CHARGING_TIME); + BMT_status.total_charging_time = 0; + BMT_status.PRE_charging_time = 0; + BMT_status.CC_charging_time = 0; +@@ -3387,13 +3387,13 @@ void BAT_thread_bq24196(void) + gFG_can_reset_flag = 0; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); + } + FGADC_Reset_SW_Parameter(); + } + g_Calibration_FG = 0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Battery real full and disable charging (%d) \n", bq24196_stat); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Battery real full and disable charging (%d) \n", bq24196_stat); + gSyncPercentage = 1; + return; + } +@@ -3402,7 +3402,7 @@ void BAT_thread_bq24196(void) + pchr_turn_off_charging_bq24196(); + msleep(100); + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] bq24196_status is (%d), but battery voltage not over recharge voltage\n", bq24196_stat); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] bq24196_status is (%d), but battery voltage not over recharge voltage\n", bq24196_stat); + } + } + +@@ -3412,7 +3412,7 @@ void BAT_thread_bq24196(void) + pchr_turn_on_charging_bq24196(); + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Total charging timer=%d, bq24196_status=%d \n\r", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Total charging timer=%d, bq24196_status=%d \n\r", + BMT_status.total_charging_time, bq24196_stat); + } + } +@@ -3428,7 +3428,7 @@ void BAT_thread_bq24196(void) + + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BAT_thread_bq24196] End ....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BAT_thread_bq24196] End ....\n"); + } + } + +@@ -3464,7 +3464,7 @@ void PrechargeCheckStatus(void) + + if( get_charger_detect_status() == KAL_TRUE ) //do not check USB device check at precharge state + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Boot up during charging!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Boot up during charging!\n"); + g_boot_charging = 1; + // bq24196_set_chg_config(0x1); // charger enable, in case adaptor plug in during booting period + // bq24196_set_batfet_disable(0x1); // turn off BATFET for bat_vol measurement +@@ -3481,7 +3481,7 @@ void PrechargeCheckStatus(void) + bq24196_set_chg_config(0x0); + bq24196_set_en_hiz(0x1); + bat_vol = get_i_sense_volt(10); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath init battery voltage > 3600, battery voltage during system discharging = %d\n", bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath init battery voltage > 3600, battery voltage during system discharging = %d\n", bat_vol); + return; + } + else +@@ -3494,7 +3494,7 @@ void PrechargeCheckStatus(void) + bat_volt_check_point = 0; + g_ocv_lookup_done = 1; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath init battery voltage < 3600, battery voltage = %d\n", bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath init battery voltage < 3600, battery voltage = %d\n", bat_vol); + } + else + { +@@ -3510,7 +3510,7 @@ void PrechargeCheckStatus(void) + if(BMT_status.charger_type == CHARGER_UNKNOWN) + { + CHR_Type_num = mt_charger_type_detection(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] CHR_Type_num = %d\r\n", CHR_Type_num); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] CHR_Type_num = %d\r\n", CHR_Type_num); + BMT_status.charger_type = CHR_Type_num; + if( (CHR_Type_num==STANDARD_HOST) || (CHR_Type_num==CHARGING_HOST) ) + { +@@ -3564,7 +3564,7 @@ void PrechargeCheckStatus(void) + if((g_battery_tt_check_flag == 0) && (bat_temp < 60) && (bat_temp > (-20))) + { + g_battery_thermal_throttling_flag = 1; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge enable battery TT (%d)\n\r", bat_temp); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge enable battery TT (%d)\n\r", bat_temp); + g_battery_tt_check_flag = 1; + } + +@@ -3576,32 +3576,32 @@ void PrechargeCheckStatus(void) + + if(battery_cmd_thermal_test_mode == 1){ + BMT_status.temperature = battery_cmd_thermal_test_mode_value; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); + } + #if (BAT_TEMP_PROTECT_ENABLE == 1) + if ((bat_temp <= MIN_CHARGE_TEMPERATURE) || + (bat_temp == ERR_CHARGE_TEMPERATURE)) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge battery Under Temperature or NTC fail !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge battery Under Temperature or NTC fail !!\n\r"); + BMT_status.bat_charging_state = CHR_ERROR; + } + #endif + if (bat_temp >= MAX_CHARGE_TEMPERATURE) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge battery Over Temperature !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge battery Over Temperature !!\n\r"); + BMT_status.bat_charging_state = CHR_ERROR; + } + + #if (V_CHARGER_ENABLE == 1) + if (charger_vol <= V_CHARGER_MIN ) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge charger under voltage!!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge charger under voltage!!\r\n"); + BMT_status.bat_charging_state = CHR_ERROR; + } + #endif + if ( charger_vol >= V_CHARGER_MAX ) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge charger over voltage !!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge charger over voltage !!\r\n"); + BMT_status.bat_charging_state = CHR_ERROR; + } + +@@ -3617,19 +3617,19 @@ void PrechargeCheckStatus(void) + if(( g_temp_CC_value == 0) || (chr_err_cnt > 0)) + { + bq24196_set_chg_config(0x0); // charger disable +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge chr_err_cnt = %d\r\n", chr_err_cnt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge chr_err_cnt = %d\r\n", chr_err_cnt); + } + else + { + bq24196_set_chg_config(0x1); // charger enable + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Power path precharging !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Power path precharging !\r\n"); + } + } + + if(bat_vol >= SYSTEM_OFF_VOLTAGE + 100) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge finish, battery voltage = %d\n", bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge finish, battery voltage = %d\n", bat_vol); + BMT_status.bat_charging_state = CHR_CC; + break; + } +@@ -3661,7 +3661,7 @@ void PrechargeCheckStatus(void) + power_supply_changed(bat_psy); + + sys_vol = get_bat_sense_volt(10); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge continue, battery voltage (%d), system voltage (%d) (%d), charger volt (%d)\n", bat_vol, sys_vol, sys_vol_dis, charger_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge continue, battery voltage (%d), system voltage (%d) (%d), charger volt (%d)\n", bat_vol, sys_vol, sys_vol_dis, charger_vol); + bq24196_dump_register(); + + mt_battery_notify_check(); +@@ -3671,7 +3671,7 @@ void PrechargeCheckStatus(void) + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196]VCDT voltage = %d\n", get_charger_volt(10)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196]VCDT voltage = %d\n", get_charger_volt(10)); + wake_unlock(&battery_suspend_lock); + // pchr_turn_off_charging_bq24196(); + bq24196_set_wdt_rst(0x1); //Kick watchdog +@@ -3718,7 +3718,7 @@ void PrechargeCheckStatus(void) + + power_supply_changed(bat_psy); + #endif +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge stopped due to charger plug-out, wait for system shutdown\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:bq24196] Powerpath precharge stopped due to charger plug-out, wait for system shutdown\n"); + msleep(5000); + } + } +@@ -4634,7 +4634,7 @@ int charger_hv_detect_sw_thread_handler(void *unused) + { + ktime = ktime_set(0, BAT_MS_TO_NS(500)); + +- //xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[charger_hv_detect_sw_thread_handler] \n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[charger_hv_detect_sw_thread_handler] \n"); + + charger_hv_init(); + +@@ -4649,13 +4649,13 @@ int charger_hv_detect_sw_thread_handler(void *unused) + + if( get_charger_hv_status() == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[charger_hv_detect_sw_thread_handler] charger hv\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[charger_hv_detect_sw_thread_handler] charger hv\n"); + + pchr_turn_off_charging_bq24196(); + } + else + { +- //xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[charger_hv_detect_sw_thread_handler] upmu_chr_get_vcdt_hv_det() != 1\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[charger_hv_detect_sw_thread_handler] upmu_chr_get_vcdt_hv_det() != 1\n"); + } + + kick_charger_wdt(); +@@ -4672,7 +4672,7 @@ enum hrtimer_restart charger_hv_detect_sw_workaround(struct hrtimer *timer) + charger_hv_detect_flag = 1; + wake_up_interruptible(&charger_hv_detect_waiter); + +- //xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[charger_hv_detect_sw_workaround] \n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[charger_hv_detect_sw_workaround] \n"); + + return HRTIMER_NORESTART; + } +@@ -4689,10 +4689,10 @@ void charger_hv_detect_sw_workaround_init(void) + charger_hv_detect_thread = kthread_run(charger_hv_detect_sw_thread_handler, 0, "mtk charger_hv_detect_sw_workaround"); + if (IS_ERR(charger_hv_detect_thread)) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[%s]: failed to create charger_hv_detect_sw_workaround thread\n", __FUNCTION__); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[%s]: failed to create charger_hv_detect_sw_workaround thread\n", __FUNCTION__); + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "charger_hv_detect_sw_workaround_init : done\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "charger_hv_detect_sw_workaround_init : done\n" ); + } + + /////////////////////////////////////////////////////////////////////////////////////////// +@@ -4711,7 +4711,7 @@ int battery_kthread_handler(void *unused) + { + ktime = ktime_set(10, 0); // 10s, 10* 1000 ms + +-// xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[battery_kthread_handler] \n"); ++// xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[battery_kthread_handler] \n"); + wait_event_interruptible(battery_kthread_waiter, battery_kthread_flag != 0); + + battery_kthread_flag = 0; +@@ -4728,7 +4728,7 @@ enum hrtimer_restart battery_kthread_hrtimer_func(struct hrtimer *timer) + battery_kthread_flag = 1; + wake_up_interruptible(&battery_kthread_waiter); + +-// xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[battery_kthread_hrtimer_func] \n"); ++// xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[battery_kthread_hrtimer_func] \n"); + + return HRTIMER_NORESTART; + } +@@ -4745,10 +4745,10 @@ void battery_kthread_hrtimer_init(void) + battery_kthread_hrtimer_task = kthread_run(battery_kthread_handler, NULL, "mtk battery_kthread_handler"); + if (IS_ERR(battery_kthread_hrtimer_task)) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[%s]: failed to create battery_kthread_hrtimer_task thread\n", __FUNCTION__); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[%s]: failed to create battery_kthread_hrtimer_task thread\n", __FUNCTION__); + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "battery_kthread_hrtimer_init : done\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "battery_kthread_hrtimer_init : done\n" ); + } + + static int mt6320_battery_probe(struct platform_device *dev) +@@ -4758,18 +4758,18 @@ static int mt6320_battery_probe(struct platform_device *dev) + int i=0; + int ret_device_file=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver probe!! ********\n" ); + + /* Integrate with NVRAM */ + ret = alloc_chrdev_region(&adc_cali_devno, 0, 1, ADC_CALI_DEVNAME); + if (ret) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "Error: Can't Get Major number for adc_cali \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "Error: Can't Get Major number for adc_cali \n"); + adc_cali_cdev = cdev_alloc(); + adc_cali_cdev->owner = THIS_MODULE; + adc_cali_cdev->ops = &adc_cali_fops; + ret = cdev_add(adc_cali_cdev, adc_cali_devno, 1); + if(ret) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "adc_cali Error: cdev_add\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "adc_cali Error: cdev_add\n"); + adc_cali_major = MAJOR(adc_cali_devno); + adc_cali_class = class_create(THIS_MODULE, ADC_CALI_DEVNAME); + class_dev = (struct class_device *)device_create(adc_cali_class, +@@ -4777,32 +4777,32 @@ static int mt6320_battery_probe(struct platform_device *dev) + adc_cali_devno, + NULL, + ADC_CALI_DEVNAME); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] adc_cali prepare : done !!\n "); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] adc_cali prepare : done !!\n "); + + /* Integrate with Android Battery Service */ + ret = power_supply_register(&(dev->dev), &mt6320_ac_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Success !!\n"); + + ret = power_supply_register(&(dev->dev), &mt6320_usb_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Success !!\n"); + + ret = power_supply_register(&(dev->dev), &mt6320_battery_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Success !!\n"); + + // wake_lock_init(&battery_suspend_lock, WAKE_LOCK_SUSPEND, "battery wakelock"); + +@@ -4881,13 +4881,13 @@ static int mt6320_battery_probe(struct platform_device *dev) + //baton initial setting + //ret=pmic_config_interface(CHR_CON7, 0x01, PMIC_BATON_TDET_EN_MASK, PMIC_BATON_TDET_EN_SHIFT); //BATON_TDET_EN=1 + //ret=pmic_config_interface(AUXADC_CON0, 0x01, PMIC_RG_BUF_PWD_B_MASK, PMIC_RG_BUF_PWD_B_SHIFT); //RG_BUF_PWD_B=1 +- //xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[mt6320_battery_probe] BATON_TDET_EN=1 & RG_BUF_PWD_B=1\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[mt6320_battery_probe] BATON_TDET_EN=1 & RG_BUF_PWD_B=1\n"); + + //battery kernel thread for 10s check and charger in/out event + /* Replace GPT timer by hrtime */ + battery_kthread_hrtimer_init(); + kthread_run(bat_thread_kthread, NULL, "bat_thread_kthread"); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[mt6320_battery_probe] bat_thread_kthread Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[mt6320_battery_probe] bat_thread_kthread Done\n"); + + charger_hv_detect_sw_workaround_init(); + +@@ -4907,20 +4907,20 @@ static int mt6320_battery_probe(struct platform_device *dev) + + static int mt6320_battery_remove(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver remove!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver remove!! ********\n" ); + + return 0; + } + + static void mt6320_battery_shutdown(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver shutdown!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver shutdown!! ********\n" ); + + } + + static int mt6320_battery_suspend(struct platform_device *dev, pm_message_t state) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver suspend!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver suspend!! ********\n" ); + + return 0; + } +@@ -4976,7 +4976,7 @@ EXPORT_SYMBOL(force_get_tbat); + + static int mt6320_battery_resume(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver resume!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver resume!! ********\n" ); + + //g_battery_flag_resume=1; + +@@ -5107,7 +5107,7 @@ static int mt_batteryNotify_probe(struct platform_device *dev) + struct proc_dir_entry *entry = NULL; + struct proc_dir_entry *battery_dir = NULL; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** mt_batteryNotify_probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** mt_batteryNotify_probe!! ********\n" ); + + ret_device_file = device_create_file(&(dev->dev), &dev_attr_BatteryNotify); + ret_device_file = device_create_file(&(dev->dev), &dev_attr_BN_TestMode); +@@ -5127,7 +5127,7 @@ static int mt_batteryNotify_probe(struct platform_device *dev) + } + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** mtk_battery_cmd!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** mtk_battery_cmd!! ********\n" ); + + return 0; + } +@@ -5150,29 +5150,29 @@ static int __init mt6320_battery_init(void) + + ret = platform_device_register(&MT6320_battery_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_battery_driver] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_battery_driver] Unable to device register(%d)\n", ret); + return ret; + } + + ret = platform_driver_register(&mt6320_battery_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_battery_driver] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_battery_driver] Unable to register driver (%d)\n", ret); + return ret; + } + + // battery notofy UI + ret = platform_device_register(&MT_batteryNotify_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt_batteryNotify] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt_batteryNotify] Unable to device register(%d)\n", ret); + return ret; + } + ret = platform_driver_register(&mt_batteryNotify_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt_batteryNotify] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt_batteryNotify] Unable to register driver (%d)\n", ret); + return ret; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_battery_driver] Initialization : DONE !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_battery_driver] Initialization : DONE !!\n"); + + return 0; + } +diff --git a/drivers/misc/mediatek/power/mt8127/addon/mt_battery_ncp1851.c b/drivers/misc/mediatek/power/mt8127/addon/mt_battery_ncp1851.c +index d0ab1900..f3d02bbb 100644 +--- a/drivers/misc/mediatek/power/mt8127/addon/mt_battery_ncp1851.c ++++ b/drivers/misc/mediatek/power/mt8127/addon/mt_battery_ncp1851.c +@@ -230,12 +230,12 @@ int get_tbat_volt(int times) + { + #if defined(ENABLE_TBAT_TREF_SUPPORT) + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(3,times,1);\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(3,times,1);\n"); + } + return PMIC_IMM_GetOneChannelValue(3,times,1); + #else + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(4,times,1);\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[get_tbat_volt] return PMIC_IMM_GetOneChannelValue(4,times,1);\n"); + } + return PMIC_IMM_GetOneChannelValue(4,times,1); + #endif +@@ -276,32 +276,32 @@ kal_bool upmu_is_chr_det(void) + if( mt_usb_is_device() ) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] Charger exist and USB is not host\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] Charger exist and USB is not host\n"); + } + return KAL_TRUE; + } + else + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] Charger exist but USB is host\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] Charger exist but USB is host\n"); + } + //Monitor NCP1851 boost mode status + if(ncp1851_get_otg_en()== 0) //boost mode disabled + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] USB host mode but boost 5V not enabled\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] USB host mode but boost 5V not enabled\n"); + if(ncp1851_get_faultint() == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] ncp1851 fault int detected!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] ncp1851 fault int detected!\n"); + ncp1851_read_register(0x6); + bst_int = ncp1851_reg[0x6]; + ncp1851_reg[0x6] = 0; + if(bst_int & (CON6_VBUSILIM_MASK << CON6_VBUSILIM_SHIFT)) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] ncp1851 boost mode fail due to vbus over current!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] ncp1851 boost mode fail due to vbus over current!\n"); + if(bst_int & (CON6_VBUSOV_MASK << CON6_VBUSOV_SHIFT)) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] ncp1851 boost mode fail due to vbus over voltage!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] ncp1851 boost mode fail due to vbus over voltage!\n"); + if(bst_int & (CON6_VBATLO_MASK << CON6_VBATLO_SHIFT)) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[upmu_is_chr_det] ncp1851 boost mode fail due to vbat low voltage!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[upmu_is_chr_det] ncp1851 boost mode fail due to vbat low voltage!\n"); + } + } + //ncp1851_set_otg_en(0x1); //TODO: decide if need auto retry +@@ -543,18 +543,18 @@ ssize_t bat_log_write( struct file *filp, const char __user *buff, + unsigned long len, void *data ) + { + if (copy_from_user( &proc_bat_data, buff, len )) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "bat_log_write error.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "bat_log_write error.\n"); + return -EFAULT; + } + + if (proc_bat_data[0] == '1') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "enable battery driver log system\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "enable battery driver log system\n"); + Enable_BATDRV_LOG = 1; + } else if (proc_bat_data[0] == '2') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "enable battery driver log system:2\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "enable battery driver log system:2\n"); + Enable_BATDRV_LOG = 2; + } else { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "Disable battery driver log system\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "Disable battery driver log system\n"); + Enable_BATDRV_LOG = 0; + } + +@@ -565,18 +565,18 @@ ssize_t bat_thread_ctrl_write( struct file *filp, const char __user *buff, + unsigned long len, void *data ) + { + if (copy_from_user( &proc_bat_data_ctrl, buff, len )) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "bat_thread_ctrl_write error.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "bat_thread_ctrl_write error.\n"); + return -EFAULT; + } + + if (proc_bat_data_ctrl[0] == '1') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "resume bat_thread_kthread()\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "resume bat_thread_kthread()\n"); + bat_thread_control(1); + } else if (proc_bat_data_ctrl[0] == '2') { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "stop bat_thread_kthread()\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "stop bat_thread_kthread()\n"); + bat_thread_control(0); + } else { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "not valid value, resume bat_thread_kthread() as default\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "not valid value, resume bat_thread_kthread() as default\n"); + bat_thread_control(1); + } + +@@ -590,10 +590,10 @@ int init_proc_log(void) + + if (proc_entry == NULL) { + ret = -ENOMEM; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "init_proc_log: Couldn't create proc entry\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "init_proc_log: Couldn't create proc entry\n"); + } else { + proc_entry->write_proc = bat_log_write; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "init_proc_log loaded.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "init_proc_log loaded.\n"); + } + + return ret; +@@ -926,7 +926,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + else + { + gFGsyncTimer_jeita+=10; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] In JEITA (%d on %d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] In JEITA (%d on %d)\r\n", + bat_volt_check_point, gFGsyncTimer_jeita); + } + #else +@@ -940,13 +940,13 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + bat_data->BAT_CAPACITY = bat_volt_check_point; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] In FULL Range (%d)\r\n", bat_volt_check_point); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] In FULL Range (%d)\r\n", bat_volt_check_point); + } + + gSyncPercentage=1; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_SyncRecharge] In recharging state, do not sync FG\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_SyncRecharge] In recharging state, do not sync FG\r\n"); + } + } + } +@@ -968,7 +968,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + + gSyncPercentage=1; + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_Recharging] Keep UI as 100. bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_Recharging] Keep UI as 100. bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", + bat_volt_check_point, BMT_status.SOC); + } + } +@@ -995,7 +995,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gSyncPercentage=1; + + //if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] Use gas gauge : gas gague get 100 first (%d)\r\n", bat_volt_check_point); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] Use gas gauge : gas gague get 100 first (%d)\r\n", bat_volt_check_point); + //} + } + else +@@ -1005,14 +1005,14 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gSyncPercentage=0; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] Can sync due to bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] Can sync due to bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", + bat_volt_check_point, BMT_status.SOC); + } + } + else + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] Keep UI due to bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] Keep UI due to bat_volt_check_point=%d, BMT_status.SOC=%d\r\n", + bat_volt_check_point, BMT_status.SOC); + } + } +@@ -1044,7 +1044,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + /*Use no gas gauge*/ + if( gForceADCsolution == 1 ) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BAT BATTERY] VBAT < %d mV : Android will Power Off System !!\r\n", SYSTEM_OFF_VOLTAGE); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BAT BATTERY] VBAT < %d mV : Android will Power Off System !!\r\n", SYSTEM_OFF_VOLTAGE); + bat_data->BAT_CAPACITY = 0; + } + /*Use gas gauge*/ +@@ -1062,7 +1062,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gFG_DOD1=gFG_DOD0; + BMT_status.SOC=bat_volt_check_point; + bat_data->BAT_CAPACITY = bat_volt_check_point; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] VBAT < %d mV (%d, gFG_DOD0=%d)\r\n", SYSTEM_OFF_VOLTAGE, bat_volt_check_point,gFG_DOD0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] VBAT < %d mV (%d, gFG_DOD0=%d)\r\n", SYSTEM_OFF_VOLTAGE, bat_volt_check_point,gFG_DOD0); + } + } + /* If FG_VBAT <= gFG_15_vlot, then run to 15% */ +@@ -1085,7 +1085,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gFG_DOD1=gFG_DOD0; + BMT_status.SOC=bat_volt_check_point; + bat_data->BAT_CAPACITY = bat_volt_check_point; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] FG_VBAT <= %d, then SOC run to 15. (SOC=%d,Point=%d,D1=%d,D0=%d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] FG_VBAT <= %d, then SOC run to 15. (SOC=%d,Point=%d,D1=%d,D0=%d)\r\n", + gFG_15_vlot, BMT_status.SOC, bat_volt_check_point, gFG_DOD1, gFG_DOD0); + } + /* If "FG_VBAT > gFG_15_vlot" and "FG_report=15%" , then keep 15% till FG_VBAT <= gFG_15_vlot */ +@@ -1100,7 +1100,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gFG_DOD1=gFG_DOD0; + BMT_status.SOC=bat_volt_check_point; + bat_data->BAT_CAPACITY = bat_volt_check_point; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] FG_VBAT(%d) > gFG_15_vlot(%d) and FG_report=15, then UI(%d) keep 15. (D1=%d,D0=%d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] FG_VBAT(%d) > gFG_15_vlot(%d) and FG_report=15, then UI(%d) keep 15. (D1=%d,D0=%d)\r\n", + gFG_voltage, gFG_15_vlot, bat_volt_check_point, gFG_DOD1, gFG_DOD0); + } + else +@@ -1119,7 +1119,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + else + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_OnlyBattery!] bat_volt_check_point=%d,BMT_status.SOC=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_OnlyBattery!] bat_volt_check_point=%d,BMT_status.SOC=%d\r\n", + bat_volt_check_point, BMT_status.SOC); + } + +@@ -1128,7 +1128,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + if( (bat_volt_check_point>BMT_status.SOC) && ((bat_volt_check_point!=1)) ) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_OnlyBattery] bat_volt_check_point=%d,BMT_status.SOC=%d,gFGsyncTimer=%d(on %d)\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_OnlyBattery] bat_volt_check_point=%d,BMT_status.SOC=%d,gFGsyncTimer=%d(on %d)\r\n", + bat_volt_check_point, BMT_status.SOC, gFGsyncTimer, DEFAULT_SYNC_TIME_OUT); + } + +@@ -1153,7 +1153,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + gSyncPercentage=1; + + //if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery] Use gas gauge : gas gague get 0 first (%d)\r\n", bat_volt_check_point); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery] Use gas gauge : gas gague get 0 first (%d)\r\n", bat_volt_check_point); + //} + } + else +@@ -1172,7 +1172,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + if(bat_volt_check_point == 100) { + g_bat_full_user_view = KAL_TRUE; + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_Only] Set g_bat_full_user_view=KAL_TRUE\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_Only] Set g_bat_full_user_view=KAL_TRUE\r\n"); + } + } + } +@@ -1180,7 +1180,7 @@ static void mt6320_battery_update(struct mt6320_battery_data *bat_data) + } + + if (Enable_BATDRV_LOG >= 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:IntegrationFG:point,per_C,per_V,count,vbat_charger,CSDAC_DAT] %d,%d,%d,%d,%d,ADC_Solution=%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:IntegrationFG:point,per_C,per_V,count,vbat_charger,CSDAC_DAT] %d,%d,%d,%d,%d,ADC_Solution=%d\r\n", + bat_volt_check_point, BMT_status.SOC, FGADC_Get_BatteryCapacity_VoltageMothod(), + BATTERY_AVERAGE_SIZE, BMT_status.bat_vol, gForceADCsolution); + } +@@ -1225,36 +1225,36 @@ static int mt6320_battery_probe(struct platform_device *dev) + { + int ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver probe!! ********\n" ); + + /* Integrate with Android Battery Service */ + ret = power_supply_register(&(dev->dev), &mt6320_ac_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Success !!\n"); + + ret = power_supply_register(&(dev->dev), &mt6320_usb_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Success !!\n"); + + ret = power_supply_register(&(dev->dev), &mt6320_battery_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Success !!\n"); + + //battery kernel thread for 10s check and charger in/out event + /*kthread_run(bat_thread_kthread, NULL, "bat_thread_kthread"); */ +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[bat_thread_kthread] Done\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[bat_thread_kthread] Done\n"); + + g_bat_init_flag=1; + +@@ -1475,10 +1475,10 @@ INT16 BattVoltToTemp(UINT32 dwVolt) + void BATTERY_SetUSBState(int usb_state_value) + { + if ( (usb_state_value < USB_SUSPEND) || ((usb_state_value > USB_CONFIGURED))){ +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY] BAT_SetUSBState Fail! Restore to default value\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY] BAT_SetUSBState Fail! Restore to default value\r\n"); + usb_state_value = USB_UNCONFIGURED; + } else { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY] BAT_SetUSBState Success! Set %d\r\n", usb_state_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY] BAT_SetUSBState Success! Set %d\r\n", usb_state_value); + g_usb_state = usb_state_value; + } + } +@@ -1493,7 +1493,7 @@ kal_bool pmic_chrdet_status(void) + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[pmic_chrdet_status] No charger\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[pmic_chrdet_status] No charger\r\n"); + return KAL_FALSE; + } + } +@@ -1737,7 +1737,7 @@ int g_current_change_flag = 0; + void ncp1851_set_ac_current(void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_ac_current \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_ac_current \r\n"); + } + + #ifdef MTK_NCP1852_SUPPORT +@@ -1746,7 +1746,7 @@ void ncp1851_set_ac_current(void) + if((g_temp_CC_value > Cust_CC_1600MA) || (g_temp_CC_value < Cust_CC_400MA)) + #endif + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] invalid current selected (%ld), use 500mA \r\n", g_temp_CC_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] invalid current selected (%ld), use 500mA \r\n", g_temp_CC_value); + ncp1851_set_ichg(1); + } + else +@@ -1772,7 +1772,7 @@ void ncp1851_set_ac_current(void) + void ncp1851_set_low_chg_current(void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_low_chg_current \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_low_chg_current \r\n"); + } + ncp1851_set_iinlim(0x0); //IN current limit at 100mA + ncp1851_set_iinset_pin_en(0x0); //Input current limit and AICL control by I2C +@@ -1785,7 +1785,7 @@ void select_charging_curret_ncp1851(void) + { + if (g_ftm_battery_flag) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] FTM charging : %d\r\n", charging_level_data[0]); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] FTM charging : %d\r\n", charging_level_data[0]); + g_temp_CC_value = charging_level_data[0]; + + #ifdef MTK_NCP1852_SUPPORT +@@ -1811,7 +1811,7 @@ void select_charging_curret_ncp1851(void) + { + g_temp_CC_value = USB_CHARGER_CURRENT_SUSPEND; + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] disable charging\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] disable charging\r\n"); + } + } + else if (g_usb_state == USB_UNCONFIGURED) +@@ -1819,7 +1819,7 @@ void select_charging_curret_ncp1851(void) + g_temp_CC_value = USB_CHARGER_CURRENT_UNCONFIGURED; + ncp1851_set_low_chg_current(); // 100mA + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_low_chg_current() \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_low_chg_current() \r\n"); + } + } + else if (g_usb_state == USB_CONFIGURED) +@@ -1831,7 +1831,7 @@ void select_charging_curret_ncp1851(void) + ncp1851_set_aicl_en(0x0); //disable AICL + ncp1851_set_ac_current(); + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_ac_current(), CC value (%ld) \r\n", g_temp_CC_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_ac_current(), CC value (%ld) \r\n", g_temp_CC_value); + } + } + else +@@ -1839,7 +1839,7 @@ void select_charging_curret_ncp1851(void) + g_temp_CC_value = USB_CHARGER_CURRENT_UNCONFIGURED; + ncp1851_set_low_chg_current(); // 100mA + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_low_chg_current() \r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_low_chg_current() \r\n"); + } + } + } +@@ -1852,7 +1852,7 @@ void select_charging_curret_ncp1851(void) + ncp1851_set_aicl_en(0x0); //disable AICL + ncp1851_set_ac_current(); + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_ac_current(), CC value(%ld) \r\n", g_temp_CC_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] ncp1851_set_ac_current(), CC value(%ld) \r\n", g_temp_CC_value); + } + } + } +@@ -1907,7 +1907,7 @@ void select_charging_curret_ncp1851(void) + else + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Unknown charger type\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Unknown charger type\n"); + } + g_temp_CC_value = Cust_CC_100MA; + ncp1851_set_low_chg_current(); +@@ -1920,7 +1920,7 @@ void ChargerHwInit_ncp1851(void) + kal_uint32 ncp1851_status; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] ChargerHwInit_ncp1851\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] ChargerHwInit_ncp1851\n" ); + } + + ncp1851_status = ncp1851_get_chip_status(); +@@ -1989,7 +1989,7 @@ void ChargerHwInit_ncp1851(void) + void pchr_turn_off_charging_ncp1851 (void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] pchr_turn_off_charging_ncp1851!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] pchr_turn_off_charging_ncp1851!\r\n"); + } + + ncp1851_set_chg_en(0x0); +@@ -2000,7 +2000,7 @@ void pchr_turn_on_charging_ncp1851 (void) + if ( BMT_status.bat_charging_state == CHR_ERROR ) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Charger Error, turn OFF charging !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Charger Error, turn OFF charging !\r\n"); + } + BMT_status.total_charging_time = 0; + pchr_turn_off_charging_ncp1851(); +@@ -2015,7 +2015,7 @@ void pchr_turn_on_charging_ncp1851 (void) + ChargerHwInit_ncp1851(); + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] pchr_turn_on_charging_ncp1851 !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] pchr_turn_on_charging_ncp1851 !\r\n"); + } + + if (g_bcct_flag == 1) +@@ -2047,13 +2047,13 @@ void pchr_turn_on_charging_ncp1851 (void) + mt_set_gpio_dir(GPIO_CHR_SPM_PIN, GPIO_DIR_OUT); + mt_set_gpio_out(GPIO_CHR_SPM_PIN, GPIO_OUT_ONE); + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] charger enable !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] charger enable !\r\n"); + } + } + else + { + pchr_turn_off_charging_ncp1851(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] wait gFG_booting_counter_I_FLAG==2 (%d)\r\n", gFG_booting_counter_I_FLAG); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] wait gFG_booting_counter_I_FLAG==2 (%d)\r\n", gFG_booting_counter_I_FLAG); + } + } + } +@@ -2292,7 +2292,7 @@ int do_jeita_state_machine(void) + { + if(Enable_BATDRV_LOG >=1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Battery Normal Temperature between %d and %d !!\n\r", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Battery Normal Temperature between %d and %d !!\n\r", + TEMP_POS_10_THRESHOLD,TEMP_POS_45_THRESHOLD); + } + g_temp_status = TEMP_POS_10_TO_POS_45; +@@ -2385,7 +2385,7 @@ int BAT_CheckBatteryStatus_ncp1851(void) + // g_bat_temperature_pre = 22; // MT6320 E1 workaround + BMT_status.temperature = g_bat_temperature_pre; + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY] Warning !! bat_temperature_volt == 0, restore temperature value\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY] Warning !! bat_temperature_volt == 0, restore temperature value\n\r"); + } + } + else +@@ -2414,7 +2414,7 @@ int BAT_CheckBatteryStatus_ncp1851(void) + bat_temperature_volt_temp = bat_temperature_volt; + bat_temperature_volt = bat_temperature_volt + ((fg_current_temp*fg_r_value)/1000); + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[tbat_workaround] %d,%d,%d,%d,%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[tbat_workaround] %d,%d,%d,%d,%d\n", + bat_temperature_volt_temp, bat_temperature_volt, fg_current_state, fg_current_temp, fg_r_value); + } + //----------------------------------------------------------------------------- +@@ -2426,12 +2426,12 @@ int BAT_CheckBatteryStatus_ncp1851(void) + if((g_battery_tt_check_flag == 0) && (BMT_status.temperature < MAX_CHARGE_TEMPERATURE) && (BMT_status.temperature > MIN_CHARGE_TEMPERATURE)) + { + g_battery_thermal_throttling_flag = 1; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Enable battery TT (%d)\n\r", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Enable battery TT (%d)\n\r", BMT_status.temperature); + g_battery_tt_check_flag = 1; + } + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ADC:ncp1851] VCHR:%ld BAT_SENSE:%ld I_SENSE:%ld TBAT:%ld TBAT_vol:%ld BatTT:%d\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ADC:ncp1851] VCHR:%ld BAT_SENSE:%ld I_SENSE:%ld TBAT:%ld TBAT_vol:%ld BatTT:%d\n", + BMT_status.charger_vol, BMT_status.ADC_BAT_SENSE, BMT_status.ADC_I_SENSE, BMT_status.temperature, bat_temperature_volt, g_battery_thermal_throttling_flag); + } + +@@ -2620,13 +2620,13 @@ int BAT_CheckBatteryStatus_ncp1851(void) + //------------------------------------------------------------ + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:AVG:ncp1851] BatTemp:%d Vbat:%d VBatSen:%d SOC:%d ChrDet:%d Vchrin:%d Icharging:%d ChrType:%d USBstate:%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:AVG:ncp1851] BatTemp:%d Vbat:%d VBatSen:%d SOC:%d ChrDet:%d Vchrin:%d Icharging:%d ChrType:%d USBstate:%d\r\n", + BMT_status.temperature ,BMT_status.bat_vol, BMT_status.ADC_BAT_SENSE, BMT_status.SOC, + upmu_is_chr_det(), BMT_status.charger_vol, BMT_status.ICharging, CHR_Type_num, g_usb_state ); + } + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:FG:ncp1851] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\r\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:FG:ncp1851] %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\r\n", + BMT_status.temperature ,BMT_status.bat_vol, BMT_status.ADC_BAT_SENSE, BMT_status.SOC, + upmu_is_chr_det(), BMT_status.charger_vol, BMT_status.ICharging, CHR_Type_num, + FGADC_Get_BatteryCapacity_CoulombMothod(), FGADC_Get_BatteryCapacity_VoltageMothod(), BATTERY_AVERAGE_SIZE ); +@@ -2646,12 +2646,12 @@ int BAT_CheckBatteryStatus_ncp1851(void) + + if(battery_cmd_thermal_test_mode == 1){ + BMT_status.temperature = battery_cmd_thermal_test_mode_value; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); + } + + #if defined(MTK_JEITA_STANDARD_SUPPORT) + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] support JEITA, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] support JEITA, Tbat=%d\n", BMT_status.temperature); + } + if( do_jeita_state_machine() == PMU_STATUS_FAIL) + { +@@ -2713,7 +2713,7 @@ int BAT_CheckBatteryStatus_ncp1851(void) + #endif + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Battery Re-charging !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Battery Re-charging !!\n\r"); + } + BMT_status.bat_full = KAL_FALSE; + BMT_status.bat_charging_state = CHR_CC; +@@ -2736,7 +2736,7 @@ int BAT_CheckBatteryStatus_ncp1851(void) + msleep(1000); + + // if (Enable_BATDRV_LOG == 1) { +-// xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Battery Re-charging. Call FGADC_Reset_SW_Parameter.\n\r"); ++// xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Battery Re-charging. Call FGADC_Reset_SW_Parameter.\n\r"); + // } + // FGADC_Reset_SW_Parameter(); + } +@@ -2752,7 +2752,7 @@ int BAT_CheckBatteryStatus_ncp1851(void) + PMU_STATUS BAT_BatteryStatusFailAction(void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY] BAD Battery status... Charging Stop !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY] BAD Battery status... Charging Stop !!\n\r"); + } + + #if defined(MTK_JEITA_STANDARD_SUPPORT) +@@ -2782,7 +2782,7 @@ PMU_STATUS BAT_BatteryStatusFailAction(void) + + PMU_STATUS BAT_ChargingOTAction(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Charging over %d hr stop !!\n\r", MAX_CHARGING_TIME); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Charging over %d hr stop !!\n\r", MAX_CHARGING_TIME); + + //BMT_status.bat_full = KAL_TRUE; + BMT_status.total_charging_time = 0; +@@ -2805,7 +2805,7 @@ extern void fg_qmax_update_for_aging(void); + PMU_STATUS BAT_BatteryFullAction(void) + { + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] check Battery full !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] check Battery full !!\n\r"); + } + + BMT_status.bat_full = KAL_TRUE; +@@ -2829,7 +2829,7 @@ PMU_STATUS BAT_BatteryFullAction(void) + gFG_can_reset_flag = 0; + + if (Enable_BATDRV_LOG >= 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); + } + FGADC_Reset_SW_Parameter(); + } +@@ -2842,7 +2842,7 @@ PMU_STATUS BAT_BatteryFullAction(void) + g_bat_full_user_view = KAL_TRUE; + g_HW_Charging_Done = 0; + if (Enable_BATDRV_LOG >= 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] (%d) VBAT<4150mV. Don't FGADC_Reset_SW_Parameter.\n", BMT_status.bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] (%d) VBAT<4150mV. Don't FGADC_Reset_SW_Parameter.\n", BMT_status.bat_vol); + } + } + } +@@ -2877,7 +2877,7 @@ void mt_battery_notify_check(void) + //if(BMT_status.charger_vol > 3000) //test + { + g_BatteryNotifyCode |= 0x0001; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] BMT_status.charger_vol(%d) > %d mV\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] BMT_status.charger_vol(%d) > %d mV\n", + BMT_status.charger_vol, V_CHARGER_MAX); + } + else +@@ -2885,7 +2885,7 @@ void mt_battery_notify_check(void) + g_BatteryNotifyCode &= ~(0x0001); + } + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0001 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0001 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -2895,14 +2895,14 @@ void mt_battery_notify_check(void) + //if(BMT_status.temperature > 20) //test + { + g_BatteryNotifyCode |= 0x0002; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] bat_temp(%d) > 50'C\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] bat_temp(%d) > 50'C\n", BMT_status.temperature); + } + else + { + g_BatteryNotifyCode &= ~(0x0002); + } + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0002 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0002 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -2914,14 +2914,14 @@ void mt_battery_notify_check(void) + //if(BMT_status.ICharging > 200) //test + { + g_BatteryNotifyCode |= 0x0004; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] I_charging(%d) > 1000mA\n", BMT_status.ICharging); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] I_charging(%d) > 1000mA\n", BMT_status.ICharging); + } + else + { + g_BatteryNotifyCode &= ~(0x0004); + } + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0003 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0003 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -2931,14 +2931,14 @@ void mt_battery_notify_check(void) + //if(BMT_status.bat_vol > 3800) //test + { + g_BatteryNotifyCode |= 0x0008; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] bat_vlot(%d) > 4350mV\n", BMT_status.bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] bat_vlot(%d) > 4350mV\n", BMT_status.bat_vol); + } + else + { + g_BatteryNotifyCode &= ~(0x0008); + } + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0004 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0004 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -2954,7 +2954,7 @@ void mt_battery_notify_check(void) + //if(BMT_status.total_charging_time >= 60) //test + { + g_BatteryNotifyCode |= 0x0010; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Charging Over Time\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Charging Over Time\n"); + } + else + { +@@ -2963,7 +2963,7 @@ void mt_battery_notify_check(void) + } + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0005 (%x)\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] BATTERY_NOTIFY_CASE_0005 (%x)\n", + g_BatteryNotifyCode); + } + #endif +@@ -3032,7 +3032,7 @@ void check_battery_exist(void) + /////////////////////////////////////////////////////////////////////////////////////////// + void pmic_init_for_ncp1851(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[pmic_init_for_ncp1851] Start\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[pmic_init_for_ncp1851] Start\n"); + + upmu_set_rg_chrwdt_td(0x0); // CHRWDT_TD, 4s + upmu_set_rg_chrwdt_int_en(0); // CHRWDT_INT_EN +@@ -3062,7 +3062,7 @@ void pmic_init_for_ncp1851(void) + upmu_set_rg_chr_en(0); // CHR_EN + upmu_set_rg_hwcv_en(0); // RG_HWCV_EN + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[pmic_init_for_ncp1851] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[pmic_init_for_ncp1851] Done\n"); + } + + void BAT_UpdateChargerStatus(void) +@@ -3111,7 +3111,7 @@ void BAT_thread_ncp1851(void) + { + if(battery_cmd_thermal_test_mode == 1){ + BMT_status.temperature = battery_cmd_thermal_test_mode_value; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery:ncp1851] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery:ncp1851] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); + } + + #if defined(MTK_JEITA_STANDARD_SUPPORT) +@@ -3122,7 +3122,7 @@ void BAT_thread_ncp1851(void) + #if defined(CONFIG_POWER_EXT) + xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] CONFIG_POWER_EXT, no update mt6320_battery_update_power_down.\n"); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery:ncp1851] Tbat(%d)>=60, system need power down.\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery:ncp1851] Tbat(%d)>=60, system need power down.\n", BMT_status.temperature); + mt6320_battery_update_power_down(&mt6320_battery_main); + if( upmu_is_chr_det() == KAL_TRUE ) + { +@@ -3144,7 +3144,7 @@ void BAT_thread_ncp1851(void) + if(BMT_status.charger_type == CHARGER_UNKNOWN) + { + CHR_Type_num = mt_charger_type_detection(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BAT_thread:ncp1851] CHR_Type_num = %d\r\n", CHR_Type_num); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BAT_thread:ncp1851] CHR_Type_num = %d\r\n", CHR_Type_num); + BMT_status.charger_type = CHR_Type_num; + if( (CHR_Type_num==STANDARD_HOST) || (CHR_Type_num==CHARGING_HOST) ) + { +@@ -3172,7 +3172,7 @@ void BAT_thread_ncp1851(void) + g_bat_full_user_view = KAL_FALSE; + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[Battery_Only:ncp1851] Set g_bat_full_user_view=KAL_FALSE\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[Battery_Only:ncp1851] Set g_bat_full_user_view=KAL_FALSE\r\n"); + } + } + } +@@ -3243,14 +3243,14 @@ void BAT_thread_ncp1851(void) + + if(battery_cmd_thermal_test_mode == 1){ + BMT_status.temperature = battery_cmd_thermal_test_mode_value; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] In thermal_test_mode 3, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] In thermal_test_mode 3, Tbat=%d\n", BMT_status.temperature); + } + + /* Battery Notify Check */ + mt_battery_notify_check(); + + #if defined(CONFIG_POWER_EXT) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] CONFIG_POWER_EXT, no update Android.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] CONFIG_POWER_EXT, no update Android.\n"); + #else + if(gFG_booting_counter_I_FLAG == 2) + { +@@ -3269,12 +3269,12 @@ void BAT_thread_ncp1851(void) + else + { + mt6320_battery_main.BAT_CAPACITY = 50; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] gFG_booting_counter_I_FLAG is 1, SOC=50.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] gFG_booting_counter_I_FLAG is 1, SOC=50.\n"); + } + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] gFG_booting_counter_I_FLAG!=2 (%d)\r\n", gFG_booting_counter_I_FLAG); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] gFG_booting_counter_I_FLAG!=2 (%d)\r\n", gFG_booting_counter_I_FLAG); + } + #endif + +@@ -3293,7 +3293,7 @@ void BAT_thread_ncp1851(void) + + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] PMU_STATUS_FAIL (chr_err_cnt = %d)\n", chr_err_cnt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] PMU_STATUS_FAIL (chr_err_cnt = %d)\n", chr_err_cnt); + } + } + /* Battery Full */ +@@ -3302,7 +3302,7 @@ void BAT_thread_ncp1851(void) + { + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Battery real full. \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Battery real full. \n"); + } + BMT_status.bat_full = KAL_TRUE; + BMT_status.total_charging_time = 0; +@@ -3324,7 +3324,7 @@ void BAT_thread_ncp1851(void) + gFG_can_reset_flag = 0; + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); + } + FGADC_Reset_SW_Parameter(); + } +@@ -3337,7 +3337,7 @@ void BAT_thread_ncp1851(void) + { + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Charging Over Time. \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Charging Over Time. \n"); + } + pchr_turn_off_charging_ncp1851(); + +@@ -3354,13 +3354,13 @@ void BAT_thread_ncp1851(void) + + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] state=%ld, \n", BMT_status.bat_charging_state); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] state=%ld, \n", BMT_status.bat_charging_state); + } + + /* Charging OT */ + if(BMT_status.total_charging_time >= MAX_CHARGING_TIME) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Charging over %d hr stop !!\n\r", MAX_CHARGING_TIME); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Charging over %d hr stop !!\n\r", MAX_CHARGING_TIME); + BMT_status.total_charging_time = 0; + BMT_status.PRE_charging_time = 0; + BMT_status.CC_charging_time = 0; +@@ -3398,13 +3398,13 @@ void BAT_thread_ncp1851(void) + gFG_can_reset_flag = 0; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Battery real full. Call FGADC_Reset_SW_Parameter.\n"); + } + FGADC_Reset_SW_Parameter(); + } + g_Calibration_FG = 0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Battery real full and disable charging (%d) \n", ncp1851_status); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Battery real full and disable charging (%d) \n", ncp1851_status); + gSyncPercentage = 1; + return; + } +@@ -3413,7 +3413,7 @@ void BAT_thread_ncp1851(void) + pchr_turn_off_charging_ncp1851(); + msleep(100); + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Ncp1851_status is (%d), but battery voltage not over recharge voltage\n", ncp1851_status); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Ncp1851_status is (%d), but battery voltage not over recharge voltage\n", ncp1851_status); + } + } + +@@ -3423,7 +3423,7 @@ void BAT_thread_ncp1851(void) + pchr_turn_on_charging_ncp1851(); + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Total charging timer=%d, ncp1851_status=%d \n\r", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Total charging timer=%d, ncp1851_status=%d \n\r", + BMT_status.total_charging_time, ncp1851_status); + } + } +@@ -3439,7 +3439,7 @@ void BAT_thread_ncp1851(void) + + if (Enable_BATDRV_LOG == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BAT_thread_ncp1851] End ....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BAT_thread_ncp1851] End ....\n"); + } + } + +@@ -3478,7 +3478,7 @@ void PrechargeCheckStatus(void) + + if( get_charger_detect_status() == KAL_TRUE ) //do not check USB device check at precharge state + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Boot up during charging!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Boot up during charging!\n"); + g_boot_charging = 1; + ncp1851_set_ctrl_vfet(0x5); // VFET = 3.6V + ncp1851_set_chg_en(0x1); // charger enable, in case adaptor plug in during booting period +@@ -3491,16 +3491,16 @@ void PrechargeCheckStatus(void) + g_ocv_lookup_done = 0; + pchr_turn_off_charging_ncp1851(); + bat_vol = get_i_sense_volt(10); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath init battery voltage > 3600, battery voltage during system discharging = %d\n", bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath init battery voltage > 3600, battery voltage during system discharging = %d\n", bat_vol); + return; + } + else if(bat_vol >= 3700) //Error handling when vfet_status is not reliable + { + g_ocv_lookup_done = 0; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath init, (vfet_status = %d) (ncp1851_status = %d)\n", vfet_status, ncp1851_status); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath init, (vfet_status = %d) (ncp1851_status = %d)\n", vfet_status, ncp1851_status); + pchr_turn_off_charging_ncp1851(); + bat_vol = get_i_sense_volt(10); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath init battery voltage > 3600, battery voltage during system discharging = %d\n", bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath init battery voltage > 3600, battery voltage during system discharging = %d\n", bat_vol); + return; + } + else +@@ -3510,7 +3510,7 @@ void PrechargeCheckStatus(void) + bat_volt_check_point = 0; + g_ocv_lookup_done = 1; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath init battery voltage < 3600, battery voltage = %d\n", bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath init battery voltage < 3600, battery voltage = %d\n", bat_vol); + } + else + { +@@ -3526,7 +3526,7 @@ void PrechargeCheckStatus(void) + if(BMT_status.charger_type == CHARGER_UNKNOWN) + { + CHR_Type_num = mt_charger_type_detection(); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] CHR_Type_num = %d\r\n", CHR_Type_num); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] CHR_Type_num = %d\r\n", CHR_Type_num); + BMT_status.charger_type = CHR_Type_num; + if( (CHR_Type_num==STANDARD_HOST) || (CHR_Type_num==CHARGING_HOST) ) + { +@@ -3574,7 +3574,7 @@ void PrechargeCheckStatus(void) + if((g_battery_tt_check_flag == 0) && (bat_temp < 60) && (bat_temp > (-20))) + { + g_battery_thermal_throttling_flag = 1; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge enable battery TT (%d)\n\r", bat_temp); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge enable battery TT (%d)\n\r", bat_temp); + g_battery_tt_check_flag = 1; + } + +@@ -3586,32 +3586,32 @@ void PrechargeCheckStatus(void) + + if(battery_cmd_thermal_test_mode == 1){ + BMT_status.temperature = battery_cmd_thermal_test_mode_value; +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] In thermal_test_mode, Tbat=%d\n", BMT_status.temperature); + } + #if (BAT_TEMP_PROTECT_ENABLE == 1) + if ((bat_temp <= MIN_CHARGE_TEMPERATURE) || + (bat_temp == ERR_CHARGE_TEMPERATURE)) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge battery Under Temperature or NTC fail !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge battery Under Temperature or NTC fail !!\n\r"); + BMT_status.bat_charging_state = CHR_ERROR; + } + #endif + if (bat_temp >= MAX_CHARGE_TEMPERATURE) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge battery Over Temperature !!\n\r"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge battery Over Temperature !!\n\r"); + BMT_status.bat_charging_state = CHR_ERROR; + } + + #if (V_CHARGER_ENABLE == 1) + if (charger_vol <= V_CHARGER_MIN ) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge charger under voltage!!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge charger under voltage!!\r\n"); + BMT_status.bat_charging_state = CHR_ERROR; + } + #endif + if ( charger_vol >= V_CHARGER_MAX ) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge charger over voltage !!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge charger over voltage !!\r\n"); + BMT_status.bat_charging_state = CHR_ERROR; + } + +@@ -3627,7 +3627,7 @@ void PrechargeCheckStatus(void) + if(( g_temp_CC_value == Cust_CC_0MA) || (chr_err_cnt > 0)) + { + ncp1851_set_chg_en(0x0); // charger disable +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge chr_err_cnt = %d\r\n", chr_err_cnt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge chr_err_cnt = %d\r\n", chr_err_cnt); + } + else + { +@@ -3637,13 +3637,13 @@ void PrechargeCheckStatus(void) + mt_set_gpio_dir(GPIO_CHR_SPM_PIN, GPIO_DIR_OUT); + mt_set_gpio_out(GPIO_CHR_SPM_PIN, GPIO_OUT_ONE); + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Power path precharging !\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Power path precharging !\r\n"); + } + } + + if((bat_vol >= SYSTEM_OFF_VOLTAGE + 100) || (vfet_status == 1)) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge finish, battery voltage = %d\n", bat_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge finish, battery voltage = %d\n", bat_vol); + BMT_status.bat_charging_state = CHR_CC; + break; + } +@@ -3675,7 +3675,7 @@ void PrechargeCheckStatus(void) + power_supply_changed(bat_psy); + + sys_vol = get_bat_sense_volt(10); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge continue, battery voltage (%d), system voltage (%d), charger volt (%d)\n", bat_vol, sys_vol, charger_vol); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge continue, battery voltage (%d), system voltage (%d), charger volt (%d)\n", bat_vol, sys_vol, charger_vol); + + mt_battery_notify_check(); + #endif +@@ -3684,7 +3684,7 @@ void PrechargeCheckStatus(void) + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851]VCDT voltage = %d\n", get_charger_volt(10)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851]VCDT voltage = %d\n", get_charger_volt(10)); + wake_unlock(&battery_suspend_lock); + pchr_turn_off_charging_ncp1851(); + BMT_status.bat_charging_state = CHR_PRE; +@@ -3728,7 +3728,7 @@ void PrechargeCheckStatus(void) + + power_supply_changed(bat_psy); + #endif +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge stopped due to charger plug-out, wait for system shutdown\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] Powerpath precharge stopped due to charger plug-out, wait for system shutdown\n"); + msleep(5000); + } + } +@@ -4635,7 +4635,7 @@ int charger_hv_detect_sw_thread_handler(void *unused) + { + ktime = ktime_set(0, BAT_MS_TO_NS(500)); + +- //xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[charger_hv_detect_sw_thread_handler] \n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[charger_hv_detect_sw_thread_handler] \n"); + + charger_hv_init(); + +@@ -4650,13 +4650,13 @@ int charger_hv_detect_sw_thread_handler(void *unused) + + if( get_charger_hv_status() == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[charger_hv_detect_sw_thread_handler] charger hv\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[charger_hv_detect_sw_thread_handler] charger hv\n"); + + pchr_turn_off_charging_ncp1851(); + } + else + { +- //xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[charger_hv_detect_sw_thread_handler] upmu_chr_get_vcdt_hv_det() != 1\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[charger_hv_detect_sw_thread_handler] upmu_chr_get_vcdt_hv_det() != 1\n"); + } + + kick_charger_wdt(); +@@ -4673,7 +4673,7 @@ enum hrtimer_restart charger_hv_detect_sw_workaround(struct hrtimer *timer) + charger_hv_detect_flag = 1; + wake_up_interruptible(&charger_hv_detect_waiter); + +- //xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[charger_hv_detect_sw_workaround] \n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[charger_hv_detect_sw_workaround] \n"); + + return HRTIMER_NORESTART; + } +@@ -4690,10 +4690,10 @@ void charger_hv_detect_sw_workaround_init(void) + charger_hv_detect_thread = kthread_run(charger_hv_detect_sw_thread_handler, 0, "mtk charger_hv_detect_sw_workaround"); + if (IS_ERR(charger_hv_detect_thread)) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[%s]: failed to create charger_hv_detect_sw_workaround thread\n", __FUNCTION__); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[%s]: failed to create charger_hv_detect_sw_workaround thread\n", __FUNCTION__); + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "charger_hv_detect_sw_workaround_init : done\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "charger_hv_detect_sw_workaround_init : done\n" ); + } + + /////////////////////////////////////////////////////////////////////////////////////////// +@@ -4712,7 +4712,7 @@ int battery_kthread_handler(void *unused) + { + ktime = ktime_set(10, 0); // 10s, 10* 1000 ms + +-// xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[battery_kthread_handler] \n"); ++// xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[battery_kthread_handler] \n"); + wait_event_interruptible(battery_kthread_waiter, battery_kthread_flag != 0); + + battery_kthread_flag = 0; +@@ -4729,7 +4729,7 @@ enum hrtimer_restart battery_kthread_hrtimer_func(struct hrtimer *timer) + battery_kthread_flag = 1; + wake_up_interruptible(&battery_kthread_waiter); + +-// xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[battery_kthread_hrtimer_func] \n"); ++// xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[battery_kthread_hrtimer_func] \n"); + + return HRTIMER_NORESTART; + } +@@ -4746,10 +4746,10 @@ void battery_kthread_hrtimer_init(void) + battery_kthread_hrtimer_task = kthread_run(battery_kthread_handler, NULL, "mtk battery_kthread_handler"); + if (IS_ERR(battery_kthread_hrtimer_task)) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[%s]: failed to create battery_kthread_hrtimer_task thread\n", __FUNCTION__); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[%s]: failed to create battery_kthread_hrtimer_task thread\n", __FUNCTION__); + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "battery_kthread_hrtimer_init : done\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "battery_kthread_hrtimer_init : done\n" ); + } + + static int mt6320_battery_probe(struct platform_device *dev) +@@ -4759,18 +4759,18 @@ static int mt6320_battery_probe(struct platform_device *dev) + int i=0; + int ret_device_file=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver probe!! ********\n" ); + + /* Integrate with NVRAM */ + ret = alloc_chrdev_region(&adc_cali_devno, 0, 1, ADC_CALI_DEVNAME); + if (ret) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "Error: Can't Get Major number for adc_cali \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "Error: Can't Get Major number for adc_cali \n"); + adc_cali_cdev = cdev_alloc(); + adc_cali_cdev->owner = THIS_MODULE; + adc_cali_cdev->ops = &adc_cali_fops; + ret = cdev_add(adc_cali_cdev, adc_cali_devno, 1); + if(ret) +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "adc_cali Error: cdev_add\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "adc_cali Error: cdev_add\n"); + adc_cali_major = MAJOR(adc_cali_devno); + adc_cali_class = class_create(THIS_MODULE, ADC_CALI_DEVNAME); + class_dev = (struct class_device *)device_create(adc_cali_class, +@@ -4778,32 +4778,32 @@ static int mt6320_battery_probe(struct platform_device *dev) + adc_cali_devno, + NULL, + ADC_CALI_DEVNAME); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] adc_cali prepare : done !!\n "); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] adc_cali prepare : done !!\n "); + + /* Integrate with Android Battery Service */ + ret = power_supply_register(&(dev->dev), &mt6320_ac_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register AC Success !!\n"); + + ret = power_supply_register(&(dev->dev), &mt6320_usb_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register USB Success !!\n"); + + ret = power_supply_register(&(dev->dev), &mt6320_battery_main.psy); + if (ret) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Fail !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Fail !!\n"); + return ret; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Success !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[MT6320 BAT_probe] power_supply_register Battery Success !!\n"); + + // wake_lock_init(&battery_suspend_lock, WAKE_LOCK_SUSPEND, "battery wakelock"); + +@@ -4878,13 +4878,13 @@ static int mt6320_battery_probe(struct platform_device *dev) + //baton initial setting + //ret=pmic_config_interface(CHR_CON7, 0x01, PMIC_BATON_TDET_EN_MASK, PMIC_BATON_TDET_EN_SHIFT); //BATON_TDET_EN=1 + //ret=pmic_config_interface(AUXADC_CON0, 0x01, PMIC_RG_BUF_PWD_B_MASK, PMIC_RG_BUF_PWD_B_SHIFT); //RG_BUF_PWD_B=1 +- //xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[mt6320_battery_probe] BATON_TDET_EN=1 & RG_BUF_PWD_B=1\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[mt6320_battery_probe] BATON_TDET_EN=1 & RG_BUF_PWD_B=1\n"); + + //battery kernel thread for 10s check and charger in/out event + /* Replace GPT timer by hrtime */ + battery_kthread_hrtimer_init(); + kthread_run(bat_thread_kthread, NULL, "bat_thread_kthread"); +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[mt6320_battery_probe] bat_thread_kthread Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[mt6320_battery_probe] bat_thread_kthread Done\n"); + + charger_hv_detect_sw_workaround_init(); + +@@ -4904,20 +4904,20 @@ static int mt6320_battery_probe(struct platform_device *dev) + + static int mt6320_battery_remove(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver remove!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver remove!! ********\n" ); + + return 0; + } + + static void mt6320_battery_shutdown(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver shutdown!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver shutdown!! ********\n" ); + + } + + static int mt6320_battery_suspend(struct platform_device *dev, pm_message_t state) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver suspend!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver suspend!! ********\n" ); + + return 0; + } +@@ -4973,7 +4973,7 @@ EXPORT_SYMBOL(force_get_tbat); + + static int mt6320_battery_resume(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** MT6320 battery driver resume!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** MT6320 battery driver resume!! ********\n" ); + + //g_battery_flag_resume=1; + +@@ -5104,7 +5104,7 @@ static int mt_batteryNotify_probe(struct platform_device *dev) + struct proc_dir_entry *entry = NULL; + struct proc_dir_entry *battery_dir = NULL; + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** mt_batteryNotify_probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** mt_batteryNotify_probe!! ********\n" ); + + ret_device_file = device_create_file(&(dev->dev), &dev_attr_BatteryNotify); + ret_device_file = device_create_file(&(dev->dev), &dev_attr_BN_TestMode); +@@ -5124,7 +5124,7 @@ static int mt_batteryNotify_probe(struct platform_device *dev) + } + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "******** mtk_battery_cmd!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "******** mtk_battery_cmd!! ********\n" ); + + return 0; + } +@@ -5147,29 +5147,29 @@ static int __init mt6320_battery_init(void) + + ret = platform_device_register(&MT6320_battery_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_battery_driver] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_battery_driver] Unable to device register(%d)\n", ret); + return ret; + } + + ret = platform_driver_register(&mt6320_battery_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_battery_driver] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_battery_driver] Unable to register driver (%d)\n", ret); + return ret; + } + + // battery notofy UI + ret = platform_device_register(&MT_batteryNotify_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt_batteryNotify] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt_batteryNotify] Unable to device register(%d)\n", ret); + return ret; + } + ret = platform_driver_register(&mt_batteryNotify_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt_batteryNotify] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt_batteryNotify] Unable to register driver (%d)\n", ret); + return ret; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "****[mt6320_battery_driver] Initialization : DONE !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "****[mt6320_battery_driver] Initialization : DONE !!\n"); + + return 0; + } +diff --git a/drivers/misc/mediatek/power/mt8127/charging_hw_ncp1851.c b/drivers/misc/mediatek/power/mt8127/charging_hw_ncp1851.c +index 64992ffe..149d3c36 100644 +--- a/drivers/misc/mediatek/power/mt8127/charging_hw_ncp1851.c ++++ b/drivers/misc/mediatek/power/mt8127/charging_hw_ncp1851.c +@@ -478,7 +478,7 @@ static void hw_bc11_dump_register(void) + kal_uint32 status = STATUS_OK; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1851] ChargerHwInit_ncp1851\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1851] ChargerHwInit_ncp1851\n" ); + } + + ncp1851_status = ncp1851_get_chip_status(); +diff --git a/drivers/misc/mediatek/power/mt8127/charging_hw_ncp1854.c b/drivers/misc/mediatek/power/mt8127/charging_hw_ncp1854.c +index b1be69d8..8847a9de 100644 +--- a/drivers/misc/mediatek/power/mt8127/charging_hw_ncp1854.c ++++ b/drivers/misc/mediatek/power/mt8127/charging_hw_ncp1854.c +@@ -498,7 +498,7 @@ static void hw_bc11_dump_register(void) + kal_uint32 status = STATUS_OK; + + if (Enable_BATDRV_LOG == 1) { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[BATTERY:ncp1854] ChargerHwInit_ncp1854\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[BATTERY:ncp1854] ChargerHwInit_ncp1854\n" ); + } + + ncp1854_status = ncp1854_get_chip_status(); +diff --git a/drivers/misc/mediatek/power/mt8127/mt6333.c b/drivers/misc/mediatek/power/mt8127/mt6333.c +index 57b7cb5a..ddcdfc28 100644 +--- a/drivers/misc/mediatek/power/mt8127/mt6333.c ++++ b/drivers/misc/mediatek/power/mt8127/mt6333.c +@@ -7251,7 +7251,7 @@ static DECLARE_WAIT_QUEUE_HEAD(mt6333_thread_wq); + + void wake_up_mt6333(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[wake_up_mt6333]\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[wake_up_mt6333]\n"); + mt6333_thread_timeout = 1; + wake_up(&mt6333_thread_wq); + } +@@ -7280,15 +7280,15 @@ void cust_mt6333_interrupt_en_setting(void) + mt6333_set_rg_int_en_chr_oc(0); + mt6333_set_rg_int_en_chr_plug_in_flash(0); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Reg[0x%x]=0x%x\n", MT6333_INT_CON0, mt6333_get_reg_value(MT6333_INT_CON0)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Reg[0x%x]=0x%x\n", MT6333_INT_CON1, mt6333_get_reg_value(MT6333_INT_CON1)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Reg[0x%x]=0x%x\n", MT6333_INT_CON2, mt6333_get_reg_value(MT6333_INT_CON2)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Reg[0x%x]=0x%x\n", MT6333_INT_CON0, mt6333_get_reg_value(MT6333_INT_CON0)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Reg[0x%x]=0x%x\n", MT6333_INT_CON1, mt6333_get_reg_value(MT6333_INT_CON1)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Reg[0x%x]=0x%x\n", MT6333_INT_CON2, mt6333_get_reg_value(MT6333_INT_CON2)); + } + + void chr_complete_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[chr_complete_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[chr_complete_int_handler]....\n"); + + printk("RGS_CHARGE_COMPLETE_HW = %d\n", mt6333_get_rgs_charge_complete_hw()); + +@@ -7298,119 +7298,119 @@ void chr_complete_int_handler(void) + void thermal_sd_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[thermal_sd_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[thermal_sd_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS0,0x1,0x1,1); + } + + void thermal_reg_in_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[thermal_reg_in_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[thermal_reg_in_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS0,0x1,0x1,2); + } + + void thermal_reg_out_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[thermal_reg_out_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[thermal_reg_out_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS0,0x1,0x1,3); + } + + void otg_oc_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[otg_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[otg_oc_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS0,0x1,0x1,4); + } + + void otg_thermal_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[otg_thermal_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[otg_thermal_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS0,0x1,0x1,5); + } + + void otg_chrin_short_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[otg_chrin_short_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[otg_chrin_short_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS0,0x1,0x1,6); + } + + void otg_drvcdt_short_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[otg_drvcdt_short_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[otg_drvcdt_short_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS0,0x1,0x1,7); + } + + void chrwdt_flag_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[chrwdt_flag_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[chrwdt_flag_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS1,0x1,0x1,0); + } + + void buck_vcore_oc_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[buck_vcore_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[buck_vcore_oc_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS1,0x1,0x1,1); + } + + void buck_vmem_oc_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[buck_vmem_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[buck_vmem_oc_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS1,0x1,0x1,2); + } + + void buck_vrf18_oc_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[buck_vrf18_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[buck_vrf18_oc_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS1,0x1,0x1,3); + } + + void buck_thermal_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[buck_thermal_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[buck_thermal_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS1,0x1,0x1,4); + } + + void flash_en_timeout_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[flash_en_timeout_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[flash_en_timeout_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS1,0x1,0x1,5); + } + + void flash_vled_short_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[flash_vled_short_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[flash_vled_short_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS1,0x1,0x1,6); + } + + void flash_vled_open_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[flash_vled_open_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[flash_vled_open_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS1,0x1,0x1,7); + } + + void chr_plug_in_flash_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[chr_plug_in_flash_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[chr_plug_in_flash_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS2,0x1,0x1,0); + } + + void chr_oc_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[chr_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[chr_oc_int_handler]....\n"); + ret=mt6333_config_interface(MT6333_INT_STATUS2,0x1,0x1,1); + } + +@@ -7420,17 +7420,17 @@ static int mt6333_thread_kthread(void *x) + kal_uint32 int_status_val_1=0; + kal_uint32 int_status_val_2=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[mt6333_thread_kthread] enter\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[mt6333_thread_kthread] enter\n"); + + /* Run on a process content */ + while (1) { + mutex_lock(&mt6333_mutex); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[mt6333_thread_kthread] running\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[mt6333_thread_kthread] running\n"); + + //-------------------------------------------------------------------------------- + int_status_val_0 = mt6333_get_reg_value(MT6333_INT_STATUS0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] int_status_val_0=0x%x\n", int_status_val_0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] int_status_val_0=0x%x\n", int_status_val_0); + + if( (((int_status_val_0)&(0x0001))>>0) == 1 ) { chr_complete_int_handler(); } + if( (((int_status_val_0)&(0x0002))>>1) == 1 ) { thermal_sd_int_handler(); } +@@ -7442,7 +7442,7 @@ static int mt6333_thread_kthread(void *x) + if( (((int_status_val_0)&(0x0080))>>7) == 1 ) { otg_drvcdt_short_int_handler(); } + //-------------------------------------------------------------------------------- + int_status_val_1 = mt6333_get_reg_value(MT6333_INT_STATUS1); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] int_status_val_1=0x%x\n", int_status_val_1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] int_status_val_1=0x%x\n", int_status_val_1); + + if( (((int_status_val_0)&(0x0001))>>0) == 1 ) { chrwdt_flag_int_handler(); } + if( (((int_status_val_0)&(0x0002))>>1) == 1 ) { buck_vcore_oc_int_handler(); } +@@ -7454,7 +7454,7 @@ static int mt6333_thread_kthread(void *x) + if( (((int_status_val_0)&(0x0080))>>7) == 1 ) { flash_vled_open_int_handler(); } + //-------------------------------------------------------------------------------- + int_status_val_2 = mt6333_get_reg_value(MT6333_INT_STATUS2); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] int_status_val_2=0x%x\n", int_status_val_2); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] int_status_val_2=0x%x\n", int_status_val_2); + + if( (((int_status_val_0)&(0x0001))>>0) == 1 ) { chr_plug_in_flash_int_handler(); } + if( (((int_status_val_0)&(0x0002))>>1) == 1 ) { chr_oc_int_handler(); } +@@ -7479,7 +7479,7 @@ static int mt6333_thread_kthread(void *x) + + void mt6333_pmic_eint_irq(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[mt6333_pmic_eint_irq] receive interrupt\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[mt6333_pmic_eint_irq] receive interrupt\n"); + + wake_up_mt6333(); + +@@ -7488,7 +7488,7 @@ void mt6333_pmic_eint_irq(void) + + void MT6333_EINT_SETTING(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[MT6333_EINT_SETTING] start: CUST_EINT_MT6333_PMIC_NUM=%d\n",CUST_EINT_MT6333_PMIC_NUM); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[MT6333_EINT_SETTING] start: CUST_EINT_MT6333_PMIC_NUM=%d\n",CUST_EINT_MT6333_PMIC_NUM); + + //ON/OFF interrupt + cust_mt6333_interrupt_en_setting(); +@@ -7509,12 +7509,12 @@ void MT6333_EINT_SETTING(void) + + mt_eint_unmask(CUST_EINT_MT6333_PMIC_NUM); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_NUM=%d\n", CUST_EINT_MT6333_PMIC_NUM); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_DEBOUNCE_CN=%d\n", CUST_EINT_MT6333_PMIC_DEBOUNCE_CN); +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_POLARITY=%d\n", CUST_EINT_MT6333_PMIC_POLARITY); +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_SENSITIVE=%d\n", CUST_EINT_MT6333_PMIC_SENSITIVE); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_TYPE=%d\n", CUST_EINT_MT6333_PMIC_TYPE); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_DEBOUNCE_EN=%d\n", CUST_EINT_MT6333_PMIC_DEBOUNCE_EN); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_NUM=%d\n", CUST_EINT_MT6333_PMIC_NUM); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_DEBOUNCE_CN=%d\n", CUST_EINT_MT6333_PMIC_DEBOUNCE_CN); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_POLARITY=%d\n", CUST_EINT_MT6333_PMIC_POLARITY); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_SENSITIVE=%d\n", CUST_EINT_MT6333_PMIC_SENSITIVE); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_TYPE=%d\n", CUST_EINT_MT6333_PMIC_TYPE); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6333_PMIC_DEBOUNCE_EN=%d\n", CUST_EINT_MT6333_PMIC_DEBOUNCE_EN); + } + + #if 1 +@@ -9542,8 +9542,8 @@ void MT6333_PMIC_INIT_SETTING_V1(void) + + if(g_mt6333_cid >= PMIC6333_E1_CID_CODE) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] PMIC Chip = %x\n",g_mt6333_cid); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] 20130514\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] PMIC Chip = %x\n",g_mt6333_cid); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] 20130514\n"); + + //put init setting from DE/SA + +@@ -9560,10 +9560,10 @@ void MT6333_PMIC_INIT_SETTING_V1(void) + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] Unknown PMIC Chip (%x)\n",g_mt6333_cid); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] Unknown PMIC Chip (%x)\n",g_mt6333_cid); + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "after MT6333 init : Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "after MT6333 init : Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x\n", + 0x9f, mt6333_get_reg_value(0x9f), + 0xA0, mt6333_get_reg_value(0xA0), + 0x69, mt6333_get_reg_value(0x69), +@@ -9576,15 +9576,15 @@ void MT6333_PMIC_INIT_SETTING_V1(void) + #endif + + // DCT +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] pmu_drv_tool_customization_init\n"); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "MT6333 before: Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] pmu_drv_tool_customization_init\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "MT6333 before: Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x\n", + 0x68, mt6333_get_reg_value(0x68), + 0x80, mt6333_get_reg_value(0x80), + 0x9F, mt6333_get_reg_value(0x9F) + ); + pmu_drv_tool_customization_init(); // #ifdef MTK_MT6333_SUPPORT + dump_ldo_status_read_debug(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "MT6333 after: Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "MT6333 after: Reg[%x]=0x%x,Reg[%x]=0x%x,Reg[%x]=0x%x\n", + 0x68, mt6333_get_reg_value(0x68), + 0x80, mt6333_get_reg_value(0x80), + 0x9F, mt6333_get_reg_value(0x9F) +@@ -9609,21 +9609,21 @@ static int mt6333_driver_probe(struct i2c_client *client, const struct i2c_devic + //--------------------- + g_mt6333_cid = mt6333_get_cid0(); + g_mt6333_cid |= ((mt6333_get_cid1()) << 8); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[mt6333_driver_probe] g_mt6333_cid=0x%x\n", g_mt6333_cid); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[mt6333_driver_probe] g_mt6333_cid=0x%x\n", g_mt6333_cid); + + mt6333_hw_init(); + //mt6333_dump_register(); + + //pmic initial setting + MT6333_PMIC_INIT_SETTING_V1(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[MT6333_PMIC_INIT_SETTING_V1] Done\n"); + + //MT6333 Interrupt Service + //MT6333_EINT_SETTING(); +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[MT6333_EINT_SETTING] Done\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[MT6333_EINT_SETTING] Done\n"); + + kthread_run(mt6333_thread_kthread, NULL, "mt6333_thread_kthread"); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[mt6333_thread_kthread] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[mt6333_thread_kthread] Done\n"); + + mt6333_hw_init_done = KAL_TRUE; + +diff --git a/drivers/misc/mediatek/power/mt8127/pmic_mt6323.c b/drivers/misc/mediatek/power/mt8127/pmic_mt6323.c +index b19523cb..be17fbef 100644 +--- a/drivers/misc/mediatek/power/mt8127/pmic_mt6323.c ++++ b/drivers/misc/mediatek/power/mt8127/pmic_mt6323.c +@@ -219,7 +219,7 @@ void PMIC_IMM_PollingAuxadcChannel(void) + { + kal_uint32 ret=0; + +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_IMM_PollingAuxadcChannel] before:%d ",upmu_get_rg_adc_deci_gdly()); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_IMM_PollingAuxadcChannel] before:%d ",upmu_get_rg_adc_deci_gdly()); + + if (upmu_get_rg_adc_deci_gdly()==1) + { +@@ -235,7 +235,7 @@ void PMIC_IMM_PollingAuxadcChannel(void) + spin_unlock_irqrestore(&pmic_adc_lock, flags); + } + } +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_IMM_PollingAuxadcChannel] after:%d ",upmu_get_rg_adc_deci_gdly()); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_IMM_PollingAuxadcChannel] after:%d ",upmu_get_rg_adc_deci_gdly()); + } + + //============================================================================== +@@ -325,7 +325,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } +@@ -338,12 +338,12 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } + ret_data = upmu_get_rg_adc_out_ch6(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[upmu_get_rg_adc_out_ch6] 0x%x\n", ret_data); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[upmu_get_rg_adc_out_ch6] 0x%x\n", ret_data); + break; + case 2: + while( upmu_get_rg_adc_rdy_thr_sense2() != 1 ) +@@ -351,7 +351,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } +@@ -363,7 +363,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } +@@ -375,7 +375,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } +@@ -387,7 +387,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } +@@ -399,7 +399,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } +@@ -411,7 +411,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } +@@ -435,7 +435,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + msleep(1); + if( (count++) > count_time_out) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[IMM_GetOneChannelValue_PMIC] (%d) Time out!\n", dwChannel); + break; + } + } +@@ -443,7 +443,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + break; + + default: +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[AUXADC] Invalid channel value(%d,%d)\n", dwChannel, trimd); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[AUXADC] Invalid channel value(%d,%d)\n", dwChannel, trimd); + wake_unlock(&pmicAuxadc_irq_lock); + return -1; + break; +@@ -456,7 +456,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + if (Enable_BATDRV_LOG == 2) + { + //debug +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[AUXADC] u4channel[%d]=%d.\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[AUXADC] u4channel[%d]=%d.\n", + dwChannel, ret_data); + } + +@@ -513,7 +513,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + adc_result = adc_result_temp; + break; + default: +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[AUXADC] Invalid channel value(%d,%d)\n", dwChannel, trimd); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[AUXADC] Invalid channel value(%d,%d)\n", dwChannel, trimd); + wake_unlock(&pmicAuxadc_irq_lock); + return -1; + break; +@@ -522,7 +522,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + if (Enable_BATDRV_LOG == 2) + { + //debug +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[AUXADC] adc_result_temp=%d, adc_result=%d, r_val_temp=%d.\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[AUXADC] adc_result_temp=%d, adc_result=%d, r_val_temp=%d.\n", + adc_result_temp, adc_result, r_val_temp); + } + +@@ -539,7 +539,7 @@ int pmic_get_buck_current(int avg_times) + int offset = 0; // internal offset voltage = XmV, 80 + + upmu_set_rg_smps_testmode_b(0x10); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_get_buck_current] before meter, Reg[0x%x]=0x%x, Reg[0x%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_get_buck_current] before meter, Reg[0x%x]=0x%x, Reg[0x%x]=0x%x\n", + 0x200, upmu_get_reg_value(0x200), + 0x758, upmu_get_reg_value(0x758), + 0x76E, upmu_get_reg_value(0x76E) +@@ -552,11 +552,11 @@ int pmic_get_buck_current(int avg_times) + else + val = 0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_get_buck_current] raw_data=%ld, val=%ld, avg_times=%ld\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_get_buck_current] raw_data=%ld, val=%ld, avg_times=%ld\n", + raw_data, val, avg_times); + + upmu_set_rg_smps_testmode_b(0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_get_buck_current] after meter, Reg[0x%x]=0x%x, Reg[0x%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_get_buck_current] after meter, Reg[0x%x]=0x%x, Reg[0x%x]=0x%x\n", + 0x200, upmu_get_reg_value(0x200), + 0x758, upmu_get_reg_value(0x758), + 0x76E, upmu_get_reg_value(0x76E) +@@ -568,7 +568,7 @@ EXPORT_SYMBOL(pmic_get_buck_current); + + void upmu_interrupt_chrdet_int_en(kal_uint32 val) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[upmu_interrupt_chrdet_int_en] val=%d.\r\n", val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[upmu_interrupt_chrdet_int_en] val=%d.\r\n", val); + + upmu_set_rg_int_en_chrdet(val); + } +@@ -584,7 +584,7 @@ static DECLARE_WAIT_QUEUE_HEAD(pmic_thread_wq); + + void wake_up_pmic(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[wake_up_pmic]\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[wake_up_pmic]\r\n"); + pmic_thread_timeout = 1; + wake_up(&pmic_thread_wq); + wake_lock(&pmicThread_lock); +@@ -651,7 +651,7 @@ void spkl_ab_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[spkl_ab_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[spkl_ab_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,0); + } +@@ -660,7 +660,7 @@ void spkl_d_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[spkl_d_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[spkl_d_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,1); + } +@@ -669,7 +669,7 @@ void bat_l_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[bat_l_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[bat_l_int_handler]....\n"); + + + upmu_set_rg_lbat_irq_en_min(0); +@@ -681,7 +681,7 @@ void bat_h_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[bat_h_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[bat_h_int_handler]....\n"); + + upmu_set_rg_lbat_irq_en_max(0); + +@@ -692,7 +692,7 @@ void watchdog_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[watchdog_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[watchdog_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,4); + } +@@ -718,7 +718,7 @@ void pwrkey_int_handler(void) + #undef METRICS_STR_LEN + #endif + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pwrkey_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pwrkey_int_handler]....\n"); + + pwrkey_deb = upmu_get_pwrkey_deb(); + +@@ -731,7 +731,7 @@ void pwrkey_int_handler(void) + + if (pwrkey_deb == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pwrkey_int_handler] Release pwrkey\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pwrkey_int_handler] Release pwrkey\n"); + #if defined (CONFIG_MTK_KERNEL_POWER_OFF_CHARGING) + if(g_boot_mode == KERNEL_POWER_OFF_CHARGING_BOOT && timer_pre != 0) + { +@@ -740,10 +740,10 @@ void pwrkey_int_handler(void) + { + long_pwrkey_press = true; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] timer_pos = %ld, timer_pre = %ld, timer_pos-timer_pre = %ld, long_pwrkey_press = %d\r\n",timer_pos, timer_pre, timer_pos-timer_pre, long_pwrkey_press); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] timer_pos = %ld, timer_pre = %ld, timer_pos-timer_pre = %ld, long_pwrkey_press = %d\r\n",timer_pos, timer_pre, timer_pos-timer_pre, long_pwrkey_press); + if(long_pwrkey_press) //500ms + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] Power Key Pressed during kernel power off charging, reboot OS\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] Power Key Pressed during kernel power off charging, reboot OS\r\n"); + #ifdef CONFIG_AMAZON_SIGN_OF_LIFE + life_cycle_set_boot_reason(WARMBOOT_BY_SW); + #endif +@@ -758,7 +758,7 @@ void pwrkey_int_handler(void) + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pwrkey_int_handler] Press pwrkey\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pwrkey_int_handler] Press pwrkey\n"); + #if defined (CONFIG_MTK_KERNEL_POWER_OFF_CHARGING) + if(g_boot_mode == KERNEL_POWER_OFF_CHARGING_BOOT) + { +@@ -779,7 +779,7 @@ void thr_l_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[thr_l_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[thr_l_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,6); + } +@@ -788,7 +788,7 @@ void thr_h_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[thr_h_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[thr_h_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,7); + } +@@ -797,7 +797,7 @@ void vbaton_undet_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vbaton_undet_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vbaton_undet_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,8); + } +@@ -806,7 +806,7 @@ void bvalid_det_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[bvalid_det_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[bvalid_det_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,9); + } +@@ -815,7 +815,7 @@ void chrdet_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[chrdet_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[chrdet_int_handler]....\n"); + #ifdef CONFIG_MTK_KERNEL_POWER_OFF_CHARGING + #ifndef CONFIG_MTK_DUAL_INPUT_CHARGER_SUPPORT + if (!upmu_get_rgs_chrdet()) +@@ -825,7 +825,7 @@ void chrdet_int_handler(void) + + if(boot_mode == KERNEL_POWER_OFF_CHARGING_BOOT || boot_mode == LOW_POWER_OFF_CHARGING_BOOT) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[chrdet_int_handler] Unplug Charger/USB In Kernel Power Off Charging Mode! Shutdown OS!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[chrdet_int_handler] Unplug Charger/USB In Kernel Power Off Charging Mode! Shutdown OS!\r\n"); + mt_power_off(); + } + } +@@ -840,7 +840,7 @@ void vbat_ov_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vbat_ov_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vbat_ov_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,11); + } +@@ -849,10 +849,10 @@ void ldo_oc_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[ldo_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[ldo_oc_int_handler]....\n"); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS0, upmu_get_reg_value(OCSTATUS0)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS1, upmu_get_reg_value(OCSTATUS1)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS0, upmu_get_reg_value(OCSTATUS0)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS1, upmu_get_reg_value(OCSTATUS1)); + + ret=pmic_config_interface(INT_STATUS1,0x1,0x1,0); + } +@@ -862,17 +862,17 @@ void fchr_key_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[fchr_key_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[fchr_key_int_handler]....\n"); + + if(upmu_get_fchrkey_deb()==1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[fchr_key_int_handler] Release fchrkey\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[fchr_key_int_handler] Release fchrkey\n"); + kpd_pmic_rstkey_handler(0x0); + upmu_set_rg_fchrkey_int_sel(0); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[fchr_key_int_handler] Press fchrkey\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[fchr_key_int_handler] Press fchrkey\n"); + kpd_pmic_rstkey_handler(0x1); + upmu_set_rg_fchrkey_int_sel(1); + } +@@ -886,11 +886,11 @@ void accdet_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[accdet_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[accdet_int_handler]....\n"); + + ret = accdet_irq_handler(); + if(0 == ret){ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[accdet_int_handler] don't finished\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[accdet_int_handler] don't finished\n"); + } + ret=pmic_config_interface(INT_STATUS1,0x1,0x1,2); + } +@@ -899,7 +899,7 @@ void audio_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[audio_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[audio_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS1,0x1,0x1,3); + } +@@ -908,7 +908,7 @@ void rtc_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[rtc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[rtc_int_handler]....\n"); + + rtc_irq_handler(); + +@@ -919,10 +919,10 @@ void vproc_oc_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vproc_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vproc_oc_int_handler]....\n"); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS0, upmu_get_reg_value(OCSTATUS0)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS1, upmu_get_reg_value(OCSTATUS1)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS0, upmu_get_reg_value(OCSTATUS0)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS1, upmu_get_reg_value(OCSTATUS1)); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -935,10 +935,10 @@ void vsys_oc_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vsys_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vsys_oc_int_handler]....\n"); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS0, upmu_get_reg_value(OCSTATUS0)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS1, upmu_get_reg_value(OCSTATUS1)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS0, upmu_get_reg_value(OCSTATUS0)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS1, upmu_get_reg_value(OCSTATUS1)); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -951,10 +951,10 @@ void vpa_oc_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vpa_oc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vpa_oc_int_handler]....\n"); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS0, upmu_get_reg_value(OCSTATUS0)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS1, upmu_get_reg_value(OCSTATUS1)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS0, upmu_get_reg_value(OCSTATUS0)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] Reg[0x%x]=0x%x\n", OCSTATUS1, upmu_get_reg_value(OCSTATUS1)); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -970,17 +970,17 @@ static int pmic_thread_kthread(void *x) + kal_uint32 int_status_val_0=0; + kal_uint32 int_status_val_1=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] enter\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] enter\n"); + + /* Run on a process content */ + while (1) { + mutex_lock(&pmic_mutex); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] running\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] running\n"); + + //-------------------------------------------------------------------------------- + ret=pmic_read_interface(INT_STATUS0,(&int_status_val_0),0xFFFF,0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] int_status_val_0=0x%x\n", int_status_val_0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] int_status_val_0=0x%x\n", int_status_val_0); + + if( (((int_status_val_0)&(0x0001))>>0) == 1 ) { spkl_ab_int_handler(); } + if( (((int_status_val_0)&(0x0002))>>1) == 1 ) { spkl_d_int_handler(); } +@@ -997,7 +997,7 @@ static int pmic_thread_kthread(void *x) + + //-------------------------------------------------------------------------------- + ret=pmic_read_interface(INT_STATUS1,(&int_status_val_1),0xFFFF,0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] int_status_val_1=0x%x\n", int_status_val_1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] int_status_val_1=0x%x\n", int_status_val_1); + + if( (((int_status_val_1)&(0x0001))>>0) == 1 ) { ldo_oc_int_handler(); } + if( (((int_status_val_1)&(0x0002))>>1) == 1 ) { fchr_key_int_handler(); } +@@ -1017,10 +1017,10 @@ static int pmic_thread_kthread(void *x) + cust_pmic_interrupt_en_setting(); + + ret=pmic_read_interface(INT_STATUS0,(&int_status_val_0),0xFFFF,0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] after ,int_status_val_0=0x%x\n", int_status_val_0); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] after ,int_status_val_0=0x%x\n", int_status_val_0); + + ret=pmic_read_interface(INT_STATUS1,(&int_status_val_1),0xFFFF,0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] after ,int_status_val_1=0x%x\n", int_status_val_1); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] after ,int_status_val_1=0x%x\n", int_status_val_1); + + + mutex_unlock(&pmic_mutex); +@@ -1038,7 +1038,7 @@ static int pmic_thread_kthread(void *x) + + void mt6323_pmic_eint_irq(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[mt6323_pmic_eint_irq] receive interrupt\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[mt6323_pmic_eint_irq] receive interrupt\n"); + + //pmic internal + wake_up_pmic(); +@@ -1048,14 +1048,14 @@ void mt6323_pmic_eint_irq(void) + + void PMIC_EINT_SETTING(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_EINT_SETTING] start: CUST_EINT_MT6323_PMIC_NUM=%d\n",CUST_EINT_MT6323_PMIC_NUM); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_EINT_SETTING] start: CUST_EINT_MT6323_PMIC_NUM=%d\n",CUST_EINT_MT6323_PMIC_NUM); + + //ON/OFF interrupt + cust_pmic_interrupt_en_setting(); + + //GPIO Setting for early porting + //mt_set_gpio_mode(GPIO37,GPIO_MODE_01); //EINT3 mode 1 on GPIO37 +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] GPIO37=GPIO_MODE_01 for EINT3 usage\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] GPIO37=GPIO_MODE_01 for EINT3 usage\n"); + + //EINT setting + //mt_eint_set_sens( CUST_EINT_MT6323_PMIC_NUM, +@@ -1071,12 +1071,12 @@ void PMIC_EINT_SETTING(void) + + mt_eint_unmask(CUST_EINT_MT6323_PMIC_NUM); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_NUM=%d\n", CUST_EINT_MT6323_PMIC_NUM); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_DEBOUNCE_CN=%d\n", CUST_EINT_MT6323_PMIC_DEBOUNCE_CN); +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_POLARITY=%d\n", CUST_EINT_MT6323_PMIC_POLARITY); +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_SENSITIVE=%d\n", CUST_EINT_MT6323_PMIC_SENSITIVE); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_TYPE=%d\n", CUST_EINT_MT6323_PMIC_TYPE); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_DEBOUNCE_EN=%d\n", CUST_EINT_MT6323_PMIC_DEBOUNCE_EN); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_NUM=%d\n", CUST_EINT_MT6323_PMIC_NUM); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_DEBOUNCE_CN=%d\n", CUST_EINT_MT6323_PMIC_DEBOUNCE_CN); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_POLARITY=%d\n", CUST_EINT_MT6323_PMIC_POLARITY); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_SENSITIVE=%d\n", CUST_EINT_MT6323_PMIC_SENSITIVE); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_TYPE=%d\n", CUST_EINT_MT6323_PMIC_TYPE); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6323_PMIC_DEBOUNCE_EN=%d\n", CUST_EINT_MT6323_PMIC_DEBOUNCE_EN); + + upmu_set_rg_intrp_ck_pdn(0); //for all interrupt events, turn on interrupt module clock + } +@@ -1090,7 +1090,7 @@ void PMIC_DUMP_ALL_Register(void) + for (i=0;i<0xFFFF;i++) + { + ret=pmic_read_interface(i,®_val,0xFFFF,0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Reg[0x%x]=0x%x\n", i, reg_val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Reg[0x%x]=0x%x\n", i, reg_val); + } + } + +@@ -1119,7 +1119,7 @@ U32 pmic_read_interface (U32 RegNum, U32 *val, U32 MASK, U32 SHIFT) + pmic6323_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_read_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + mutex_unlock(&pmic_access_mutex); + return return_value; + } +@@ -1131,7 +1131,7 @@ U32 pmic_read_interface (U32 RegNum, U32 *val, U32 MASK, U32 SHIFT) + + mutex_unlock(&pmic_access_mutex); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_read_interface] Can not access HW PMIC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface] Can not access HW PMIC\n"); + #endif + + return return_value; +@@ -1152,7 +1152,7 @@ U32 pmic_config_interface (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + pmic6323_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + mutex_unlock(&pmic_access_mutex); + return return_value; + } +@@ -1165,7 +1165,7 @@ U32 pmic_config_interface (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + return_value= pwrap_wacs2(1, (RegNum), pmic6323_reg, &rdata); + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + mutex_unlock(&pmic_access_mutex); + return return_value; + } +@@ -1178,7 +1178,7 @@ U32 pmic_config_interface (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + pmic6323_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap write data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap write data fail\n", RegNum); + mutex_unlock(&pmic_access_mutex); + return return_value; + } +@@ -1187,7 +1187,7 @@ U32 pmic_config_interface (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + + mutex_unlock(&pmic_access_mutex); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Can not access HW PMIC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Can not access HW PMIC\n"); + #endif + + return return_value; +@@ -1209,7 +1209,7 @@ U32 pmic_read_interface_nolock (U32 RegNum, U32 *val, U32 MASK, U32 SHIFT) + pmic6323_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_read_interface_nolock] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface_nolock] Reg[%x]= pmic_wrap read data fail\n", RegNum); + return return_value; + } + //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface_nolock] Reg[%x]=0x%x\n", RegNum, pmic6323_reg); +@@ -1218,7 +1218,7 @@ U32 pmic_read_interface_nolock (U32 RegNum, U32 *val, U32 MASK, U32 SHIFT) + *val = (pmic6323_reg >> SHIFT); + //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface_nolock] val=0x%x\n", *val); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_read_interface_nolock] Can not access HW PMIC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface_nolock] Can not access HW PMIC\n"); + #endif + + return return_value; +@@ -1237,7 +1237,7 @@ U32 pmic_config_interface_nolock (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + pmic6323_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface_nolock] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface_nolock] Reg[%x]= pmic_wrap read data fail\n", RegNum); + return return_value; + } + //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface_nolock] Reg[%x]=0x%x\n", RegNum, pmic6323_reg); +@@ -1249,12 +1249,12 @@ U32 pmic_config_interface_nolock (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + return_value= pwrap_wacs2(1, (RegNum), pmic6323_reg, &rdata); + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface_nolock] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface_nolock] Reg[%x]= pmic_wrap read data fail\n", RegNum); + return return_value; + } + //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface_nolock] write Reg[%x]=0x%x\n", RegNum, pmic6323_reg); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface_nolock] Can not access HW PMIC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface_nolock] Can not access HW PMIC\n"); + #endif + + return return_value; +@@ -1266,7 +1266,7 @@ U32 pmic_config_interface_nolock (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + U32 g_reg_value=0; + static ssize_t show_pmic_access(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[show_pmic_access] 0x%x\n", g_reg_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[show_pmic_access] 0x%x\n", g_reg_value); + return sprintf(buf, "%u\n", g_reg_value); + } + static ssize_t store_pmic_access(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -1275,23 +1275,23 @@ static ssize_t store_pmic_access(struct device *dev,struct device_attribute *att + char *pvalue = NULL; + U32 reg_value = 0; + U32 reg_address = 0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] \n"); + if(buf != NULL && size != 0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] buf is %s and size is %d \n",buf,size); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] buf is %s and size is %d \n",buf,size); + reg_address = simple_strtoul(buf,&pvalue,16); + + if(size > 5) + { + reg_value = simple_strtoul((pvalue+1),NULL,16); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] write PMU reg 0x%x with value 0x%x !\n",reg_address,reg_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] write PMU reg 0x%x with value 0x%x !\n",reg_address,reg_value); + ret=pmic_config_interface(reg_address, reg_value, 0xFFFF, 0x0); + } + else + { + ret=pmic_read_interface(reg_address, &g_reg_value, 0xFFFF, 0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] read PMU reg 0x%x with value 0x%x !\n",reg_address,g_reg_value); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] Please use \"cat pmic_access\" to get value\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] read PMU reg 0x%x with value 0x%x !\n",reg_address,g_reg_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] Please use \"cat pmic_access\" to get value\r\n"); + } + } + return size; +@@ -1341,7 +1341,7 @@ VCAM_IO + + void dct_pmic_VPROC_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VPROC_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VPROC_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1355,7 +1355,7 @@ void dct_pmic_VPROC_enable(kal_bool dctEnable) + + void dct_pmic_VSYS_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VSYS_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VSYS_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1369,7 +1369,7 @@ void dct_pmic_VSYS_enable(kal_bool dctEnable) + + void dct_pmic_VPA_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VPA_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VPA_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1384,7 +1384,7 @@ void dct_pmic_VPA_enable(kal_bool dctEnable) + //Digital LDO + void dct_pmic_VIO28_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIO28_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIO28_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1398,7 +1398,7 @@ void dct_pmic_VIO28_enable(kal_bool dctEnable) + + void dct_pmic_VUSB_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VUSB_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VUSB_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1412,7 +1412,7 @@ void dct_pmic_VUSB_enable(kal_bool dctEnable) + + void dct_pmic_VMC_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VMC_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VMC_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1426,7 +1426,7 @@ void dct_pmic_VMC_enable(kal_bool dctEnable) + + void dct_pmic_VMCH_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VMCH_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VMCH_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1440,7 +1440,7 @@ void dct_pmic_VMCH_enable(kal_bool dctEnable) + + void dct_pmic_VEMC_3V3_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VEMC_3V3_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VEMC_3V3_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1454,7 +1454,7 @@ void dct_pmic_VEMC_3V3_enable(kal_bool dctEnable) + + void dct_pmic_VGP1_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VGP1_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VGP1_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1468,7 +1468,7 @@ void dct_pmic_VGP1_enable(kal_bool dctEnable) + + void dct_pmic_VGP2_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VGP2_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VGP2_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1482,7 +1482,7 @@ void dct_pmic_VGP2_enable(kal_bool dctEnable) + + void dct_pmic_VGP3_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VGP3_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VGP3_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1496,7 +1496,7 @@ void dct_pmic_VGP3_enable(kal_bool dctEnable) + + void dct_pmic_VCN_1V8_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCN18_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCN18_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1510,7 +1510,7 @@ void dct_pmic_VCN_1V8_enable(kal_bool dctEnable) + + void dct_pmic_VSIM1_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VSIM1_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VSIM1_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1524,7 +1524,7 @@ void dct_pmic_VSIM1_enable(kal_bool dctEnable) + + void dct_pmic_VSIM2_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VSIM2_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VSIM2_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1538,7 +1538,7 @@ void dct_pmic_VSIM2_enable(kal_bool dctEnable) + + void dct_pmic_VRTC_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VRTC_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VRTC_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1552,7 +1552,7 @@ void dct_pmic_VRTC_enable(kal_bool dctEnable) + + void dct_pmic_VCAM_AF_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAM_AF_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAM_AF_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1566,7 +1566,7 @@ void dct_pmic_VCAM_AF_enable(kal_bool dctEnable) + + void dct_pmic_VIBR_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIBR_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIBR_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1580,7 +1580,7 @@ void dct_pmic_VIBR_enable(kal_bool dctEnable) + + void dct_pmic_VM_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VM_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VM_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1594,7 +1594,7 @@ void dct_pmic_VM_enable(kal_bool dctEnable) + + void dct_pmic_VRF18_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VRF18_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VRF18_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1608,7 +1608,7 @@ void dct_pmic_VRF18_enable(kal_bool dctEnable) + + void dct_pmic_VIO18_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIO18_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIO18_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1622,7 +1622,7 @@ void dct_pmic_VIO18_enable(kal_bool dctEnable) + + void dct_pmic_VCAMD_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAMD_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAMD_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1636,7 +1636,7 @@ void dct_pmic_VCAMD_enable(kal_bool dctEnable) + + void dct_pmic_VCAM_IO_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAM_IO_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAM_IO_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1651,7 +1651,7 @@ void dct_pmic_VCAM_IO_enable(kal_bool dctEnable) + //ANALOG LDO + void dct_pmic_VTCXO_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VTCXO_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VTCXO_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1665,7 +1665,7 @@ void dct_pmic_VTCXO_enable(kal_bool dctEnable) + + void dct_pmic_VA_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VA_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VA_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1679,7 +1679,7 @@ void dct_pmic_VA_enable(kal_bool dctEnable) + + void dct_pmic_VCAMA_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAMA_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAMA_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1693,7 +1693,7 @@ void dct_pmic_VCAMA_enable(kal_bool dctEnable) + + void dct_pmic_VCN33_enable_bt(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCN28_enable_bt] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCN28_enable_bt] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1707,7 +1707,7 @@ void dct_pmic_VCN33_enable_bt(kal_bool dctEnable) + + void dct_pmic_VCN33_enable_wifi(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCN28_enable_wifi] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCN28_enable_wifi] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1723,7 +1723,7 @@ void dct_pmic_VCN33_enable_wifi(kal_bool dctEnable) + + void dct_pmic_VCN28_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCN28_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCN28_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1780,43 +1780,43 @@ VCN28 + //D-LDO + void dct_pmic_VMC_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VMC_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VMC_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) {upmu_set_rg_vmc_vosel(1);} + else if(volt == VOL_3300){upmu_set_rg_vmc_vosel(1); } + else if(volt == VOL_1800){upmu_set_rg_vmc_vosel(0); } + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VMCH_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VMCH_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VMCH_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) {upmu_set_rg_vmch_vosel(1);} + else if(volt == VOL_3000){upmu_set_rg_vmch_vosel(0); } + else if(volt == VOL_3300){upmu_set_rg_vmch_vosel(1); } + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VEMC_3V3_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VEMC_3V3_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VEMC_3V3_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) {upmu_set_rg_vemc_3v3_vosel(1);} + else if(volt == VOL_3000){upmu_set_rg_vemc_3v3_vosel(0); } + else if(volt == VOL_3300){upmu_set_rg_vemc_3v3_vosel(1); } + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VGP1_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VGP1_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VGP1_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vgp1_vosel(5);} + else if(volt == VOL_1200){ upmu_set_rg_vgp1_vosel(0);} +@@ -1828,13 +1828,13 @@ void dct_pmic_VGP1_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vgp1_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vgp1_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VGP2_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VGP2_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VGP2_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vgp2_vosel(4);} + else if(volt == VOL_1200){ upmu_set_rg_vgp2_vosel(0);} +@@ -1846,13 +1846,13 @@ void dct_pmic_VGP2_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vgp2_vosel(6);} + else if(volt == VOL_2000){ upmu_set_rg_vgp2_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VGP3_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VGP3_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VGP3_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vgp3_vosel(0);} + else if(volt == VOL_1200){ upmu_set_rg_vgp3_vosel(0);} +@@ -1860,13 +1860,13 @@ void dct_pmic_VGP3_sel(kal_uint32 volt) + else if(volt == VOL_1500){ upmu_set_rg_vgp3_vosel(2);} + else if(volt == VOL_1800){ upmu_set_rg_vgp3_vosel(3);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VCAM_AF_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VCAM_AF_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VCAM_AF_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vcam_af_vosel(4);} + else if(volt == VOL_1200){ upmu_set_rg_vcam_af_vosel(0);} +@@ -1878,37 +1878,37 @@ void dct_pmic_VCAM_AF_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vcam_af_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vcam_af_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VSIM1_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VSIM1_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VSIM1_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vsim1_vosel(0);} + else if(volt == VOL_1800){ upmu_set_rg_vsim1_vosel(0);} + else if(volt == VOL_3000){ upmu_set_rg_vsim1_vosel(1);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VSIM2_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VSIM2_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VSIM2_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vsim2_vosel(0);} + else if(volt == VOL_1800){ upmu_set_rg_vsim2_vosel(0);} + else if(volt == VOL_3000){ upmu_set_rg_vsim2_vosel(1);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VIBR_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VIBR_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VIBR_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vibr_vosel(0);} + else if(volt == VOL_1200){ upmu_set_rg_vibr_vosel(0);} +@@ -1920,13 +1920,13 @@ void dct_pmic_VIBR_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vibr_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vibr_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VM_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VM_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VM_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vm_vosel(0);} + else if(volt == VOL_1200){ upmu_set_rg_vm_vosel(0);} +@@ -1934,13 +1934,13 @@ void dct_pmic_VM_sel(kal_uint32 volt) + else if(volt == VOL_1500){ upmu_set_rg_vm_vosel(2);} + else if(volt == VOL_1800){ upmu_set_rg_vm_vosel(3);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VCAMD_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VCAMD_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VCAMD_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vcamd_vosel(0);} + else if(volt == VOL_1200){ upmu_set_rg_vcamd_vosel(0);} +@@ -1948,14 +1948,14 @@ void dct_pmic_VCAMD_sel(kal_uint32 volt) + else if(volt == VOL_1500){ upmu_set_rg_vcamd_vosel(2);} + else if(volt == VOL_1800){ upmu_set_rg_vcamd_vosel(3);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + //A-LDO + void dct_pmic_VCAMA_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VCAMA_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VCAMA_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vcama_vosel(3);} + else if(volt == VOL_1500){ upmu_set_rg_vcama_vosel(0);} +@@ -1963,13 +1963,13 @@ void dct_pmic_VCAMA_sel(kal_uint32 volt) + else if(volt == VOL_2500){ upmu_set_rg_vcama_vosel(2);} + else if(volt == VOL_2800){ upmu_set_rg_vcama_vosel(3);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VCN33_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VCN33_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VCN33_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vcn33_vosel(3);} + else if(volt == VOL_3300){ upmu_set_rg_vcn33_vosel(0);} +@@ -1977,7 +1977,7 @@ void dct_pmic_VCN33_sel(kal_uint32 volt) + else if(volt == VOL_3500){ upmu_set_rg_vcn33_vosel(2);} + else if(volt == VOL_3600){ upmu_set_rg_vcn33_vosel(3);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + +@@ -3175,31 +3175,31 @@ void pmic_ldo_vol_sel(MT65XX_POWER powerId, MT65XX_POWER_VOLTAGE powerVolt) + + //Need integrate with DCT : using DCT APIs + +- if( powerId == MT6323_POWER_LDO_VIO28) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIO28_enable] No vlotage can setting!\n"); } +- else if(powerId == MT6323_POWER_LDO_VUSB) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VUSB_enable] No vlotage can setting!\n"); } ++ if( powerId == MT6323_POWER_LDO_VIO28) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIO28_enable] No vlotage can setting!\n"); } ++ else if(powerId == MT6323_POWER_LDO_VUSB) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VUSB_enable] No vlotage can setting!\n"); } + else if(powerId == MT6323_POWER_LDO_VMC) { dct_pmic_VMC_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VMCH) { dct_pmic_VMCH_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VEMC_3V3) { dct_pmic_VEMC_3V3_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VGP1) { dct_pmic_VGP1_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VGP2) { dct_pmic_VGP2_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VGP3) { dct_pmic_VGP3_sel(powerVolt); } +- else if(powerId == MT6323_POWER_LDO_VCN_1V8) {xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCN_1V8_enable] No vlotage can setting!\n");} ++ else if(powerId == MT6323_POWER_LDO_VCN_1V8) {xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCN_1V8_enable] No vlotage can setting!\n");} + else if(powerId == MT6323_POWER_LDO_VSIM1) { dct_pmic_VSIM1_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VSIM2) { dct_pmic_VSIM2_sel(powerVolt); } +- else if(powerId == MT6323_POWER_LDO_VRTC) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VRTC_enable] No vlotage can setting!\n");} ++ else if(powerId == MT6323_POWER_LDO_VRTC) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VRTC_enable] No vlotage can setting!\n");} + else if(powerId == MT6323_POWER_LDO_VCAM_AF) { dct_pmic_VCAM_AF_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VIBR) { dct_pmic_VIBR_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VM) { dct_pmic_VM_sel(powerVolt); } +- else if(powerId == MT6323_POWER_LDO_VRF18) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VRF18_enable] No vlotage can setting!\n");} +- else if(powerId == MT6323_POWER_LDO_VIO18) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIO18_enable] No vlotage can setting!\n");} ++ else if(powerId == MT6323_POWER_LDO_VRF18) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VRF18_enable] No vlotage can setting!\n");} ++ else if(powerId == MT6323_POWER_LDO_VIO18) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIO18_enable] No vlotage can setting!\n");} + else if(powerId == MT6323_POWER_LDO_VCAMD) { dct_pmic_VCAMD_sel(powerVolt); } +- else if(powerId == MT6323_POWER_LDO_VCAM_IO) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAM_IO_enable] No vlotage can setting!\n");} +- else if(powerId == MT6323_POWER_LDO_VTCXO) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VTCXO_enable] No vlotage can setting!\n");} +- else if(powerId == MT6323_POWER_LDO_VA) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VA_enable] No vlotage can setting!\n"); } ++ else if(powerId == MT6323_POWER_LDO_VCAM_IO) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAM_IO_enable] No vlotage can setting!\n");} ++ else if(powerId == MT6323_POWER_LDO_VTCXO) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VTCXO_enable] No vlotage can setting!\n");} ++ else if(powerId == MT6323_POWER_LDO_VA) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VA_enable] No vlotage can setting!\n"); } + else if(powerId == MT6323_POWER_LDO_VCAMA) { dct_pmic_VCAMA_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VCN33_BT) { dct_pmic_VCN33_sel(powerVolt); } + else if(powerId == MT6323_POWER_LDO_VCN33_WIFI) { dct_pmic_VCN33_sel(powerVolt); } +- else if(powerId == MT6323_POWER_LDO_VCN28) { xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCN28_enable] No vlotage can setting!\n"); } ++ else if(powerId == MT6323_POWER_LDO_VCN28) { xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCN28_enable] No vlotage can setting!\n"); } + else + { + xlog_printk(ANDROID_LOG_WARN, "Power/PMIC", "[pmic_ldo_ldo_vol_sel] UnKnown powerId (%d)\n", powerId); +@@ -3433,14 +3433,14 @@ void pmic_debug_init(void) + + mt_pmic_dir = proc_mkdir("mt_pmic", NULL); + if (!mt_pmic_dir) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "fail to mkdir /proc/mt_pmic\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "fail to mkdir /proc/mt_pmic\n" ); + return; + } + + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) + entry = proc_create("dump_ldo_status", 00640, mt_pmic_dir, &ldo_status_fops); + if (!entry) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "fail to create entry /proc/mt_pmic/dump_ldo_status\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "fail to create entry /proc/mt_pmic/dump_ldo_status\n" ); + return; + } + #else +@@ -3460,8 +3460,8 @@ void PMIC_INIT_SETTING_V1(void) + + if(chip_version >= PMIC6323_E2_CID_CODE) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] PMIC Chip = %x\n",chip_version); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] 20130604_0.85v\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] PMIC Chip = %x\n",chip_version); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] 20130604_0.85v\n"); + + //put init setting from DE/SA + +@@ -3553,8 +3553,8 @@ ret = pmic_config_interface(0x778,0x1,0x1,15); // [15:15]: RG_VREF18_ENB_MD; + } + else if(chip_version >= PMIC6323_E1_CID_CODE) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] PMIC Chip = %x\n",chip_version); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] 20130328_0.85v\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] PMIC Chip = %x\n",chip_version); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] 20130328_0.85v\n"); + + //put init setting from DE/SA + +@@ -3646,7 +3646,7 @@ ret = pmic_config_interface(0x778,0x1,0x1,15); // [15:15]: RG_VREF18_ENB_MD; + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] Unknown PMIC Chip (%x)\n",chip_version); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] Unknown PMIC Chip (%x)\n",chip_version); + } + + +@@ -3679,7 +3679,7 @@ void pmic_setting_depends_rtc(void) + ret = pmic_config_interface(ANALDO_CON1, 1, 0x1, 11); // [11]=1(VTCXO_ON_CTRL), + ret = pmic_config_interface(ANALDO_CON1, 0, 0x1, 0); // [0] =0(VTCXO_LP_SEL), + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_setting_depends_rtc] With 32K. Reg[0x%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_setting_depends_rtc] With 32K. Reg[0x%x]=0x%x\n", + ANALDO_CON1, upmu_get_reg_value(ANALDO_CON1)); + } + else +@@ -3688,11 +3688,11 @@ void pmic_setting_depends_rtc(void) + ret = pmic_config_interface(ANALDO_CON1, 0, 0x1, 11); // [11]=0(VTCXO_ON_CTRL), + ret = pmic_config_interface(ANALDO_CON1, 1, 0x1, 0); // [0] =1(VTCXO_LP_SEL), + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_setting_depends_rtc] Without 32K. Reg[0x%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_setting_depends_rtc] Without 32K. Reg[0x%x]=0x%x\n", + ANALDO_CON1, upmu_get_reg_value(ANALDO_CON1)); + } + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_setting_depends_rtc] no define CONFIG_MTK_RTC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_setting_depends_rtc] no define CONFIG_MTK_RTC\n"); + #endif + } + +@@ -3700,21 +3700,21 @@ static int pmic_mt6323_probe(struct platform_device *dev) + { + U32 ret_val=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6323 pmic driver probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6323 pmic driver probe!! ********\n" ); + + + //get PMIC CID + ret_val=upmu_get_cid(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "MT6323 PMIC CID=0x%x\n", ret_val ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "MT6323 PMIC CID=0x%x\n", ret_val ); + + //enable rtc 32k to pmic + //rtc_gpio_enable_32k(RTC_GPIO_USER_PMIC); + + //pmic initial setting + PMIC_INIT_SETTING_V1(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_INIT_SETTING_V1] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_INIT_SETTING_V1] Done\n"); + PMIC_CUSTOM_SETTING_V1(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_CUSTOM_SETTING_V1] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_CUSTOM_SETTING_V1] Done\n"); + + //No need due to VTCXO always on + //pmic setting with RTC +@@ -3722,10 +3722,10 @@ static int pmic_mt6323_probe(struct platform_device *dev) + + //PMIC Interrupt Service + PMIC_EINT_SETTING(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_EINT_SETTING] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_EINT_SETTING] Done\n"); + + kthread_run(pmic_thread_kthread, NULL, "pmic_thread_kthread"); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] Done\n"); + + //Dump register + //#ifndef USER_BUILD_KERNEL +@@ -3734,12 +3734,12 @@ static int pmic_mt6323_probe(struct platform_device *dev) + + dump_ldo_status_read_debug(); + pmic_debug_init(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] pmic_debug_init : done.\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] pmic_debug_init : done.\n" ); + + #ifdef MTK_ENABLE_MD5 + pmic_config_interface(0x402,0x0,0x1,0); // [0:0]: VTCXO_LP_SEL; + pmic_config_interface(0x402,0x1,0x1,11); // [11:11]: VTCXO_ON_CTRL; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC] VTCXO control by SRCLKEM due to MTK_ENABLE_MD5, Reg[0x402]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC] VTCXO control by SRCLKEM due to MTK_ENABLE_MD5, Reg[0x402]=0x%x\n", + upmu_get_reg_value(0x402)); + #endif + +@@ -3751,19 +3751,19 @@ static int pmic_mt6323_probe(struct platform_device *dev) + + static int pmic_mt6323_remove(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6323 pmic driver remove!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6323 pmic driver remove!! ********\n" ); + + return 0; + } + + static void pmic_mt6323_shutdown(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6323 pmic driver shutdown!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6323 pmic driver shutdown!! ********\n" ); + } + + static int pmic_mt6323_suspend(struct platform_device *dev, pm_message_t state) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6323 pmic driver suspend!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6323 pmic driver suspend!! ********\n" ); + upmu_set_rg_vref18_enb(1); + upmu_set_rg_adc_deci_gdly(1); + upmu_set_rg_clksq_en_aux(1); +@@ -3780,7 +3780,7 @@ static int pmic_mt6323_suspend(struct platform_device *dev, pm_message_t state) + + static int pmic_mt6323_resume(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6323 pmic driver resume!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6323 pmic driver resume!! ********\n" ); + upmu_set_rg_vref18_enb(0); + //upmu_set_rg_adc_deci_gdly(0); + upmu_set_rg_clksq_en_aux(1); +@@ -3818,7 +3818,7 @@ static int mt_pmic_probe(struct platform_device *dev) + { + int ret_device_file = 0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** mt_pmic_probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** mt_pmic_probe!! ********\n" ); + + ret_device_file = device_create_file(&(dev->dev), &dev_attr_pmic_access); + +@@ -3900,7 +3900,7 @@ static struct platform_driver mt_pmic_driver = { + #ifdef CONFIG_HAS_EARLYSUSPEND + static void pmic_early_suspend(struct early_suspend *h) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6323 pmic driver early suspend!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6323 pmic driver early suspend!! ********\n" ); + upmu_set_rg_vref18_enb(0); + //upmu_set_rg_adc_deci_gdly(0); + upmu_set_rg_clksq_en_aux(1); +@@ -3915,7 +3915,7 @@ static void pmic_early_suspend(struct early_suspend *h) + + static void pmic_early_resume(struct early_suspend *h) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6323 pmic driver early resume!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6323 pmic driver early resume!! ********\n" ); + upmu_set_rg_vref18_enb(0); + //upmu_set_rg_adc_deci_gdly(0); + upmu_set_rg_clksq_en_aux(1); +@@ -3950,24 +3950,24 @@ static int __init pmic_mt6323_init(void) + // PMIC device driver register + ret = platform_device_register(&pmic_mt6323_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6323_init] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6323_init] Unable to device register(%d)\n", ret); + return ret; + } + ret = platform_driver_register(&pmic_mt6323_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6323_init] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6323_init] Unable to register driver (%d)\n", ret); + return ret; + } + + // PMIC user space access interface + ret = platform_device_register(&mt_pmic_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6323_init] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6323_init] Unable to device register(%d)\n", ret); + return ret; + } + ret = platform_driver_register(&mt_pmic_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6323_init] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6323_init] Unable to register driver (%d)\n", ret); + return ret; + } + +@@ -3975,7 +3975,7 @@ static int __init pmic_mt6323_init(void) + register_early_suspend(&pmic_early_suspend_desc); + #endif + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6323_init] Initialization : DONE !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6323_init] Initialization : DONE !!\n"); + + return 0; + } +diff --git a/drivers/misc/mediatek/power/mt8127/pmic_mt6397.c b/drivers/misc/mediatek/power/mt8127/pmic_mt6397.c +index a31b6c1a..b0912112 100644 +--- a/drivers/misc/mediatek/power/mt8127/pmic_mt6397.c ++++ b/drivers/misc/mediatek/power/mt8127/pmic_mt6397.c +@@ -370,7 +370,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + } + break; + default: +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[AUXADC] Invalid channel value(%d,%d)\n", dwChannel, trimd); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[AUXADC] Invalid channel value(%d,%d)\n", dwChannel, trimd); + return -1; + break; + } +@@ -426,7 +426,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + adc_result = (adc_result_temp*r_val_temp*VOLTAGE_FULL_RANGE)/ADC_PRECISE; + break; + default: +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[AUXADC] Invalid channel value(%d,%d)\n", dwChannel, trimd); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[AUXADC] Invalid channel value(%d,%d)\n", dwChannel, trimd); + return -1; + break; + } +@@ -480,7 +480,7 @@ int PMIC_IMM_GetOneChannelValue(int dwChannel, int deCount, int trimd) + + void upmu_interrupt_chrdet_int_en(kal_uint32 val) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[upmu_interrupt_chrdet_int_en] val=%d.\r\n", val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[upmu_interrupt_chrdet_int_en] val=%d.\r\n", val); + + upmu_set_rg_int_en_chrdet(val); + } +@@ -508,7 +508,7 @@ extern int g_bat_init_flag; + + void wake_up_pmic(void) + { +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[wake_up_pmic]\r\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[wake_up_pmic]\r\n"); + pmic_thread_timeout = 1; + wake_up(&pmic_thread_wq); + } +@@ -531,12 +531,12 @@ void do_chrdet_int_task(void) + ret=upmu_get_rgs_chrdet(); + if(ret==1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[do_chrdet_int_task] charger exist!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[do_chrdet_int_task] charger exist!\n"); + g_charger_in_flag = 1; + + #if defined(CONFIG_POWER_EXT) + mt_usb_connect(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[do_chrdet_int_task] call mt_usb_connect() in EVB\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[do_chrdet_int_task] call mt_usb_connect() in EVB\n"); + #endif + } + else +@@ -544,11 +544,11 @@ void do_chrdet_int_task(void) + #if defined (CONFIG_MTK_KERNEL_POWER_OFF_CHARGING) + if(g_boot_mode == KERNEL_POWER_OFF_CHARGING_BOOT || g_boot_mode == LOW_POWER_OFF_CHARGING_BOOT) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] Unplug Charger/USB In Kernel Power Off Charging Mode! Shutdown OS!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] Unplug Charger/USB In Kernel Power Off Charging Mode! Shutdown OS!\r\n"); + mt_power_off(); + } + #endif +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[do_chrdet_int_task] charger NOT exist!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[do_chrdet_int_task] charger NOT exist!\n"); + g_charger_in_flag = 0; + g_first_check = 0; + +@@ -560,18 +560,18 @@ void do_chrdet_int_task(void) + ret_val=pmic_config_interface(CHR_CON18,0x0,PMIC_RG_BC11_VSRC_EN_MASK,PMIC_RG_BC11_VSRC_EN_SHIFT); + //check + ret_val=pmic_read_interface(CHR_CON18,®_val,0xFFFF,0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Reg[0x%x]=0x%x\n", CHR_CON18, reg_val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Reg[0x%x]=0x%x\n", CHR_CON18, reg_val); + ret_val=pmic_read_interface(CHR_CON19,®_val,0xFFFF,0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Reg[0x%x]=0x%x\n", CHR_CON19, reg_val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Reg[0x%x]=0x%x\n", CHR_CON19, reg_val); + + #if defined(CONFIG_POWER_EXT) + mt_usb_disconnect(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[do_chrdet_int_task] call mt_usb_disconnect() in EVB\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[do_chrdet_int_task] call mt_usb_disconnect() in EVB\n"); + #endif + } + + #if defined(CONFIG_POWER_EXT) +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[do_chrdet_int_task] Environment=FPGA/EVB\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[do_chrdet_int_task] Environment=FPGA/EVB\n"); + #else + wake_lock(&battery_suspend_lock); + g_chr_event = 1; +@@ -579,7 +579,7 @@ void do_chrdet_int_task(void) + if(g_bat_init_flag==1) + wake_up_bat(); + else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[do_chrdet_int_task] battery thread not ready, will do after bettery init.\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[do_chrdet_int_task] battery thread not ready, will do after bettery init.\n"); + #endif + } + #else +@@ -631,7 +631,7 @@ void spkl_ab_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[spkl_ab_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[spkl_ab_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,0); + +@@ -642,7 +642,7 @@ void spkr_ab_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[spkr_ab_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[spkr_ab_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,1); + +@@ -653,7 +653,7 @@ void spkl_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[spkl_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[spkl_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,2); + +@@ -664,7 +664,7 @@ void spkr_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[spkr_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[spkr_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,3); + +@@ -678,7 +678,7 @@ void bat_l_int_handler(void) + kal_uint32 lbat_debounce_count_max=0; + kal_uint32 lbat_debounce_count_min=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[bat_l_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[bat_l_int_handler]....\n"); + + upmu_set_rg_lbat_irq_en_max(0); + upmu_set_rg_lbat_irq_en_min(0); +@@ -703,7 +703,7 @@ void bat_h_int_handler(void) + kal_uint32 lbat_debounce_count_max=0; + kal_uint32 lbat_debounce_count_min=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[bat_h_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[bat_h_int_handler]....\n"); + + upmu_set_rg_int_en_bat_h(0); + +@@ -727,7 +727,7 @@ void fg_bat_l_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[fg_bat_l_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[fg_bat_l_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,6); + +@@ -738,7 +738,7 @@ void fg_bat_h_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[fg_bat_h_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[fg_bat_h_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,7); + +@@ -749,7 +749,7 @@ void watchdog_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[watchdog_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[watchdog_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,8); + +@@ -760,11 +760,11 @@ void pwrkey_int_handler(void) + { + kal_uint32 ret=0; + +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pwrkey_int_handler]....\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pwrkey_int_handler]....\n"); + + if(upmu_get_pwrkey_deb()==1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pwrkey_int_handler] Release pwrkey\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pwrkey_int_handler] Release pwrkey\n"); + #if defined (CONFIG_MTK_KERNEL_POWER_OFF_CHARGING) + if(g_boot_mode == KERNEL_POWER_OFF_CHARGING_BOOT && timer_pre != 0) + { +@@ -773,10 +773,10 @@ void pwrkey_int_handler(void) + { + long_pwrkey_press = true; + } +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] timer_pos = %ld, timer_pre = %ld, timer_pos-timer_pre = %ld, long_pwrkey_press = %d\r\n",timer_pos, timer_pre, timer_pos-timer_pre, long_pwrkey_press); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] timer_pos = %ld, timer_pre = %ld, timer_pos-timer_pre = %ld, long_pwrkey_press = %d\r\n",timer_pos, timer_pre, timer_pos-timer_pre, long_pwrkey_press); + if(long_pwrkey_press) //500ms + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] Power Key Pressed during kernel power off charging, reboot OS\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] Power Key Pressed during kernel power off charging, reboot OS\r\n"); + arch_reset(0, NULL); + } + } +@@ -785,7 +785,7 @@ void pwrkey_int_handler(void) + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pwrkey_int_handler] Press pwrkey\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pwrkey_int_handler] Press pwrkey\n"); + #if defined (CONFIG_MTK_KERNEL_POWER_OFF_CHARGING) + if(g_boot_mode == KERNEL_POWER_OFF_CHARGING_BOOT) + { +@@ -804,7 +804,7 @@ void thr_l_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[thr_l_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[thr_l_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,10); + +@@ -815,7 +815,7 @@ void thr_h_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[thr_h_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[thr_h_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,11); + +@@ -826,7 +826,7 @@ void vbaton_undet_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vbaton_undet_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vbaton_undet_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,12); + +@@ -837,7 +837,7 @@ void bvalid_det_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[bvalid_det_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[bvalid_det_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS0,0x1,0x1,13); + +@@ -848,7 +848,7 @@ void chrdet_int_handler(void) + { + // read clear, already read + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[chrdet_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[chrdet_int_handler]....\n"); + #ifdef CONFIG_MTK_KERNEL_POWER_OFF_CHARGING + if (!upmu_get_rgs_chrdet()) + { +@@ -857,7 +857,7 @@ void chrdet_int_handler(void) + + if(boot_mode == KERNEL_POWER_OFF_CHARGING_BOOT || boot_mode == LOW_POWER_OFF_CHARGING_BOOT) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[chrdet_int_handler] Unplug Charger/USB In Kernel Power Off Charging Mode! Shutdown OS!\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[chrdet_int_handler] Unplug Charger/USB In Kernel Power Off Charging Mode! Shutdown OS!\r\n"); + mt_power_off(); + } + } +@@ -869,13 +869,13 @@ void ov_int_handler(void) + { + // read clear, already read + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[ov_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[ov_int_handler]....\n"); + } + void ldo_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[ldo_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[ldo_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS1,0x1,0x1,0); + +@@ -887,16 +887,16 @@ void homekey_int_handler(void) + { + kal_uint32 ret=0; + +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[homekey_int_handler]....\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[homekey_int_handler]....\n"); + + if(upmu_get_homekey_deb()==1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[homekey_int_handler] Release HomeKey\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[homekey_int_handler] Release HomeKey\r\n"); + kpd_pmic_rstkey_handler(0x0); + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[homekey_int_handler] Press HomeKey\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[homekey_int_handler] Press HomeKey\r\n"); + kpd_pmic_rstkey_handler(0x1); + } + +@@ -909,11 +909,11 @@ void accdet_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[accdet_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[accdet_int_handler]....\n"); + + ret = accdet_irq_handler(); + if(0 == ret){ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[accdet_int_handler] don't finished\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[accdet_int_handler] don't finished\n"); + } + ret=pmic_config_interface(INT_STATUS1,0x1,0x1,2); + //make sure register operation is effective, no fake interrupt received +@@ -924,7 +924,7 @@ void audio_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[audio_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[audio_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS1,0x1,0x1,3); + +@@ -935,7 +935,7 @@ void rtc_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[rtc_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[rtc_int_handler]....\n"); + rtc_irq_handler(); + ret=pmic_config_interface(INT_STATUS1,0x1,0x1,4); + +@@ -946,7 +946,7 @@ void pwrkey_rstb_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pwrkey_rstb_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pwrkey_rstb_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS1,0x1,PMIC_RG_INT_STATUS_PWRKEY_RSTB_MASK,PMIC_RG_INT_STATUS_PWRKEY_RSTB_SHIFT); + +@@ -958,7 +958,7 @@ void hdmi_sifm_int_handler(void) + { + kal_uint32 ret=0; + +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[hdmi_sifm_int_handler]....\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[hdmi_sifm_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS1,0x1,PMIC_RG_INT_STATUS_HDMI_SIFM_MASK,PMIC_RG_INT_STATUS_HDMI_SIFM_SHIFT); + +@@ -974,7 +974,7 @@ void hdmi_cec_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[hdmi_cec_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[hdmi_cec_int_handler]....\n"); + + ret=pmic_config_interface(INT_STATUS1,0x1,PMIC_RG_INT_STATUS_HDMI_CEC_MASK,PMIC_RG_INT_STATUS_HDMI_CEC_SHIFT); + +@@ -986,7 +986,7 @@ void vca15_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vca15_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vca15_int_handler]....\n"); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -1000,7 +1000,7 @@ void vsrmca15_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vsrmca15_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vsrmca15_int_handler]....\n"); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -1014,7 +1014,7 @@ void vcore_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vcore_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vcore_int_handler]....\n"); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -1028,7 +1028,7 @@ void vgpu_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vgpu_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vgpu_int_handler]....\n"); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -1042,7 +1042,7 @@ void vio18_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vio18_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vio18_int_handler]....\n"); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -1056,7 +1056,7 @@ void vpca7_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vpca7_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vpca7_int_handler]....\n"); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -1070,7 +1070,7 @@ void vsrmca7_int_handler(void) + { + kal_uint32 ret=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vsrmca7_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vsrmca7_int_handler]....\n"); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -1084,7 +1084,7 @@ void vsrmca7_int_handler(void) + void vdrm_int_handler(void) + { + kal_uint32 ret=0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[vdrm_int_handler]....\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[vdrm_int_handler]....\n"); + + upmu_set_rg_pwmoc_ck_pdn(1); + +@@ -1103,17 +1103,17 @@ static int pmic_thread_kthread(void *x) + kal_uint32 int_status_val_0=0; + kal_uint32 int_status_val_1=0; + +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] enter\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] enter\n"); + + /* Run on a process content */ + while (1) { + mutex_lock(&pmic_mutex); + +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] running\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] running\n"); + + //-------------------------------------------------------------------------------- + ret=pmic_read_interface(INT_STATUS0,(&int_status_val_0),0xFFFF,0x0); +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] int_status_val_0=0x%x\n", int_status_val_0); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] int_status_val_0=0x%x\n", int_status_val_0); + + if( (((int_status_val_0)&(0x0001))>>0) == 1 ) { spkl_ab_int_handler(); } + if( (((int_status_val_0)&(0x0002))>>1) == 1 ) { spkr_ab_int_handler(); } +@@ -1133,7 +1133,7 @@ static int pmic_thread_kthread(void *x) + if( (((int_status_val_0)&(0x8000))>>15) == 1 ) { ov_int_handler(); } + //-------------------------------------------------------------------------------- + ret=pmic_read_interface(INT_STATUS1,(&int_status_val_1),0xFFFF,0x0); +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[INT] int_status_val_1=0x%x\n", int_status_val_1); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[INT] int_status_val_1=0x%x\n", int_status_val_1); + + if( (((int_status_val_1)&(0x0001))>>0) == 1 ) { ldo_int_handler(); } + if( (((int_status_val_1)&(0x0002))>>1) == 1 ) { homekey_int_handler(); } +@@ -1177,7 +1177,7 @@ static int pmic_thread_kthread(void *x) + + void mt6397_pmic_eint_irq(void) + { +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "6397 get int\n"); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "6397 get int\n"); + + //pmic internal + wake_up_pmic(); +@@ -1189,7 +1189,7 @@ void PMIC_EINT_SETTING(void) + { + #ifndef CONFIG_MT8127_FPGA + //to do, check EINT setting in dct tool +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_EINT_SETTING] start: CUST_EINT_MT6397_PMIC_NUM=%d\n",CUST_EINT_MT6323_PMIC_NUM); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_EINT_SETTING] start: CUST_EINT_MT6397_PMIC_NUM=%d\n",CUST_EINT_MT6323_PMIC_NUM); + #endif + //ON/OFF interrupt + cust_pmic_interrupt_en_setting(); +@@ -1201,7 +1201,7 @@ void PMIC_EINT_SETTING(void) + //GPIO Setting for early porting + //mt_set_gpio_mode(GPIO52,GPIO_MODE_01); //EINT0 mode 1 on GPIO52 + mt_set_gpio_mode(GPIO_PMIC_EINT_PIN,GPIO_PMIC_EINT_PIN_M_EINT); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] %d,%d for usage\n", GPIO_PMIC_EINT_PIN, GPIO_PMIC_EINT_PIN_M_EINT); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] %d,%d for usage\n", GPIO_PMIC_EINT_PIN, GPIO_PMIC_EINT_PIN_M_EINT); + + //EINT setting + //mt_eint_set_sens( CUST_EINT_MT6320_PMIC_NUM, +@@ -1219,10 +1219,10 @@ void PMIC_EINT_SETTING(void) + + mt_eint_unmask(CUST_EINT_MT6323_PMIC_NUM); + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6397_PMIC_NUM=%d\n", CUST_EINT_MT6323_PMIC_NUM); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6397_PMIC_DEBOUNCE_CN=%d\n", CUST_EINT_MT6323_PMIC_DEBOUNCE_CN); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6397_PMIC_TYPE=%d\n", CUST_EINT_MT6323_PMIC_TYPE); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6397_PMIC_DEBOUNCE_EN=%d\n", CUST_EINT_MT6323_PMIC_DEBOUNCE_EN); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6397_PMIC_NUM=%d\n", CUST_EINT_MT6323_PMIC_NUM); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6397_PMIC_DEBOUNCE_CN=%d\n", CUST_EINT_MT6323_PMIC_DEBOUNCE_CN); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6397_PMIC_TYPE=%d\n", CUST_EINT_MT6323_PMIC_TYPE); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[CUST_EINT] CUST_EINT_MT6397_PMIC_DEBOUNCE_EN=%d\n", CUST_EINT_MT6323_PMIC_DEBOUNCE_EN); + #endif + } + +@@ -1235,7 +1235,7 @@ void PMIC_DUMP_ALL_Register(void) + for (i=0;i<0xFFFF;i++) + { + ret=pmic_read_interface(i,®_val,0xFFFF,0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Reg[0x%x]=0x%x\n", i, reg_val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Reg[0x%x]=0x%x\n", i, reg_val); + } + } + +@@ -1264,7 +1264,7 @@ U32 pmic_read_interface (U32 RegNum, U32 *val, U32 MASK, U32 SHIFT) + pmic_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_read_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + mutex_unlock(&pmic_access_mutex); + return return_value; + } +@@ -1276,7 +1276,7 @@ U32 pmic_read_interface (U32 RegNum, U32 *val, U32 MASK, U32 SHIFT) + + mutex_unlock(&pmic_access_mutex); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_read_interface] Can not access HW PMIC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface] Can not access HW PMIC\n"); + #endif + + return return_value; +@@ -1297,7 +1297,7 @@ U32 pmic_config_interface (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + pmic_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + mutex_unlock(&pmic_access_mutex); + return return_value; + } +@@ -1310,7 +1310,7 @@ U32 pmic_config_interface (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + return_value= pwrap_wacs2(1, (RegNum), pmic_reg, &rdata); + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + mutex_unlock(&pmic_access_mutex); + return return_value; + } +@@ -1323,7 +1323,7 @@ U32 pmic_config_interface (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + pmic_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap write data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap write data fail\n", RegNum); + mutex_unlock(&pmic_access_mutex); + return return_value; + } +@@ -1332,7 +1332,7 @@ U32 pmic_config_interface (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + + mutex_unlock(&pmic_access_mutex); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Can not access HW PMIC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Can not access HW PMIC\n"); + #endif + + return return_value; +@@ -1354,7 +1354,7 @@ U32 pmic_read_interface_nolock (U32 RegNum, U32 *val, U32 MASK, U32 SHIFT) + pmic_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_read_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + return return_value; + } + //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface] Reg[%x]=0x%x\n", RegNum, pmic_reg); +@@ -1363,7 +1363,7 @@ U32 pmic_read_interface_nolock (U32 RegNum, U32 *val, U32 MASK, U32 SHIFT) + *val = (pmic_reg >> SHIFT); + //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface] val=0x%x\n", *val); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_read_interface] Can not access HW PMIC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_read_interface] Can not access HW PMIC\n"); + #endif + + return return_value; +@@ -1382,7 +1382,7 @@ U32 pmic_config_interface_nolock (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + pmic_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + return return_value; + } + //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]=0x%x\n", RegNum, pmic_reg); +@@ -1394,7 +1394,7 @@ U32 pmic_config_interface_nolock (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + return_value= pwrap_wacs2(1, (RegNum), pmic_reg, &rdata); + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap read data fail\n", RegNum); + return return_value; + } + //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] write Reg[%x]=0x%x\n", RegNum, pmic_reg); +@@ -1406,14 +1406,14 @@ U32 pmic_config_interface_nolock (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + pmic_reg=rdata; + if(return_value!=0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap write data fail\n", RegNum); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]= pmic_wrap write data fail\n", RegNum); + return return_value; + } + xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Reg[%x]=0x%x\n", RegNum, pmic_reg); + #endif + + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_config_interface] Can not access HW PMIC\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_config_interface] Can not access HW PMIC\n"); + #endif + + return return_value; +@@ -1425,7 +1425,7 @@ U32 pmic_config_interface_nolock (U32 RegNum, U32 val, U32 MASK, U32 SHIFT) + U32 g_reg_value=0; + static ssize_t show_pmic_access(struct device *dev,struct device_attribute *attr, char *buf) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[show_pmic_access] 0x%x\n", g_reg_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[show_pmic_access] 0x%x\n", g_reg_value); + return sprintf(buf, "%u\n", g_reg_value); + } + static ssize_t store_pmic_access(struct device *dev,struct device_attribute *attr, const char *buf, size_t size) +@@ -1434,23 +1434,23 @@ static ssize_t store_pmic_access(struct device *dev,struct device_attribute *att + char *pvalue = NULL; + U32 reg_value = 0; + U32 reg_address = 0; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] \n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] \n"); + if(buf != NULL && size != 0) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] buf is %s and size is %d \n",buf,size); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] buf is %s and size is %d \n",buf,size); + reg_address = simple_strtoul(buf,&pvalue,16); + + if(size > 5) + { + reg_value = simple_strtoul((pvalue+1),NULL,16); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] write PMU reg 0x%x with value 0x%x !\n",reg_address,reg_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] write PMU reg 0x%x with value 0x%x !\n",reg_address,reg_value); + ret=pmic_config_interface(reg_address, reg_value, 0xFFFF, 0x0); + } + else + { + ret=pmic_read_interface(reg_address, &g_reg_value, 0xFFFF, 0x0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] read PMU reg 0x%x with value 0x%x !\n",reg_address,g_reg_value); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[store_pmic_access] Please use \"cat pmic_access\" to get value\r\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] read PMU reg 0x%x with value 0x%x !\n",reg_address,g_reg_value); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[store_pmic_access] Please use \"cat pmic_access\" to get value\r\n"); + } + } + return size; +@@ -1464,9 +1464,9 @@ void dct_pmic_VIO28_enable(kal_bool dctEnable) + { + #if 1 + /* for Sensor co-power with other devices */ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIO28_enable] No enable can setting!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIO28_enable] No enable can setting!\n"); + #else +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIO28_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIO28_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1481,7 +1481,7 @@ void dct_pmic_VIO28_enable(kal_bool dctEnable) + + void dct_pmic_VUSB_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VUSB_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VUSB_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1495,7 +1495,7 @@ void dct_pmic_VUSB_enable(kal_bool dctEnable) + + void dct_pmic_VMC_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VMC_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VMC_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1509,7 +1509,7 @@ void dct_pmic_VMC_enable(kal_bool dctEnable) + + void dct_pmic_VMCH_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VMCH_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VMCH_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1523,7 +1523,7 @@ void dct_pmic_VMCH_enable(kal_bool dctEnable) + + void dct_pmic_VEMC_3V3_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VEMC_3V3_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VEMC_3V3_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1537,7 +1537,7 @@ void dct_pmic_VEMC_3V3_enable(kal_bool dctEnable) + + void dct_pmic_VCAMD_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAMD_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAMD_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1551,7 +1551,7 @@ void dct_pmic_VCAMD_enable(kal_bool dctEnable) + + void dct_pmic_VCAMIO_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAMIO_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAMIO_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1565,7 +1565,7 @@ void dct_pmic_VCAMIO_enable(kal_bool dctEnable) + + void dct_pmic_VCAMAF_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAMAF_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAMAF_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1579,7 +1579,7 @@ void dct_pmic_VCAMAF_enable(kal_bool dctEnable) + + void dct_pmic_VGP4_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VGP4_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VGP4_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1593,7 +1593,7 @@ void dct_pmic_VGP4_enable(kal_bool dctEnable) + + void dct_pmic_VGP5_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VGP5_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VGP5_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1607,7 +1607,7 @@ void dct_pmic_VGP5_enable(kal_bool dctEnable) + + void dct_pmic_VGP6_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VGP6_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VGP6_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1621,7 +1621,7 @@ void dct_pmic_VGP6_enable(kal_bool dctEnable) + + void dct_pmic_VIBR_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIBR_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIBR_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1635,7 +1635,7 @@ void dct_pmic_VIBR_enable(kal_bool dctEnable) + + void dct_pmic_VRTC_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VRTC_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VRTC_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1649,7 +1649,7 @@ void dct_pmic_VRTC_enable(kal_bool dctEnable) + + void dct_pmic_VTCXO_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VTCXO_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VTCXO_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1663,7 +1663,7 @@ void dct_pmic_VTCXO_enable(kal_bool dctEnable) + + void dct_pmic_VA28_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VA28_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VA28_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1677,7 +1677,7 @@ void dct_pmic_VA28_enable(kal_bool dctEnable) + + void dct_pmic_VCAMA_enable(kal_bool dctEnable) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VCAMA_enable] %d\n", dctEnable); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VCAMA_enable] %d\n", dctEnable); + + if(dctEnable == KAL_TRUE) + { +@@ -1694,53 +1694,53 @@ void dct_pmic_VCAMA_enable(kal_bool dctEnable) + //============================================================================== + void dct_pmic_VIO28_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VIO28_enable] No voltage can setting!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VIO28_enable] No voltage can setting!\n"); + } + + void dct_pmic_VUSB_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VUSB_sel] No voltage can setting!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VUSB_sel] No voltage can setting!\n"); + } + + void dct_pmic_VMC_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VMC_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VMC_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vmc_vosel(1);} + else if(volt == VOL_3300){ upmu_set_rg_vmc_vosel(1);} + else if(volt == VOL_1800){ upmu_set_rg_vmc_vosel(0);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VMCH_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VMCH_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VMCH_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vmch_vosel(1);} + else if(volt == VOL_3000){ upmu_set_rg_vmch_vosel(0);} + else if(volt == VOL_3300){ upmu_set_rg_vmch_vosel(1);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VEMC_3V3_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VEMC_3V3_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VEMC_3V3_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vemc_3v3_vosel(1);} + else if(volt == VOL_3000){ upmu_set_rg_vemc_3v3_vosel(0);} + else if(volt == VOL_3300){ upmu_set_rg_vemc_3v3_vosel(1);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VCAMD_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VCAMD_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VCAMD_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vcamd_vosel(5);} + else if(volt == VOL_1200){ upmu_set_rg_vcamd_vosel(0);} +@@ -1752,13 +1752,13 @@ void dct_pmic_VCAMD_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vcamd_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vcamd_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VCAMIO_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VCAMIO_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VCAMIO_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vcamio_vosel(5);} + else if(volt == VOL_1200){ upmu_set_rg_vcamio_vosel(0);} +@@ -1770,13 +1770,13 @@ void dct_pmic_VCAMIO_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vcamio_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vcamio_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VCAMAF_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VCAMAF_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VCAMAF_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vcamaf_vosel(5);} + else if(volt == VOL_1200){ upmu_set_rg_vcamaf_vosel(0);} +@@ -1788,13 +1788,13 @@ void dct_pmic_VCAMAF_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vcamaf_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vcamaf_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VGP4_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VGP4_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VGP4_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vgp4_vosel(5);} + else if(volt == VOL_1200){ upmu_set_rg_vgp4_vosel(0);} +@@ -1806,13 +1806,13 @@ void dct_pmic_VGP4_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vgp4_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vgp4_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VGP5_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VGP5_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VGP5_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vgp5_vosel(5);} + else if(volt == VOL_1200){ upmu_set_rg_vgp5_vosel(0);} +@@ -1824,13 +1824,13 @@ void dct_pmic_VGP5_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vgp5_vosel(6);} + else if(volt == VOL_2000){ upmu_set_rg_vgp5_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VGP6_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VGP6_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VGP6_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vgp6_vosel(5);} + else if(volt == VOL_1200){ upmu_set_rg_vgp6_vosel(0);} +@@ -1842,13 +1842,13 @@ void dct_pmic_VGP6_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vgp6_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vgp6_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VIBR_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VIBR_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VIBR_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vibr_vosel(6);} + else if(volt == VOL_1300){ upmu_set_rg_vibr_vosel(0);} +@@ -1860,28 +1860,28 @@ void dct_pmic_VIBR_sel(kal_uint32 volt) + else if(volt == VOL_3000){ upmu_set_rg_vibr_vosel(6);} + else if(volt == VOL_3300){ upmu_set_rg_vibr_vosel(7);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + + void dct_pmic_VRTC_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VRTC_sel] No voltage can setting!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VRTC_sel] No voltage can setting!\n"); + } + + void dct_pmic_VTCXO_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VTCXO_sel] No voltage can setting!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VTCXO_sel] No voltage can setting!\n"); + } + + void dct_pmic_VA28_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[dct_pmic_VA28_sel] No voltage can setting!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[dct_pmic_VA28_sel] No voltage can setting!\n"); + } + + void dct_pmic_VCAMA_sel(kal_uint32 volt) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[dct_pmic_VCAMA_sel] value=%d \n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[dct_pmic_VCAMA_sel] value=%d \n", volt); + + if(volt == VOL_DEFAULT) { upmu_set_rg_vcama_vosel(3);} + else if(volt == VOL_1500){ upmu_set_rg_vcama_vosel(0);} +@@ -1889,7 +1889,7 @@ void dct_pmic_VCAMA_sel(kal_uint32 volt) + else if(volt == VOL_2500){ upmu_set_rg_vcama_vosel(2);} + else if(volt == VOL_2800){ upmu_set_rg_vcama_vosel(3);} + else{ +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Error Setting %d. DO nothing.\r\n", volt); + } + } + +@@ -3176,7 +3176,7 @@ void PMIC_INIT_SETTING_V1(void) + + if(chip_version >= PMIC6397_E1_CID_CODE) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] PMIC Chip = %x\n",chip_version); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] PMIC Chip = %x\n",chip_version); + + //put init setting from DE/SA + ret = pmic_config_interface(0x2,0xB,0xF,4); // [7:4]: RG_VCDT_HV_VTH; 7V OVP +@@ -3305,76 +3305,76 @@ void PMIC_INIT_SETTING_V1(void) + ret = pmic_config_interface(0x134,0x3,0x3,2); // [3:2]: VCA15 OC; + #if 0 + //dump register +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x002, upmu_get_reg_value(0x002)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x00C, upmu_get_reg_value(0x00C)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x01A, upmu_get_reg_value(0x01A)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x024, upmu_get_reg_value(0x024)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x02A, upmu_get_reg_value(0x02A)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x02E, upmu_get_reg_value(0x02E)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x102, upmu_get_reg_value(0x102)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x128, upmu_get_reg_value(0x128)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x130, upmu_get_reg_value(0x130)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x134, upmu_get_reg_value(0x134)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x178, upmu_get_reg_value(0x178)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x17E, upmu_get_reg_value(0x17E)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x206, upmu_get_reg_value(0x206)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x210, upmu_get_reg_value(0x210)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x216, upmu_get_reg_value(0x216)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x21E, upmu_get_reg_value(0x21E)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x224, upmu_get_reg_value(0x224)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x238, upmu_get_reg_value(0x238)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x244, upmu_get_reg_value(0x244)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x24A, upmu_get_reg_value(0x24A)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x25E, upmu_get_reg_value(0x25E)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x260, upmu_get_reg_value(0x260)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x262, upmu_get_reg_value(0x262)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x264, upmu_get_reg_value(0x264)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x270, upmu_get_reg_value(0x270)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x276, upmu_get_reg_value(0x276)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x27C, upmu_get_reg_value(0x27C)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x28A, upmu_get_reg_value(0x28A)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x28E, upmu_get_reg_value(0x28E)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x29C, upmu_get_reg_value(0x29C)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x2B0, upmu_get_reg_value(0x2B0)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x330, upmu_get_reg_value(0x330)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x332, upmu_get_reg_value(0x332)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x336, upmu_get_reg_value(0x336)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x33C, upmu_get_reg_value(0x33C)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x34A, upmu_get_reg_value(0x34A)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x356, upmu_get_reg_value(0x356)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x358, upmu_get_reg_value(0x358)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x35C, upmu_get_reg_value(0x35C)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x362, upmu_get_reg_value(0x362)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x370, upmu_get_reg_value(0x370)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x372, upmu_get_reg_value(0x372)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x374, upmu_get_reg_value(0x374)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x376, upmu_get_reg_value(0x376)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x39C, upmu_get_reg_value(0x39C)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x440, upmu_get_reg_value(0x440)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x500, upmu_get_reg_value(0x500)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x502, upmu_get_reg_value(0x502)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x508, upmu_get_reg_value(0x508)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x50C, upmu_get_reg_value(0x50C)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x512, upmu_get_reg_value(0x512)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x55E, upmu_get_reg_value(0x55E)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x560, upmu_get_reg_value(0x560)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x566, upmu_get_reg_value(0x566)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x600, upmu_get_reg_value(0x600)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x604, upmu_get_reg_value(0x604)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x606, upmu_get_reg_value(0x606)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x60A, upmu_get_reg_value(0x60A)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x612, upmu_get_reg_value(0x612)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x632, upmu_get_reg_value(0x632)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x638, upmu_get_reg_value(0x638)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x63A, upmu_get_reg_value(0x63A)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x63C, upmu_get_reg_value(0x63C)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x714, upmu_get_reg_value(0x714)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x71A, upmu_get_reg_value(0x71A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x002, upmu_get_reg_value(0x002)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x00C, upmu_get_reg_value(0x00C)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x01A, upmu_get_reg_value(0x01A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x024, upmu_get_reg_value(0x024)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x02A, upmu_get_reg_value(0x02A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x02E, upmu_get_reg_value(0x02E)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x102, upmu_get_reg_value(0x102)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x128, upmu_get_reg_value(0x128)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x130, upmu_get_reg_value(0x130)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x134, upmu_get_reg_value(0x134)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x178, upmu_get_reg_value(0x178)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x17E, upmu_get_reg_value(0x17E)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x206, upmu_get_reg_value(0x206)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x210, upmu_get_reg_value(0x210)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x216, upmu_get_reg_value(0x216)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x21E, upmu_get_reg_value(0x21E)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x224, upmu_get_reg_value(0x224)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x238, upmu_get_reg_value(0x238)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x244, upmu_get_reg_value(0x244)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x24A, upmu_get_reg_value(0x24A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x25E, upmu_get_reg_value(0x25E)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x260, upmu_get_reg_value(0x260)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x262, upmu_get_reg_value(0x262)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x264, upmu_get_reg_value(0x264)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x270, upmu_get_reg_value(0x270)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x276, upmu_get_reg_value(0x276)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x27C, upmu_get_reg_value(0x27C)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x28A, upmu_get_reg_value(0x28A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x28E, upmu_get_reg_value(0x28E)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x29C, upmu_get_reg_value(0x29C)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x2B0, upmu_get_reg_value(0x2B0)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x330, upmu_get_reg_value(0x330)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x332, upmu_get_reg_value(0x332)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x336, upmu_get_reg_value(0x336)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x33C, upmu_get_reg_value(0x33C)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x34A, upmu_get_reg_value(0x34A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x356, upmu_get_reg_value(0x356)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x358, upmu_get_reg_value(0x358)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x35C, upmu_get_reg_value(0x35C)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x362, upmu_get_reg_value(0x362)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x370, upmu_get_reg_value(0x370)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x372, upmu_get_reg_value(0x372)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x374, upmu_get_reg_value(0x374)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x376, upmu_get_reg_value(0x376)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x39C, upmu_get_reg_value(0x39C)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x440, upmu_get_reg_value(0x440)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x500, upmu_get_reg_value(0x500)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x502, upmu_get_reg_value(0x502)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x508, upmu_get_reg_value(0x508)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x50C, upmu_get_reg_value(0x50C)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x512, upmu_get_reg_value(0x512)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x55E, upmu_get_reg_value(0x55E)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x560, upmu_get_reg_value(0x560)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x566, upmu_get_reg_value(0x566)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x600, upmu_get_reg_value(0x600)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x604, upmu_get_reg_value(0x604)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x606, upmu_get_reg_value(0x606)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x60A, upmu_get_reg_value(0x60A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x612, upmu_get_reg_value(0x612)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x632, upmu_get_reg_value(0x632)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x638, upmu_get_reg_value(0x638)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x63A, upmu_get_reg_value(0x63A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x63C, upmu_get_reg_value(0x63C)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x714, upmu_get_reg_value(0x714)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_init_setting] Reg[0x%x]=0x%x\n", 0x71A, upmu_get_reg_value(0x71A)); + #endif + } + else + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] Unknown PMIC Chip (%x)\n",chip_version); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[Kernel_PMIC_INIT_SETTING_V1] Unknown PMIC Chip (%x)\n",chip_version); + } + } + +@@ -3437,7 +3437,7 @@ void PMIC_CUSTOM_SETTING_V1(void) + upmu_set_rg_vgp6_sw_en(1); + upmu_set_rg_vgp6_vosel(0x7); + ret = pmic_read_interface(DIGLDO_CON33, ®_val, 0xFFFF, 0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[%s] Reg[0x%x] = 0x%x\n", __FUNCTION__, DIGLDO_CON33, reg_val); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[%s] Reg[0x%x] = 0x%x\n", __FUNCTION__, DIGLDO_CON33, reg_val); + #endif + } + +@@ -3450,7 +3450,7 @@ void pmic_low_power_setting(void) + U32 chip_version = 0; + + chip_version = upmu_get_cid(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_low_power_setting] CLKCTL - 20121018 by Juinn-Ting\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_low_power_setting] CLKCTL - 20121018 by Juinn-Ting\n"); + + #if 1 + upmu_set_vio18_vsleep_en(1); +@@ -3475,7 +3475,7 @@ void pmic_low_power_setting(void) + #endif + + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_low_power_setting] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_low_power_setting] Done\n"); + } + + void pmic_setting_depends_rtc(void) +@@ -3494,7 +3494,7 @@ void pmic_setting_depends_rtc(void) + ret = pmic_config_interface(ANALDO_CON1, 0, 0x1, 1); // [1]=0(VTCXO_LP_SET), + ret = pmic_config_interface(ANALDO_CON1, 0, 0x1, 0); // [0]=0(VTCXO_LP_SEL), + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_setting_depends_rtc] With 32K. Reg[0x%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_setting_depends_rtc] With 32K. Reg[0x%x]=0x%x\n", + ANALDO_CON1, upmu_get_reg_value(ANALDO_CON1)); + } + else +@@ -3505,7 +3505,7 @@ void pmic_setting_depends_rtc(void) + ret = pmic_config_interface(ANALDO_CON1, 3, 0x7, 4); // [6:4]=3(VTCXO_SRCLK_MODE_SEL), + ret = pmic_config_interface(ANALDO_CON1, 1, 0x1, 0); // [0]=1(VTCXO_LP_SEL), + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_setting_depends_rtc] Without 32K. Reg[0x%x]=0x%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_setting_depends_rtc] Without 32K. Reg[0x%x]=0x%x\n", + ANALDO_CON1, upmu_get_reg_value(ANALDO_CON1)); + } + } +@@ -3520,7 +3520,7 @@ EXPORT_SYMBOL(pmic_get_gpu_status_bit_info); + + int get_spm_gpu_status(void) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[get_spm_gpu_status] wait spm driver service ready\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[get_spm_gpu_status] wait spm driver service ready\n"); + + return 0; + } +@@ -3529,7 +3529,7 @@ void pmic_gpu_power_enable(int power_en) + { + if(g_gpu_status_bit == 1) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_gpu_power_enable] gpu is not powered by VRF18_2\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_gpu_power_enable] gpu is not powered by VRF18_2\n"); + } + else + { +@@ -3541,7 +3541,7 @@ void pmic_gpu_power_enable(int power_en) + { + upmu_set_vgpu_en(0); + } +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_gpu_power_enable] Reg[0x%x]=%x\n", ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_gpu_power_enable] Reg[0x%x]=%x\n", + VGPU_CON7, upmu_get_reg_value(VGPU_CON7)); + } + } +@@ -3553,18 +3553,18 @@ static int pmic_mt6397_probe(struct platform_device *dev) + { + U32 ret_val=0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6397 pmic driver probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6397 pmic driver probe!! ********\n" ); + + #ifdef MTK_BATTERY_NO_HAL + //init battery wakelock for battery/charger event + wake_lock_init(&battery_suspend_lock, WAKE_LOCK_SUSPEND, "battery wakelock"); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "init battery wakelock for battery/charger event.\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "init battery wakelock for battery/charger event.\n" ); + #endif + + //get PMIC CID + ret_val=upmu_get_cid(); + g_pmic_cid=ret_val; +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "MT6397 PMIC CID=0x%x\n", ret_val ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "MT6397 PMIC CID=0x%x\n", ret_val ); + + //VRF18_2 usage protection + //pmic_vrf18_2_usage_protection(); +@@ -3574,9 +3574,9 @@ static int pmic_mt6397_probe(struct platform_device *dev) + + //pmic initial setting + PMIC_INIT_SETTING_V1(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_INIT_SETTING_V1] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_INIT_SETTING_V1] Done\n"); + PMIC_CUSTOM_SETTING_V1(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_CUSTOM_SETTING_V1] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_CUSTOM_SETTING_V1] Done\n"); + + //pmic low power setting + pmic_low_power_setting(); +@@ -3590,10 +3590,10 @@ static int pmic_mt6397_probe(struct platform_device *dev) + + //PMIC Interrupt Service + PMIC_EINT_SETTING(); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[PMIC_EINT_SETTING] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[PMIC_EINT_SETTING] Done\n"); + + kthread_run(pmic_thread_kthread, NULL, "pmic_thread_kthread"); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] Done\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] Done\n"); + + //Dump register + //#ifndef USER_BUILD_KERNEL +@@ -3602,7 +3602,7 @@ static int pmic_mt6397_probe(struct platform_device *dev) + + #if defined(CONFIG_POWER_EXT) + ret_val = pmic_config_interface(0x002E,0x0010,0x00FF,0); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "[pmic_thread_kthread] add for EVB\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "[pmic_thread_kthread] add for EVB\n"); + #endif + + return 0; +@@ -3610,32 +3610,32 @@ static int pmic_mt6397_probe(struct platform_device *dev) + + static int pmic_mt6397_remove(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6397 pmic driver remove!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6397 pmic driver remove!! ********\n" ); + + return 0; + } + + static void pmic_mt6397_shutdown(struct platform_device *dev) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6397 pmic driver shutdown!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6397 pmic driver shutdown!! ********\n" ); + } + + static int pmic_mt6397_suspend(struct platform_device *dev, pm_message_t state) + { + U32 ret=0; + +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6397 pmic driver suspend!! ********\n" ); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6397 pmic driver suspend!! ********\n" ); + #if 0 //MT6320 config + //Set PMIC register 0x022A bit[5:4] =00 before system into sleep mode. + ret = pmic_config_interface(0x22A,0x0,0x3,4); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Suspend: Reg[0x%x]=0x%x\n",0x22A, upmu_get_reg_value(0x22A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Suspend: Reg[0x%x]=0x%x\n",0x22A, upmu_get_reg_value(0x22A)); + #endif + + //Set PMIC CA7, CA15 TRANS_EN to disable(0x0) before system into sleep mode. + ret = pmic_config_interface(VCA15_CON18, 0x0, PMIC_VCA15_VOSEL_TRANS_EN_MASK, PMIC_VCA15_VOSEL_TRANS_EN_SHIFT); + ret = pmic_config_interface(VPCA7_CON18, 0x0, PMIC_VPCA7_VOSEL_TRANS_EN_MASK, PMIC_VPCA7_VOSEL_TRANS_EN_SHIFT); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n", VCA15_CON18, upmu_get_reg_value(VCA15_CON18)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n", VPCA7_CON18, upmu_get_reg_value(VPCA7_CON18)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n", VCA15_CON18, upmu_get_reg_value(VCA15_CON18)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n", VPCA7_CON18, upmu_get_reg_value(VPCA7_CON18)); + + return 0; + } +@@ -3644,19 +3644,19 @@ static int pmic_mt6397_resume(struct platform_device *dev) + { + U32 ret=0; + +- //xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** MT6397 pmic driver resume!! ********\n" ); ++ //xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** MT6397 pmic driver resume!! ********\n" ); + + #if 0 // MT6320 config + //Set PMIC register 0x022A bit[5:4] =01 after system resume. + ret = pmic_config_interface(0x22A,0x1,0x3,4); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n",0x22A, upmu_get_reg_value(0x22A)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n",0x22A, upmu_get_reg_value(0x22A)); + #endif + + //Set PMIC CA7, CA15 TRANS_EN to falling enable(0x1) after system resume. + ret = pmic_config_interface(VCA15_CON18, 0x1, PMIC_VCA15_VOSEL_TRANS_EN_MASK, PMIC_VCA15_VOSEL_TRANS_EN_SHIFT); + ret = pmic_config_interface(VPCA7_CON18, 0x1, PMIC_VPCA7_VOSEL_TRANS_EN_MASK, PMIC_VPCA7_VOSEL_TRANS_EN_SHIFT); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n", VCA15_CON18, upmu_get_reg_value(VCA15_CON18)); +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n", VPCA7_CON18, upmu_get_reg_value(VPCA7_CON18)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n", VCA15_CON18, upmu_get_reg_value(VCA15_CON18)); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "Resume: Reg[0x%x]=0x%x\n", VPCA7_CON18, upmu_get_reg_value(VPCA7_CON18)); + + return 0; + } +@@ -3686,7 +3686,7 @@ static int mt_pmic_probe(struct platform_device *dev) + { + int ret_device_file = 0; + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "******** mt_pmic_probe!! ********\n" ); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "******** mt_pmic_probe!! ********\n" ); + + ret_device_file = device_create_file(&(dev->dev), &dev_attr_pmic_access); + +@@ -3766,28 +3766,28 @@ static int __init pmic_mt6397_init(void) + // PMIC device driver register + ret = platform_device_register(&pmic_mt6397_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6397_init] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6397_init] Unable to device register(%d)\n", ret); + return ret; + } + ret = platform_driver_register(&pmic_mt6397_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6397_init] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6397_init] Unable to register driver (%d)\n", ret); + return ret; + } + + // PMIC user space access interface + ret = platform_device_register(&mt_pmic_device); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6397_init] Unable to device register(%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6397_init] Unable to device register(%d)\n", ret); + return ret; + } + ret = platform_driver_register(&mt_pmic_driver); + if (ret) { +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6397_init] Unable to register driver (%d)\n", ret); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6397_init] Unable to register driver (%d)\n", ret); + return ret; + } + +- xlog_printk(ANDROID_LOG_INFO, "Power/PMIC", "****[pmic_mt6397_init] Initialization : DONE !!\n"); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/PMIC", "****[pmic_mt6397_init] Initialization : DONE !!\n"); + + return 0; + } +diff --git a/drivers/misc/mediatek/power/mt8127/tbl_helper_func.c b/drivers/misc/mediatek/power/mt8127/tbl_helper_func.c +index efb16e1f..33a5af99 100644 +--- a/drivers/misc/mediatek/power/mt8127/tbl_helper_func.c ++++ b/drivers/misc/mediatek/power/mt8127/tbl_helper_func.c +@@ -39,7 +39,7 @@ + #ifdef CONFIG_USB_MTK_HDRC_HCD + void tbl_charger_otg_vbus(int mode) + { +- xlog_printk(ANDROID_LOG_INFO, "Power/Battery", "[tbl_charger_otg_vbus] mode = %d\n", mode); ++ xlog_printk(ANDROID_LOG_DEBUG, "Power/Battery", "[tbl_charger_otg_vbus] mode = %d\n", mode); + + if(mode&0xFF) + { diff --git a/device/testing/linux-amazon-austin/silence-thermal-logspam.patch b/device/testing/linux-amazon-austin/silence-thermal-logspam.patch new file mode 100644 index 000000000..14c666a9c --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-thermal-logspam.patch @@ -0,0 +1,27 @@ +diff --git a/drivers/thermal/virtual_sensor_thermal.c b/drivers/thermal/virtual_sensor_thermal.c +index d3f7265a..1fb47593 100644 +--- a/drivers/thermal/virtual_sensor_thermal.c ++++ b/drivers/thermal/virtual_sensor_thermal.c +@@ -186,14 +186,14 @@ static int virtual_sensor_thermal_get_temp(struct thermal_zone_device *thermal, + log_to_metrics(ANDROID_LOG_INFO, "ThermalEvent", buf); + } + #endif +- if (0 == sec_counter) +- pr_warning("%s %s t=%ld a=%d o=%d w=%d\n", +- __func__, +- tdev->name, +- temp, +- alpha, +- offset, +- weight); ++// if (0 == sec_counter) ++// pr_warning("%s %s t=%ld a=%d o=%d w=%d\n", ++// __func__, ++// tdev->name, ++// temp, ++// alpha, ++// offset, ++// weight); + + if (!tdev->off_temp) + tdev->off_temp = temp - offset; diff --git a/device/testing/linux-amazon-austin/silence-time-logspam.patch b/device/testing/linux-amazon-austin/silence-time-logspam.patch new file mode 100644 index 000000000..218ed401d --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-time-logspam.patch @@ -0,0 +1,20 @@ +diff --git a/include/linux/time_log.h b/include/linux/time_log.h +index 1770e9bc..471f4889 100644 +--- a/include/linux/time_log.h ++++ b/include/linux/time_log.h +@@ -2,7 +2,7 @@ + #include + + extern bool printk_disable_uart; +-#if 1 ++#if 0 + #define TIME_LOG_START() \ + { \ + unsigned long long _start_time = 0; \ +@@ -28,4 +28,4 @@ extern bool printk_disable_uart; + #else + #define TIME_LOG_START() do{} while(0) + #define TIME_LOG_END(X...) do{} while(0) +-#endif +\ No newline at end of file ++#endif diff --git a/device/testing/linux-amazon-austin/silence-tz-logspam.patch b/device/testing/linux-amazon-austin/silence-tz-logspam.patch new file mode 100644 index 000000000..4d1741f42 --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-tz-logspam.patch @@ -0,0 +1,22 @@ +diff --git a/drivers/misc/mediatek/trustzone/tz_secure_clock.c b/drivers/misc/mediatek/trustzone/tz_secure_clock.c +index 19311916..4094b26d 100644 +--- a/drivers/misc/mediatek/trustzone/tz_secure_clock.c ++++ b/drivers/misc/mediatek/trustzone/tz_secure_clock.c +@@ -184,7 +184,7 @@ if (err) { + } + + rtc_tm_to_time(&tm, &time_count); +-#if 1 ++#if 0 + pr_notice("securetime increase result: %d %d %d %d %d %d %d\n", tm.tm_yday, tm.tm_year, tm.tm_mon + , tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec); + #endif +@@ -194,7 +194,7 @@ ret = KREE_TeeServiceCall(session, TZCMD_SECURETIME_INC_CURRENT_COUNTER, paramTy + if (ret != TZ_RESULT_SUCCESS) + pr_err("ServiceCall error %d\n", ret); + +-#if 1 ++#if 0 + pr_notice("securetime increase result: %d %d %d %d %d %d %d\n", ((struct TM_GB *) shm_p)->tm_yday + , ((struct TM_GB *) shm_p)->tm_year, ((struct TM_GB *) shm_p)->tm_mon, ((struct TM_GB *) shm_p)->tm_mday + , ((struct TM_GB *) shm_p)->tm_hour, ((struct TM_GB *) shm_p)->tm_min, ((struct TM_GB *) shm_p)->tm_sec); diff --git a/device/testing/linux-amazon-austin/silence-uart-logspam.patch b/device/testing/linux-amazon-austin/silence-uart-logspam.patch new file mode 100644 index 000000000..a1b8dd0f1 --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-uart-logspam.patch @@ -0,0 +1,26 @@ +diff --git a/drivers/misc/mediatek/uart/mt8127/platform_uart.c b/drivers/misc/mediatek/uart/mt8127/platform_uart.c +index 35f126d8..ba601f67 100644 +--- a/drivers/misc/mediatek/uart/mt8127/platform_uart.c ++++ b/drivers/misc/mediatek/uart/mt8127/platform_uart.c +@@ -1749,7 +1749,7 @@ void mtk_uart_enable_sleep(struct mtk_uart *uart) + { + u32 base = uart->base; + reg_sync_writel(0x1, UART_SLEEP_EN); +- printk("SLEEP_EN = 0x%x\n",UART_READ32(UART_SLEEP_EN)); ++// printk("SLEEP_EN = 0x%x\n",UART_READ32(UART_SLEEP_EN)); + } + /*---------------------------------------------------------------------------*/ + void mtk_uart_init_debug_spinlock(void) +diff --git a/drivers/misc/mediatek/uart/uart.c b/drivers/misc/mediatek/uart/uart.c +index 8bcec9e1..b49df4d2 100644 +--- a/drivers/misc/mediatek/uart/uart.c ++++ b/drivers/misc/mediatek/uart/uart.c +@@ -1837,7 +1837,7 @@ static void mtk_uart_set_termios(struct uart_port *port, + printk(KERN_NOTICE "MTK Software Flow Control\n"); + mode = UART_FC_SW; + } else if (termios->c_iflag & (IXON | IXOFF | IXANY)) { +- printk(KERN_NOTICE "Linux default SW Flow Control\n"); ++// printk(KERN_NOTICE "Linux default SW Flow Control\n"); + mode = UART_FC_NONE; + } else { + printk(KERN_NOTICE "No Flow Control\n"); diff --git a/device/testing/linux-amazon-austin/silence-usb-logspam.patch b/device/testing/linux-amazon-austin/silence-usb-logspam.patch new file mode 100644 index 000000000..ff8bdbdde --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-usb-logspam.patch @@ -0,0 +1,87 @@ +diff --git a/drivers/misc/mediatek/usb20/mt8127/usb20.c b/drivers/misc/mediatek/usb20/mt8127/usb20.c +index 79ecf1df..71008702 100644 +--- a/drivers/misc/mediatek/usb20/mt8127/usb20.c ++++ b/drivers/misc/mediatek/usb20/mt8127/usb20.c +@@ -40,6 +40,8 @@ + #include + #endif + ++#define DBG(fmt, args...) do {} while (0) ++ + extern struct musb *mtk_musb; + static DEFINE_SEMAPHORE(power_clock_lock); + //static bool platform_init_first = true; //Mark by ALPS01262215 +@@ -283,7 +285,7 @@ void mt_usb_connect(void) + + void mt_usb_disconnect(void) + { +- printk("[MUSB] USB is ready for disconnect\n"); ++// printk("[MUSB] USB is ready for disconnect\n"); + + if (!mtk_musb || !mtk_musb->is_ready || mtk_musb->is_host || !mtk_musb->power) + return; +diff --git a/drivers/misc/mediatek/usb20/mt8127/usb20_host.c b/drivers/misc/mediatek/usb20/mt8127/usb20_host.c +index 668b410a..a2e90005 100644 +--- a/drivers/misc/mediatek/usb20/mt8127/usb20_host.c ++++ b/drivers/misc/mediatek/usb20/mt8127/usb20_host.c +@@ -38,6 +38,8 @@ + #include + #endif + ++#define DBG(fmt, args...) do {} while (0) ++ + extern struct musb *mtk_musb; + + static struct musb_fifo_cfg fifo_cfg_host[] = { +diff --git a/drivers/misc/mediatek/usb20/mt8127/usb20_otg_if.c b/drivers/misc/mediatek/usb20/mt8127/usb20_otg_if.c +index e8d4c269..8d154d93 100644 +--- a/drivers/misc/mediatek/usb20/mt8127/usb20_otg_if.c ++++ b/drivers/misc/mediatek/usb20/mt8127/usb20_otg_if.c +@@ -50,6 +50,8 @@ + + #include + ++#define DBG(fmt, args...) do {} while (0) ++ + #define DRIVER_AUTHOR "Mediatek" + #define DRIVER_DESC "driver for OTG USB-IF test" + #define MUSB_OTG_CSR0 0x102 +diff --git a/drivers/misc/mediatek/usb20/musb_core.c b/drivers/misc/mediatek/usb20/musb_core.c +index 13b65ffe..a9a95dbd 100644 +--- a/drivers/misc/mediatek/usb20/musb_core.c ++++ b/drivers/misc/mediatek/usb20/musb_core.c +@@ -111,6 +111,8 @@ + #include + #endif + ++#define DBG(fmt, args...) do {} while (0) ++ + int musb_host_dynamic_fifo = 1; + int musb_host_dynamic_fifo_usage_msk; + module_param(musb_host_dynamic_fifo, int, 0644); +diff --git a/drivers/misc/mediatek/usb20/musb_gadget.c b/drivers/misc/mediatek/usb20/musb_gadget.c +index c4d0c594..62ccf3fe 100644 +--- a/drivers/misc/mediatek/usb20/musb_gadget.c ++++ b/drivers/misc/mediatek/usb20/musb_gadget.c +@@ -50,6 +50,8 @@ + + #include + ++#define DBG(fmt, args...) do {} while (0) ++ + #define FIFO_START_ADDR 512 + + //#define RX_DMA_MODE1 1 +diff --git a/drivers/misc/mediatek/usb20/musb_host.c b/drivers/misc/mediatek/usb20/musb_host.c +index 7c97b9a0..d121bb95 100644 +--- a/drivers/misc/mediatek/usb20/musb_host.c ++++ b/drivers/misc/mediatek/usb20/musb_host.c +@@ -48,6 +48,8 @@ + #include + #include + ++#define DBG(fmt, args...) do {} while (0) ++ + + /* MUSB HOST status 22-mar-2006 + * diff --git a/device/testing/linux-amazon-austin/silence-vsync-logspam.patch b/device/testing/linux-amazon-austin/silence-vsync-logspam.patch new file mode 100644 index 000000000..a224a3e75 --- /dev/null +++ b/device/testing/linux-amazon-austin/silence-vsync-logspam.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/misc/mediatek/video/mt8127/mt8127/dpi_drv.c b/drivers/misc/mediatek/video/mt8127/mt8127/dpi_drv.c +index 2a663ddf..e77e6477 100644 +--- a/drivers/misc/mediatek/video/mt8127/mt8127/dpi_drv.c ++++ b/drivers/misc/mediatek/video/mt8127/mt8127/dpi_drv.c +@@ -218,7 +218,7 @@ static irqreturn_t _DPI_InterruptHandler(int irq, void *dev_id) + dpi_vsync_irq_count++; + if(dpi_vsync_irq_count > 120) + { +- printk("dpi vsync\n"); ++// printk("dpi vsync\n"); + dpi_vsync_irq_count = 0; + } + if(dpiIntCallback)