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
ettom
1c076b237f
Add rpi4 pwm0 support
2022-02-24 16:02:40 +02: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
Vincent Breitmoser
ad1114ee37
raspberry-pi/4: fix usage of mkDefault in audio module
2021-08-23 19:50:37 +02:00
Vincent Breitmoser
e45d775c93
raspberry-pi/4: Include tsched=0 fix in audio module
...
This applies a commonly suggested fix for pulseaudio sound glitches.
2021-08-19 23:57:05 +02:00
Vincent Breitmoser
745dd44071
raspberry-pi/4: Add audio option
2021-08-15 00:53:29 +02:00
Jörg Thalheim
09ed30ff3b
rpi4/poe-hat: improve enable option slightly
2021-07-30 19:26:52 +02:00
James Walker
cf3508aab6
raspberry-pi/4: Add poe-hat option
2021-06-02 20:47:23 -04:00
Jacek Galowicz
c941aecfc3
raspberry-pi/4: Add tc358743 option
2021-05-30 20:27:13 +00:00
Jacek Galowicz
e6c84e7eaf
raspberry-pi/4: Add dwc2 option
2021-05-28 11:18:51 +02:00
Jacek Galowicz
5a67562945
raspberry-pi/4: move filter into default.nix
2021-05-27 04:41:34 +00:00
Samuel Dionne-Riel
38af9c5048
raspberry-pi/4: Add modesetting option
2021-05-12 21:00:19 -04:00
Domen Kožar
bd06334074
rpi4: don't override sane default for nix.buildCores
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-05-12 21:42:30 +02:00
Domen Kožar
2b4ed534a8
rpi4: remove loader.raspberryPi as it's legacy
2021-05-12 14:37:30 +02:00
Domen Kožar
cdaf66c0a0
rpi4: remove cma
2021-05-12 14:19:27 +02:00
Domen Kožar
b72c683304
Add Rpi4
2021-05-11 15:53:04 +02:00