Skip to content

Commit bf13fb8

Browse files
committed
switched to indents from spaces
1 parent 5e3aed8 commit bf13fb8

File tree

2 files changed

+100
-100
lines changed

2 files changed

+100
-100
lines changed

arch/arm/boot/dts/overlays/rpi-power-hat-b-overlay.dts

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,59 @@
22
/plugin/;
33

44
// Overlay for the Raspberry Pi Power Hat.
5-
// 1 of 2 overlays required for top/bottom interchangeability
5+
// 1 of 2 overlays required for top/bottom interchangeability
66

77
/ {
8-
compatible = "brcm,bcm2835";
9-
10-
fragment@0 {
11-
target = <&i2c1>;
12-
__overlay__ {
13-
14-
#address-cells = <1>;
15-
#size-cells = <0>;
16-
17-
power_control: fxl6408@43 {
18-
reg = <0x43>;
19-
compatible = "fcs,fxl6408";
20-
gpio-controller;
21-
#gpio-cells = <2>;
22-
gpio-line-names =
23-
"B1_PWR",
24-
"B2_PWR",
25-
"B3",
26-
"B4",
27-
"B5",
28-
"B6",
29-
"B7",
30-
"B8";
31-
};
32-
33-
pwr1_monitor: ina260@42 {
34-
reg = <0x42>;
35-
compatible = "ti,ina260";
36-
};
37-
38-
pwr2_monitor: ina260@4c {
39-
reg = <0x4c>;
40-
compatible = "ti,ina260";
41-
};
42-
};
43-
};
44-
45-
fragment@1 {
46-
target-path = "/";
47-
__overlay__ {
48-
rpi_power_hat_b: rpi-power-hat-b {
49-
compatible = "raspberrypi,rpi-power-hat-b";
50-
#address-cells = <1>;
51-
#size-cells = <0>;
52-
53-
// References to the I2C devices
54-
power-controller = <&power_control>;
55-
power1-monitor = <&pwr1_monitor>;
56-
power2-monitor = <&pwr2_monitor>;
57-
};
58-
};
59-
};
8+
compatible = "brcm,bcm2835";
9+
10+
fragment@0 {
11+
target = <&i2c1>;
12+
__overlay__ {
13+
14+
#address-cells = <1>;
15+
#size-cells = <0>;
16+
17+
power_control: fxl6408@43 {
18+
reg = <0x43>;
19+
compatible = "fcs,fxl6408";
20+
gpio-controller;
21+
#gpio-cells = <2>;
22+
gpio-line-names =
23+
"B1_PWR",
24+
"B2_PWR",
25+
"B3",
26+
"B4",
27+
"B5",
28+
"B6",
29+
"B7",
30+
"B8";
31+
};
32+
33+
pwr1_monitor: ina260@42 {
34+
reg = <0x42>;
35+
compatible = "ti,ina260";
36+
};
37+
38+
pwr2_monitor: ina260@4c {
39+
reg = <0x4c>;
40+
compatible = "ti,ina260";
41+
};
42+
};
43+
};
44+
45+
fragment@1 {
46+
target-path = "/";
47+
__overlay__ {
48+
rpi_power_hat_b: rpi-power-hat-b {
49+
compatible = "raspberrypi,rpi-power-hat-b";
50+
#address-cells = <1>;
51+
#size-cells = <0>;
52+
53+
// References to the I2C devices
54+
power-controller = <&power_control>;
55+
power1-monitor = <&pwr1_monitor>;
56+
power2-monitor = <&pwr2_monitor>;
57+
};
58+
};
59+
};
6060
};

arch/arm/boot/dts/overlays/rpi-power-hat-t-overlay.dts

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5,56 +5,56 @@
55
// 2 of 2 overlays required for top/bottom interchangeability
66

77
/ {
8-
compatible = "brcm,bcm2835";
8+
compatible = "brcm,bcm2835";
99

10-
fragment@0 {
11-
target = <&i2c1>;
12-
__overlay__ {
13-
14-
#address-cells = <1>;
15-
#size-cells = <0>;
10+
fragment@0 {
11+
target = <&i2c1>;
12+
__overlay__ {
13+
14+
#address-cells = <1>;
15+
#size-cells = <0>;
1616

17-
power_control: fxl6408@44 {
18-
reg = <0x44>;
19-
compatible = "fcs,fxl6408";
20-
gpio-controller;
21-
#gpio-cells = <2>;
22-
gpio-line-names =
23-
"T1_PWR",
24-
"T2_PWR",
25-
"T3",
26-
"T4",
27-
"T5",
28-
"T6",
29-
"T7",
30-
"T8";
31-
};
17+
power_control: fxl6408@44 {
18+
reg = <0x44>;
19+
compatible = "fcs,fxl6408";
20+
gpio-controller;
21+
#gpio-cells = <2>;
22+
gpio-line-names =
23+
"T1_PWR",
24+
"T2_PWR",
25+
"T3",
26+
"T4",
27+
"T5",
28+
"T6",
29+
"T7",
30+
"T8";
31+
};
3232

33-
pwr1_monitor: ina260@46 {
34-
reg = <0x46>;
35-
compatible = "ti,ina260";
36-
};
33+
pwr1_monitor: ina260@46 {
34+
reg = <0x46>;
35+
compatible = "ti,ina260";
36+
};
3737

38-
pwr2_monitor: ina260@4d {
39-
reg = <0x4d>;
40-
compatible = "ti,ina260";
41-
};
42-
};
43-
};
38+
pwr2_monitor: ina260@4d {
39+
reg = <0x4d>;
40+
compatible = "ti,ina260";
41+
};
42+
};
43+
};
4444

45-
fragment@1 {
46-
target-path = "/";
47-
__overlay__ {
48-
rpi_power_hat_t: rpi-power-hat-t {
49-
compatible = "raspberrypi,rpi-power-hat-t";
50-
#address-cells = <1>;
51-
#size-cells = <0>;
52-
53-
// References to the I2C devices
54-
power-controller = <&power_control>;
55-
power1-monitor = <&pwr1_monitor>;
56-
power2-monitor = <&pwr2_monitor>;
57-
};
58-
};
59-
};
45+
fragment@1 {
46+
target-path = "/";
47+
__overlay__ {
48+
rpi_power_hat_t: rpi-power-hat-t {
49+
compatible = "raspberrypi,rpi-power-hat-t";
50+
#address-cells = <1>;
51+
#size-cells = <0>;
52+
53+
// References to the I2C devices
54+
power-controller = <&power_control>;
55+
power1-monitor = <&pwr1_monitor>;
56+
power2-monitor = <&pwr2_monitor>;
57+
};
58+
};
59+
};
6060
};

0 commit comments

Comments
 (0)