Commit graph

54 commits

Author SHA1 Message Date
Ricardo Pardini
de89592d84
meson64: hwmon: (pwm-fan) add fan pwmX_enable attribute for pwm's exposed via hwmon (#2587)
- for manual/auto control of pwm fan (in the ODROID HC4 for example)
- original is at 8a63de9e2a
- discussion https://patchwork.kernel.org/project/linux-hwmon/patch/20201125163242.GA1264232@paju/
- I'd be much happier with a cooling map in the DTB, but this makes my fans spin correctly via fancontrol
- this affects all of meson64, but only for PWMs that are already exposed to hwmon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-01-30 09:53:17 +01:00
Ricardo Pardini
c503193934
meson-64: Expose Amlogic thermal as HWMON devices (#2586)
- this lets lm-sensors see the ddr/cpu temps, on HC4 at least

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-01-28 15:14:31 +01:00
Ricardo Pardini
4a829f1501
Odroid HC4: add red led to DTS (#2585)
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-01-28 15:14:10 +01:00
Igor Pečovnik
fc9c312f79
Bump Meson64 current to 5.10.y (#2544) 2021-01-14 01:36:40 +01:00
Igor Pecovnik
c7cc1825cd Update wifi related patches and (temprally) disable 8188EU since it breaks K5.10.y 2020-12-28 21:52:45 +01:00
JMCC
14123a2cc3 Fix meson-gxm cpu scheduling (patch will eventually be added to upstream mainline) 2020-11-28 14:58:10 +00:00
Igor Pečovnik
a08539790d
Remove broken part from patches (#2347)
* Remove broken part from patches
2020-11-14 20:49:32 +01:00
Igor Pečovnik
f2756e3b59
Add Odroid HC4 to mainline kernel (#2319)
* Add Odroid HC4 to mainline kernel

- remove legacy target
- add reset / power off support
- change HC4 from .wip -> .conf
- adjust patches

* Enable HC4 legacy kernel too.

* Add groovy target for HC4

* Adjust targets
2020-11-08 12:13:22 +01:00
Igor Pecovnik
343facaa92 Move Meson64 to 5.9.y
HDMI audio works on C4 and N2, tested desktop builds
2020-11-05 21:10:13 +01:00
iav
97461b82f6
support meson-g12 watchdog (#2295) 2020-11-01 17:42:45 +00:00
iav
28ad4ae391
ODroid-N2 enable RTC clock (#2275) 2020-10-24 20:00:44 +02:00
Igor Pecovnik
f52dca6351 Add Audio support for N2 & C4
Ported from 5.9.y - untested
2020-10-17 13:15:09 +02:00
Igor Pecovnik
159f913038 Bugfix - remove deprecated part of wifi 5.8.y patches 2020-10-04 09:29:18 +02:00
Igor Pecovnik
f13d438723 Remove not needed patch added by mistake 2020-09-18 14:52:20 +02:00
Igor Pecovnik
9558436d01 Update wireless patches which broke after bumping to 5.8.10 2020-09-18 14:11:40 +02:00
Igor Pečovnik
02f45fe18a
Add missing wifi patches (#2188) 2020-09-06 16:34:48 +02:00
Igor Pecovnik
e6fa811d6f Moving Meson64 to 5.8.y
Tested once again on N2/N2+
Note: disabled mesond_vdec module in kernel config since it crashes complete video system when loaded. Need to be added back once stable - or perhaps we need to adjust some parameters?
2020-09-01 19:50:09 +02:00
Uli Middelberg
c256679b5c
ODROIDN2 disable eth0 reset line in dts (#2166) 2020-08-28 23:29:24 +02:00
Igor Pečovnik
6c26c35344
Add initial support for Odroid N2+ (#2130)
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2020-08-08 17:20:00 +02:00
tonymac32
26c685e973 [ meson64 ] rename P212 sound card, fix permissions 2020-07-20 01:27:09 -04:00
tonymac32
0d12c035fd [ meson64 ] enable Analog Codec Libretech-cc 2020-07-20 01:02:44 -04:00
tonymac32
9372fcdedf [ meson64 ] fix previous commit with actual patch 2020-07-19 01:50:04 -04:00
tonymac32
74bfb6102b [ meson64 ] revert mainline ASoC playback/capture patch
This fixes sound on C2, and should allow fixing of any other boards that are not yet addressed.
2020-07-19 01:42:16 -04:00
tonymac32
cf05d2dada [ Meson64 ] more cleaning 5.7
5.7.9 fixed the mmc block hack, patch removed.  Audio stuff organized a bit more, redundant things removed
2020-07-18 16:34:48 -04:00
tonymac32
4600fac23b [ meson64 ] more patches cleaned 2020-07-06 02:15:16 -04:00
tonymac32
7b61b53cd0 [ meson64 ] further cleaning
For some reason these patches are getting applied despite already being in the 5.7 kernel with no complaints from the scripts.
There are more, but it's slow going file by file.
2020-07-06 01:33:55 -04:00
tonymac32
ae4f41b837 [ meson64 ] 3rd round cleanup, 1st round sound patches
No sound yet, but dts's straightened out.
2020-07-05 11:52:00 -04:00
tonymac32
fe5c722fd5 [ meson64 ] patch organization round 2 2020-07-04 14:20:39 -04:00
tonymac32
6b135de727 [ meson64 ] patch cleanup step 1 before fixes 2020-07-04 13:35:11 -04:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
Igor Pečovnik
99afbdfe7e
Bump meson64 current to 5.7.y (#2069)
* Bump meson64 current to 5.7.y
* Add config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-26 15:53:20 +02:00
Igor Pečovnik
99f6bef7de
Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. (#1956)
* Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point.

There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now.

* Delete meson64_fclk_div3.patch

this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there.

* [ meson64 current ] kconfig tweak

disable Rockchip SoC drivers

* [ meson64 current ] remove rockchip patches

* [ meson64 current ] disable CMA patch GX

* [ meson64 current] add libretech cc audio patch

This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes.  The kernel is registering audio devices, however nothing comes out.  committed in case someone wants to spend time debugging/testing theories.

* fix permissions

was editing from another machine, accidental change of permissions in the patch

* Set default mixer settings

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* [ meson64 current ] GXL audio commit

This moves to the mainline patches and covers le potato and la frite.  Adjusted asound config to handle a commonized sound card name.

* [ meson64 current ] add gxbb audio WIP

Playback is too fast, a clock setting is off somewhere.

* Update kernel configs

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

Co-authored-by: Tony <tonymckahan@gmail.com>
2020-05-22 00:17:08 +02:00
Igor Pečovnik
8f6419edd6
Disabling GPIO reset to fix broken ethernet on Odroid C4 (#1950) 2020-05-07 17:05:12 +02:00
Igor Pecovnik
bba8a86238
Meson64 - patch adjustements
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-27 18:33:19 +02:00
Neil Armstrong
07447294c7
Add support for Odroid c4 (#1923)
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* patch: add Linux and U-Boot patches

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* configs: enable Odroid-C4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-04-27 18:03:48 +02:00
Igor Pečovnik
9f0976a315
Fix ethernet detection for Nanopi K2 (#1912) 2020-04-25 21:25:28 +02:00
Igor Pecovnik
533222dde7 [ meson64 ] Remove deprecated patches 2020-04-24 17:18:45 +02:00
tonymac32
ebca3ebc95 [ meson64-current ] more cleaning of patches 2020-02-29 22:52:45 -05:00
tonymac32
1570c262f1 [ Meson64-current ] General patch cleanup Round 1 2020-02-27 01:03:30 -05:00
tonymac32
ed3706e2df [ meson64-current ] fixes 2020-02-26 00:53:24 -05:00
tonymac32
a36def322c [ meson64-current ] NanoPi-K2 Audio 2020-02-25 22:51:14 -05:00
tonymac32
f3e4d64504 [ meson64-current ] remove 896MB DMA pool patch
This was most likely responsible for the memory issues reported on Le Potato/etc.
2020-02-25 21:36:24 -05:00
tonymac32
abb9cc834a [ meson64-current ] clean disabled patch
Clock is already defined as critical in current kernel.
2020-02-25 01:54:15 -05:00
tonymac32
0d7ae3543f [ meson64-current ] Move Odroid-C2 to new audio driver 2020-02-25 01:45:33 -05:00
Tony
7fa5958a69
Merge pull request #1810 from lanefu/lepotato-fix-to-master
port lepotato fixes from v20.02 to master
2020-02-25 00:14:07 -05:00
tonymac32
e674e333a1 [ meson64-current ] clean patches
Patches removed have been implemented in the kernel upstream.
2020-02-25 00:11:51 -05:00
Lane Jennison
7eea3a379e port lepotato fixes from v20.02 to master 2020-02-23 20:52:37 -05:00
Igor Pecovnik
5d00834a47
Cleanup, add XU4 current upstream patch, remove deprecated patch 2020-02-14 21:04:01 +01:00
Igor Pečovnik
cc7ab6a6b1
Move meson64 to mainline + patches (#1748)
* Attach Meson64 to mainline with a bunch of patches. Tested, but need further work.
* Enable DVFS on N2 which sometimes works, sometime doesn't, cleanup
* Enable beta targets for Meson64 kernel family
* Bump with version
2020-01-18 19:05:55 +01:00
Igor Pecovnik
1e0e901ea0
Add upstream patches, need proper testing. 2020-01-16 13:26:38 +01:00