Commit Graph

17 Commits

Author SHA1 Message Date
Ricardo Pardini
1c9030c73c meson64 edge 6.2: rebase v6.2.16, drop Makefile patches, archeology, mbox'ing
- drop empty doc patch add-board-bananapi-cm4-cm4io.patch
2023-06-13 12:33:47 +02:00
Patrick Yavitz
e5b6fbe573 BPI-CM4: BT: changed enable-gpios from GPIOX_17 to GPIOX_19
As discussed here: https://github.com/armbian/build/pull/5273
REVERTS: e2171ca737

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-02 19:38:14 +02:00
Patrick Yavitz
e2171ca737 BPI-CM4 IO: Use the sdio-pwrseq to reset GPIOX_19
This will reset bluetooth `host-wake-gpios`, enabling it to come back upon reboots.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-01 11:30:10 +02:00
Patrick Yavitz
eafd8bd49a DRIVER POWER MESON64 RESET: maintenance
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-01 06:32:23 +02:00
Patrick Yavitz
bb48f6080c Improve Meson64 Support
BPI-CM4:
In accordance with the BSP DTS, set LED gpio to GPIO_ACTIVE_LOW.
Added default-on trigger to led-green
Board now powers off, added reboot node 'meson64-reboot'.

CONFIG_POWER_RESET_MESON64
Isolated RESET ODROID driver and renamed to MESON64 as it can be used in more than ODROIDS.

MESON UART
Series improves support for UART attached Bluetooth modules on Amlogic Meson G12A and newer SoCs. These SoCs also support the "divide XTAL by 2" bit which (greatly) reduces jitter when generating baud rates such as 1500000 (which is used by the Bluetooth part of the RTL8822CS SDIO WiFi and UART Bluetooth combo chip).

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-01 06:32:23 +02:00
Ricardo Pardini
09e82fe25e meson64-edge (6.2.y): rebase & update .config to 6.2.16 (EOL); pick chewitt (add t95z+fixes); rework SPI-NOR dtbs
- `meson64`-`edge` (6.2.y): drop old/unused/pre-armbian-next builddeb patch that was leftover
- `meson64`-`edge` (6.2.y): pick & squash from chewitt's tree; new t95z board and its tm1628 driver, fixes for odroidc2, vim3, gxl/gxm SDIO
- `meson64`-`edge` (6.2.y): reword the `-spi` extra DTBs for the N2(+) into more generic for g12; add VIM3/VIM3L which also have same SPI NOR scheme
- `meson64`-`edge` (6.2.y): update .config to 6.2.16; enable `CONFIG_TM1628`
- `meson64`-`edge` (6.2.y): rebase to 6.2.16 after picking chewitt
2023-05-21 14:01:11 +02:00
Ricardo Pardini
58f46aa5ed
meson64: edge: 6.2: fixes & rebase & naming convention, after #4941 (#4942)
* meson64: edge: drop upstreamed patches (odroidhc4 cooling map + radxa zero otg fix)

* meson64: edge: v6.2.y: adapt Neil's new BPI-CM4 patches to Armbian naming non-convention (for ordering)

* meson64: edge: v6.2.y: fix patches sensitive to patching order (amlogic.yaml, DT Makefile)

* meson64: edge: rebase against v6.2.5, no actual changes
2023-03-13 23:21:20 +01:00
Neil Armstrong
7fea781425 Add support for BPI-CM4 with BPI-CM4IO
Add support for both the BananaPi BPI-CM4 module and the BananaPi
baseboard which is compatible with the RaspberryPi CM4IO baseboard.

The BananaPi BPI-CM4 module follows the CM4 specifications at [1],
but with a single HDMI port and a single DSI output.

The current CM4IO baseboard DT should work fine on the Raspberry CM4
baseboard and other derivatives baseboards, but proper DT should
be written for other baseboards.

The DT is imported from the submission done at [2] and applied
at [3], the u-boot support was submitted at [4].

[1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
[2] https://lore.kernel.org/all/20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76fc4d@linaro.org/
[3] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0
[4] https://lore.kernel.org/all/20230307-u-boot-cm4-v1-0-43f5a393cd37@linaro.org/

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-03-13 13:55:15 -03:00
Ricardo Pardini
755479f407 meson64: edge: rebase patches onto v6.2.1; fix mbox for recently added patch (no actual changes) 2023-02-28 18:54:28 -03:00
Vyacheslav
f0af468abf
Update meson64 edge branch to linux-6.2.y (#4876)
Reallign patches
2023-02-28 09:57:01 +01:00
Ash Hughes
2b896d72fb
meson64: current + edge: bring back fixed version of odroid-reboot driver (Fix reboot on odroid C4 when using UHS-II SD cards) [cherry pick] 2023-02-18 07:46:38 -03:00
Ricardo Pardini
0f9e3f7578
meson64: edge/6.2: arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip 2023-02-18 07:46:31 -03:00
Ricardo Pardini
64f9cf9b46
meson64: edge/6.2: rebase onto v6.2-rc5 2023-02-18 07:46:21 -03:00
Ricardo Pardini
ca0fa01ea9
meson64: edge/6.2: spi-nor: add support for XT25Q64 in addition to XT25F128B 2023-02-18 07:46:19 -03:00
Viacheslav Bocharov
61ee32eed5
Add SDIO irq patch to fix irq lost in new SDIO irq code (kernel 6.0+) 2023-01-26 18:16:30 +03:00
Ricardo Pardini
0ea5a3547b meson64: edge: bump to 6.2 - rebased patches against tag v6.2-rc3
- usual conflict resolution (Makefiles, mostly)
2023-01-10 00:31:41 +01:00
Ricardo Pardini
80dffbc761 meson64: edge: bump to 6.2 - copy patches as-is from 6.1 2023-01-10 00:31:35 +01:00