mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Provide tests to the simple extcon device. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			18 lines
		
	
	
		
			360 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			360 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0+
 | 
						|
/*
 | 
						|
 * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
 | 
						|
 */
 | 
						|
 | 
						|
#include <dm.h>
 | 
						|
 | 
						|
static const struct udevice_id sandbox_extcon_ids[] = {
 | 
						|
	{ .compatible = "sandbox,extcon" },
 | 
						|
	{ /* sentinel */ }
 | 
						|
};
 | 
						|
 | 
						|
U_BOOT_DRIVER(extcon_sandbox) = {
 | 
						|
	.name		= "extcon_sandbox",
 | 
						|
	.id		= UCLASS_EXTCON,
 | 
						|
	.of_match	= sandbox_extcon_ids,
 | 
						|
};
 |