arm:dts:overlays: Add overlay for ADALM-LSMSPG board#3175
Conversation
ec33375 to
ea482b1
Compare
amiclaus
left a comment
There was a problem hiding this comment.
some comments on my side.
| / { | ||
| compatible = "brcm,bcm2835", "brcm,bcm2837", "brcm,bcm2711", "brcm,bcm2712"; | ||
|
|
||
| fragment@0 { |
There was a problem hiding this comment.
i think the fragment syntax is no longer preferred.
| fragment@2 { | ||
| target = <&i2c1>; | ||
| __overlay__ { | ||
| #size-cells = <0>; |
There was a problem hiding this comment.
this is missing indentation
| status = "okay"; | ||
| clock-frequency = <400000>; | ||
| lm75: lm75@48 { | ||
| compatible = "lm75"; |
There was a problem hiding this comment.
is the compatible correct here? (national,)
9cb87e7 to
59d865c
Compare
|
Thanks @amiclaus ! Applied all of your suggestions, and tested the compiled overlay on my setup here. |
nunojsa
left a comment
There was a problem hiding this comment.
One comment from me. From a process standpoint, commit subject should be improved: ARM: dts: overlays: Add overlay for ADALM-LSMSPG board and we should also have a brief message stating what this board/DT is about.
| label = "my_lsmspg_ad5593r"; | ||
| #gpio-cells = <2>; | ||
| gpio-controller; | ||
|
|
There was a problem hiding this comment.
ci complains look valid. You're missing #address-cells = <1>; and size-cells = <0>;
There was a problem hiding this comment.
Thanks @nunojsa , I un-commented the minimum address-cells, size cells that cleared the ci complaints - it looks like lots of overlays have this (commented cells parameters), I need to dig in and understand what they do (for the future).
Also fixed the commit subject and description.
There was a problem hiding this comment.
They are basically needed if you have child nodes. To better understand:
610b14e to
3b10c6b
Compare
| adi,mode = <CH_MODE_GPIO>; | ||
| adi,off-state = <CH_OFFSTATE_PULLDOWN>; // input | ||
| }; | ||
|
|
There was a problem hiding this comment.
Seems we still have the warning... I believe we need the properties both under ad5593r@10 and ad5593r@0
db70512 to
d206b5a
Compare
| }; | ||
|
|
||
| &{/} { | ||
| one-bit-adc-dac@0 { |
This is a training board for device driver concepts, based on AD5592r (SPI), AD5593r (I2C) ADC/DAC/GPIO and LM75 temperature sensor. Signed-off-by: Mark Thoren <mark.thoren@analog.com>
d206b5a to
d0cdd97
Compare
Then a backport to https://github.com/analogdevicesinc/linux/tree/rpi/release/linux-6.12.y-2026r1 is needed :) |
PR Description
Adding device tree overlay for the ADALM-LSMSPG board that will release within a month.
PR Type
PR Checklist