Commit graph

69 commits

Author SHA1 Message Date
Ali Rizvi 14c333162b treewide: remove uses of lib.mdDoc 2024-07-30 09:47:52 +00:00
Jörg Thalheim a59f00f5ac raspberry-pi/3: remove ttyAMA0 from console list 2024-06-29 17:24:25 +00:00
pinage404 43ea86cc8c remove probably not necessary library
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-06-29 17:24:25 +00:00
pinage404 d11eeae766 Raspberry Pi 3: init 2024-06-29 17:24:25 +00:00
Brieuc Dubois f17f79c796 rpi4: bluetooth fix 2024-06-12 15:40:09 +00:00
Jörg Thalheim 8a4adfe48b raspberry-pi/5: don't use overlay 2024-05-06 07:04:32 +00:00
leo60228 1d11c10800 raspberry-pi/5: add kernel version assertion 2024-05-06 07:04:32 +00:00
leo60228 7a7f2ea0f2 raspberry-pi/5: add nvme module
Co-authored-by: Sergey Kazenyuk <kazenyuk@pm.me>
2024-05-06 07:04:32 +00:00
leo60228 67b979143d raspberry-pi/5: add xserver configuration 2024-05-06 07:04:32 +00:00
leo60228 c4fa85b9df raspberry-pi/5: init 2024-05-06 07:04:32 +00:00
Felix Buehler 89e6821370 add and use mkDisableOption 2023-11-18 15:44:54 +01:00
Felix Buehler a742fe3a04 raspberry-pi/4: add led disable overlay 2023-11-14 20:48:59 +01:00
Felix Buehler 9d09a7452c raspberry-pi/4: format 2023-11-14 20:47:59 +01:00
Alexander Sieg 11d50c5d52 raspberrypi."4": add DigiAMP+ overlay 2023-11-01 15:43:04 +00:00
Florian c2bbfcfc3d
fix compileDTS overlay for raspberry-pi (#754)
* fix compileDTS overlay

due to https://github.com/NixOS/nixpkgs/pull/251898
the compileDTS function has been moved to `device-tree`

nixos-hardware has an own overlay for the raspberry-pi
which needs the `compileDTS` function now, too.

This commit adds it.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>

* apply review comments

Co-authored-by: Majiir Paktu <majiir@nabaal.net>
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>

---------

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Majiir Paktu <majiir@nabaal.net>
2023-10-10 23:58:03 +02:00
Andrii Panasiuk 12a6f30214 Import module 2023-09-13 09:44:33 +02:00
Andrii Panasiuk f8d3c75462 Implement dt overlay for enabling built-in xhci controller 2023-09-13 09:44:33 +02:00
Yureka 430a56dd16 raspberry-pi/4: fix modesetting on 6.1 kernels 2023-08-12 21:22:22 +01:00
Florian Brandes 5febaab6bd
raspberry-pi."4": fix build error with poe-hat, because of incompatibility with
compute module

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-12 19:47:31 +02:00
Florian Brandes aa85ea337b
raspberry-pi."4": fix compatible string
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-12 18:03:39 +02:00
Florian Brandes 40a9f0ed77
raspberry-pi."4": add assertion and update some source comments
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-12 17:57:39 +02:00
Florian Brandes 1ffd9949ee
raspberry-pi."4": update poe hat overlay to work with newer kernel
fixes #626

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-11 21:29:42 +02:00
bors[bot] a6aa8174fa
Merge #597 #599
597: microsoft-surface: upgrade kernel 6.1.6 to 6.1.18 r=Mic92 a=jokogr



599: fix: add missing touch-ft5406 export to raspberry-pi config r=Mic92 a=louib



Co-authored-by: Ioannis Koutras <ioannis.koutras@gmail.com>
Co-authored-by: louib <code@louib.net>
2023-03-29 06:12:10 +00:00
louib 523e6f9faf fix: remove rpi_backlight driver from rpi4 config 2023-03-28 22:16:02 -04:00
louib b7c184da76 fix: add missing touch-ft5406 export to raspberry-pi config 2023-03-27 20:49:46 -04:00
bors[bot] 82ecc5b88f
Merge #595
595: raspberry-pi/4: Add touch support for official 7" display. r=Mic92 a=frederictobiasc



Co-authored-by: Frédéric Christ <frederic.christ@secunet.com>
2023-03-27 19:15:21 +00:00
louib 160e7e12d7 feat: add backlight support for rpi4 2023-03-26 15:26:49 -04:00
Frédéric Christ 3023004e99 raspberry-pi/4: Fix comments and indentation. 2023-03-26 20:11:16 +02:00
Frédéric Christ bd6381e513 raspberry-pi/4: Add touch support for official 7" display. 2023-03-26 20:08:36 +02:00
Bernardo Meurer 7c7a8f7082
raspberry-pi/4: don't use an alias for the kernel pkg 2023-02-18 15:55:05 +00:00
Ivan Petkov 320866b985
raspberry-pi/4/dtmerge: fix application of overlays
Previously whenever an overlay was found to be incompatible with a base
device tree blob, the entire base dtb would be skipped in favor of
processing the next one. This had the unfortunate effect where overlays
would not fully be applied if any incompatibility was found. For
example, this is an issue with build device trees specific for one
flavor of raspberry pi if the overlay was not compatible _everywhere_.

The solution is to forego the `continue` keyword if an overlay is in
compatible and instead use a compound conditional statement to skip
incompatible overlays but continue trying to apply it to any remaining
dtbs.
2023-01-16 19:57:10 -08:00
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Karolis Stasaitis 93b1cdbb77 raspberry-pi/4: dtmerge update
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-21 14:27:48 +02:00
matthewcroughan c9c1a5294e raspberry-pi/4: add pcie_brcmstb and reset-raspberrypi to kernelParams
This is required for things like USB Boot to work correctly

Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2022-10-27 03:24:07 +01:00
Michael Eden 18c0cbb6b4 raspberrypi/4: allow pi libs to detect pi 4 2022-10-07 10:59:54 -04:00
Karolis Stasaitis 51e4bdf379 raspberry-pi-4: add i2c clock-frequency option 2022-08-13 12:39:46 +02:00
Karolis Stasaitis f217e0c09a use dtmerge from nativeBuildInputs 2022-08-08 19:07:05 +02:00
Karolis Stasaitis bfc438a275 misplaced semicolon 2022-08-08 19:06:06 +02:00
Karolis Stasaitis f410badac5 added missing semicolon 2022-08-08 18:46:26 +02:00
Karolis Stasaitis 3f0991b531 export a single function from apply-overlays-dtmerge 2022-08-08 18:41:30 +02:00
Karolis Stasaitis 245d8f9f97
apply review suggestions from @06kellyjac
Co-authored-by: j-k <dev@j-k.io>
2022-08-08 18:27:49 +02:00
Karolis Stasaitis 128dad1c8d raspberry-pi-4: add poe-plus-hat, update poe-hat, use dtmerge instead of ftoverlay 2022-08-07 13:40:17 +02:00
Jörg Thalheim a7bca8d0d8
Merge pull request #383 from ettom/master
Add rpi4 pwm0 support
2022-03-04 12:52:02 +00:00
Jörg Thalheim b94d24f855
rpi2: unset nix.buildCores
by default it already sets buildCores == available cores
2022-03-04 13:41:27 +01:00
ettom 1c076b237f Add rpi4 pwm0 support 2022-02-24 16:02:40 +02:00
Jörg Thalheim 5041a3f800 drop no-longer reachable torrent 2021-12-28 10:29:31 +01:00
M. Ian Graham 8f1bf828d8 raspberry-pi/4/i2c: refactor i2c stuff into single file 2021-12-11 10:39:09 +09:00
M. Ian Graham 41c4e294f4 raspberry-pi/4/i2c1: factor out easy dts into helper, add i2c0 2021-12-11 09:39:55 +09:00
M. Ian Graham e81c9aed16 raspberry-pi/4/i2c1: indentation fix 2021-12-11 05:08:24 +09:00
M. Ian Graham 1bc731fde4 rpi4: Add option to turn on the ARM I2C bus (i2c1). 2021-12-11 01:17:44 +09:00