Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

RE: RZA1H based board and starter kit LCD touchscreen on linux

$
0
0

Ok, I made a mistake in the interrupt configuration, I'm using P5_8 which is IRQ0, here are the lines I modified:

void __iomem *irc1 = IOMEM(0xfcfef802);

__raw_writew((__raw_readw(irc1) & ~(0x3)), irc1);

rza1_pfc_pin_assign(P5_8, ALT8, DIR_OUT);

As you can see I changed it so that now it writes 0x3 in the first 1 bits of the register.

I also modified this part of the code:

static const struct i2c_board_info i2c3_devices[] __initconst = {

{

I2C_BOARD_INFO("ft5x06-ts", 0x38),

.platform_data = &ft5216_pdata,

.irq = 32,

},

I changed .irq = 33 to .irq = 32.

But well...IRQ0 is for the timer so...


Viewing all articles
Browse latest Browse all 1583

Trending Articles