git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git and touch screen

From
LRliran ritkop <liran.ritkop@gmail.com>
Date
Aug 3, 2010, 13:06 UTC
Message-ID
<1280840790848-5368237.post@n2.nabble.com>

Hi all I am using linux davinci (33bd223c). my embedded card is da830 and i have a touch screen on it - TS2046. I found a driver on the net - (two files - TS2046.c TS2046.h , and some changes to the config and makefile). I know that the board is connected to the touch screen via spi. to be accurate - SPI1. Despite all of this, i dont have in the /arch/arm/mach-davinci/board-da830-evm.c the structs that include the spi and the touch screen. i saw in the internet something like that, that i think that need to be added to this code source:

static struct spi_board_info da8xx_spi_board_info1[] = {
    [0] = {
        .modalias = "tsc2046_ts",
        .platform_data = &tsc2046IPWR_place_holder,
        .controller_data = &tsc2046IPWR_spi_cfg,
        .mode = SPI_MODE_0,
        .irq = 0,
        .max_speed_hz = 2 * 1000 * 1000  ,
        .bus_num = 1,
        .chip_select = 2,
    },
};

Altough, my guess is, that that code is from montavista, and i use git. someone, please help..

-- 
View this message in context: http://git.661346.n2.nabble.com/git-and-touch-screen-tp5368237p5368237.html
Sent from the git mailing list archive at Nabble.com.
Next: Matthieu Moy
Message 1 of 2 in “git and touch screen”
  1. liran ritkopAug 3, 2010
  2. Matthieu MoyAug 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.