[linux-yocto] [kernel-meta v5.2 1/2] fsl-mpc8315e-rdb/beaglebone: Replace CONFIG_MTD_NAND with CONFIG_MTD_RAW_NAND
The kernel option MTD_NAND has been renamed to MTD_RAW_NAND in the kernel commit 72c5af002723 ("mtd: rawnand: Clarify Kconfig entry MTD_NAND"), so adjust the cfg file according to this change. Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 2 +- bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg index f044061032b9..95000f78fc54 100644 --- a/bsp/beaglebone/beaglebone.cfg +++ b/bsp/beaglebone/beaglebone.cfg @@ -70,7 +70,7 @@ CONFIG_MTD_CFI_INTELEXT=y # # Disk-On-Chip Device Drivers # -CONFIG_MTD_NAND=y +CONFIG_MTD_RAW_NAND=y CONFIG_MTD_NAND_OMAP2=y CONFIG_MTD_NAND_OMAP_BCH=y diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg index cb7c40d37c22..91ea14614284 100644 --- a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg +++ b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg @@ -57,7 +57,7 @@ CONFIG_MTD_PHYSMAP_OF=y # # NAND Flash Device Drivers # -CONFIG_MTD_NAND=y +CONFIG_MTD_RAW_NAND=y CONFIG_MTD_NAND_FSL_ELBC=y # -- 2.14.4 -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
[linux-yocto] [kernel-cache master] nxp-ls20xx: add kernel-cache configuration files for BSP nxp-ls20xx
This adds the cfg & scc files to support the LS2088A-RDB. Signed-off-by: Xulin Sun --- bsp/nxp-ls20xx/nxp-ls20xx-standard.scc | 8 ++ bsp/nxp-ls20xx/nxp-ls20xx.cfg | 162 + bsp/nxp-ls20xx/nxp-ls20xx.scc | 7 ++ 3 files changed, 177 insertions(+) create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx-standard.scc create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx.cfg create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx.scc diff --git a/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc b/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc new file mode 100755 index ..e0d9b2b7 --- /dev/null +++ b/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc @@ -0,0 +1,8 @@ +define KMACHINE nxp-ls20xx +define KTYPE standard +define KARCH arm64 + +include ktypes/standard/standard.scc +branch nxp-ls20xx + +include nxp-ls20xx.scc diff --git a/bsp/nxp-ls20xx/nxp-ls20xx.cfg b/bsp/nxp-ls20xx/nxp-ls20xx.cfg new file mode 100755 index ..f554c916 --- /dev/null +++ b/bsp/nxp-ls20xx/nxp-ls20xx.cfg @@ -0,0 +1,162 @@ +.. +.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_LAYERSCAPE=y +CONFIG_SCHED_MC=y +CONFIG_ARM_SMMU=y +CONFIG_ARM_SMMU_V3=y + +CONFIG_PCI=y +CONFIG_PCI_LAYERSCAPE=y +CONFIG_PCI_HOST_GENERIC=y +CONFIG_PCI_XGENE=y +CONFIG_PCI_MSI=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_DATAFLASH=y +CONFIG_MTD_M25P80=y +CONFIG_MTD_SST25L=y +CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_NAND_FSL_IFC=y +CONFIG_SPI_FSL_QUADSPI=y +CONFIG_SCSI_SAS_ATA=y +CONFIG_SCSI_HISI_SAS=y +CONFIG_ATA=y +CONFIG_SATA_AHCI=y +CONFIG_SATA_AHCI_PLATFORM=y +CONFIG_AHCI_CEVA=y +CONFIG_AHCI_XGENE=y +CONFIG_AHCI_QORIQ=y +CONFIG_SATA_SIL24=y + +CONFIG_FSL_XGMAC_MDIO=y +CONFIG_HNS_DSAF=y +CONFIG_HNS_ENET=y +CONFIG_E1000=y +CONFIG_E1000E=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_SPI_NXP_FLEXSPI=y + +CONFIG_POWER_RESET_XGENE=y +CONFIG_POWER_RESET_SYSCON=y +CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y + +CONFIG_THERMAL=y +CONFIG_THERMAL_OF=y +CONFIG_CPU_THERMAL=y +CONFIG_THERMAL_EMULATION=y +CONFIG_WATCHDOG=y +CONFIG_ARM_SP805_WATCHDOG=y + +CONFIG_USB=y +CONFIG_USB_OTG=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_STORAGE=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC2=y +CONFIG_USB_GADGET=y + +CONFIG_MMC=y +CONFIG_MMC_ARMMMCI=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_OF_ARASAN=y +CONFIG_MMC_SDHCI_OF_ESDHC=y +CONFIG_MMC_SDHCI_CADENCE=y +CONFIG_MMC_SPI=y +CONFIG_MMC_DW=y + +CONFIG_GPIOLIB=y +CONFIG_OF_GPIO=y + +CONFIG_MDIO_DEVICE=y +CONFIG_MDIO_BITBANG=y +CONFIG_PHYLIB=y +CONFIG_AQUANTIA_PHY=y +CONFIG_CORTINA_PHY=y + +# +# I2C support +# +CONFIG_I2C=y +CONFIG_I2C_MUX=y +CONFIG_I2C_IMX=y +CONFIG_I2C_MUX_PCA954x=y + +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_DS3232=y +CONFIG_RTC_DRV_PL031=y +CONFIG_RTC_DRV_PCF2127=y + +CONFIG_DMADEVICES=y +CONFIG_FSL_EDMA=y +CONFIG_CMA=y +CONFIG_DMA_CMA=y + +CONFIG_VFIO=y +CONFIG_VFIO_PCI=y + +CONFIG_STAGING=y +CONFIG_FSL_MC_BUS=y +CONFIG_FSL_MC_DPIO=y + +CONFIG_CLK_QORIQ=y + +CONFIG_PHY_XGENE=y + +CONFIG_CRYPTO_DEV_FSL_CAAM=y +CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM=y +CONFIG_ARM64_CRYPTO=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 +# CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT is not set + +# EDAC +CONFIG_EDAC_LAYERSCAPE=y + +CONFIG_SENSORS_LM90=y +CONFIG_SENSORS_INA2XX=y + +CONFIG_ARM_SBSA_WATCHDOG=y diff --git a/bsp/nxp-ls20xx/nxp-ls20xx.scc b/bsp/nxp-ls20xx/nxp-ls20xx.scc new file mode 100755 index ..36f0ee7a --- /dev/null +++ b/bsp/nxp-ls20xx/nxp-ls20xx.scc @@ -0,0 +1,7 @@ +kconf hardware nxp-ls20xx.cfg +kconf hardware features/edac/edac.cfg + +include cfg/usb-mass-storage.scc + +include features/hugetlb/hugetlb.scc +include arch/arm/32bit-compat.scc -- 2.17.1 --
[linux-yocto] [kernel-meta v5.2 0/2] Fix the kernel_configcheck warnings for the v5.2 kernel
These two patches fix the kernel_configcheck warnings when building the v5.2 kernel. Kevin Hao (2): fsl-mpc8315e-rdb/beaglebone: Replace CONFIG_MTD_NAND with CONFIG_MTD_RAW_NAND beaglebone: Drop the stale kernel options bsp/beaglebone/beaglebone.cfg | 4 +--- bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) -- 2.14.4 -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
[linux-yocto] [kernel-meta v5.2 2/2] beaglebone: Drop the stale kernel options
These two kernel options have been delete by the following kernel commits: 99f629718272 ("net: ethernet: ti: cpsw: drop TI_DAVINCI_CPDMA config option") 8c5dc8d9f19c ("video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol") Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg index 95000f78fc54..ee2e623e740d 100644 --- a/bsp/beaglebone/beaglebone.cfg +++ b/bsp/beaglebone/beaglebone.cfg @@ -91,7 +91,6 @@ CONFIG_SMC91X=y CONFIG_SMSC911X=y CONFIG_TI_CPSW_PHY_SEL=y CONFIG_TI_CPSW=y -CONFIG_TI_DAVINCI_CPDMA=y CONFIG_TI_DAVINCI_MDIO=y # @@ -211,7 +210,6 @@ CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0 # # OMAP Display Device Drivers (new device model) # -CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_LCD_CLASS_DEVICE=y CONFIG_LCD_PLATFORM=y CONFIG_BACKLIGHT_CLASS_DEVICE=y -- 2.14.4 -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
[linux-yocto] [PATCH] aufs: for v5.3-rc3, update UAPI SPDX
From: "J. R. Okajima" Simply follows the commit in mainline, 622445541b75 2019-07-29 kbuild: detect missing "WITH Linux-syscall-note" for uapi headers Signed-off-by: J. R. Okajima Backport from git://github.com/sfjro/aufs5-linux.git 90ff497cebbb ("aufs: for v5.3-rc3, update UAPI SPDX") to fix, error: kernel-source/include/uapi/linux/aufs_type.h: missing "WITH Linux-syscall-note" for SPDX-License-Identifier Signed-off-by: He Zhe --- This is for linux-yocto-dev all branches. include/uapi/linux/aufs_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/aufs_type.h b/include/uapi/linux/aufs_type.h index 0e3e2b1..59f050c 100644 --- a/include/uapi/linux/aufs_type.h +++ b/include/uapi/linux/aufs_type.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2005-2019 Junjiro R. Okajima * -- 2.7.4 -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
Re: [linux-yocto] [kernel-meta v5.2 0/2] Fix the kernel_configcheck warnings for the v5.2 kernel
Thanks Kevin, I now have these merged and they'll be part of my next 5.2 recipe revision. Bruce On Thu, Aug 29, 2019 at 4:30 AM Kevin Hao wrote: > > These two patches fix the kernel_configcheck warnings when building the > v5.2 kernel. > > Kevin Hao (2): > fsl-mpc8315e-rdb/beaglebone: Replace CONFIG_MTD_NAND with > CONFIG_MTD_RAW_NAND > beaglebone: Drop the stale kernel options > > bsp/beaglebone/beaglebone.cfg | 4 +--- > bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 2 +- > 2 files changed, 2 insertions(+), 4 deletions(-) > > -- > 2.14.4 > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
Re: [linux-yocto] [kernel-cache master] nxp-ls20xx: add kernel-cache configuration files for BSP nxp-ls20xx
merged Bruce On Thu, Aug 29, 2019 at 3:08 AM Xulin Sun wrote: > > This adds the cfg & scc files to support the LS2088A-RDB. > > Signed-off-by: Xulin Sun > --- > bsp/nxp-ls20xx/nxp-ls20xx-standard.scc | 8 ++ > bsp/nxp-ls20xx/nxp-ls20xx.cfg | 162 + > bsp/nxp-ls20xx/nxp-ls20xx.scc | 7 ++ > 3 files changed, 177 insertions(+) > create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx-standard.scc > create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx.cfg > create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx.scc > > diff --git a/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc > b/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc > new file mode 100755 > index ..e0d9b2b7 > --- /dev/null > +++ b/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc > @@ -0,0 +1,8 @@ > +define KMACHINE nxp-ls20xx > +define KTYPE standard > +define KARCH arm64 > + > +include ktypes/standard/standard.scc > +branch nxp-ls20xx > + > +include nxp-ls20xx.scc > diff --git a/bsp/nxp-ls20xx/nxp-ls20xx.cfg b/bsp/nxp-ls20xx/nxp-ls20xx.cfg > new file mode 100755 > index ..f554c916 > --- /dev/null > +++ b/bsp/nxp-ls20xx/nxp-ls20xx.cfg > @@ -0,0 +1,162 @@ > +.. > +.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_LAYERSCAPE=y > +CONFIG_SCHED_MC=y > +CONFIG_ARM_SMMU=y > +CONFIG_ARM_SMMU_V3=y > + > +CONFIG_PCI=y > +CONFIG_PCI_LAYERSCAPE=y > +CONFIG_PCI_HOST_GENERIC=y > +CONFIG_PCI_XGENE=y > +CONFIG_PCI_MSI=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_DATAFLASH=y > +CONFIG_MTD_M25P80=y > +CONFIG_MTD_SST25L=y > +CONFIG_MTD_SPI_NOR=y > +CONFIG_MTD_RAW_NAND=y > +CONFIG_MTD_NAND_FSL_IFC=y > +CONFIG_SPI_FSL_QUADSPI=y > +CONFIG_SCSI_SAS_ATA=y > +CONFIG_SCSI_HISI_SAS=y > +CONFIG_ATA=y > +CONFIG_SATA_AHCI=y > +CONFIG_SATA_AHCI_PLATFORM=y > +CONFIG_AHCI_CEVA=y > +CONFIG_AHCI_XGENE=y > +CONFIG_AHCI_QORIQ=y > +CONFIG_SATA_SIL24=y > + > +CONFIG_FSL_XGMAC_MDIO=y > +CONFIG_HNS_DSAF=y > +CONFIG_HNS_ENET=y > +CONFIG_E1000=y > +CONFIG_E1000E=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_SPI_NXP_FLEXSPI=y > + > +CONFIG_POWER_RESET_XGENE=y > +CONFIG_POWER_RESET_SYSCON=y > +CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y > + > +CONFIG_THERMAL=y > +CONFIG_THERMAL_OF=y > +CONFIG_CPU_THERMAL=y > +CONFIG_THERMAL_EMULATION=y > +CONFIG_WATCHDOG=y > +CONFIG_ARM_SP805_WATCHDOG=y > + > +CONFIG_USB=y > +CONFIG_USB_OTG=y > +CONFIG_USB_XHCI_HCD=y > +CONFIG_USB_STORAGE=y > +CONFIG_USB_DWC3=y > +CONFIG_USB_DWC2=y > +CONFIG_USB_GADGET=y > + > +CONFIG_MMC=y > +CONFIG_MMC_ARMMMCI=y > +CONFIG_MMC_SDHCI=y > +CONFIG_MMC_SDHCI_PLTFM=y > +CONFIG_MMC_SDHCI_OF_ARASAN=y > +CONFIG_MMC_SDHCI_OF_ESDHC=y > +CONFIG_MMC_SDHCI_CADENCE=y > +CONFIG_MMC_SPI=y > +CONFIG_MMC_DW=y > + > +CONFIG_GPIOLIB=y > +CONFIG_OF_GPIO=y > + > +CONFIG_MDIO_DEVICE=y > +CONFIG_MDIO_BITBANG=y > +CONFIG_PHYLIB=y > +CONFIG_AQUANTIA_PHY=y > +CONFIG_CORTINA_PHY=y > + > +# > +# I2C support > +# > +CONFIG_I2C=y > +CONFIG_I2C_MUX=y > +CONFIG_I2C_IMX=y > +CONFIG_I2C_MUX_PCA954x=y > + > +CONFIG_RTC_CLASS=y > +CONFIG_RTC_DRV_DS3232=y > +CONFIG_RTC_DRV_PL031=y > +CONFIG_RTC_DRV_PCF2127=y > + > +CONFIG_DMADEVICES=y > +CONFIG_FSL_EDMA=y > +CONFIG_CMA=y > +CONFIG_DMA_CMA=y > + > +CONFIG_VFIO=y > +CONFIG_VFIO_PCI=y > + > +CONFIG_STAGING=y > +CONFIG_FSL_MC_BUS=y > +CONFIG_FSL_MC_DPIO=y > + > +CONFIG_CLK_QORIQ=y > + > +CONFIG_PHY_XGENE=y > + > +CONFIG_CRYPTO_DEV_FSL_CAAM=y > +CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM=y > +CONFIG_ARM64_CRYPTO=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 > +# CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT is not set > + > +# EDAC > +CONFIG_EDAC_LAYERSCAPE=y > + > +CONFIG_SENSORS_LM90=y >
Re: [linux-yocto] [PATCH] renesas-rcar: enable PCM3168A-I2C codec drvier
merged to master. Bruce On Tue, Aug 27, 2019 at 4:59 AM wrote: > > From: Limeng > > On KingFisher board, there is PCM3168A codec chip, so enable > PCM3168A-I2C codec driver by setting configure > CONFIG_SND_SOC_PCM3168A_I2C > > Signed-off-by: Meng Li > --- > bsp/renesas-rcar/renesas-rcar.cfg | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/bsp/renesas-rcar/renesas-rcar.cfg > b/bsp/renesas-rcar/renesas-rcar.cfg > index 102441ab..cc896276 100644 > --- a/bsp/renesas-rcar/renesas-rcar.cfg > +++ b/bsp/renesas-rcar/renesas-rcar.cfg > @@ -96,6 +96,7 @@ CONFIG_SND_SOC_AK4613=y > CONFIG_SND_SOC_HDMI_CODEC=y > CONFIG_SND_SIMPLE_CARD=y > CONFIG_SND_AUDIO_GRAPH_CARD=y > +CONFIG_SND_SOC_PCM3168A_I2C=y > > # Clock configuration > CONFIG_COMMON_CLK=y > -- > 2.17.1 > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
Re: [linux-yocto] [PATCH] aufs: for v5.3-rc3, update UAPI SPDX
merged Bruce On Thu, Aug 29, 2019 at 9:52 AM wrote: > > From: "J. R. Okajima" > > Simply follows the commit in mainline, > 622445541b75 2019-07-29 kbuild: detect missing "WITH > Linux-syscall-note" for uapi headers > > Signed-off-by: J. R. Okajima > > Backport from git://github.com/sfjro/aufs5-linux.git > 90ff497cebbb ("aufs: for v5.3-rc3, update UAPI SPDX") > to fix, > error: kernel-source/include/uapi/linux/aufs_type.h: missing "WITH > Linux-syscall-note" for SPDX-License-Identifier > > Signed-off-by: He Zhe > --- > This is for linux-yocto-dev all branches. > > include/uapi/linux/aufs_type.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/uapi/linux/aufs_type.h b/include/uapi/linux/aufs_type.h > index 0e3e2b1..59f050c 100644 > --- a/include/uapi/linux/aufs_type.h > +++ b/include/uapi/linux/aufs_type.h > @@ -1,4 +1,4 @@ > -/* SPDX-License-Identifier: GPL-2.0 */ > +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ > /* > * Copyright (C) 2005-2019 Junjiro R. Okajima > * > -- > 2.7.4 > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
Re: [linux-yocto] [linux-yocto-dev]: [kernel standard/base]: renesas-rcar: add some patches to improve features on renesas-rcar platform
all three are now merged to linux-yocto-dev. Bruce On Thu, Aug 29, 2019 at 2:31 AM wrote: > > From: Limeng > > Hi Bruce, > > I am working on BSP renesas-rcar platform, and intend to merge this BSP > supporting into yocto community. > Below 3 patches are used to improve gpio, CAN BUS, audio and PCIe features > > 0001-arch-arm64-dts-Set-gpio5-pin9-as-input-by-default.patch > 0002-driver-net-can-disable-clock-when-it-is-in-enable-st.patch > 0003-pci-pcie-rcar-add-regulators-support.patch > > Could you please merge the 3 patches into linux-yocto-dev, branch is > standard/base? > > arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 56 +++ > drivers/net/can/rcar/rcar_can.c |5 +- > drivers/pci/controller/pcie-rcar.c | 64 > +++ > 3 files changed, 124 insertions(+), 1 deletion(-) > > > thanks, > Limeng -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
Re: [linux-yocto] [linux-yocto-dev] Add the support for the Marvell cn96xx SoC
On Tue, Aug 20, 2019 at 07:21:04PM +0800, Kevin Hao wrote: > Hi Bruce, > > This patch series adds the support for the Marvell cn96xx SoC. The OCTEON TX2 > cn96xx SoC is a scalable architecture that integrates high performance 64-bit > Armv8.2 processors, a cache-coherent interconnect, hardware accelerators, > virtualized networking, and scalable I/O. It support the following > industry-standard I/O interfaces: > DDR4 DRAM > PCI Express 4.0 version 1.0 > SGMII > QSGMII > XAUI > XFI > CAUI > > Most of the patches are for the Marvell specific drivers. So in theory, it > should be safe to merge these patches to the standard/base branch. But I > prefer to stage them to the specific standard/cn96xx branch. The reason is > that we plan to support other Marvell SoCs, and the SDK for them may be > based on different SDK versions. They will definitely touch some common > files affect by this patch series. So it would be a nightmare for us to > support them if these patches are merged to the standard/base branch. Ping... Thanks, Kevin > > The following changes since commit ce4ec6ff9589e3b1dcc4e3a0b192b02823631c3e: > > Merge tag 'v5.3-rc5' into standard/base (2019-08-18 22:40:47 -0400) > > are available in the Git repository at: > > git://github.com/haokexin/linux standard/cn96xx > > for you to fetch changes up to 4fae437f7ea88d2aab10cac684e11d94b12114bd: > > octeontx2-af: Fix the using of variable length arrays (2019-08-20 11:25:36 > +0800) > > > Aleksey Makarov (6): > octeontx2-pf: Set irq affinity hints for CQ interrupts > octeontx2-pf: Implement ndo_tx_timeout callback > octeontx2-pf: Support queue interrupts > octeontx2-pf: Add reset count to stats > octeontx2-af: Add low level support for Marvell PTP coprocessor > octeontx2-pf: Add support for PTP clock > > Angela Czubak (2): > octeontx2-af: fix rvu_sso_ggrp_taq_flush > octeontx2-af: fix cgx_lmac_rx_tx_enable > > Chandrakala Chavva (1): > mmc: cavium_thunderx: Use proper register to clear interrupts > > Christina Jacob (21): > octeontx2-pf: BQL support. > octeontx2-pf: IRQ coalescing config and tuning via ethtool > octeontx2-af: Dump current resource provisioning status > octeontx2-pf: Adding ethtool support for link status information. > octeontx2-af: Patch to prevent redundant message from pf to af. > octeontx2-pf: Fix redundant message from AF to PF > octeontx2-af: Support to get link info like current speed, fec etc > octeontx2-pf: Ethtool support for fec configuration > octeontx2-pf: Fix smmuv3 messages while deferring pf driver probe. > octeontx2-af: Move to rvu_fwdata version 1. > octeontx2-pf: Add ethtool -m option support. > octeontx2-af: Extend fwdata structure with additional information. > octeontx2-af: Update fwadata structure with few more reserved fields. > octeontx2-af: Fetch FEC stats of the physical link > octeontx2-pf: Support to display fec counters also in ethtool stats. > octeontx2-af: sync ATF and Kernel firmware data structure. > octeontx2-pf: Support to display current settings of a vf network > interface via ethtool > net:thunderx: fix memory leak in nicvf driver. > soc: octeontx2: Add mdio command interface using debugfs > octeontx2-af: Introduce SET_LINK_MODE command to change various > configurations of a network interface. > octeontx2-pf: support to change link speed and autoneg > > Felix Manlunas (2): > octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type > octeontx2-pf: Add ethtool priv flag to control PAM4 on/off > > Geetha sowjanya (26): > octeontx2-af: Sync hw mbox with bounce buffer. > octeontx2-pf: Add mailbox bounce buffer > octeontx2-pf: Add interface stats to ndo_get_stats64 > octeontx2-af: Config receive and transmission of pause frames > octeontx2-af: Add mbox message to enable/disable pause frames. > octeontx2-af: Add mbox messages to configure backpressure for an > interface. > octeontx2-pf: Add ethtool support to enable/disable pause frames > octeontx2-pf: Configure RED drop levels for packet reception. > octeontx2-pf: Configure backpressure level for packet reception > octeontx2-pf: Skip CQ_STATUS read if pending CQEs greater than budget > octeontx2-pf: Set RVU PF/VF watchdog timeout > octeontx2-af: Check SQ counters to detect the deadlock > octeontx2-af: Enable pci bus mastering > octeontx2-af: Fix rvu probe on cgx disable > octeontx2-pf: Add VF function level reset (FLR) support > octeontx2-vf: Configure backpressure level for packet reception > octeontx2-af: Support configurable NDC cache way_mask > octeontx2: Fix mbox driver compilation dependency. > octeontx2-pf: Set
Re: [linux-yocto] [kernel-cache master] bsp: Add the support for the marvell-cn96xx BSP
On Tue, Aug 20, 2019 at 07:29:20PM +0800, Kevin Hao wrote: > This adds the cfg files to support the Marvell OCTEON TX2 > CN96XX multicore arm64 SoC. Ping... Thanks, Kevin > > Signed-off-by: Kevin Hao > --- > bsp/marvell-cn96xx/marvell-cn96xx-standard.scc | 7 ++ > bsp/marvell-cn96xx/marvell-cn96xx.cfg | 104 > + > bsp/marvell-cn96xx/marvell-cn96xx.scc | 6 ++ > 3 files changed, 117 insertions(+) > create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx-standard.scc > create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx.cfg > create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx.scc > > diff --git a/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc > b/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc > new file mode 100644 > index ..8d92dc15f87b > --- /dev/null > +++ b/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc > @@ -0,0 +1,7 @@ > +define KMACHINE marvell-cn96xx > +define KTYPE standard > +define KARCH arm64 > + > +include ktypes/standard > + > +include marvell-cn96xx.scc > diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.cfg > b/bsp/marvell-cn96xx/marvell-cn96xx.cfg > new file mode 100644 > index ..6b83cd0659aa > --- /dev/null > +++ b/bsp/marvell-cn96xx/marvell-cn96xx.cfg > @@ -0,0 +1,104 @@ > +.. > +.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_ARM_SMMU_V3=y > +CONFIG_NR_CPUS=24 > +CONFIG_ARCH_THUNDER=y > + > +# uboot set "coherent_pool=16M" kernel parameter by default, so we need to > +# make sure CONFIG_FORCE_MAX_ZONEORDER is big enough > +CONFIG_ARM64_64K_PAGES=y > +CONFIG_TRANSPARENT_HUGEPAGE=y > + > +# PCIe > +CONFIG_PCI=y > +CONFIG_PCIEPORTBUS=y > +CONFIG_HOTPLUG_PCI=y > +CONFIG_HOTPLUG_PCI_PCIE=y > +CONFIG_PCI_IOV=y > + > +CONFIG_PCI_HOST_GENERIC=y > +CONFIG_PCI_HOST_THUNDER_PEM=y > +CONFIG_PCI_HOST_OCTEONTX2_PEM=y > + > +# Ethernet > +CONFIG_OCTEONTX2_AF=y > +CONFIG_OCTEONTX2_PF=y > +CONFIG_OCTEONTX2_VF=y > +CONFIG_USB_USBNET=y > +CONFIG_USB_NET_AX88179_178A=y > + > +# NVMe > +CONFIG_BLK_DEV_NVME=y > + > +# DMA > +CONFIG_OCTEONTX2_DPI_PF=y > + > +# MTD > +CONFIG_MTD=y > +CONFIG_MTD_SPI_NOR=y > +CONFIG_MTD_M25P80=y > +CONFIG_MTD_BLOCK=y > + > +# USB > +CONFIG_USB=y > +CONFIG_USB_XHCI_HCD=y > + > +# SPI > +CONFIG_SPI=y > +CONFIG_SPI_OCTEONTX2=y > + > +# I2C > +CONFIG_I2C=y > +CONFIG_I2C_THUNDERX=y > + > +# Serial > +CONFIG_SERIAL_AMBA_PL011=y > +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y > + > +# Watchdog > +CONFIG_ARM_SBSA_WATCHDOG=y > + > +# SD > +CONFIG_MMC=y > +CONFIG_MMC_CAVIUM_THUNDERX=y > + > +# GPIO > +CONFIG_GPIOLIB=y > +CONFIG_GPIO_THUNDERX=y > + > +# HWMON > +CONFIG_SENSORS_MAX6697=y > +CONFIG_SENSORS_JC42=y > + > +# RTC > +CONFIG_RTC_CLASS=y > +CONFIG_RTC_DRV_DS1307=y > + > +# Regulator > +CONFIG_REGULATOR=y > +CONFIG_REGULATOR_FIXED_VOLTAGE=y > +CONFIG_REGULATOR_GPIO=y > + > +# VFIO > +CONFIG_VFIO=y > +CONFIG_VFIO_PCI=y > + > +# Misc > +CONFIG_EEPROM_AT24=y > +CONFIG_HW_RANDOM=y > +CONFIG_HW_RANDOM_CAVIUM=y > +CONFIG_OCTEONTX2_RM=y > +CONFIG_OCTEONTX2_RM_DOM_SYSFS=y > diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.scc > b/bsp/marvell-cn96xx/marvell-cn96xx.scc > new file mode 100644 > index ..0d104fad583b > --- /dev/null > +++ b/bsp/marvell-cn96xx/marvell-cn96xx.scc > @@ -0,0 +1,6 @@ > +kconf hardware marvell-cn96xx.cfg > +kconf hardware features/edac/edac.cfg > + > +include cfg/usb-mass-storage.scc > + > +include features/hugetlb/hugetlb.scc > -- > 2.14.4 > signature.asc Description: PGP signature -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
[linux-yocto] [PATCH 1/3] arch: arm64: dts: Set gpio5-pin9 as input by default
From: Limeng The gpio5-pin9 is used as the interrupt pin of i2c external gpio chip, so set this pin as input by default. Signed-off-by: Meng Li --- arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index 27851a77f538..a1e70b52727b 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -205,6 +205,15 @@ }; }; + { + gpio_exp_77_int { + gpio-hog; + gpios = <9 0>; + input; + line-name = "gpio-exp-77-int"; + }; +}; + { gpio_exp_76: gpio@76 { compatible = "ti,tca9539"; -- 2.17.1 -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
[linux-yocto] [PATCH 3/3] pci: pcie-rcar: add regulators support
From: Andrey Gusakov Add PCIe regulators for KingFisher board. Signed-off-by: Meng Li --- arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 47 + drivers/pci/controller/pcie-rcar.c | 64 2 files changed, 111 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index a1e70b52727b..e8d431028fc7 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -50,6 +50,25 @@ startup-delay-us = <7>; enable-active-high; }; + + mpcie_3v3: regulator-mpcie_3v3 { + compatible = "regulator-fixed"; + regulator-name = "mPCIe 3v3"; + regulator-min-microvolt = <330>; + regulator-max-microvolt = <330>; + gpio = <_exp_77 14 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + mpcie_1v8: regulator-mpcie_1v8 { + compatible = "regulator-fixed"; + regulator-name = "mPCIe 1v8"; + regulator-min-microvolt = <180>; + regulator-max-microvolt = <180>; + gpio = <_exp_77 15 GPIO_ACTIVE_HIGH>; + startup-delay-us = <20>; + enable-active-high; + }; }; { @@ -233,6 +252,31 @@ interrupt-controller; interrupt-parent = <>; interrupts = <9 IRQ_TYPE_EDGE_FALLING>; + + mpcie_wake { + gpio-hog; + gpios = <0 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "mPCIe WAKE#"; + }; + mpcie_wdisable { + gpio-hog; + gpios = <1 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "mPCIe W_DISABLE"; + }; + mpcie_clreq { + gpio-hog; + gpios = <2 GPIO_ACTIVE_HIGH>; + input; + line-name = "mPCIe CLKREQ#"; + }; + mpcie_ovc { + gpio-hog; + gpios = <3 GPIO_ACTIVE_HIGH>; + input; + line-name = "mPCIe OVC"; + }; }; i2cswitch4: i2c-switch@71 { @@ -259,6 +303,9 @@ { status = "okay"; + + pcie3v3-supply = <_3v3>; + pcie1v8-supply = <_1v8>; }; { diff --git a/drivers/pci/controller/pcie-rcar.c b/drivers/pci/controller/pcie-rcar.c index f6a669a9af41..8e7e714e33fd 100644 --- a/drivers/pci/controller/pcie-rcar.c +++ b/drivers/pci/controller/pcie-rcar.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -151,6 +152,8 @@ struct rcar_pcie { struct list_headresources; int root_bus_nr; struct clk *bus_clk; + struct regulator*pcie3v3; /* 3.3V power supply */ + struct regulator*pcie1v8; /* 1.8V power supply */ struct rcar_msi msi; }; @@ -1120,6 +1123,36 @@ static const struct of_device_id rcar_pcie_of_match[] = { {}, }; +static int rcar_pcie_set_vpcie(struct rcar_pcie *pcie) +{ + struct device *dev = pcie->dev; + int err; + + if (!IS_ERR(pcie->pcie3v3)) { + err = regulator_enable(pcie->pcie3v3); + if (err) { + dev_err(dev, "fail to enable vpcie3v3 regulator\n"); + goto err_out; + } + } + + if (!IS_ERR(pcie->pcie1v8)) { + err = regulator_enable(pcie->pcie1v8); + if (err) { + dev_err(dev, "fail to enable vpcie1v8 regulator\n"); + goto err_disable_3v3; + } + } + + return 0; + +err_disable_3v3: + if (!IS_ERR(pcie->pcie3v3)) + regulator_disable(pcie->pcie3v3); +err_out: + return err; +} + static int rcar_pcie_probe(struct platform_device *pdev) { struct device *dev = >dev; @@ -1138,6 +1171,31 @@ static int rcar_pcie_probe(struct platform_device *pdev) pcie->dev = dev; platform_set_drvdata(pdev, pcie); + pcie->pcie3v3 = devm_regulator_get_optional(dev, "pcie3v3"); + if (IS_ERR(pcie->pcie3v3)) { + if (PTR_ERR(pcie->pcie3v3) == -EPROBE_DEFER) { + pci_free_host_bridge(bridge); + return -EPROBE_DEFER; + } + dev_info(dev, "no pcie3v3 regulator found\n"); + } + + pcie->pcie1v8 = devm_regulator_get_optional(dev, "pcie1v8"); + if (IS_ERR(pcie->pcie1v8)) { + if (PTR_ERR(pcie->pcie1v8) == -EPROBE_DEFER) { + pci_free_host_bridge(bridge); +
[linux-yocto] [PATCH 2/3] driver: net: can: disable clock when it is in enable status
From: Limeng If disable a clock when it is already in disable status, there will be a warning trace generated. So, it is need to confirm whether what status the clock is in before disable it. Signed-off-by: Meng Li --- drivers/net/can/rcar/rcar_can.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/can/rcar/rcar_can.c b/drivers/net/can/rcar/rcar_can.c index 13e66297b65f..f788b826e4aa 100644 --- a/drivers/net/can/rcar/rcar_can.c +++ b/drivers/net/can/rcar/rcar_can.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -864,7 +865,9 @@ static int __maybe_unused rcar_can_suspend(struct device *dev) writew(ctlr, >regs->ctlr); priv->can.state = CAN_STATE_SLEEPING; - clk_disable(priv->clk); + if(__clk_is_enabled(priv->clk)) + clk_disable(priv->clk); + return 0; } -- 2.17.1 -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
[linux-yocto] [linux-yocto-dev]: [kernel standard/base]: renesas-rcar: add some patches to improve features on renesas-rcar platform
From: Limeng Hi Bruce, I am working on BSP renesas-rcar platform, and intend to merge this BSP supporting into yocto community. Below 3 patches are used to improve gpio, CAN BUS, audio and PCIe features 0001-arch-arm64-dts-Set-gpio5-pin9-as-input-by-default.patch 0002-driver-net-can-disable-clock-when-it-is-in-enable-st.patch 0003-pci-pcie-rcar-add-regulators-support.patch Could you please merge the 3 patches into linux-yocto-dev, branch is standard/base? arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 56 +++ drivers/net/can/rcar/rcar_can.c |5 +- drivers/pci/controller/pcie-rcar.c | 64 +++ 3 files changed, 124 insertions(+), 1 deletion(-) thanks, Limeng -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto