Skip to content

Commit

Permalink
dts: bindings: video: gc2145: Correct vendor prefix
Browse files Browse the repository at this point in the history
We should use prefix for `galaxycore` for gc2145.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
  • Loading branch information
soburi committed Sep 17, 2024
1 parent 0bca195 commit 11112cf
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions doc/releases/migration-guide-4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,13 @@ Regulator
status = "okay";
};
Video
=====

* The vendor prefix for ``gc,gc2145`` has been corrected.
It now uses the :dtcompatible:`galaxycore,gc2145` compatible string instead
to the ``gc,gc2145`` to

Bluetooth
*********

Expand Down
2 changes: 2 additions & 0 deletions doc/releases/release-notes-4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ Drivers and Sensors

* Video

* gc2145: Renamed the ``compatible`` from ``gc,gc2145`` to :dtcompatible:`galaxycore,gc2145`.

* Watchdog

* Wi-Fi
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/Kconfig.gc2145
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
config VIDEO_GC2145
bool "GC2145 CMOS digital image sensor"
select I2C
depends on DT_HAS_GC_GC2145_ENABLED
depends on DT_HAS_GALAXYCORE_GC2145_ENABLED
default y
help
Enable driver for GC2145 CMOS digital image sensor device.
2 changes: 1 addition & 1 deletion drivers/video/gc2145.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#define DT_DRV_COMPAT gc_gc2145
#define DT_DRV_COMPAT galaxycore_gc2145
#include <zephyr/kernel.h>
#include <zephyr/device.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

description: Galaxy Core GC2145 CMOS video sensor

compatible: "gc,gc2145"
compatible: "galaxycore,gc2145"

include: i2c-device.yaml

Expand Down

0 comments on commit 11112cf

Please sign in to comment.