Name: pisound
-Info: Configures the Blokas Labs pisound card
+Info: Configures the Blokas Labs Pisound card
Load: dtoverlay=pisound
Params: <None>
+Name: pisound-pi5
+Info: Pi 5 specific overlay override for Blokas Labs Pisound card, see pisound
+Load: dtoverlay=pisound-pi5
+Params: <None>
+
+
Name: pitft22
Info: Adafruit PiTFT 2.2" screen
Load: dtoverlay=pitft22,<param>=<val>
/*
* Pisound Linux kernel module.
- * Copyright (C) 2016-2017 Vilniaus Blokas UAB, https://blokas.io/pisound
+ * Copyright (C) 2016-2024 Vilniaus Blokas UAB, https://blokas.io/pisound
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
compatible = "blokaslabs,pisound-spi";
reg = <0>;
spi-max-frequency = <1000000>;
+ spi-speed-hz = <150000>;
};
};
};
__overlay__ {
compatible = "blokaslabs,pisound";
i2s-controller = <&i2s_clk_consumer>;
+ spi-controller = <&pisound_spi>;
status = "okay";
pinctrl-names = "default";
--- /dev/null
+/*
+ * Pisound Linux kernel module.
+ * Copyright (C) 2016-2024 Vilniaus Blokas UAB, https://blokas.io/pisound
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; version 2 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include "pisound-overlay.dts"
+
+&pisound_spi {
+ spi-speed-hz = <100000>;
+};
+
+/ {
+ compatible = "brcm,bcm2712";
+};