mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge git://git.denx.de/u-boot-rockchip
This commit is contained in:
@@ -79,6 +79,13 @@
|
||||
#define CONFIG_G_DNL_VENDOR_NUM 0x2207
|
||||
#define CONFIG_G_DNL_PRODUCT_NUM 0x310a
|
||||
|
||||
/* usb host */
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define CONFIG_USB_DWC2
|
||||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_SMSC95XX
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
#endif
|
||||
#define ENV_MEM_LAYOUT_SETTINGS \
|
||||
"scriptaddr=0x60000000\0" \
|
||||
"pxefile_addr_r=0x60100000\0" \
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"name=reserved2,size=4M,uuid=${uuid_gpt_reserved2};" \
|
||||
"name=loader2,size=4MB,uuid=${uuid_gpt_loader2};" \
|
||||
"name=atf,size=4M,uuid=${uuid_gpt_atf};" \
|
||||
"name=boot,size=128M,bootable,uuid=${uuid_gpt_boot};" \
|
||||
"name=boot,size=112M,bootable,uuid=${uuid_gpt_boot};" \
|
||||
"name=rootfs,size=-,uuid=${uuid_gpt_rootfs};\0" \
|
||||
|
||||
#endif
|
||||
|
||||
@@ -16,10 +16,12 @@ struct display_timing;
|
||||
* @source_id: ID for the source of the display data, typically a video
|
||||
* controller
|
||||
* @src_dev: Source device providing the video
|
||||
* @in_use: Display is being used
|
||||
*/
|
||||
struct display_plat {
|
||||
int source_id;
|
||||
struct udevice *src_dev;
|
||||
bool in_use;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -41,6 +43,14 @@ int display_read_timing(struct udevice *dev, struct display_timing *timing);
|
||||
int display_enable(struct udevice *dev, int panel_bpp,
|
||||
const struct display_timing *timing);
|
||||
|
||||
/**
|
||||
* display_in_use() - Check if a display is in use by any device
|
||||
*
|
||||
* @return true if the device is in use (display_enable() has been called
|
||||
* successfully), else false
|
||||
*/
|
||||
bool display_in_use(struct udevice *dev);
|
||||
|
||||
struct dm_display_ops {
|
||||
/**
|
||||
* read_timing() - Read information directly
|
||||
|
||||
@@ -260,6 +260,16 @@ int regulator_get_value(struct udevice *dev);
|
||||
*/
|
||||
int regulator_set_value(struct udevice *dev, int uV);
|
||||
|
||||
/**
|
||||
* regulator_set_value_force: set the microvoltage value of a given regulator
|
||||
* without any min-,max condition check
|
||||
*
|
||||
* @dev - pointer to the regulator device
|
||||
* @uV - the output value to set [micro Volts]
|
||||
* @return - 0 on success or -errno val if fails
|
||||
*/
|
||||
int regulator_set_value_force(struct udevice *dev, int uV);
|
||||
|
||||
/**
|
||||
* regulator_get_current: get microampere value of a given regulator
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user