mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 14:00:19 +00:00 
			
		
		
		
	As part of bringing the master branch back in to next, we need to allow for all of these changes to exist here. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			410 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			410 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0
 | 
						|
/*
 | 
						|
 * Sandbox driver for testing GPIOs with of-platdata
 | 
						|
 *
 | 
						|
 * Copyright 2021 Google LLC
 | 
						|
 */
 | 
						|
 | 
						|
#include <dm.h>
 | 
						|
#include <asm-generic/gpio.h>
 | 
						|
 | 
						|
static const struct udevice_id sandbox_gpio_test_ids[] = {
 | 
						|
	{ .compatible = "sandbox,gpio-test" },
 | 
						|
	{ }
 | 
						|
};
 | 
						|
 | 
						|
U_BOOT_DRIVER(sandbox_gpio_test) = {
 | 
						|
	.name = "sandbox_gpio_test",
 | 
						|
	.id = UCLASS_MISC,
 | 
						|
	.of_match = sandbox_gpio_test_ids,
 | 
						|
};
 |