Skip to content

Commit

Permalink
everywhere: reindent .overlay files with tabs
Browse files Browse the repository at this point in the history
`checkpatch.pl` requires that dts sources are indented with tabs,
fix all the spaces that slipped in while checkpatch wasn't watching.

Signed-off-by: Jordan Yates <jordan@embeint.com>
  • Loading branch information
JordanYates authored and aescolar committed Jun 26, 2024
1 parent 4fefde2 commit 243eb36
Show file tree
Hide file tree
Showing 175 changed files with 775 additions and 776 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
*/

&clk_lsi {
status = "okay";
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
*/

&clk_lse {
clock-frequency = <32768>;
status = "okay";
clock-frequency = <32768>;
status = "okay";
};
114 changes: 57 additions & 57 deletions boards/renesas/da1469x_dk_pro/dts/da1469x_dk_pro_lcdc.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -8,74 +8,74 @@
#include <zephyr/dt-bindings/display/panel.h>

/ {
chosen {
zephyr,display = &lcdc;
};
chosen {
zephyr,display = &lcdc;
};

lvgl_pointer {
input = <&display_touch>;
status = "okay";
swap-xy;
};
lvgl_pointer {
input = <&display_touch>;
status = "okay";
swap-xy;
};
};

&pinctrl {
i2c2_default: i2c2_default {
group1 {
pinmux = <SMARTBOND_PINMUX(I2C2_SDA, 0, 19)>,
<SMARTBOND_PINMUX(I2C2_SCL, 0, 18)>;
bias-pull-up;
};
};
i2c2_default: i2c2_default {
group1 {
pinmux = <SMARTBOND_PINMUX(I2C2_SDA, 0, 19)>,
<SMARTBOND_PINMUX(I2C2_SCL, 0, 18)>;
bias-pull-up;
};
};

i2c2_sleep: i2c2_sleep {
group1 {
pinmux = <SMARTBOND_PINMUX(GPIO, 0, 19)>,
<SMARTBOND_PINMUX(GPIO, 0, 18)>;
bias-pull-up;
};
};
i2c2_sleep: i2c2_sleep {
group1 {
pinmux = <SMARTBOND_PINMUX(GPIO, 0, 19)>,
<SMARTBOND_PINMUX(GPIO, 0, 18)>;
bias-pull-up;
};
};
};

&i2c2 {
clock-frequency = <400000>;
status = "okay";
clock-frequency = <400000>;
status = "okay";

display_touch: ft6206@38 {
compatible = "focaltech,ft5336";
status = "okay";
reg = <0x38>;
int-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
};
display_touch: ft6206@38 {
compatible = "focaltech,ft5336";
status = "okay";
reg = <0x38>;
int-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
};
};

&lcdc {
status = "okay";
pinctrl-0 = <&display_controller_default>;
pinctrl-1 = <&display_controller_sleep>;
pinctrl-names = "default", "sleep";
width = <480>;
height = <272>;
disp-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
status = "okay";
pinctrl-0 = <&display_controller_default>;
pinctrl-1 = <&display_controller_sleep>;
pinctrl-names = "default", "sleep";
width = <480>;
height = <272>;
disp-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;

/*
* Panel settings for the NHD-4.3-480272EF-ASXP-CTP
* display panel model which integrates the SC7283
* driver IC.
*/
display-timings {
compatible = "zephyr,panel-timing";
hsync-len = <2>;
hfront-porch = <2>;
hback-porch = <3>;
vsync-len = <2>;
vfront-porch = <2>;
vback-porch = <2>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
clock-frequency = <12000000>;
};
/*
* Panel settings for the NHD-4.3-480272EF-ASXP-CTP
* display panel model which integrates the SC7283
* driver IC.
*/
display-timings {
compatible = "zephyr,panel-timing";
hsync-len = <2>;
hfront-porch = <2>;
hback-porch = <3>;
vsync-len = <2>;
vfront-porch = <2>;
vback-porch = <2>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
clock-frequency = <12000000>;
};
};
74 changes: 37 additions & 37 deletions boards/renesas/da1469x_dk_pro/dts/da1469x_dk_pro_mipi_dbi.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -8,50 +8,50 @@
#include <zephyr/dt-bindings/gpio/gpio.h>

/ {
chosen {
zephyr,display = &ili9340;
};
chosen {
zephyr,display = &ili9340;
};

lvgl_pointer {
input = <&display_touch>;
status = "okay";
swap-xy;
invert-x;
invert-y;
};
lvgl_pointer {
input = <&display_touch>;
status = "okay";
swap-xy;
invert-x;
invert-y;
};
};

&i2c2 {
clock-frequency = <400000>;
status = "okay";
clock-frequency = <400000>;
status = "okay";

display_touch: ft6206@38 {
compatible = "focaltech,ft5336";
status = "okay";
reg = <0x38>;
int-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
display_touch: ft6206@38 {
compatible = "focaltech,ft5336";
status = "okay";
reg = <0x38>;
int-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
};

&lcdc {
compatible = "renesas,smartbond-mipi-dbi";
status = "okay";
reset-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&mipi_dbi_default>;
pinctrl-1 = <&mipi_dbi_read>;
pinctrl-2 = <&mipi_dbi_sleep>;
pinctrl-names = "default", "read", "sleep";
#address-cells = <1>;
#size-cells = <0>;
compatible = "renesas,smartbond-mipi-dbi";
status = "okay";
reset-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&mipi_dbi_default>;
pinctrl-1 = <&mipi_dbi_read>;
pinctrl-2 = <&mipi_dbi_sleep>;
pinctrl-names = "default", "read", "sleep";
#address-cells = <1>;
#size-cells = <0>;

ili9340: ili9340@0 {
compatible = "ilitek,ili9340";
mipi-max-frequency = <48000000>;
status = "okay";
reg = <0>;
width = <240>;
height = <320>;
pixel-format = <ILI9XXX_PIXEL_FORMAT_RGB565>;
rotation = <0>;
};
ili9340: ili9340@0 {
compatible = "ilitek,ili9340";
mipi-max-frequency = <48000000>;
status = "okay";
reg = <0>;
width = <240>;
height = <320>;
pixel-format = <ILI9XXX_PIXEL_FORMAT_RGB565>;
rotation = <0>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

/ {
/ {
aliases {
sram-ext = &memc;
};
Expand Down
18 changes: 9 additions & 9 deletions boards/shields/adafruit_data_logger/adafruit_data_logger.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
leds {
compatible = "gpio-leds";
/*
* LED1 connection must be manually established using a jumper between
* pins "L1" and "Digital I/O 3".
*/
* LED1 connection must be manually established using a jumper between
* pins "L1" and "Digital I/O 3".
*/
green_led_adafruit_data_logger: led_1__adafruit_data_logger {
gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>; /* D3 */
label = "User LED1";
};
/*
* LED2 connection must be manually established using a jumper between
* pins "L2" and "Digital I/O 4".
*/
* LED2 connection must be manually established using a jumper between
* pins "L2" and "Digital I/O 4".
*/
red_led_adafruit_data_logger: led_2_adafruit_data_logger {
gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */
label = "User LED2";
Expand Down Expand Up @@ -57,9 +57,9 @@
alarms-count = <1>;
battery-switch-over = "standard";
/*
* Interrupt connection must be manually established using a jumper wire between
* pins "SQ" and "Digital I/O 7".
*/
* Interrupt connection must be manually established using a jumper wire between
* pins "SQ" and "Digital I/O 7".
*/
int1-gpios = <&arduino_header 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* D7 */
status = "okay";
};
Expand Down
16 changes: 8 additions & 8 deletions boards/shields/esp_8266/boards/numaker_pfm_m467.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
*/

&pinctrl {
uart2_esp8266: uart2_esp8266 {
group0 {
pinmux = <PC1MFP_UART2_TXD>,
<PC0MFP_UART2_RXD>,
<PC3MFP_UART2_nRTS>,
<PC2MFP_UART2_nCTS>;
uart2_esp8266: uart2_esp8266 {
group0 {
pinmux = <PC1MFP_UART2_TXD>,
<PC0MFP_UART2_RXD>,
<PC3MFP_UART2_nRTS>,
<PC2MFP_UART2_nCTS>;
};
};
};
};

&uart2 {
Expand All @@ -27,7 +27,7 @@
compatible = "espressif,esp-at";
reset-gpios = <&gpioc 4 GPIO_ACTIVE_LOW>;
status = "okay";
};
};
};

&gpioc {
Expand Down
50 changes: 25 additions & 25 deletions boards/shields/nxp_btb44_ov5640/nxp_btb44_ov5640.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,38 @@
};

&nxp_cam_i2c {
status = "okay";

ov5640: ov5640@3c {
compatible = "ovti,ov5640";
reg = <0x3c>;
reset-gpios = <&nxp_cam_connector 9 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&nxp_cam_connector 17 GPIO_ACTIVE_HIGH>;

port {
ov5640_ep_out: endpoint {
remote-endpoint = <&mipi_csi2rx_ep_in>;
};
};
};
status = "okay";

ov5640: ov5640@3c {
compatible = "ovti,ov5640";
reg = <0x3c>;
reset-gpios = <&nxp_cam_connector 9 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&nxp_cam_connector 17 GPIO_ACTIVE_HIGH>;

port {
ov5640_ep_out: endpoint {
remote-endpoint = <&mipi_csi2rx_ep_in>;
};
};
};
};

&nxp_mipi_csi {
status = "okay";
status = "okay";

sensor = <&ov5640>;
sensor = <&ov5640>;

ports {
port@1 {
reg = <1>;
ports {
port@1 {
reg = <1>;

mipi_csi2rx_ep_in: endpoint {
remote-endpoint = <&ov5640_ep_out>;
};
};
};
mipi_csi2rx_ep_in: endpoint {
remote-endpoint = <&ov5640_ep_out>;
};
};
};
};

&nxp_csi {
status = "okay";
status = "okay";
};
2 changes: 1 addition & 1 deletion boards/shields/ssd1306/boards/reel_board.overlay
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
&arduino_i2c {
compatible = "nordic,nrf-twi";
compatible = "nordic,nrf-twi";
};
Loading

0 comments on commit 243eb36

Please sign in to comment.