Skip to content

Commit

Permalink
fix: resolve all compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChenL committed Jun 27, 2024
1 parent 851cb83 commit 2bc4238
Show file tree
Hide file tree
Showing 36 changed files with 109 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ INT = GPIOAO_3";

&i2c3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&i2c3_sck_a_pins &i2c3_sda_a_pins>;
pinctrl-names = "default";

ds3231: ds3231@68 {
compatible = "maxim,ds3231";
reg = <0x68>;
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <1>;
interrupt-parent = <&gpio_intc>;
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ INT=GPIOX_8";
compatible = "spi-gpio";
#address-cells = <1>;
#size-cells = <0>;
ranges;
mosi-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_HIGH>;
miso-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
sck-gpios = <&gpio GPIOH_7 GPIO_ACTIVE_HIGH>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,14 @@

&dsi0 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
dsi0_panel: panel@0 {
status = "okay";
compatible = "simple-panel-dsi";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
backlight = <&lcd0_backlight>;

power-supply = <&vcc_mipi_lcd0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,15 @@

&dsi1 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

dsi1_panel: panel@0 {
status = "okay";
compatible = "simple-panel-dsi";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
backlight = <&dsi1_backlight>;

power-supply = <&vcc_lcd_mipi1>;
Expand Down Expand Up @@ -405,11 +409,15 @@
&i2c2 {
status = "okay";
pinctrl-0 = <&i2c2m1_xfer>;
#address-cells = <1>;
#size-cells = <0>;

focaltech: focaltech@38 {
status = "okay";
compatible = "focaltech,fts";
reg = <0x38>;
#address-cells = <1>;
#size-cells = <0>;
power-supply = <&vcc_lcd_tp>;
pinctrl-names = "default";
pinctrl-0 = <&touch_gpio>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ HDMI will be disabled.";
};
};

ports {
port {
panel_in_edp: endpoint {
remote-endpoint = <&edp_out_panel>;
};
Expand All @@ -117,6 +117,8 @@ HDMI will be disabled.";
force-hpd;

ports {
#address-cells = <1>;
#size-cells = <0>;
edp_out: port@1 {
reg = <1>;
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
};
};

ports {
port {
panel_in_lvds: endpoint {
remote-endpoint = <&lvds_out_panel>;
};
Expand All @@ -118,6 +118,8 @@
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
};
};

ports {
port {
panel_in_edp: endpoint {
remote-endpoint = <&edp_out_panel>;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
#address-cells = <1>;
#size-cells = <0>;

port {
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#address-cells = <1>;
#size-cells = <0>;

port {
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@

&csi2_dphy0 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@

&i2c6 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam1_25m>;
pwdn-gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam0_25m>;
pwdn-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@

&i2c6 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam1_25m>;
pwdn-gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@
&i2c4 {
status = "okay";
pinctrl-0 = <&i2c4m2_xfer>;
#address-cells = <1>;
#size-cells = <0>;

camera0_imx219: camera0-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam0_24m>;
clock-names = "xvclk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@

&i2c6 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

camera1_imx219: camera1-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam1_24m>;
clock-names = "xvclk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
remote_support_psci = <1>;
status = "okay";
pinctrl-0 = <&pwm1_pin>;
interrupt-parent = <&gpio4>;
pinctrl-names = "default";
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH 0>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ MOSI=16 MISO=18 SCK=36 CS=38 INT=40";
compatible = "spi-gpio";
#address-cells = <1>;
#size-cells = <0>;
ranges;
gpio-mosi = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
gpio-miso = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
gpio-sck = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
Expand All @@ -45,6 +44,8 @@ MOSI=16 MISO=18 SCK=36 CS=38 INT=40";
};

&pinctrl {
#address-cells = <1>;
#size-cells = <0>;
enc28j60 {
enc28j60_int_pins: enc28j60-int-pins {
rockchip,pins = <4 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ INT=40";

&spi2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&spi2_clk &spi2_cs0 &spi2_rx &spi2_tx>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ This overlay is NOT compatiable with regular ROCK 4C.";

&spi5 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&spi5_clk &spi5_tx &spi5_rx &spi5_cs0>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

&i2c2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c2m0_xfer>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
&reserved_memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;

rknpu_reserved: rknpu {
compatible = "shared-dma-pool";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
};
};

ports {
port {
panel_in_edp: endpoint {
remote-endpoint = <&edp_out_panel>;
};
Expand All @@ -119,6 +119,8 @@
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;
edp_out: port@1 {
reg = <1>;
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ This will disable DP0.";
};
};

ports {
port {
panel_in_edp0: endpoint {
remote-endpoint = <&edp0_out_panel>;
};
Expand All @@ -126,6 +126,8 @@ This will disable DP0.";
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ This will disable DP1.";
};
};

ports {
port {
panel_in_edp0: endpoint {
remote-endpoint = <&edp0_out_panel>;
};
Expand All @@ -126,6 +126,8 @@ This will disable DP1.";
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@

&i2c3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam_25m>;
pwdn-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@

&i2c3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam_25m>;
pwdn-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@

&i2c3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

camera_imx219: camera-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;

#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam_24m>;
clock-names = "xvclk";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam_25m>;
pwdn-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@

&i2c2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
camera0_imx219: camera0-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam0_24m>;
clock-names = "xvclk";
Expand Down
Loading

0 comments on commit 2bc4238

Please sign in to comment.