X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fvideo%2Fipu.h;h=1e02c7ab6d5f78a6cca1cd30c66e2d491bee7649;hb=93e72ac472b537bb4b0c6a97a7e6aab2b37860c6;hp=3d2741f223eeffbf33deb8796bfd2ec162612991;hpb=5b9c79a81db80c3f9e50c77477957cd803429af8;p=oweals%2Fu-boot.git diff --git a/drivers/video/ipu.h b/drivers/video/ipu.h index 3d2741f223..1e02c7ab6d 100644 --- a/drivers/video/ipu.h +++ b/drivers/video/ipu.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Porting to u-boot: * @@ -7,8 +8,6 @@ * Linux IPU driver for MX51: * * (C) Copyright 2005-2010 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __ASM_ARCH_IPU_H__ @@ -175,6 +174,14 @@ typedef union { } mem_dp_fg_sync; } ipu_channel_params_t; +/* + * Enumeration of IPU interrupts. + */ +enum ipu_irq_line { + IPU_IRQ_DP_SF_END = 448 + 3, + IPU_IRQ_DC_FC_1 = 448 + 9, +}; + /* * Bitfield of Display Interface signal polarities. */ @@ -245,6 +252,7 @@ struct clk *clk_get_parent(struct clk *clk); void ipu_dump_registers(void); int ipu_probe(void); +bool ipu_clk_enabled(void); void ipu_dmfc_init(int dmfc_type, int first); void ipu_init_dc_mappings(void); @@ -257,5 +265,4 @@ int ipu_dp_init(ipu_channel_t channel, uint32_t in_pixel_fmt, void ipu_dp_uninit(ipu_channel_t channel); void ipu_dp_dc_disable(ipu_channel_t channel, unsigned char swap); ipu_color_space_t format_to_colorspace(uint32_t fmt); - #endif