Skip to content

Commit

Permalink
Revert "dtoverlays: Convert SenseHAT overlays to use MFD and upstream…
Browse files Browse the repository at this point in the history
… drivers"

This reverts commit a958e15.
  • Loading branch information
popcornmix authored and pelwell committed Oct 1, 2024
1 parent e6493e2 commit 82a50e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 50 deletions.
28 changes: 3 additions & 25 deletions arch/arm/boot/dts/overlays/rpi-sense-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,11 @@
#size-cells = <0>;
status = "okay";

sensehat@46 {
compatible = "raspberrypi,sensehat";
rpi-sense@46 {
compatible = "rpi,rpi-sense";
reg = <0x46>;
interrupt-parent = <&gpio>;
keys-int-gpios = <&gpio 23 1>;
status = "okay";

display {
compatible = "raspberrypi,rpi-sense-fb";
status = "okay";
};
joystick {
compatible = "raspberrypi,sensehat-joystick";
interrupts = <23 1>;
pinctrl-names = "default";
pinctrl-0 = <&sensehat_pins>;
status = "okay";
};
};

lsm9ds1-magn@1c {
Expand Down Expand Up @@ -56,14 +44,4 @@
};
};
};

fragment@1 {
target = <&gpio>;
__overlay__ {
sensehat_pins: sensehat_pins {
brcm,pins = <23>;
brcm,function = <0>;
};
};
};
};
28 changes: 3 additions & 25 deletions arch/arm/boot/dts/overlays/rpi-sense-v2-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,11 @@
#size-cells = <0>;
status = "okay";

sensehat@46 {
compatible = "raspberrypi,sensehat";
rpi-sense@46 {
compatible = "rpi,rpi-sense";
reg = <0x46>;
interrupt-parent = <&gpio>;
keys-int-gpios = <&gpio 23 1>;
status = "okay";

display {
compatible = "raspberrypi,rpi-sense-fb";
status = "okay";
};
joystick {
compatible = "raspberrypi,sensehat-joystick";
interrupts = <23 1>;
pinctrl-names = "default";
pinctrl-0 = <&sensehat_pins>;
status = "okay";
};
};

lsm9ds1-magn@1c {
Expand Down Expand Up @@ -56,14 +44,4 @@
};
};
};

fragment@1 {
target = <&gpio>;
__overlay__ {
sensehat_pins: sensehat_pins {
brcm,pins = <23>;
brcm,function = <0>;
};
};
};
};

0 comments on commit 82a50e4

Please sign in to comment.