{"action":"created","issue":{"url":"https://api.github.com/repos/notro/fbtft/issues/428","repository_url":"https://api.github.com/repos/notro/fbtft","labels_url":"https://api.github.com/repos/notro/fbtft/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/notro/fbtft/issues/428/comments","events_url":"https://api.github.com/repos/notro/fbtft/issues/428/events","html_url":"https://github.com/notro/fbtft/issues/428","id":193057105,"number":428,"title":"How to use fbtft for TFT01-2.2S LCD?","user":{"login":"rezaee","id":22686201,"avatar_url":"https://avatars.githubusercontent.com/u/22686201?v=3","gravatar_id":"","url":"https://api.github.com/users/rezaee","html_url":"https://github.com/rezaee","followers_url":"https://api.github.com/users/rezaee/followers","following_url":"https://api.github.com/users/rezaee/following{/other_user}","gists_url":"https://api.github.com/users/rezaee/gists{/gist_id}","starred_url":"https://api.github.com/users/rezaee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rezaee/subscriptions","organizations_url":"https://api.github.com/users/rezaee/orgs","repos_url":"https://api.github.com/users/rezaee/repos","events_url":"https://api.github.com/users/rezaee/events{/privacy}","received_events_url":"https://api.github.com/users/rezaee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-02T08:08:18Z","updated_at":"2016-12-03T11:59:09Z","closed_at":null,"body":"Hi\r\nI have an arm-based board(nanopi m1)that has 40 pins GPIO similar to raspberry pi and Debian Jessie OS. also I have this display: http://www.elecfreaks.com/wiki/index.php?title=2.2S%22_TFT_LCD:_TFT01-2.2S and want to connect it directly to my board. \r\nMay you help me how can I do that?"},"comment":{"url":"https://api.github.com/repos/notro/fbtft/issues/comments/264635043","html_url":"https://github.com/notro/fbtft/issues/428#issuecomment-264635043","issue_url":"https://api.github.com/repos/notro/fbtft/issues/428","id":264635043,"user":{"login":"notro","id":530887,"avatar_url":"https://avatars.githubusercontent.com/u/530887?v=3","gravatar_id":"","url":"https://api.github.com/users/notro","html_url":"https://github.com/notro","followers_url":"https://api.github.com/users/notro/followers","following_url":"https://api.github.com/users/notro/following{/other_user}","gists_url":"https://api.github.com/users/notro/gists{/gist_id}","starred_url":"https://api.github.com/users/notro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notro/subscriptions","organizations_url":"https://api.github.com/users/notro/orgs","repos_url":"https://api.github.com/users/notro/repos","events_url":"https://api.github.com/users/notro/events{/privacy}","received_events_url":"https://api.github.com/users/notro/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T11:59:09Z","updated_at":"2016-12-03T11:59:09Z","body":"This command will tell if you have fbtft support: modinfo fbtft_device\r\nThe fbtft module can be builtin, but fbtft_device is most likely not.\r\nThis will show which drivers are enabled if any:\r\n```\r\n$ zgrep CONFIG_FB_TFT /proc/config.gz\r\nCONFIG_FB_TFT=m\r\n<snip>\r\n```\r\n\r\nAFAICT this is the tree they build the kernel from, and it does have fbtft:\r\nhttps://github.com/friendlyarm/h3_lichee/tree/master/linux-3.4/drivers/staging/fbtft\r\n\r\nI don't know which defconfig is used, but this one for instance have only 2 drivers enabled:\r\nhttps://github.com/friendlyarm/h3_lichee/blob/97e1a057000511abe8ed85adee6c6474398a427c/linux-3.4/arch/arm/configs/sun8iw7p1smp_defconfig#L2870\r\n"}}
{"actor":{"display_login":"notro"}}