drivers: video: video_mcux_csi: Use phandle for devicetree sensor ref
Replace sensor_label property in devicetree with just a sensor phandle property. This is more generic and allows driver to use DEVICE_DT_GET instead of device_get_binding. Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
d713aa8e2f
commit
0b5b74da82
4 changed files with 25 additions and 28 deletions
|
@ -154,7 +154,7 @@ arduino_i2c: &lpi2c1 {};
|
|||
pinctrl-0 = <&pinmux_lpi2c1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
mt9m114@48 {
|
||||
mt9m114: mt9m114@48 {
|
||||
compatible = "aptina,mt9m114";
|
||||
reg = <0x48>;
|
||||
label = "MT9M114";
|
||||
|
@ -268,7 +268,7 @@ zephyr_udc0: &usb1 {
|
|||
|
||||
&csi {
|
||||
status = "okay";
|
||||
sensor-label = "MT9M114";
|
||||
sensor = <&mt9m114>;
|
||||
pinctrl-0 = <&pinmux_csi>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue