Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#include <zephyr/dt-bindings/comparator/nrf-comp.h>

&gpio1 {
status = "okay";
};

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN2"; /* P1.02 */
psel = <NRF_COMP_AIN2>; /* P1.02 */
refsel = "VDD_4_8";
status = "okay";
zephyr,pm-device-runtime-auto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <zephyr/dt-bindings/comparator/nrf-comp.h>

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN1";
psel = <NRF_COMP_AIN1>;
refsel = "VDD_4_8";
status = "okay";
enable-hyst;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <zephyr/dt-bindings/comparator/nrf-comp.h>

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN1"; /* P1.31 */
psel = <NRF_COMP_AIN1>; /* P1.31 */
refsel = "VDD_4_8";
status = "okay";
enable-hyst;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <zephyr/dt-bindings/comparator/nrf-comp.h>

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN6"; /* P1.11 */
psel = <NRF_COMP_AIN6>; /* P1.11 */
refsel = "VDD_4_8";
status = "okay";
enable-hyst;
Expand Down
4 changes: 3 additions & 1 deletion tests/benchmarks/multicore/idle_comp/boards/comp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/dt-bindings/comparator/nrf-comp.h>

&comp {
main-mode = "SE";
psel = "AIN2"; /* P1.02 */
psel = <NRF_COMP_AIN2>; /* P1.02 */
refsel = "INT_1V2";
sp-mode = "HIGH";
th-up = <63>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/dt-bindings/comparator/nrf-comp.h>

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN2"; /* P1.02 */
psel = <NRF_COMP_AIN2>; /* P1.02 */
refsel = "VDD_4_8";
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/dt-bindings/comparator/nrf-comp.h>

/ {
aliases {
led = &led0;
Expand All @@ -21,7 +23,7 @@

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN0"; /* P0.04 */
psel = <NRF_COMP_AIN0>; /* P0.04 */
refsel = "VDD_4_8";
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/dt-bindings/comparator/nrf-comp.h>

/ {
aliases {
led = &led0;
Expand All @@ -24,7 +26,7 @@

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN2"; /* P1.02 */
psel = <NRF_COMP_AIN2>; /* P1.02 */
refsel = "VDD_4_8";
status = "okay";
zephyr,pm-device-runtime-auto;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/dt-bindings/comparator/nrf-comp.h>

/ {
aliases {
led = &button3;
Expand All @@ -21,7 +23,7 @@

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN4"; /* P1.11 */
psel = <NRF_COMP_AIN4>; /* P1.11 */
refsel = "VDD_4_8";
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <zephyr/dt-bindings/comparator/nrf-comp.h>

/ {
aliases {
led = &led0;
Expand All @@ -24,7 +26,7 @@

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN1"; /* P1.31 */
psel = <NRF_COMP_AIN1>; /* P1.31 */
refsel = "VDD_4_8";
status = "okay";
};
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <zephyr/dt-bindings/comparator/nrf-comp.h>

/ {
aliases {
led = &led0;
Expand All @@ -18,7 +20,7 @@

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN6"; /* P1.11 */
psel = <NRF_COMP_AIN6>; /* P1.11 */
refsel = "VDD_4_8";
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* AIN7 (P1.12) -> VDD
*/

#include <zephyr/dt-bindings/comparator/nrf-comp.h>

/ {
aliases {
test-comp = &comp;
Expand All @@ -22,9 +24,9 @@

&comp {
status = "okay";
psel = "AIN4";
psel = <NRF_COMP_AIN4>;
refsel = "AREF";
extrefsel= "AIN3";
extrefsel = <NRF_COMP_AIN3>;
sp-mode = "NORMAL";
th-up = <36>;
th-down = <30>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <zephyr/dt-bindings/comparator/nrf-comp.h>

&comp {
main-mode = "SE";
psel = "AIN6"; /* P1.11 */
psel = <NRF_COMP_AIN6>; /* P1.11 */
refsel = "INT_1V2";
sp-mode = "HIGH";
th-up = <63>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <zephyr/dt-bindings/comparator/nrf-comp.h>

&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN6"; /* P1.11 */
psel = <NRF_COMP_AIN6>; /* P1.11 */
refsel = "VDD_4_8";
status = "okay";
};
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ manifest:
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
- name: zephyr
repo-path: sdk-zephyr
revision: 3c9c5b7ad4a520e0f0945b8a18c79082db398c29
revision: ad7fb2d1d1dff32666b50fc48b87219481bd54ce
import:
# In addition to the zephyr repository itself, NCS also
# imports the contents of zephyr/west.yml at the above
Expand Down
Loading