{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/1077","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/1077/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/1077/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/1077/events","html_url":"https://github.com/raspberrypi/linux/pull/1077","id":95931773,"number":1077,"title":"BCM270X_DT: mz61581: Revert to spi-bcm2708","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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-07-19T17:03:09Z","updated_at":"2015-07-27T16:33:01Z","closed_at":"2015-07-19T17:31:51Z","pull_request":{"url":"https://api.github.com/repos/raspberrypi/linux/pulls/1077","html_url":"https://github.com/raspberrypi/linux/pull/1077","diff_url":"https://github.com/raspberrypi/linux/pull/1077.diff","patch_url":"https://github.com/raspberrypi/linux/pull/1077.patch"},"body":"The MZ61581 display does not work with spi-bcm2835 and software chip selects. It works before the commit: spi: bcm2835: transform native-cs to gpio-cs on first spi_setup\r\n\r\nRevert to spi-bcm2708 until the cause has been detected and the issue resolved.\r\n\r\n\r\nAlso increase reliability by adding a patch for missing display controller reset.\r\nThis fbtft patch is now in linux-next and will probably land in 4.3.\r\n"},"comment":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/comments/125265855","html_url":"https://github.com/raspberrypi/linux/pull/1077#issuecomment-125265855","issue_url":"https://api.github.com/repos/raspberrypi/linux/issues/1077","id":125265855,"user":{"login":"msperl","id":2638784,"avatar_url":"https://avatars.githubusercontent.com/u/2638784?v=3","gravatar_id":"","url":"https://api.github.com/users/msperl","html_url":"https://github.com/msperl","followers_url":"https://api.github.com/users/msperl/followers","following_url":"https://api.github.com/users/msperl/following{/other_user}","gists_url":"https://api.github.com/users/msperl/gists{/gist_id}","starred_url":"https://api.github.com/users/msperl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msperl/subscriptions","organizations_url":"https://api.github.com/users/msperl/orgs","repos_url":"https://api.github.com/users/msperl/repos","events_url":"https://api.github.com/users/msperl/events{/privacy}","received_events_url":"https://api.github.com/users/msperl/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T16:33:01Z","updated_at":"2015-07-27T16:33:01Z","body":"Now that I run the logic-analyzer I see that you use:\r\n```\r\n                                spi-cpha;\r\n                                spi-cpol;\r\n```\r\n\r\nAnd then the transfer on this changes the initial settings...\r\nSo the SPI clock and out level only get set during the first transfer....\r\n\r\nWould it be possible to set the first transfer to a dummy command and see if it works then?\r\n\r\nI would guess that just running:\r\n```\r\nrmmod fb_s6d02a1; insmod fb_s6d02a1\r\n```\r\nwould also do the trick...\r\n\r\nIf it works then, then it is actually a bug in the spi-framework....\r\n"}}