Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
79fccce
net: phytium: Add support for phytium GMAC
wangzhimin1179 May 27, 2024
1cd99e0
net: ethernet: phytium: fix phytmac_platform on 6.9
MingcongBai Jun 28, 2024
769e27c
net: ethernet: fix phytmac on 6.9
MingcongBai Jun 28, 2024
3fa3151
net: ethernet: phytium: add a missing declaration for *np
MingcongBai Jun 28, 2024
04ed816
net: phytium: convert and remove validate() references
opsiff Jul 3, 2024
58396de
net: ethernet: phytmac: Convert to platform remove callback returning…
opsiff Nov 13, 2024
bb2dcba
net: phytmac_ethtool: Add struct kernel_ethtool_ts_info
opsiff Nov 13, 2024
8d46b65
defconfig: enable phytmac for deepin_arm64_desktop_defconfig
opsiff Jun 19, 2024
559d552
scripts: adapt to UOS/deepin scripting
matrix-wsk Jan 12, 2024
a7c24b4
net/phytmac: fix build error
opsiff Dec 18, 2025
9f44745
eth: phytmac: phytmac_plat_probe: initialize variable 'ret' when !pda…
Nov 28, 2024
a004f28
eth: phytmac: phytmac_ioctl: Return -EOPNOTSUPP by default
Nov 28, 2024
37986b8
arch: loongarch: configs: disable DRM_LOONGSON by default
MingcongBai Jun 21, 2024
fbbca30
arch: x86: configs: enable DRM_ACCEL_IVPU, EDAC_IEH
MingcongBai Jun 24, 2024
48835c6
drivers/perf: phytium: Support for Phytium Soc DDR controller PMU
lyt31 May 20, 2024
3491794
perf: phytium: fix phytium_ddr_pmu.c on 6.9
MingcongBai Jun 28, 2024
d8bbe67
perf: phytium_ddr_pmu: Convert to platform remove callback returning …
opsiff Nov 13, 2024
595f640
drivers/perf: phytium: Support for Phytium Soc PCIe controller PMU
lyt31 May 20, 2024
08d1c3c
perf: phytium: fix phytium_pcie_pmu.c on 6.9
MingcongBai Jul 1, 2024
2e4c849
perf: phytium_pcie_pmu: Convert to platform remove callback returning…
opsiff Nov 13, 2024
4dc25e6
dt-bindings: Add bindings for Phytium USBHS-DRD controller
chenbaozi-ft Jul 14, 2023
098f69f
usb: phytium: Add support for Phytium USB controller
Jul 14, 2023
b2758b5
usb: phytium: fix build on 6.9
MingcongBai Jun 28, 2024
dddc749
usb: phytium: platform: Convert to platform remove callback returning…
opsiff Nov 13, 2024
523c9d2
usb: phytium: Fix wrong assign logic in hostErrorIrq
Nov 28, 2024
4accefb
ata: libata: disabling PhyRdy Change Interrupt based on actual LPM ca…
leoliu-oc Jun 13, 2024
38ddbfb
x86/tsc: Make cur->adjusted values in package#1 to be the same
leoliu-oc Nov 30, 2023
ddbb71c
irqchip/gic-phytium-2500: Add support for GIC of Phytium PS20064
lyt31 May 20, 2024
a58b711
irqchip: drop duplicate __maybe_unused gic_read_iar() in irq-gic-phyt…
MingcongBai Jun 28, 2024
2e13ad3
irqchip: replace strtobool() with kstrbool() in irq-gic-phytium-2500.c
MingcongBai Jun 28, 2024
81e382b
irqchip/gic-phytium-2500: Remove sync_access callback and make distri…
opsiff Nov 13, 2024
6067781
irqchip: adapt irq-gic-phytium-2500-its.c to >= 6.7
MingcongBai Jun 28, 2024
b7184ba
irqchip: adapt irq-gic-phytium-2500-its.c to >= 6.17
opsiff Dec 19, 2025
b6d0f33
irqchip/irq-gic-v3-its: Enable nonboot CPUs LPIS when resume from S3
lyt31 May 20, 2024
9e1c543
irqchip: adapt irq-gic-phytium-2500.c to >= 6.12
opsiff Dec 19, 2025
b59ced9
dt-bindings: phytium-sgpio: Add bindings for Phytium SGPIO
hhhui-L May 16, 2024
ebaa713
gpio: gpio-phytium-sgpio: Add Phytium SGPIO driver
hhhui-L May 16, 2024
11e32d7
gpio: gpio-phytium-sgpio: Adapt to >= 6.17
opsiff Dec 19, 2025
42bef50
sgpio: phytium: Add ACPI support for SGPIO driver
hhhui-L May 16, 2024
eceb628
chore: fix package-kernel-amd64-daily upload deb
opsiff Jun 26, 2024
64c6f3f
iommu/arm-smmu-v3: Add suspend and resume support
Feb 28, 2024
95cb634
arm64:phytnetled: phytium: Add link/act led driver for 10G mac
Jun 27, 2024
81040d5
char: fix phytnetled on 6.9
MingcongBai Jul 1, 2024
fce5592
char: phytnet_led: Convert to platform remove callback returning void
opsiff Nov 13, 2024
5e01cd2
dt-bindings: phytnet_led: Add bindings for Phytium MAC led
Jul 1, 2024
c03303a
i2s: phytium: Add Phytium i2s driver support
May 21, 2024
6d3e1b6
i2s: phytium: Adapt to v6.18
opsiff Dec 19, 2025
383d6c3
AOSCOS: kvm: disable enable_virt_at_load by default
MingcongBai Jan 12, 2025
ce51728
fix: device 0x15d8 don't use AMD_DPM_FORCED_LEVEL_* except AMD_DPM_FO…
hongaoo Jun 7, 2023
f62dff9
DRM: Phytium display DRM doc
ls1156563722 Jun 27, 2024
5104ee1
arm64: defconfig: add support for fbdev and fb console for tty
opsiff Jul 4, 2024
e4a19ed
hda: phytium: Add Phytium hda driver support
May 17, 2024
a6ad663
hda: Implement a bit field in cmd_resend
Jul 7, 2024
e0c98a1
arm64: Update deepin_arm64_desktop_defconfig
Jul 7, 2024
b05e9df
Add support for Zhaoxin HW Random Number Generator
leoliu-oc Jun 12, 2024
9089422
iommu/vt-d: Add support for detecting ACPI namespace device in RMRR
leoliu-oc Jul 3, 2024
f0636c9
iommu: intel: rename device_to_iommu() => device_lookup_iommu()
MingcongBai Jul 8, 2024
0368f7e
ata: ahci: Add support for AHCI SGPIO Enclosure Management
leoliu-oc Jul 4, 2024
3b17d55
ata: ahci: zhaoxin: sgpio: adapt to >= 6.17
opsiff Dec 19, 2025
2b6c457
i2c: smbus: Add support for Zhaoxin SMBUS controller
leoliu-oc Jul 4, 2024
ed9825f
i2c: i2c-zhaoxin-smbus: convert to the .remove (void) callback
MingcongBai Nov 13, 2024
9538d37
Turning off Zhaoxin ahci controller runtime pm from sysfs
leoliu-oc Jul 3, 2024
4141851
apei: ghes: Modify the GHES severity of mem error in ghes_do_proc
leoliu-oc Jul 10, 2024
e9ee6b4
x86/mce/zhaoxin: Enable mcelog to decode PCIE, ZDI/ZPI, and DRAM errors
leoliu-oc Jul 10, 2024
eaeae24
x86/mce/zhaoxin: adapt for v6.18
opsiff Dec 19, 2025
9edbd5a
efi: cper: Add Zhaoxin/Centaur ZDI/ZPI error decode
leoliu-oc Jul 4, 2024
67bc171
net: stmmac: dwmac-phytium: compat some FT2000
opsiff Jul 9, 2024
6bb5880
dt-bindings: i3c: cdns: Add compatible string for Phytium SoCs
May 15, 2024
84a0d6b
arm64: i3c: cdns: add support for Phytium workaround
May 15, 2024
f2c79b0
arm64: i3c: cdns: phytium: Add GETMXDS format 1 retransmission
May 15, 2024
871321c
arm64: i3c: cdns: phytium: Fix DAA fail at high frequency
May 15, 2024
adb0629
dt-bindings: Add bindings for Phytium I3C controller
May 15, 2024
0eac5d3
arm64:i3c: phytium: Add support for Phytium i3c controller
May 15, 2024
048dd69
arm64:i3c: phytium: adapt for v6.18
opsiff Dec 19, 2025
9c60ee0
arm64: i3c: phytium: Add ACPI support for i3c driver
May 15, 2024
9f02252
arm64:i3c: phytium: ACPI: adapt for v6.18
opsiff Dec 19, 2025
8c77f8d
i3c: phytium: initialize variable 'ret' when !master->prescl0
Nov 24, 2024
cb0f8b1
arm64: i3c: phytium: Add support for S3/S4 mode
May 15, 2024
2476177
arm64:i3c:phytium: Restricting the use of driver on the phytium platf…
Jun 27, 2024
32ad73e
drm: amdgpu: radeon: disable cache flush workaround for LoongArch and…
MingcongBai Jul 16, 2024
1726710
LoongArch: Update the flush cache policy
GT119119 May 7, 2024
7270262
arch: x86: configs: enable all Zhaoxin features
MingcongBai Jul 18, 2024
06eb600
arch: arm64: configs: enable all Phytium features
MingcongBai Jul 18, 2024
daf8a9f
arch: x86: configs: declare CONFIG_HW_RANDOM_ZHAOXIN as M
MingcongBai Jul 22, 2024
2330f29
dt-bindings: macb: Add bindings for Phytium gem1.0 and gem 2.0
Mar 25, 2024
b707f4a
hwmon: zhaoxin-rng: remove log when CPU mismatch
leoliu-oc Jul 22, 2024
ba9b11e
iommu/dma: Fix not fully traversing iova reservations issue
leoliu-oc Jul 16, 2024
44bc1c7
arch: x86: enable Zhaoxin KX7000 pinctrl and GPIO support
MingcongBai Jul 24, 2024
c25e835
arch: arm64: loongarch: x86: clean up release-bound kernel configs (#…
MingcongBai Jul 25, 2024
d3c0b26
arch: loongarch: enable KVM in deepin_loongarch_desktop_defconfig
MingcongBai Jul 25, 2024
935d1ed
spi: phytium: fix 'Disabling IRQ #18'
Wenlp Aug 26, 2022
194b1e2
LoongArch: fix HT RX INT TRANS register not initialized
Jul 25, 2024
148368c
arch: loongarch: configs: make crc32_loongarch as builtin
opsiff Jul 25, 2024
8d440a2
config: deepin_arm64_desktop_defconfig: disable ARM_PSCI_CHECKER && A…
opsiff Jul 31, 2024
97f47d8
deepin: arm64: acpi: hisi: Revert disallow AML memory opregions to ac…
opsiff Sep 6, 2024
32dca77
deepin: arm64: acpi: hisi: mm/ioremap: pass pgprot_t to ioremap_prot(…
opsiff Dec 25, 2025
f973151
deepin: ACPI: CPPC: skip CPPC v2 check for hisi
opsiff Sep 6, 2024
160e88d
arch: loongarch: configs: disable USB_ONBOARD_HUB
opsiff Oct 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/package-kernel-amd64-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
# .config
make deepin_x86_desktop_defconfig
make bindeb-pkg -j$(nproc)
mv ../*.deb .

- name: 'Upload Kernel Artifact'
uses: actions/upload-artifact@v3
with:
name: kernel-amd64-deb
path: "../*.deb"
path: "*.deb"
67 changes: 67 additions & 0 deletions Documentation/devicetree/bindings/gpio/phytium,sgpio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/gpio/phytium,sgpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium SGPIO controller

description: |
This SGPIO controller is for Phytium Pe220x SoCs, which supports up to
96 (32x3) Serial GPIOs.

maintainers:
- Chen Baozi <[email protected]>

properties:
compatible:
const: phytium,sgpio

reg:
maxItems: 1
description: Address and length of the register set for the device.

gpio-controller: true

'#gpio-cells':
const: 2
description: |
The first cell is the pin number and the second cell is used to specify
the gpio polarity.
0 = active high
1 = active low

interrupts:
maxItems: 1

ngpios: true

bus-frequency: true

clocks:
maxItems: 1

additionalProperties: false

required:
- compatible
- reg
- gpio-controller
- '#gpio-cells'
- interrupts
- ngpios
- clocks
- bus-frequency

examples:
- |
sgpio: sgpio@2807d000 {
compatible = "phytium,sgpio";
reg = <0x0 0x2807d000 0x0 0x1000>;
interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&sysclk_48mhz>;
ngpios = <96>;
bus-frequency = <48000>;
gpio-controller;
#gpio-cells = <2>;
};
35 changes: 35 additions & 0 deletions Documentation/devicetree/bindings/gpu/phytium,dc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/phytium,dc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium Display Controller

maintainers:
- Dai Jingtao <[email protected]>

properties:
compatible:
enum:
- phytium,dc

reg:
items:
- description: DC registers

interrupts:
maxItems: 1

required:
- compatible
- reg
- interrupts

examples:
- |
dc@32000000 {
compatible = "phytium,dc";
reg = <0x0 0x32000000 0x0 0x8000>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
};
4 changes: 3 additions & 1 deletion Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ allOf:
properties:
compatible:
oneOf:
- const: cdns,i3c-master
- enum:
- cdns,i3c-master
- phytium,cdns-i3c-master
- items:
- enum:
- axiado,ax3000-i3c
Expand Down
35 changes: 35 additions & 0 deletions Documentation/devicetree/bindings/i3c/phytium,i3c-master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

* Phytium I3C controller

This I3C controller is for Phytium Soc.

Required properties:
- compatible: Shall be "phytium,cdns-i3c-master"
- clocks: Shall reference the pclk and sysclk
- clock-names: Shall contain "pclk" and "sysclk"
- interrupts: The interrupt line connected to this I3C master
- reg: I3C master registers
- #address-cells: Shall be set to 1
- #size-cells: Shall be set to 0
- i2c-scl-hz: I2C CLK frequency
- i3c-scl-hz: I3C CLK frequency

Example:

i3c-master@28045000 {
compatible = "phytium,cdns-i3c-master";
reg = <0x0 0x28045000 0x0 0x1000>;
interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&coreclock>, <&i3csysclock>;
clock-names = "pclk", "sysclk";
#address-cells = <1>;
#size-cells = <0>;
i2c-scl-hz = <400000>;
i3c-scl-hz = <1000000>;

nunchuk: nunchuk@52 {
compatible = "nintendo,nunchuk";
reg = <0x52 0x0 0x10>;
};
};
46 changes: 46 additions & 0 deletions Documentation/devicetree/bindings/leds/phytnet_led.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/phytnet_led.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium mac led controller

maintainers:
- LongShixiang <[email protected]>

description:
This modules is used to control mac led.

properties:
compatible:
const: phytium,net_led
net_dev:
maxItems: 1
description: Phandler of specified Net device
led-gpios:
minItems: 1
maxItems: 2
description: |-
the gpios used for led control based on net_dev condition.
One represents LINK condition, another represents ACT condition.

required:
- compatible
- net_dev
- led-gpios

examples:
- |
gpiochip0: gpop_controller{
...
}
eth0: ethernet{
...
}
phytium_net_led0 {
compatible = "phytium,net_led";
net_dev = <&eth1>;
led-gpios = <&gpiochip0 9 GPIO_ACTIVE_HIGH>, /* link */
<&gpiochip0 11 GPIO_ACTIVE_HIGH>; /* act */
};
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/net/cdns,macb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ properties:
- cdns,emac # Generic
- cdns,gem # Generic
- cdns,macb # Generic
- cdns,phytium-gem-1.0 # GEM version 1.0 on Phytium SoCs
- cdns,phytium-gem-2.0 # GEM version 2.0 on Phytium SoCs

- items:
- enum:
Expand Down
41 changes: 41 additions & 0 deletions Documentation/devicetree/bindings/usb/phytium,usb2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/phytium,usb2.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium USBHS-DRD controller bindings

maintainers:
- Chen Baozi <[email protected]>

properties:
compatible:
const: phytium,usb2

reg:
items:
- description: USB controller registers
- description: PHY registers

interrupts:
maxItems: 1

dr_mode:
enum: [host, otg, peripheral]

required:
- compatible
- reg
- interrupts

additionalProperties: false

examples:
- |
usb2_0: usb2@31800000 {
compatible = "phytium,usb2";
reg = <0x0 0x31800000 0x0 0x80000>,
<0x0 0x31990000 0x0 0x10000>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
};
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1245,11 +1245,8 @@ vmlinux: vmlinux.o $(KBUILD_LDS) modpost
# make sure no implicit rule kicks in
$(sort $(KBUILD_LDS) $(KBUILD_VMLINUX_OBJS) $(KBUILD_VMLINUX_LIBS)): . ;

ifeq ($(origin KERNELRELEASE),file)
filechk_kernel.release = $(srctree)/scripts/setlocalversion $(srctree)
else
filechk_kernel.release = echo $(KERNELRELEASE)
endif
filechk_kernel.release = \
echo "$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"

# Store (new) KERNELRELEASE string in include/config/kernel.release
include/config/kernel.release: FORCE
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/Kconfig.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ config ARCH_PENSANDO

config ARCH_PHYTIUM
bool "Phytium SoC Family"
select ARM_GIC_PHYTIUM_2500
help
This enables support for Phytium ARMv8 SoC family, including:
- Phytium Server SoC Family
Expand Down
Loading