Skip to content

Commit

Permalink
add ms419xx spi support in menuconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Jun 6, 2024
1 parent 47e80fb commit 82c5924
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
18 changes: 15 additions & 3 deletions Config.soc_config.in
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if BR2_ISP_CH0_PRE_DEQUEUE_INTERRUPT_PROCESS
endif

menuconfig BR2_ISP_CH0_PRE_DEQUEUE_VALID_LINES
bool "ISP Valid Lines for Pre-dequeue for Channel 0"
bool "ISP Valid Lines for Pre-dequeue for Channel 0"
if BR2_ISP_CH0_PRE_DEQUEUE_VALID_LINES
config BR2_ISP_CH0_PRE_DEQUEUE_VALID_LINES_VALUE
int "Pre-dequeue valid lines"
Expand Down Expand Up @@ -150,10 +150,22 @@ config BR2_PWM_ENABLE
help
Enable or Disable PWM support.

config BR2_MOTORIZED
bool "Pan/Tilt/Zoom Motors"
help
The camera has Pan/Tilt or Zoom motors.

config BR2_MOTORS
bool "Pan/Tilt Motors"
bool "Pan/Tilt Motors TCU"
depends on BR2_MOTORIZED
help
The camera has Pan/Tilt or Zoom motors using PWM/GPIO via TCU

config BR2_MOTORS_SPI
bool "Pan/Tilt SPI using ms419xx"
depends on BR2_MOTORIZED
help
The camera has Pan and/or Tilt motors.
The camera has Pan/Tilt or Zoom motors using the ms419xx chip

config BR2_SDCARD
bool "SD Card"
Expand Down
2 changes: 1 addition & 1 deletion external.mk
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,8 @@ export ISP_CH0_PRE_DEQUEUE_INTERRUPT_PROCESS
export ISP_CH0_PRE_DEQUEUE_VALID_LINES
export AVPU_CLK
export AVPU_CLK_SRC
export AUDIO_GPIO
export BR2_MOTORS
export BR2_MOTORS_SPI

ifneq ($(BR2_SOC_INGENIC_DUMMY),y)
# include makefiles from packages
Expand Down

0 comments on commit 82c5924

Please sign in to comment.