Re: [linux-yocto]: [kernel/kernel-rt]: nxp-ls1046: port kernel patches for nxp-ls1046
In message: [linux-yocto]: [kernel/kernel-rt]: nxp-ls1046: port kernel patches for nxp-ls1046 on 07/06/2024 Meng Li wrote: > From: Limeng > > Hi Bruce, > > The 17 patches are used to fix issues for NXP ls1046 BSP > So, could you please help merge these patches into linux-ycoto kernel, both > below 2 branchs? > v6.6/standard/nxp-sdk-6.6/nxp-soc > v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc > > diffstat info as below: > > b/arch/arm64/boot/dts/freescale/Makefile| > 2 ++ > b/arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-sdk.dts | > 40 > b/arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-usdpaa.dts | > 40 > b/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-sdk.dts | > 40 > b/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-usdpaa.dts | > 40 > b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | > 2 +- > b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth.c| > 3 +++ > b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c | > 3 ++- > b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.h | > 3 +++ > b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_sg.c | > 4 > b/drivers/net/ethernet/freescale/sdk_dpaa/mac-api.c | > 3 ++- > b/drivers/net/ethernet/freescale/sdk_dpaa/mac.c | > 2 ++ > b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fm_port.c | > 8 > b/drivers/net/ethernet/freescale/sdk_fman/src/wrapper/lnxwrp_fm.c | > 22 ++ > b/drivers/net/ethernet/freescale/sdk_fman/src/xx/xx_arm_linux.c | > 3 --- > b/drivers/staging/fsl_qbman/dpa_alloc.c | > 15 +-- > b/drivers/staging/fsl_qbman/qman_high.c | > 9 + > b/drivers/usb/core/hcd-pci.c| > 8 I had a quick look at this usb/core patch, but in the end I don't have any concerns. The changes are merged. Bruce > drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c | > 38 +++--- > drivers/net/ethernet/freescale/sdk_dpaa/mac-api.c | > 6 +- > drivers/net/ethernet/freescale/sdk_fman/src/wrapper/lnxwrp_fm.c | > 11 ++- > drivers/staging/fsl_qbman/dpa_alloc.c | > 6 +++--- > drivers/staging/fsl_qbman/qman_high.c | > 10 +++--- > 23 files changed, 279 insertions(+), 39 deletions(-) > > > Pull request info as below: > > The following changes since commit 9c188c99046b8997c478634c361373a5515e3d1a: > > imx: dpu-blit: Remove GFP_DMA32 (2024-06-06 10:06:31 -0400) > > are available in the Git repository at: > > https://github.com/limeng-linux/linux-yocto-bsp.git > v6.6/standard/nxp-sdk-6.6/nxp-soc > > for you to fetch changes up to 9c4f6c89fe35a5beaa32ef4244d5d613e39c270d: > > driver: sdk_fman: move the irq free operation to the front of releasing > register resource (2024-06-07 04:57:29 -0400) > > > Meng Li (15): > driver: net: dpaa: improve the assignment operation for context cache > line > arch: arm64: dts: add dts files for nxp-ls1023 platform > drvier: staging: fsl_qbman: move used_node variable allocation out the > lock/unlock section > drvier: dpaa: Convert the rx_pool_channel_init from spinlock to mutex > driver: sdk_fman: remove the disable interrupt action in xx_Malloc() > driver: staging: fsl_qbman: avoid preempt disable action by invoking > this_cpu_ptr() in rt kernel > driver: staging: fsl_qbman: improve PORTAL_IRQ_LOCK/UNLOCK() with local > lock interface > arch: arm64: dts: add dts files for nxp-ls1026 platform > arch: arm64: dts: set correct phy-connection-type for aqr107 10G phy > driver: net: dpaa: support interface mode usxgmii > driver: net: dpaa: release resource when executing kexec > drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during > allocating memory > driver: net: dpaa: support AQR113C phy on revision C LS1046ARDB board > usb: hcd-pci: remove the action of faking interrupt request > driver: sdk_fman: move the irq free operation to the front of releasing > register resource > > Tiejun Chen (1): > dpaa: make sure FM_PORT_Free work reasonably > > Zumeng Chen (1): > dpaa_ethernet: fix kmemleak false-positive reports for skb > > arch/arm64/boot/dts/freescale/Makefile| 2 ++ > arch/arm64/bo
Re: [linux-yocto] [yocto-kernel-cache]: nxp-ls1046: add scc and cfg files for nxp-ls1046 platform
merged. Bruce In message: [yocto-kernel-cache]: nxp-ls1046: add scc and cfg files for nxp-ls1046 platform on 07/06/2024 Meng Li wrote: > From: Limeng > > Hi Bruce, > > Recently, I am working on nxp ls1046 SoC BSP, and want to add scc and cfg > files for this BSP in kernel-cache. > > Could you please help to merge this patch into yocto-kernel-cache, branch is > only yocto-6.6? > > diffstat info as below: > > nxp-ls1046-preempt-rt.scc |7 +++ > nxp-ls1046-standard.scc |7 +++ > nxp-ls1046.cfg| 161 > + > nxp-ls1046.scc|8 > 4 files changed, 183 insertions(+) > > > thanks, > Limeng -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14008): https://lists.yoctoproject.org/g/linux-yocto/message/14008 Mute This Topic: https://lists.yoctoproject.org/mt/106539607/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto][v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc][PATCH 0/3]
In message: [linux-yocto][v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc][PATCH 0/3] on 07/06/2024 quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > Hi Bruce, > Would you please help merge these 3 patches to the branches: > v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc > v6.6/standard/sdkv6.6/xlnx-soc merged. Bruce > Thanks, > Quanyang > > Meng Li (1): > arch: arm64: dts: add dts file for CANFD feature on xilinx-zcu102 > platform > > Quanyang Wang (2): > arm64: zynqmp: add "xlnx,nr-outputs" property for clk_wiz_0 node > arm64: zynqmp: delete redundant xiic-i2c device node > > arch/arm64/boot/dts/xilinx/Makefile | 1 + > .../dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts | 75 +++ > 2 files changed, 76 insertions(+) > create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts > > -- > 2.36.1 > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14007): https://lists.yoctoproject.org/g/linux-yocto/message/14007 Mute This Topic: https://lists.yoctoproject.org/mt/106539419/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto]: [kernel/kernel-rt]: nxp-ls1046: port kernel patches for nxp-ls1046
From: Limeng Hi Bruce, The 17 patches are used to fix issues for NXP ls1046 BSP So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v6.6/standard/nxp-sdk-6.6/nxp-soc v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc diffstat info as below: b/arch/arm64/boot/dts/freescale/Makefile|2 ++ b/arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-sdk.dts | 40 b/arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-usdpaa.dts | 40 b/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-sdk.dts | 40 b/arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-usdpaa.dts | 40 b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts |2 +- b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth.c|3 +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c |3 ++- b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.h |3 +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_sg.c |4 b/drivers/net/ethernet/freescale/sdk_dpaa/mac-api.c |3 ++- b/drivers/net/ethernet/freescale/sdk_dpaa/mac.c |2 ++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fm_port.c |8 b/drivers/net/ethernet/freescale/sdk_fman/src/wrapper/lnxwrp_fm.c | 22 ++ b/drivers/net/ethernet/freescale/sdk_fman/src/xx/xx_arm_linux.c |3 --- b/drivers/staging/fsl_qbman/dpa_alloc.c | 15 +-- b/drivers/staging/fsl_qbman/qman_high.c |9 + b/drivers/usb/core/hcd-pci.c|8 drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c | 38 +++--- drivers/net/ethernet/freescale/sdk_dpaa/mac-api.c |6 +- drivers/net/ethernet/freescale/sdk_fman/src/wrapper/lnxwrp_fm.c | 11 ++- drivers/staging/fsl_qbman/dpa_alloc.c |6 +++--- drivers/staging/fsl_qbman/qman_high.c | 10 +++--- 23 files changed, 279 insertions(+), 39 deletions(-) Pull request info as below: The following changes since commit 9c188c99046b8997c478634c361373a5515e3d1a: imx: dpu-blit: Remove GFP_DMA32 (2024-06-06 10:06:31 -0400) are available in the Git repository at: https://github.com/limeng-linux/linux-yocto-bsp.git v6.6/standard/nxp-sdk-6.6/nxp-soc for you to fetch changes up to 9c4f6c89fe35a5beaa32ef4244d5d613e39c270d: driver: sdk_fman: move the irq free operation to the front of releasing register resource (2024-06-07 04:57:29 -0400) Meng Li (15): driver: net: dpaa: improve the assignment operation for context cache line arch: arm64: dts: add dts files for nxp-ls1023 platform drvier: staging: fsl_qbman: move used_node variable allocation out the lock/unlock section drvier: dpaa: Convert the rx_pool_channel_init from spinlock to mutex driver: sdk_fman: remove the disable interrupt action in xx_Malloc() driver: staging: fsl_qbman: avoid preempt disable action by invoking this_cpu_ptr() in rt kernel driver: staging: fsl_qbman: improve PORTAL_IRQ_LOCK/UNLOCK() with local lock interface arch: arm64: dts: add dts files for nxp-ls1026 platform arch: arm64: dts: set correct phy-connection-type for aqr107 10G phy driver: net: dpaa: support interface mode usxgmii driver: net: dpaa: release resource when executing kexec drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory driver: net: dpaa: support AQR113C phy on revision C LS1046ARDB board usb: hcd-pci: remove the action of faking interrupt request driver: sdk_fman: move the irq free operation to the front of releasing register resource Tiejun Chen (1): dpaa: make sure FM_PORT_Free work reasonably Zumeng Chen (1): dpaa_ethernet: fix kmemleak false-positive reports for skb arch/arm64/boot/dts/freescale/Makefile| 2 ++ arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-sdk.dts | 40 arch/arm64/boot/dts/freescale/fsl-ls1023a-rdb-usdpaa.dts | 40 arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-sdk.dts | 40 arch/arm64/boot/dts/freescale/fsl-ls1026a-rdb-usdpaa.dts | 40 arch
[linux-yocto] [PATCH] nxp-ls1046: add scc and cfg files for nxp-ls1046 platform
Refer to scc and cfg files on branch yocto-6.1, add new scc and cfg files for BSP nxp-ls1046 on branch yocto-6.6. Signed-off-by: Meng Li --- bsp/nxp-ls1046/nxp-ls1046-preempt-rt.scc | 7 + bsp/nxp-ls1046/nxp-ls1046-standard.scc | 7 + bsp/nxp-ls1046/nxp-ls1046.cfg| 161 +++ bsp/nxp-ls1046/nxp-ls1046.scc| 8 ++ 4 files changed, 183 insertions(+) create mode 100644 bsp/nxp-ls1046/nxp-ls1046-preempt-rt.scc create mode 100644 bsp/nxp-ls1046/nxp-ls1046-standard.scc create mode 100644 bsp/nxp-ls1046/nxp-ls1046.cfg create mode 100644 bsp/nxp-ls1046/nxp-ls1046.scc diff --git a/bsp/nxp-ls1046/nxp-ls1046-preempt-rt.scc b/bsp/nxp-ls1046/nxp-ls1046-preempt-rt.scc new file mode 100644 index ..efdfae9d --- /dev/null +++ b/bsp/nxp-ls1046/nxp-ls1046-preempt-rt.scc @@ -0,0 +1,7 @@ +define KMACHINE nxp-ls1046 +define KTYPE preempt-rt +define KARCH arm64 + +include ktypes/preempt-rt + +include nxp-ls1046.scc diff --git a/bsp/nxp-ls1046/nxp-ls1046-standard.scc b/bsp/nxp-ls1046/nxp-ls1046-standard.scc new file mode 100644 index ..aa7fab23 --- /dev/null +++ b/bsp/nxp-ls1046/nxp-ls1046-standard.scc @@ -0,0 +1,7 @@ +define KMACHINE nxp-ls1046 +define KTYPE standard +define KARCH arm64 + +include ktypes/standard + +include nxp-ls1046.scc diff --git a/bsp/nxp-ls1046/nxp-ls1046.cfg b/bsp/nxp-ls1046/nxp-ls1046.cfg new file mode 100644 index ..36f57dfe --- /dev/null +++ b/bsp/nxp-ls1046/nxp-ls1046.cfg @@ -0,0 +1,161 @@ +.. +.WARNING +. +. This file is a kernel configuration fragment, and not a full kernel +. configuration file. The final kernel configuration is made up of +. an assembly of processed fragments, each of which is designed to +. capture a specific part of the final configuration (e.g. platform +. configuration, feature configuration, and board specific hardware +. configuration). For more information on kernel configuration, please +. consult the product documentation. +. +.. + +CONFIG_ARM64=y +CONFIG_ARM64_VA_BITS_48=y +CONFIG_ARCH_NXP=y +CONFIG_ARCH_LAYERSCAPE=y +CONFIG_SCHED_MC=y +CONFIG_ARM_SMMU=y + +CONFIG_PCI=y +CONFIG_PCI_LAYERSCAPE=y +CONFIG_PCI_HOST_GENERIC=y +CONFIG_PCI_XGENE=y +CONFIG_PCI_MSI=y +CONFIG_PCIEPORTBUS=y +CONFIG_HOTPLUG_PCI=y +CONFIG_HOTPLUG_PCI_PCIE=y + +CONFIG_CPU_IDLE=y +CONFIG_ARM_PSCI_CPUIDLE=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPUFREQ_DT=y +CONFIG_QORIQ_CPUFREQ=y + +CONFIG_MTD=y +CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_CFI=y +CONFIG_MTD_CFI_ADV_OPTIONS=y +CONFIG_MTD_CFI_INTELEXT=y +CONFIG_MTD_CFI_AMDSTD=y +CONFIG_MTD_CFI_STAA=y +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_OF=y +CONFIG_MTD_DATAFLASH=y +CONFIG_MTD_SST25L=y +CONFIG_MTD_NAND_DENALI_DT=y +CONFIG_MTD_NAND_FSL_IFC=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MEMORY=y +CONFIG_MTD_SPI_NOR=y +CONFIG_SPI_FSL_QUADSPI=y +CONFIG_ATA=y +CONFIG_SATA_AHCI=y +CONFIG_AHCI_QORIQ=y + +CONFIG_FSL_XGMAC_MDIO=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_DW=y +CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SERIAL_FSL_LPUART=y +CONFIG_SERIAL_FSL_LPUART_CONSOLE=y + +CONFIG_SPI=y +CONFIG_SPI_FSL_DSPI=y +CONFIG_SPI_PL022=y + +CONFIG_POWER_RESET_XGENE=y +CONFIG_POWER_RESET_SYSCON=y +CONFIG_ENERGY_MODEL=y +CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y + +CONFIG_CPU_THERMAL=y +CONFIG_WATCHDOG=y +CONFIG_IMX2_WDT=y + +CONFIG_USB=y +CONFIG_USB_OTG=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_HOST=y +CONFIG_USB_GADGET=y + +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_OF_ESDHC=y + +CONFIG_GPIOLIB=y +CONFIG_OF_GPIO=y +CONFIG_GPIO_MPC8XXX=y + +CONFIG_MDIO_DEVICE=y +CONFIG_MDIO_BITBANG=y +CONFIG_PHYLIB=y +CONFIG_AQUANTIA_PHY=y + +# +# I2C support +# +CONFIG_I2C=y +CONFIG_I2C_IMX=y + +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_PCF2127=y +CONFIG_RTC_DRV_FSL_FTM_ALARM=y +CONFIG_FSL_RCPM=y + +CONFIG_DMADEVICES=y +CONFIG_FSL_EDMA=y +CONFIG_CMA=y +CONFIG_DMA_CMA=y + +CONFIG_VFIO=y + +CONFIG_STAGING=y + +CONFIG_CLK_QORIQ=y + +CONFIG_FSL_GUTS=y + +CONFIG_ARCH_XGENE=y +CONFIG_PHY_XGENE=y + +CONFIG_CRYPTO_DEV_FSL_CAAM=y +CONFIG_CRYPTO_SHA1_ARM64_CE=y +CONFIG_CRYPTO_SHA2_ARM64_CE=y +CONFIG_CRYPTO_GHASH_ARM64_CE=y +CONFIG_CRYPTO_AES_ARM64_CE_CCM=y +CONFIG_CRYPTO_AES_ARM64_CE_BLK=y + +# dpaa1 +CONFIG_FSL_SDK_DPA=y +CONFIG_FSL_SDK_FMAN=y +CONFIG_FSL_SDK_DPAA_ETH=y +CONFIG_FSL_DPAA_TS=y +CONFIG_PTP_1588_CLOCK=y +CONFIG_PTP_1588_CLOCK_QORIQ=y +CONFIG_FSL_DPAA_1588=y +CONFIG_PHY_FSL_LYNX_10G=y + +# EDAC +CONFIG_EDAC_LAYERSCAPE=y + +# Thermal +CONFIG_THERMAL=y +CONFIG_DEVICE_THERMAL=y +CONFIG_QORIQ_THERMAL=y + +# I2C Slave devices +CONFIG_EEPROM_AT24=y +CONFIG_SENSORS_LM90=y +CONFIG_SENSORS_INA2XX=y diff --git a/bsp/nxp-ls
[linux-yocto] [yocto-kernel-cache]: nxp-ls1046: add scc and cfg files for nxp-ls1046 platform
From: Limeng Hi Bruce, Recently, I am working on nxp ls1046 SoC BSP, and want to add scc and cfg files for this BSP in kernel-cache. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.6? diffstat info as below: nxp-ls1046-preempt-rt.scc |7 +++ nxp-ls1046-standard.scc |7 +++ nxp-ls1046.cfg| 161 + nxp-ls1046.scc|8 4 files changed, 183 insertions(+) thanks, Limeng -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14004): https://lists.yoctoproject.org/g/linux-yocto/message/14004 Mute This Topic: https://lists.yoctoproject.org/mt/106539607/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc][PATCH 3/3] arm64: zynqmp: delete redundant xiic-i2c device node
From: Quanyang Wang The device node "axi_iic_0" is not needed to test canfd. Let's remove it since it triggers warning info: xiic-i2c 80003000.i2c: error -ENXIO: IRQ index 0 not found Signed-off-by: Quanyang Wang Signed-off-by: Bruce Ashfield --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts index d5b54d4a98d12..c351cd18398aa 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts @@ -15,14 +15,6 @@ amba_pl: amba_pl { #size-cells = <2>; compatible = "simple-bus"; ranges ; - axi_iic_0: i2c@80003000 { - #address-cells = <1>; - #size-cells = <0>; - clock-names = "s_axi_aclk"; - clocks = <&zynqmp_clk 71>; - compatible = "xlnx,axi-iic-2.0", "xlnx,xps-iic-2.00.a"; - reg = <0x0 0x80003000 0x0 0x1000>; - }; axi_timer_0: timer@8000 { clock-frequency = <187481262>; clock-names = "s_axi_aclk"; -- 2.36.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14003): https://lists.yoctoproject.org/g/linux-yocto/message/14003 Mute This Topic: https://lists.yoctoproject.org/mt/106539423/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc][PATCH 2/3] arm64: zynqmp: add "xlnx,nr-outputs" property for clk_wiz_0 node
From: Quanyang Wang In clk-xlnx-clock-wizard.c, the function clk_wzrd_probe will check if there is "xlnx,nr-outputs" property, if not, the probe will return error. Add "xlnx,nr-outputs" property for clk_wiz_0 node to avoid probe failure. Signed-off-by: Quanyang Wang Signed-off-by: Bruce Ashfield --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts index 73ba3abd7aa89..d5b54d4a98d12 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts @@ -69,6 +69,7 @@ clk_wiz_0: clk_wiz@8001 { compatible = "xlnx,clk-wiz-6.0", "xlnx,clocking-wizard"; reg = <0x0 0x8001 0x0 0x1>; speed-grade = <2>; + xlnx,nr-outputs = <7>; }; psu_ctrl_ipi: PERIPHERAL@ff38 { compatible = "xlnx,PERIPHERAL-1.0"; -- 2.36.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14002): https://lists.yoctoproject.org/g/linux-yocto/message/14002 Mute This Topic: https://lists.yoctoproject.org/mt/106539422/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc][PATCH 1/3] arch: arm64: dts: add dts file for CANFD feature on xilinx-zcu102 platform
From: Meng Li This dts file is created by referring to Xilix SDK petalinux. Signed-off-by: Meng Li Signed-off-by: Bruce Ashfield --- arch/arm64/boot/dts/xilinx/Makefile | 1 + .../dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts | 82 +++ 2 files changed, 83 insertions(+) create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts diff --git a/arch/arm64/boot/dts/xilinx/Makefile b/arch/arm64/boot/dts/xilinx/Makefile index 1398b0e21e78c..25dfafe085ab2 100644 --- a/arch/arm64/boot/dts/xilinx/Makefile +++ b/arch/arm64/boot/dts/xilinx/Makefile @@ -11,6 +11,7 @@ dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu100-revC.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revB.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-rev1.0.dtb +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-rev1.0-canfd.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-rev1.1.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu104-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu104-revC.dtb diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts new file mode 100644 index 0..73ba3abd7aa89 --- /dev/null +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZCU102 Rev1.0 CANFD + * + * Copyright (C) 2016 - 2023 Wind River Systems, Inc. + * + * Meng Li + */ + +#include "zynqmp-zcu102-rev1.0.dts" + +/ { + amba_pl: amba_pl { + #address-cells = <2>; + #size-cells = <2>; + compatible = "simple-bus"; + ranges ; + axi_iic_0: i2c@80003000 { + #address-cells = <1>; + #size-cells = <0>; + clock-names = "s_axi_aclk"; + clocks = <&zynqmp_clk 71>; + compatible = "xlnx,axi-iic-2.0", "xlnx,xps-iic-2.00.a"; + reg = <0x0 0x80003000 0x0 0x1000>; + }; + axi_timer_0: timer@8000 { + clock-frequency = <187481262>; + clock-names = "s_axi_aclk"; + clocks = <&zynqmp_clk 71>; + compatible = "xlnx,axi-timer-2.0", "xlnx,xps-timer-1.00.a"; + interrupt-names = "interrupt"; + interrupt-parent = <&gic>; + interrupts = <0 91 4>; + reg = <0x0 0x8000 0x0 0x1000>; + xlnx,count-width = <0x20>; + xlnx,gen0-assert = <0x1>; + xlnx,gen1-assert = <0x1>; + xlnx,one-timer-only = <0x0>; + xlnx,trig0-assert = <0x1>; + xlnx,trig1-assert = <0x1>; + }; + canfd_0: canfd@8100 { + clock-names = "can_clk", "can_clk_x2", "s_axi_aclk"; + clocks = <&clk_wiz_0 1>, <&clk_wiz_0 0>, <&zynqmp_clk 71>; + compatible = "xlnx,canfd-2.0"; + interrupt-names = "ip2bus_intrevent"; + interrupt-parent = <&gic>; + interrupts = <0 89 4>; + reg = <0x0 0x8100 0x0 0x8000>; + rx-fifo-depth = <0x20>; + tx-mailbox-count = <0x20>; + }; + canfd_1: canfd@8200 { + clock-names = "can_clk", "can_clk_x2", "s_axi_aclk"; + clocks = <&clk_wiz_0 1>, <&clk_wiz_0 0>, <&zynqmp_clk 71>; + compatible = "xlnx,canfd-2.0"; + interrupt-names = "ip2bus_intrevent"; + interrupt-parent = <&gic>; + interrupts = <0 90 4>; + reg = <0x0 0x8200 0x0 0x8000>; + rx-fifo-depth = <0x20>; + tx-mailbox-count = <0x20>; + }; + clk_wiz_0: clk_wiz@8001 { + #clock-cells = <1>; + clock-names = "s_axi_aclk", "clk_in1"; + clock-output-names = "clk_out1", "clk_out2", "clk_out3", "clk_out4", "clk_out5", "clk_out6", "clk_out7"; + clocks = <&zynqmp_clk 71>, <&zynqmp_clk 71>; + compatible = "xlnx,clk-wiz-6.0", "xlnx,clocking-wizard"; + reg = <0x0 0x8001 0x0 0x1>; + speed-grade = <2>; + }; + psu_ctrl_ipi: PERIPHERAL@ff38 { + compatible = "xlnx,PERIPHERAL-1.0"; + reg = <0x0 0xff38 0x0 0x8>; + }; + psu_message_buffers: PERIPHERAL@ff99 { + compatible = "xlnx,PERIPHERAL-1.0"; +
[linux-yocto][v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc][PATCH 0/3]
From: Quanyang Wang Hi Bruce, Would you please help merge these 3 patches to the branches: v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc v6.6/standard/sdkv6.6/xlnx-soc Thanks, Quanyang Meng Li (1): arch: arm64: dts: add dts file for CANFD feature on xilinx-zcu102 platform Quanyang Wang (2): arm64: zynqmp: add "xlnx,nr-outputs" property for clk_wiz_0 node arm64: zynqmp: delete redundant xiic-i2c device node arch/arm64/boot/dts/xilinx/Makefile | 1 + .../dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts | 75 +++ 2 files changed, 76 insertions(+) create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts -- 2.36.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14000): https://lists.yoctoproject.org/g/linux-yocto/message/14000 Mute This Topic: https://lists.yoctoproject.org/mt/106539419/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-