Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c5d857b
dt-bindings: dpll: Add DPLL device and pin
PlaidCat Dec 11, 2025
76365d5
dt-bindings: dpll: Add support for Microchip Azurite chip family
PlaidCat Dec 11, 2025
814d030
spi: Introduce spi_get_device_match_data() helper
PlaidCat Dec 11, 2025
821e774
dpll: Add basic Microchip ZL3073x support
PlaidCat Dec 11, 2025
e100fda
dpll: zl3073x: Fetch invariants during probe
PlaidCat Dec 11, 2025
b96a5e6
dpll: zl3073x: Read DPLL types and pin properties from system firmware
PlaidCat Dec 11, 2025
d8559e6
dpll: zl3073x: Register DPLL devices and pins
PlaidCat Dec 11, 2025
7c69ac2
dpll: zl3073x: Implement input pin selection in manual mode
PlaidCat Dec 11, 2025
53024b8
dpll: zl3073x: Add support to get/set priority on input pins
PlaidCat Dec 11, 2025
d8c39ec
dpll: zl3073x: Implement input pin state setting in automatic mode
PlaidCat Dec 11, 2025
b2c92c2
dpll: zl3073x: Add support to get/set frequency on pins
PlaidCat Dec 11, 2025
6b17d7c
dpll: zl3073x: Add support to get/set esync on pins
PlaidCat Dec 11, 2025
9ffb223
dpll: zl3073x: Add support to get phase offset on connected input pin
PlaidCat Dec 11, 2025
568245f
dpll: zl3073x: Implement phase offset monitor feature
PlaidCat Dec 11, 2025
92102dd
dpll: zl3073x: Add support to adjust phase
PlaidCat Dec 11, 2025
da72d72
dpll: zl3073x: Add support to get fractional frequency offset
PlaidCat Dec 11, 2025
ebfcf22
dpll: zl3073x: Fix build failure
PlaidCat Dec 11, 2025
449bbd4
dpll: Make ZL3073X invisible
PlaidCat Dec 11, 2025
b8d1f24
dpll: zl3073x: ZL3073X_I2C and ZL3073X_SPI should depend on NET
PlaidCat Dec 11, 2025
9584f79
dpll: zl3073x: Refactor DPLL initialization
PlaidCat Dec 11, 2025
fe1cb24
dpll: zl3073x: Handle missing or corrupted flash configuration
PlaidCat Dec 11, 2025
3b901a0
dpll: zl3073x: Add functions to access hardware registers
PlaidCat Dec 11, 2025
9fa0b9d
dpll: zl3073x: Add low-level flash functions
PlaidCat Dec 11, 2025
7238d62
dpll: zl3073x: Add firmware loading functionality
PlaidCat Dec 11, 2025
afc6332
dpll: zl3073x: Implement devlink flash callback
PlaidCat Dec 11, 2025
d32170f
dpll: zl3073x: Fix double free in zl3073x_devlink_flash_update()
PlaidCat Dec 11, 2025
2c7018d
dpll: zl3073x: Increase maximum size of flash utility
PlaidCat Dec 11, 2025
6edb6ef
dpll: zl3073x: Fix output pin registration
PlaidCat Dec 11, 2025
83cdf94
octeon_ep: Validate the VF ID
PlaidCat Dec 11, 2025
a4088c9
net/mlx5: fs, fix UAF in flow counter release
PlaidCat Dec 11, 2025
73356e8
can: j1939: implement NETDEV_UNREGISTER notification handler
PlaidCat Dec 11, 2025
768e3f0
can: j1939: add missing calls in NETDEV_UNREGISTER notification handler
PlaidCat Dec 11, 2025
2d407ef
Rebuild rocky9_7 with kernel-5.14.0-611.13.1.el9_7
PlaidCat Dec 11, 2025
091bcbc
github actions: add in build check workflows
PlaidCat May 21, 2025
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
37 changes: 37 additions & 0 deletions .github/workflows/build-check_aarch64-rt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: aarch64-RT CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux/rockylinux:9.7
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
dnf groupinstall 'Development Tools' -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-aarch64-rt-rhel.config .config
make olddefconfig
make -j$(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/build-check_aarch64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: aarch64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux/rockylinux:9.7
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
dnf groupinstall 'Development Tools' -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-aarch64-rhel.config .config
make olddefconfig
make -j$(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/build-check_x86_64-rt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: x86_64-RT CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux/rockylinux:9.7
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
dnf groupinstall 'Development Tools' -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-x86_64-rt-rhel.config .config
make olddefconfig
make -j$(nproc)
37 changes: 37 additions & 0 deletions .github/workflows/build-check_x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: x86_64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux/rockylinux:9.7
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
dnf groupinstall 'Development Tools' -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-x86_64-rhel.config .config
make olddefconfig
make -j$(nproc)
File renamed without changes.
76 changes: 76 additions & 0 deletions Documentation/devicetree/bindings/dpll/dpll-device.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dpll/dpll-device.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Digital Phase-Locked Loop (DPLL) Device

maintainers:
- Ivan Vecera <ivecera@redhat.com>

description:
Digital Phase-Locked Loop (DPLL) device is used for precise clock
synchronization in networking and telecom hardware. The device can
have one or more channels (DPLLs) and one or more physical input and
output pins. Each DPLL channel can either produce pulse-per-clock signal
or drive ethernet equipment clock. The type of each channel can be
indicated by dpll-types property.

properties:
$nodename:
pattern: "^dpll(@.*)?$"

"#address-cells":
const: 0

"#size-cells":
const: 0

dpll-types:
description: List of DPLL channel types, one per DPLL instance.
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
items:
enum: [pps, eec]

input-pins:
type: object
description: DPLL input pins
unevaluatedProperties: false

properties:
"#address-cells":
const: 1
"#size-cells":
const: 0

patternProperties:
"^pin@[0-9a-f]+$":
$ref: /schemas/dpll/dpll-pin.yaml
unevaluatedProperties: false

required:
- "#address-cells"
- "#size-cells"

output-pins:
type: object
description: DPLL output pins
unevaluatedProperties: false

properties:
"#address-cells":
const: 1
"#size-cells":
const: 0

patternProperties:
"^pin@[0-9]+$":
$ref: /schemas/dpll/dpll-pin.yaml
unevaluatedProperties: false

required:
- "#address-cells"
- "#size-cells"

additionalProperties: true
45 changes: 45 additions & 0 deletions Documentation/devicetree/bindings/dpll/dpll-pin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dpll/dpll-pin.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: DPLL Pin

maintainers:
- Ivan Vecera <ivecera@redhat.com>

description: |
The DPLL pin is either a physical input or output pin that is provided
by a DPLL( Digital Phase-Locked Loop) device. The pin is identified by
its physical order number that is stored in reg property and can have
an additional set of properties like supported (allowed) frequencies,
label, type and may support embedded sync.

Note that the pin in this context has nothing to do with pinctrl.

properties:
reg:
description: Hardware index of the DPLL pin.
maxItems: 1

connection-type:
description: Connection type of the pin
$ref: /schemas/types.yaml#/definitions/string
enum: [ext, gnss, int, mux, synce]

esync-control:
description: Indicates whether the pin supports embedded sync functionality.
type: boolean

label:
description: String exposed as the pin board label
$ref: /schemas/types.yaml#/definitions/string

supported-frequencies-hz:
description: List of supported frequencies for this pin, expressed in Hz.

required:
- reg

additionalProperties: false
115 changes: 115 additions & 0 deletions Documentation/devicetree/bindings/dpll/microchip,zl30731.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dpll/microchip,zl30731.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip Azurite DPLL device

maintainers:
- Ivan Vecera <ivecera@redhat.com>

description:
Microchip Azurite DPLL (ZL3073x) is a family of DPLL devices that
provides up to 5 independent DPLL channels, up to 10 differential or
single-ended inputs and 10 differential or 20 single-ended outputs.
These devices support both I2C and SPI interfaces.

properties:
compatible:
enum:
- microchip,zl30731
- microchip,zl30732
- microchip,zl30733
- microchip,zl30734
- microchip,zl30735

reg:
maxItems: 1

required:
- compatible
- reg

allOf:
- $ref: /schemas/dpll/dpll-device.yaml#
- $ref: /schemas/spi/spi-peripheral-props.yaml#

unevaluatedProperties: false

examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;

dpll@70 {
compatible = "microchip,zl30732";
reg = <0x70>;
dpll-types = "pps", "eec";

input-pins {
#address-cells = <1>;
#size-cells = <0>;

pin@0 { /* REF0P */
reg = <0>;
connection-type = "ext";
label = "Input 0";
supported-frequencies-hz = /bits/ 64 <1 1000>;
};
};

output-pins {
#address-cells = <1>;
#size-cells = <0>;

pin@3 { /* OUT1N */
reg = <3>;
connection-type = "gnss";
esync-control;
label = "Output 1";
supported-frequencies-hz = /bits/ 64 <1 10000>;
};
};
};
};
- |
spi {
#address-cells = <1>;
#size-cells = <0>;

dpll@70 {
compatible = "microchip,zl30731";
reg = <0x70>;
spi-max-frequency = <12500000>;

dpll-types = "pps";

input-pins {
#address-cells = <1>;
#size-cells = <0>;

pin@0 { /* REF0P */
reg = <0>;
connection-type = "ext";
label = "Input 0";
supported-frequencies-hz = /bits/ 64 <1 1000>;
};
};

output-pins {
#address-cells = <1>;
#size-cells = <0>;

pin@3 { /* OUT1N */
reg = <3>;
connection-type = "gnss";
esync-control;
label = "Output 1";
supported-frequencies-hz = /bits/ 64 <1 10000>;
};
};
};
};
...
1 change: 1 addition & 0 deletions Documentation/networking/devlink/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ parameters, info versions, and other features it supports.
prestera
iosm
sfc
zl3073x
Loading