Skip to content
Open
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
8 changes: 8 additions & 0 deletions drivers/sensors/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ config SENSORS_AS5048A
---help---
Enable driver support for the AMS AS5048A magnetic rotary encoder.

config SENSORS_AS5047D
bool "AMS AS5047D Magnetic Rotary Encoder support"
default n
select SPI
select SENSORS_QENCODER
---help---
Enable driver support for the AMS AS5047D magnetic rotary encoder.

config SENSORS_AS726X
bool "AMS AS726X Spetral sensor support"
default n
Expand Down
4 changes: 4 additions & 0 deletions drivers/sensors/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ ifeq ($(CONFIG_SENSORS_AS5048A),y)
CSRCS += as5048a.c
endif

ifeq ($(CONFIG_SENSORS_AS5047D),y)
CSRCS += as5047d.c
endif

endif # CONFIG_SPI

# These drivers depend on 1WIRE support
Expand Down
Loading
Loading