Skip to content

Conversation

@cristianmihaipopa
Copy link
Collaborator

PR Description

Corresponding HDL PR: analogdevicesinc/hdl#1971

  • Added three new build params. for ZynqMp defconfig to support the Corundum features
  • As of now, Corundum support is only available for ADRV9009ZU11EG/ADRV2CRR variant of the project
  • arch: arm64: dts: xilinx: zynqmp-adrv9009-zu11eg-reva-adrv2crr-fmc-reva.dts : added the settings for Corundum to work (they also work with the default project)
  • arch: arm64: dts: xilixn: zynqmp-adrv9009-zu11eg-revb-adrv2crr-fmc-revb-jesd204-fsm-100-qsfp.dts: the corresponding devicetree Corundum on ADRV9009ZU11EG

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have conducted a self-review of my own code changes
  • I have compiled my changes, including the documentation
  • I have tested the changes on the relevant hardware
  • I have updated the documentation outside this repo accordingly
  • I have provided links for the relevant upstream lore

- Added three new build params. for ZynqMp defconfig
to support the Corundum features
- As of now, Corundum support is only available for
ADRV9009ZU11EG/ADRV2CRR variant of the project
- arch: arm64: dts: xilinx:
  zynqmp-adrv9009-zu11eg-reva-adrv2crr-fmc-reva.dts : added the settings
for Corundum to work (they also work with the default project)
- arch: arm64: dts: xilixn:
  zynqmp-adrv9009-zu11eg-revb-adrv2crr-fmc-revb-jesd204-fsm-100-qsfp.dts:
the corresponding devicetree Corundum on ADRV9009ZU11EG

Signed-off-by: Cristian Mihai Popa <cristianmihai.popa@analog.com>
Copy link
Collaborator

@stefpopa stefpopa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few clarifications are required, otherwise, looks good.

resets = <&zynqmp_reset 117>; // ZYNQMP_RESET_PS_PL1
reset-names = "reset";
};
}; No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have a missing newline at the end of this file

assigned-clock-rates = <10000>, <1413120000>, <30720000>;
<&ad9545_clock AD9545_CLK_PLL AD9545_PLL1>,
<&ad9545_clock AD9545_CLK_OUT AD9545_Q1B>;
assigned-clock-rates = <10000>, <1562500000>, <156250000>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

your commit does not explain why these changes are needed. Is this a breaking change for the configurations that don't use corundum?

ad9545_apll0: pll-clk@AD9545_PLL0 {
reg = <AD9545_PLL0>;
ad9545_apll1: pll-clk@AD9545_PLL1 {
reg = <AD9545_PLL1>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as above, this commit does not explain why this change is needed.

reg = <0x0 0xa0000000 0x1000000>;
reg-names = "csr";
interrupt-parent = <&gic>;
interrupts = <0 93 1>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This interrupt line is hardcoded. Magic number 93 without explanation, flag value 1 should use symbolic constants


/ {
model = "Analog Devices ADRV9009ZU11EG Corundum support";
/delete-node/ leds;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why delete LEDs? Please add an explanation. Is it related to the corundum?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants