{"action":"created","comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments/186348014","pull_request_review_id":117906908,"id":186348014,"diff_hunk":"@@ -0,0 +1,202 @@\n+#include <nrfx_pwm.h>\n+#include \"pwm.h\"\n+\n+#define SYS_LOG_DOMAIN \"pwm/nrf5x\"\n+#define SYS_LOG_LEVEL CONFIG_SYS_LOG_PWM_LEVEL\n+#include <logging/sys_log.h>\n+\n+struct pwm_config {\n+\tnrfx_pwm_t pwm;\n+\tnrfx_pwm_config_t config;\n+};\n+\n+struct pwm_data {\n+\tnrf_pwm_sequence_t seq;\n+\tu16_t current[NRF_PWM_CHANNEL_COUNT];\n+\tu16_t top_value;\n+};\n+\n+static int pwm_nrfx_pin_set(struct device *dev, u32_t pwm, u32_t","path":"drivers/pwm/pwm_nrfx.c","position":19,"original_position":19,"commit_id":"c81c8ea41ccbf2c150fb75cad2d86c16bded3761","original_commit_id":"c81c8ea41ccbf2c150fb75cad2d86c16bded3761","user":{"login":"cpdesign","id":985948,"avatar_url":"https://avatars1.githubusercontent.com/u/985948?v=4","gravatar_id":"","url":"https://api.github.com/users/cpdesign","html_url":"https://github.com/cpdesign","followers_url":"https://api.github.com/users/cpdesign/followers","following_url":"https://api.github.com/users/cpdesign/following{/other_user}","gists_url":"https://api.github.com/users/cpdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/cpdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpdesign/subscriptions","organizations_url":"https://api.github.com/users/cpdesign/orgs","repos_url":"https://api.github.com/users/cpdesign/repos","events_url":"https://api.github.com/users/cpdesign/events{/privacy}","received_events_url":"https://api.github.com/users/cpdesign/received_events","type":"User","site_admin":false},"body":"Move the u32_t to the next line","created_at":"2018-05-07T07:38:07Z","updated_at":"2018-05-07T07:38:07Z","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/7334#discussion_r186348014","pull_request_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/7334","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments/186348014"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/7334#discussion_r186348014"},"pull_request":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/7334"}}},"pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/7334","id":185850032,"html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/7334","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/7334.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/7334.patch","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7334","number":7334,"state":"open","locked":false,"title":"[DNM][RFC] drivers: pwm: Add shim for nrfx PWM HW driver","user":{"login":"jdemar","id":9422356,"avatar_url":"https://avatars1.githubusercontent.com/u/9422356?v=4","gravatar_id":"","url":"https://api.github.com/users/jdemar","html_url":"https://github.com/jdemar","followers_url":"https://api.github.com/users/jdemar/followers","following_url":"https://api.github.com/users/jdemar/following{/other_user}","gists_url":"https://api.github.com/users/jdemar/gists{/gist_id}","starred_url":"https://api.github.com/users/jdemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdemar/subscriptions","organizations_url":"https://api.github.com/users/jdemar/orgs","repos_url":"https://api.github.com/users/jdemar/repos","events_url":"https://api.github.com/users/jdemar/events{/privacy}","received_events_url":"https://api.github.com/users/jdemar/received_events","type":"User","site_admin":false},"body":"Adds a translation layer to make the nrfx driver for nrf52 PWM\r\nperipheral accessible via the Zephyr's API.\r\n\r\nSigned-off-by: Justin DeMartino <jdemarti@gmail.com>","created_at":"2018-05-03T22:02:38Z","updated_at":"2018-05-07T07:38:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"faa1be2a1cdb03991fe5fcc84a0e6ccd1ef22613","assignee":null,"assignees":[],"requested_reviewers":[{"login":"anangl","id":16913290,"avatar_url":"https://avatars3.githubusercontent.com/u/16913290?v=4","gravatar_id":"","url":"https://api.github.com/users/anangl","html_url":"https://github.com/anangl","followers_url":"https://api.github.com/users/anangl/followers","following_url":"https://api.github.com/users/anangl/following{/other_user}","gists_url":"https://api.github.com/users/anangl/gists{/gist_id}","starred_url":"https://api.github.com/users/anangl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anangl/subscriptions","organizations_url":"https://api.github.com/users/anangl/orgs","repos_url":"https://api.github.com/users/anangl/repos","events_url":"https://api.github.com/users/anangl/events{/privacy}","received_events_url":"https://api.github.com/users/anangl/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/7334/commits","review_comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/7334/comments","review_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7334/comments","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/c81c8ea41ccbf2c150fb75cad2d86c16bded3761","head":{"label":"jdemar:master","ref":"master","sha":"c81c8ea41ccbf2c150fb75cad2d86c16bded3761","user":{"login":"jdemar","id":9422356,"avatar_url":"https://avatars1.githubusercontent.com/u/9422356?v=4","gravatar_id":"","url":"https://api.github.com/users/jdemar","html_url":"https://github.com/jdemar","followers_url":"https://api.github.com/users/jdemar/followers","following_url":"https://api.github.com/users/jdemar/following{/other_user}","gists_url":"https://api.github.com/users/jdemar/gists{/gist_id}","starred_url":"https://api.github.com/users/jdemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdemar/subscriptions","organizations_url":"https://api.github.com/users/jdemar/orgs","repos_url":"https://api.github.com/users/jdemar/repos","events_url":"https://api.github.com/users/jdemar/events{/privacy}","received_events_url":"https://api.github.com/users/jdemar/received_events","type":"User","site_admin":false},"repo":{"id":127362438,"name":"zephyr","full_name":"jdemar/zephyr","owner":{"login":"jdemar","id":9422356,"avatar_url":"https://avatars1.githubusercontent.com/u/9422356?v=4","gravatar_id":"","url":"https://api.github.com/users/jdemar","html_url":"https://github.com/jdemar","followers_url":"https://api.github.com/users/jdemar/followers","following_url":"https://api.github.com/users/jdemar/following{/other_user}","gists_url":"https://api.github.com/users/jdemar/gists{/gist_id}","starred_url":"https://api.github.com/users/jdemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdemar/subscriptions","organizations_url":"https://api.github.com/users/jdemar/orgs","repos_url":"https://api.github.com/users/jdemar/repos","events_url":"https://api.github.com/users/jdemar/events{/privacy}","received_events_url":"https://api.github.com/users/jdemar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdemar/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":true,"url":"https://api.github.com/repos/jdemar/zephyr","forks_url":"https://api.github.com/repos/jdemar/zephyr/forks","keys_url":"https://api.github.com/repos/jdemar/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdemar/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdemar/zephyr/teams","hooks_url":"https://api.github.com/repos/jdemar/zephyr/hooks","issue_events_url":"https://api.github.com/repos/jdemar/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/jdemar/zephyr/events","assignees_url":"https://api.github.com/repos/jdemar/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/jdemar/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/jdemar/zephyr/tags","blobs_url":"https://api.github.com/repos/jdemar/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdemar/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdemar/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdemar/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdemar/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/jdemar/zephyr/languages","stargazers_url":"https://api.github.com/repos/jdemar/zephyr/stargazers","contributors_url":"https://api.github.com/repos/jdemar/zephyr/contributors","subscribers_url":"https://api.github.com/repos/jdemar/zephyr/subscribers","subscription_url":"https://api.github.com/repos/jdemar/zephyr/subscription","commits_url":"https://api.github.com/repos/jdemar/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdemar/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdemar/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdemar/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdemar/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/jdemar/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdemar/zephyr/merges","archive_url":"https://api.github.com/repos/jdemar/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdemar/zephyr/downloads","issues_url":"https://api.github.com/repos/jdemar/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/jdemar/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/jdemar/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/jdemar/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdemar/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/jdemar/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/jdemar/zephyr/deployments","created_at":"2018-03-30T00:48:18Z","updated_at":"2018-05-03T23:58:34Z","pushed_at":"2018-05-03T23:58:32Z","git_url":"git://github.com/jdemar/zephyr.git","ssh_url":"git@github.com:jdemar/zephyr.git","clone_url":"https://github.com/jdemar/zephyr.git","svn_url":"https://github.com/jdemar/zephyr","homepage":"https://zephyrproject.org/doc","size":108364,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zephyrproject-rtos:master","ref":"master","sha":"7a587eea8f764ccce39bb7ba9a045ca61ee3ae41","user":{"login":"zephyrproject-rtos","id":19595895,"avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"repo":{"id":59771425,"name":"zephyr","full_name":"zephyrproject-rtos/zephyr","owner":{"login":"zephyrproject-rtos","id":19595895,"avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zephyrproject-rtos/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":false,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","forks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/forks","keys_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/teams","hooks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/hooks","issue_events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/events","assignees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/tags","blobs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/languages","stargazers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/stargazers","contributors_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contributors","subscribers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscribers","subscription_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscription","commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/merges","archive_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/downloads","issues_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/deployments","created_at":"2016-05-26T17:54:19Z","updated_at":"2018-05-07T02:23:43Z","pushed_at":"2018-05-07T07:32:30Z","git_url":"git://github.com/zephyrproject-rtos/zephyr.git","ssh_url":"git@github.com:zephyrproject-rtos/zephyr.git","clone_url":"https://github.com/zephyrproject-rtos/zephyr.git","svn_url":"https://github.com/zephyrproject-rtos/zephyr","homepage":"https://zephyrproject.org/doc","size":108550,"stargazers_count":816,"watchers_count":816,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":587,"mirror_url":null,"archived":false,"open_issues_count":905,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":587,"open_issues":905,"watchers":816,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/7334"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/7334"},"issue":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7334"},"comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7334/comments"},"review_comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/7334/comments"},"review_comment":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/7334/commits"},"statuses":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/c81c8ea41ccbf2c150fb75cad2d86c16bded3761"}},"author_association":"NONE"}}
{"actor":{"display_login":"cpdesign"}}