20 lines
		
	
	
	
		
			511 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
	
		
			511 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# SPDX-License-Identifier: Apache-2.0
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								config BQ40Z50
							 | 
						||
| 
								 | 
							
									bool "BQ40Z50 Fuel Gauge"
							 | 
						||
| 
								 | 
							
									default y
							 | 
						||
| 
								 | 
							
									depends on DT_HAS_TI_BQ40Z50_ENABLED
							 | 
						||
| 
								 | 
							
									select I2C
							 | 
						||
| 
								 | 
							
									help
							 | 
						||
| 
								 | 
							
									  Enable I2C-based driver for BQ40Z50 Fuel Gauge.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								config EMUL_BQ40Z50
							 | 
						||
| 
								 | 
							
									bool "Emulate a BQ40Z50 fuel gauge"
							 | 
						||
| 
								 | 
							
									default y
							 | 
						||
| 
								 | 
							
									depends on EMUL
							 | 
						||
| 
								 | 
							
									depends on BQ40Z50
							 | 
						||
| 
								 | 
							
									help
							 | 
						||
| 
								 | 
							
									  It provides readings which follow a simple sequence, thus allowing
							 | 
						||
| 
								 | 
							
									  test code to check that things are working as expected.
							 |