{"action":"created","issue":{"url":"https://api.github.com/repos/msperl/linux-rpi/issues/3","repository_url":"https://api.github.com/repos/msperl/linux-rpi","labels_url":"https://api.github.com/repos/msperl/linux-rpi/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/msperl/linux-rpi/issues/3/comments","events_url":"https://api.github.com/repos/msperl/linux-rpi/issues/3/events","html_url":"https://github.com/msperl/linux-rpi/issues/3","id":154916615,"number":3,"title":"rpi-sound cards and upstreaming","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2016-05-15T16:21:13Z","updated_at":"2016-05-19T15:59:44Z","closed_at":null,"body":"@clivem: let us discuss these sound card things here...\r\n\r\nI have tried the following upstream, but the card is not recognized:\r\n```\r\n/ {\r\n\tpcm5102a_codec: pcm5102a_codec {\r\n\t\t#sound-dai-cells = <0>;\r\n\t\tcompatible = \"ti,pcm5102a\";\r\n\t\tstatus = \"okay\";\r\n\t};\r\n\r\n\tsound {\r\n\t\tcompatible = \"simple-audio-card\";\r\n\t\tsimple-audio-card,format = \"i2s\";\r\n\t\tsimple-audio-card,name = \"pcm5102a\";\r\n\t\tstatus = \"okay\";\r\n\t\tsimple-audio-card,cpu {\r\n\t\t\tsound-dai = <&i2s>;\r\n\t\t};\r\n\t\tsimple-audio-card,codec {\r\n\t\t\tsound-dai = <&pcm5102a_codec>;\r\n\t\t};\r\n\t};\r\n};\r\n/* for some reasons this is required - simple-sound-card complains otherwise */\r\n&i2s {\r\n\t#sound-dai-cells = <0>;\r\n};\r\n```\r\n\r\nIf I can make this work we can take things further from here...\r\n\r\nAs for the extension: we can look into it if we know how to parametrise things...\r\n"},"comment":{"url":"https://api.github.com/repos/msperl/linux-rpi/issues/comments/220370604","html_url":"https://github.com/msperl/linux-rpi/issues/3#issuecomment-220370604","issue_url":"https://api.github.com/repos/msperl/linux-rpi/issues/3","id":220370604,"user":{"login":"clivem","id":1668152,"avatar_url":"https://avatars.githubusercontent.com/u/1668152?v=3","gravatar_id":"","url":"https://api.github.com/users/clivem","html_url":"https://github.com/clivem","followers_url":"https://api.github.com/users/clivem/followers","following_url":"https://api.github.com/users/clivem/following{/other_user}","gists_url":"https://api.github.com/users/clivem/gists{/gist_id}","starred_url":"https://api.github.com/users/clivem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clivem/subscriptions","organizations_url":"https://api.github.com/users/clivem/orgs","repos_url":"https://api.github.com/users/clivem/repos","events_url":"https://api.github.com/users/clivem/events{/privacy}","received_events_url":"https://api.github.com/users/clivem/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T15:59:44Z","updated_at":"2016-05-19T15:59:44Z","body":"> So it is acceptable in principle?\r\n> If so then I will submit it as an rfc patch as is.\r\n\r\n@msperl Martin, don't want to appear to be holding this back, but would you mind giving me this evening to collect my thoughts. Last 2 days have been crazy for me and I'm trying to catch-up with \"real life\" work related stuff...... It was as much as I could find time to do, pulling the patch sets into a single tree. (Which was mainly for a couple of guys who want to test, can do so without me needing to send them a 70 patch, patch set.)"}}