Hi, I would like to add initial support for (various) Quartz64 devices from Pine64 to the Debian kernel. I've made a patch for it (attached).
Before submitting a MR to the Debian kernel repo, you need to verify whether the change actually achieves what you want to achieve and you'd do that by building a kernel with the patch and test that out on the actual device. But I don't have a Quartz64 device, so I can't do that myself. So I'm looking for people who do have such a device and are willing to help me by testing it on an actual Quartz64 device. Cheers, Diederik
>From af034db5cee66c141446ee52d8cce00092b0779d Mon Sep 17 00:00:00 2001 From: Diederik de Haas <didi.deb...@cknow.org> Date: Sun, 21 Nov 2021 15:47:46 +0100 Subject: [PATCH] Add initial support for Pine64's Quartz64 devices https://wiki.pine64.org/wiki/Quartz64_Development gives a very good overview of components needed by Quartz64 devices and their upstreaming status. In kernel 5.19 most remaining components became part of the upstream kernel and with 6.0 the corresponding Device Tree parts were included in Linus' tree. Many of these components are shared between Model A, Model B, SOQuartz and the PineNote, so all these devices will be supported. ROCKCHIP_VOP2 is the Visual Output Processor (VOP) of newer Rockchip SoCs. The MMC_SDHCI_OF_DWCMSHC is needed for eMMC support. The MOTORCOMM_PHY is needed for GbE functionality. According to the driver maintainer it needs to be y instead of m to stop the generic PHY driver from being loaded before the motorcomm one, as the motorcomm chip has a zeroed out vendor ID. Therefor make the driver built-in. The PCIE_ROCKCHIP_DW_HOST is for PCIe controller support in Rockchip RK356X SoC's. PHY_ROCKCHIP_NANENG_COMBO_PHY is needed for Combo PHY support using the NaNeng IP block. This phy can be used as pcie-phy, usb3-phy, sata-phy or sgmii-phy and is used for PCIe/SATA/USB3. The SND_SOC_RK817 is for Analog audio and SOC_ROCKCHIP_I2S_TDM is too for now, but it will get HDMI audio functionality in the future. --- debian/changelog | 14 ++++++++++++++ debian/config/arm64/config | 7 +++++++ 2 files changed, 21 insertions(+) diff --git a/debian/changelog b/debian/changelog index a7d304fc9f..cf98874ddd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,17 @@ +linux (6.0-1~exp2) UNRELEASED; urgency=medium + + [ Diederik de Haas ] + * [arm64] drivers/gpu/drm/rockchip: Enable ROCKCHIP_VOP2 + * [arm64] drivers/mmc/host: Enable MMC_SDHCI_OF_DWCMSHC as module + * [arm64] drivers/net/phy: Enable MOTORCOMM_PHY + * [arm64] drivers/pci/controller/dwc: Enable PCIE_ROCKCHIP_DW_HOST + * [arm64] drivers/phy/rockchip: Enable PHY_ROCKCHIP_NANENG_COMBO_PHY as + module + * [arm64] sound/soc/codecs: Enable SND_SOC_RK817 as module + * [arm64] sound/soc/rockchip: Enable SND_SOC_ROCKCHIP_I2S_TDM as module + + -- Salvatore Bonaccorso <car...@debian.org> Mon, 10 Oct 2022 14:11:55 +0200 + linux (6.0-1~exp1) experimental; urgency=medium * New upstream release: https://kernelnewbies.org/Linux_6.0 diff --git a/debian/config/arm64/config b/debian/config/arm64/config index a09c8f13ab..d7fe9037bd 100644 --- a/debian/config/arm64/config +++ b/debian/config/arm64/config @@ -484,6 +484,7 @@ CONFIG_DRM_PANFROST=m ## CONFIG_DRM_ROCKCHIP=m CONFIG_ROCKCHIP_VOP=y +CONFIG_ROCKCHIP_VOP2=y CONFIG_ROCKCHIP_ANALOGIX_DP=y CONFIG_ROCKCHIP_CDN_DP=y CONFIG_ROCKCHIP_DW_HDMI=y @@ -785,6 +786,7 @@ CONFIG_MMC_SDHCI_ACPI=m CONFIG_MMC_SDHCI_PLTFM=m CONFIG_MMC_SDHCI_OF_ARASAN=m CONFIG_MMC_SDHCI_OF_ESDHC=m +CONFIG_MMC_SDHCI_OF_DWCMSHC=m CONFIG_MMC_SDHCI_ESDHC_IMX=m CONFIG_MMC_SDHCI_TEGRA=m CONFIG_MMC_SDHCI_F_SDH30=m @@ -1041,6 +1043,7 @@ CONFIG_BCM54140_PHY=m CONFIG_MARVELL_PHY=m CONFIG_MARVELL_10G_PHY=m CONFIG_MICROSEMI_PHY=m +CONFIG_MOTORCOMM_PHY=y CONFIG_AT803X_PHY=m ## @@ -1133,6 +1136,7 @@ CONFIG_PCI_LAYERSCAPE=y CONFIG_PCI_HISI=y CONFIG_PCIE_QCOM=y CONFIG_PCIE_ARMADA_8K=y +CONFIG_PCIE_ROCKCHIP_DW_HOST=y CONFIG_PCIE_KIRIN=y ## @@ -1220,6 +1224,7 @@ CONFIG_PHY_ROCKCHIP_DPHY_RX0=m CONFIG_PHY_ROCKCHIP_EMMC=m CONFIG_PHY_ROCKCHIP_INNO_HDMI=m CONFIG_PHY_ROCKCHIP_INNO_USB2=m +CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=m CONFIG_PHY_ROCKCHIP_PCIE=m CONFIG_PHY_ROCKCHIP_TYPEC=m CONFIG_PHY_ROCKCHIP_USB=m @@ -1784,6 +1789,7 @@ CONFIG_SND_BCM2835_SOC_I2S=m CONFIG_SND_SOC_ES8316=m CONFIG_SND_SOC_GTM601=m CONFIG_SND_SOC_RK3328=m +CONFIG_SND_SOC_RK817=m CONFIG_SND_SOC_SGTL5000=m CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m CONFIG_SND_SOC_SPDIF=m @@ -1829,6 +1835,7 @@ CONFIG_SND_SOC_APQ8016_SBC=m ## CONFIG_SND_SOC_ROCKCHIP=m CONFIG_SND_SOC_ROCKCHIP_I2S=m +CONFIG_SND_SOC_ROCKCHIP_I2S_TDM=m CONFIG_SND_SOC_ROCKCHIP_PDM=m CONFIG_SND_SOC_ROCKCHIP_SPDIF=m CONFIG_SND_SOC_ROCKCHIP_RT5645=m -- 2.35.1
signature.asc
Description: This is a digitally signed message part.