Skip to content

Commit ba0cb29

Browse files
Benjamin CabéChromeos LUCI
authored andcommitted
dts: bindings: sensor: update brcm,afbr-s50 example snippet
Update the dt snippet so that it includes all the required properties (cherry picked from commit 0d3f294) Original-Signed-off-by: Benjamin Cabé <[email protected]> GitOrigin-RevId: 0d3f294 Cr-Build-Id: 8710912179129064817 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8710912179129064817 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: Id4764d3a1ddffd46d8f73c815980fc49c3774417 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6683770 Tested-by: Keith Short <[email protected]> Tested-by: ChromeOS Copybot <[email protected]> Reviewed-by: Keith Short <[email protected]> Commit-Queue: Keith Short <[email protected]>
1 parent 67eba40 commit ba0cb29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dts/bindings/sensor/brcm,afbr-s50.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ description: |
1515
1616
Example:
1717
18+
#include <zephyr/dt-bindings/sensor/afbr_s50.h>
19+
1820
&spi_bus {
1921
status = "okay";
2022
pinctrl-0 = <&spi_bus_default>;
@@ -26,6 +28,9 @@ description: |
2628
compatible = "brcm,afbr-s50";
2729
reg = <0>;
2830
spi-max-frequency = <10000000>;
31+
measurement-mode = <AFBR_S50_DT_MODE_SHORT_RANGE>;
32+
dual-freq-mode = <AFBR_S50_DT_DFM_MODE_OFF>;
33+
odr = <10>;
2934
int-gpios = <&gpio0 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
3035
spi-mosi-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
3136
spi-sck-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;

0 commit comments

Comments
 (0)