[PATCH 1/2] video: Add i.MX23/28 framebuffer driver

Li Frank-B20596 B20596 at freescale.com
Thu Feb 10 04:23:34 EST 2011


> +
> +	/* if it was disabled, re-enable the mode again */
> +	reg = readl(host->base + CTRL);
> +	reg |= CTRL_DOTCLK_MODE;
> +	writel(reg, host->base + CTRL);

writel(CTRL_DOTCLK_MODE, host->base + CTRL_SET)
CTRL_SET is CTRL+0x4
SET and CLR register is easier than Read and write back.






More information about the linux-arm-kernel mailing list