{"action":"opened","number":510,"pull_request":{"url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/510","id":57848337,"html_url":"https://github.com/ARM-software/arm-trusted-firmware/pull/510","diff_url":"https://github.com/ARM-software/arm-trusted-firmware/pull/510.diff","patch_url":"https://github.com/ARM-software/arm-trusted-firmware/pull/510.patch","issue_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/510","number":510,"state":"open","locked":false,"title":"Pl061 gpio v3","user":{"login":"hzhuang1","id":534660,"avatar_url":"https://avatars.githubusercontent.com/u/534660?v=3","gravatar_id":"","url":"https://api.github.com/users/hzhuang1","html_url":"https://github.com/hzhuang1","followers_url":"https://api.github.com/users/hzhuang1/followers","following_url":"https://api.github.com/users/hzhuang1/following{/other_user}","gists_url":"https://api.github.com/users/hzhuang1/gists{/gist_id}","starred_url":"https://api.github.com/users/hzhuang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzhuang1/subscriptions","organizations_url":"https://api.github.com/users/hzhuang1/orgs","repos_url":"https://api.github.com/users/hzhuang1/repos","events_url":"https://api.github.com/users/hzhuang1/events{/privacy}","received_events_url":"https://api.github.com/users/hzhuang1/received_events","type":"User","site_admin":false},"body":"Implement gpio framework and PL061 gpio driver. ARM-software/tf-issues#351\r\n\r\nChangelog:\r\nv3:\r\n1. Add more comments in gpio driver.\r\n2. Add more assert in both gpio & pl061 driver.\r\n3. Add get_direction() in gpio ops.\r\n\r\nv2:\r\n1. Update with the standard copyright text.\r\n2. Replace \"uint32_t\" by \"unsigned int\" according to the rules in wiki.\r\n","created_at":"2016-02-01T14:46:18Z","updated_at":"2016-02-01T14:46:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/510/commits","review_comments_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/510/comments","review_comment_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/510/comments","statuses_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/statuses/fe8880cc0771539fb7112f838bd93fb312af2be7","head":{"label":"hzhuang1:pl061_gpio_v3","ref":"pl061_gpio_v3","sha":"fe8880cc0771539fb7112f838bd93fb312af2be7","user":{"login":"hzhuang1","id":534660,"avatar_url":"https://avatars.githubusercontent.com/u/534660?v=3","gravatar_id":"","url":"https://api.github.com/users/hzhuang1","html_url":"https://github.com/hzhuang1","followers_url":"https://api.github.com/users/hzhuang1/followers","following_url":"https://api.github.com/users/hzhuang1/following{/other_user}","gists_url":"https://api.github.com/users/hzhuang1/gists{/gist_id}","starred_url":"https://api.github.com/users/hzhuang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzhuang1/subscriptions","organizations_url":"https://api.github.com/users/hzhuang1/orgs","repos_url":"https://api.github.com/users/hzhuang1/repos","events_url":"https://api.github.com/users/hzhuang1/events{/privacy}","received_events_url":"https://api.github.com/users/hzhuang1/received_events","type":"User","site_admin":false},"repo":{"id":31355069,"name":"arm-trusted-firmware","full_name":"hzhuang1/arm-trusted-firmware","owner":{"login":"hzhuang1","id":534660,"avatar_url":"https://avatars.githubusercontent.com/u/534660?v=3","gravatar_id":"","url":"https://api.github.com/users/hzhuang1","html_url":"https://github.com/hzhuang1","followers_url":"https://api.github.com/users/hzhuang1/followers","following_url":"https://api.github.com/users/hzhuang1/following{/other_user}","gists_url":"https://api.github.com/users/hzhuang1/gists{/gist_id}","starred_url":"https://api.github.com/users/hzhuang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzhuang1/subscriptions","organizations_url":"https://api.github.com/users/hzhuang1/orgs","repos_url":"https://api.github.com/users/hzhuang1/repos","events_url":"https://api.github.com/users/hzhuang1/events{/privacy}","received_events_url":"https://api.github.com/users/hzhuang1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hzhuang1/arm-trusted-firmware","description":"ARM Trusted Firmware","fork":true,"url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware","forks_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/forks","keys_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/teams","hooks_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/hooks","issue_events_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/issues/events{/number}","events_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/events","assignees_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/assignees{/user}","branches_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/branches{/branch}","tags_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/tags","blobs_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/languages","stargazers_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/stargazers","contributors_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/contributors","subscribers_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/subscribers","subscription_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/subscription","commits_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/contents/{+path}","compare_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/merges","archive_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/downloads","issues_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/issues{/number}","pulls_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/labels{/name}","releases_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/releases{/id}","deployments_url":"https://api.github.com/repos/hzhuang1/arm-trusted-firmware/deployments","created_at":"2015-02-26T07:13:38Z","updated_at":"2015-02-26T07:13:40Z","pushed_at":"2016-02-01T14:44:43Z","git_url":"git://github.com/hzhuang1/arm-trusted-firmware.git","ssh_url":"git@github.com:hzhuang1/arm-trusted-firmware.git","clone_url":"https://github.com/hzhuang1/arm-trusted-firmware.git","svn_url":"https://github.com/hzhuang1/arm-trusted-firmware","homepage":null,"size":6161,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"hikey"}},"base":{"label":"ARM-software:integration","ref":"integration","sha":"7b46d0d81a5853051750b716d577c283619bd480","user":{"login":"ARM-software","id":5690313,"avatar_url":"https://avatars.githubusercontent.com/u/5690313?v=3","gravatar_id":"","url":"https://api.github.com/users/ARM-software","html_url":"https://github.com/ARM-software","followers_url":"https://api.github.com/users/ARM-software/followers","following_url":"https://api.github.com/users/ARM-software/following{/other_user}","gists_url":"https://api.github.com/users/ARM-software/gists{/gist_id}","starred_url":"https://api.github.com/users/ARM-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARM-software/subscriptions","organizations_url":"https://api.github.com/users/ARM-software/orgs","repos_url":"https://api.github.com/users/ARM-software/repos","events_url":"https://api.github.com/users/ARM-software/events{/privacy}","received_events_url":"https://api.github.com/users/ARM-software/received_events","type":"Organization","site_admin":false},"repo":{"id":13740589,"name":"arm-trusted-firmware","full_name":"ARM-software/arm-trusted-firmware","owner":{"login":"ARM-software","id":5690313,"avatar_url":"https://avatars.githubusercontent.com/u/5690313?v=3","gravatar_id":"","url":"https://api.github.com/users/ARM-software","html_url":"https://github.com/ARM-software","followers_url":"https://api.github.com/users/ARM-software/followers","following_url":"https://api.github.com/users/ARM-software/following{/other_user}","gists_url":"https://api.github.com/users/ARM-software/gists{/gist_id}","starred_url":"https://api.github.com/users/ARM-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARM-software/subscriptions","organizations_url":"https://api.github.com/users/ARM-software/orgs","repos_url":"https://api.github.com/users/ARM-software/repos","events_url":"https://api.github.com/users/ARM-software/events{/privacy}","received_events_url":"https://api.github.com/users/ARM-software/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARM-software/arm-trusted-firmware","description":"ARM Trusted Firmware","fork":false,"url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware","forks_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/forks","keys_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/teams","hooks_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/hooks","issue_events_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/events{/number}","events_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/events","assignees_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/assignees{/user}","branches_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/branches{/branch}","tags_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/tags","blobs_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/languages","stargazers_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/stargazers","contributors_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/contributors","subscribers_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/subscribers","subscription_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/subscription","commits_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/contents/{+path}","compare_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/merges","archive_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/downloads","issues_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues{/number}","pulls_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/labels{/name}","releases_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/releases{/id}","deployments_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/deployments","created_at":"2013-10-21T11:39:00Z","updated_at":"2016-02-01T09:35:16Z","pushed_at":"2016-02-01T13:02:25Z","git_url":"git://github.com/ARM-software/arm-trusted-firmware.git","ssh_url":"git@github.com:ARM-software/arm-trusted-firmware.git","clone_url":"https://github.com/ARM-software/arm-trusted-firmware.git","svn_url":"https://github.com/ARM-software/arm-trusted-firmware","homepage":null,"size":7936,"stargazers_count":136,"watchers_count":136,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":140,"mirror_url":null,"open_issues_count":14,"forks":140,"open_issues":14,"watchers":136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/510"},"html":{"href":"https://github.com/ARM-software/arm-trusted-firmware/pull/510"},"issue":{"href":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/510"},"comments":{"href":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/510/comments"},"review_comments":{"href":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/510/comments"},"review_comment":{"href":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/510/commits"},"statuses":{"href":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/statuses/fe8880cc0771539fb7112f838bd93fb312af2be7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":376,"deletions":0,"changed_files":4}}