[linux-yocto] [PATCH 2/2] ti-am335x: add CPU Freq/Idle support

2019-09-16 Thread Jun Miao
enable kernel options to support the CPU Frequency/Idle.

Signed-off-by: Jun Miao 
---
 bsp/ti-am335x/ti-am335x.cfg | 21 +
 1 file changed, 21 insertions(+)

diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
index bd2711c8..156bc761 100644
--- a/bsp/ti-am335x/ti-am335x.cfg
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -34,6 +34,27 @@ CONFIG_REGMAP_IRQ=y
 
 CONFIG_REGULATOR_TPS65910=y
 CONFIG_REGULATOR_TPS65217=y
+
+#
+# CPU Frequency
+#
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=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_CPUFREQ_DT_PLATDEV=y
+CONFIG_ARM_TI_CPUFREQ=y
+
+# CPU Idle
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_DT_IDLE_STATES=y
+CONFIG_ARM_CPUIDLE=y
+
 #
 # RAM/ROM/Flash chip drivers
 #
-- 
2.22.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [kernel-cache master] ti-am335x: add CPU freq/idle support and correct arch bits

2019-09-16 Thread Jun Miao



Hi Bruce.
   Please help me merge the two patches to master branch of yocto-kernel-cache

   5721cc33a0511c5964e96f439b61b97d20e500d7 ti-am335x: add CPU Freq/Idle support
   15fed008b84b8ef7ae760227d750f8840d635e43 ti-am335x: correct the arch 64-bit 
to 32-bit


Jun Miao (2):
  ti-am335x: correct the arch 64-bit to 32-bit
  ti-am335x: add CPU Freq/Idle support

 bsp/ti-am335x/ti-am335x-standard.scc |  2 +-
 bsp/ti-am335x/ti-am335x.cfg  | 21 +
 2 files changed, 22 insertions(+), 1 deletion(-)

-- 
2.22.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 1/2] ti-am335x: correct the arch 64-bit to 32-bit

2019-09-16 Thread Jun Miao
am335x SoC is 32-Bit RISC Microprocessor.

Signed-off-by: Jun Miao 
---
 bsp/ti-am335x/ti-am335x-standard.scc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsp/ti-am335x/ti-am335x-standard.scc 
b/bsp/ti-am335x/ti-am335x-standard.scc
index d357a729..4753600c 100644
--- a/bsp/ti-am335x/ti-am335x-standard.scc
+++ b/bsp/ti-am335x/ti-am335x-standard.scc
@@ -1,6 +1,6 @@
 define KMACHINE ti-am335x
 define KTYPE standard
-define KARCH arm64
+define KARCH arm
 
 include ktypes/standard/standard.scc
 branch ti-am335x
-- 
2.22.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 1/1] ti-am335x: add the basic scc/cfg enablement

2019-09-03 Thread Jun Miao
Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black
boards all with am335x soc

Signed-off-by: Jun Miao 
---
 bsp/ti-am335x/ti-am335x-standard.scc |   7 +
 bsp/ti-am335x/ti-am335x.cfg  | 230 +++
 bsp/ti-am335x/ti-am335x.scc  |   7 +
 3 files changed, 244 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

diff --git a/bsp/ti-am335x/ti-am335x-standard.scc 
b/bsp/ti-am335x/ti-am335x-standard.scc
new file mode 100644
index ..d50230b5
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x-standard.scc
@@ -0,0 +1,7 @@
+define KMACHINE ti-am335x
+define KTYPE standard
+define KARCH arm
+
+include ktypes/standard/standard.scc
+
+include ti-am335x.scc
diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
new file mode 100644
index ..aca2d86f
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -0,0 +1,230 @@
+#.
+#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_ARM=y
+CONFIG_ARCH_OMAP=y
+CONFIG_OMAP_DM_TIMER=y
+CONFIG_SOC_AM33XX=y
+CONFIG_ARCH_OMAP2PLUS=y
+
+
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+
+#
+# Power management options
+#
+
+CONFIG_PM=y
+CONFIG_REGMAP_IRQ=y
+
+CONFIG_REGULATOR_TPS65910=y
+CONFIG_REGULATOR_TPS65217=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_OMAP_OCP2SCP=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+
+CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_NAND_OMAP_BCH=y
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=y
+
+# Misc devices
+CONFIG_EEPROM_AT24=y
+CONFIG_SENSORS_LIS3_I2C=y
+CONFIG_BLK_DEV_SD=y
+
+CONFIG_ETHERNET=y
+CONFIG_NET_VENDOR_TI=y
+CONFIG_TI_DAVINCI_MDIO=y
+CONFIG_TI_CPSW_PHY_SEL=y
+CONFIG_TI_CPSW=y
+CONFIG_TI_CPTS=y
+CONFIG_PHYLIB=y
+
+CONFIG_SMSC_PHY=y
+CONFIG_FIXED_PHY=y
+
+#
+# Input Device Drivers
+#
+
+CONFIG_INPUT=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_MATRIX=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_TI_AM335X_TSC=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_TPS65218_PWRBUTTON=m
+CONFIG_SERIAL_EARLYCON=y
+
+#
+# 8250 serial port support
+#
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
+
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_OMAP=y
+
+# I2C support
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_OMAP=y
+CONFIG_SENSORS_TSL2550=y
+CONFIG_GPIO_TWL4030=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_GPIO_PCF857X=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_SYSFS=y
+
+CONFIG_GPIO_OMAP=y
+CONFIG_GPIO_PCA953X=m
+CONFIG_GPIO_TPS65910=y
+
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_CORE=y
+CONFIG_OMAP_WATCHDOG=m
+
+CONFIG_MFD_SYSCON=y
+CONFIG_MFD_TI_AM335X_TSCADC=y
+CONFIG_MFD_OMAP_USB_HOST=y
+CONFIG_MFD_TPS65217=y
+CONFIG_MFD_TPS65218=y
+CONFIG_MFD_TPS65910=y
+CONFIG_TWL6040_CORE=y
+
+#
+# LCD
+#
+CONFIG_DRM=y
+CONFIG_DRM_OMAP=y
+CONFIG_OMAP2_DSS_DPI=y
+CONFIG_DRM_TILCDC=y
+CONFIG_DRM_I2C_NXP_TDA998X=y
+
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_GENERIC=y
+CONFIG_PWM=y
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_BACKLIGHT_GPIO=y
+
+
+CONFIG_SOUND=m
+CONFIG_SND=m
+CONFIG_SND_SOC=m
+CONFIG_SND_SIMPLE_CARD=m
+
+
+#CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+#CONFIG_USB_MON=m
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB=y
+CONFIG_USB_SUPPORT=y
+
+CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_HCD_OMAP=m
+CONFIG_USB_MUSB_HDRC=m
+
+#
+# USB Physical Layer drivers Peripheral Controller
+#
+CONFIG_USB_PHY=y
+CONFIG_NOP_USB_XCEIV=m
+CONFIG_AM335X_CONTROL_USB=m
+CONFIG_AM335X_PHY_USB=m
+
+# Platform Glue Layer
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_MUSB_AM335X_CHILD=m
+
+# MUSB DMA mode
+CONFIG_USB_TI_CPPI41_DMA=y
+
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC=y
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_MINORS=8
+
+CONFIG_MMC_OMAP=y
+CONFIG_MMC_OMAP_HS=y
+
+#
+# I2C RTC drivers
+#
+CONFIG_MFD_PALMAS=y
+CONFIG_RTC_DRV_PALMAS=y
+
+CONFIG_TWL4030_CORE=y
+CONFIG_RTC_DRV_TWL4030=y
+CONFIG_RTC_DRV_OMAP=y

[linux-yocto] [kernel-cache v5.2] ti-am335x: add base support

2019-09-03 Thread Jun Miao
Hi Bruce,   
   
 I am working ti boards(AM335x evm/sk/BBB) with am335x soc. 
  
 Could you help me add scc/cfg to yocto-kernel-cache v5.2 branch.


Jun Miao (1):
  ti-am335x: add the basic scc/cfg enablement

 bsp/ti-am335x/ti-am335x-standard.scc |   7 +
 bsp/ti-am335x/ti-am335x.cfg  | 230 +++
 bsp/ti-am335x/ti-am335x.scc  |   7 +
 3 files changed, 244 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

-- 
2.22.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH] ti-am335x: add the basic scc/cfg enablement

2019-08-28 Thread Jun Miao
Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black
boards all with am335x soc

Signed-off-by: Jun Miao 
---
 bsp/ti-am335x/ti-am335x-standard.scc |   8 +
 bsp/ti-am335x/ti-am335x.cfg  | 239 +++
 bsp/ti-am335x/ti-am335x.scc  |   7 +
 3 files changed, 254 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

diff --git a/bsp/ti-am335x/ti-am335x-standard.scc 
b/bsp/ti-am335x/ti-am335x-standard.scc
new file mode 100644
index ..fab0ec2f
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x-standard.scc
@@ -0,0 +1,8 @@
+define KMACHINE ti-am335x
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard/standard.scc
+branch base
+
+include ti-am335x.scc
diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
new file mode 100644
index ..1a3f0ad1
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -0,0 +1,239 @@
+#.
+#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_ARM=y
+CONFIG_ARCH_OMAP=y
+CONFIG_OMAP_DM_TIMER=y
+CONFIG_SOC_AM33XX=y
+CONFIG_ARCH_OMAP2PLUS=y
+
+
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+
+#
+# Power management options
+#
+
+CONFIG_PM=y
+CONFIG_REGMAP_IRQ=y
+
+CONFIG_REGULATOR_TPS65910=y
+CONFIG_REGULATOR_TPS65217=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_OMAP_OCP2SCP=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_NAND_OMAP_BCH=y
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=y
+
+# Misc devices
+CONFIG_EEPROM_AT24=y
+CONFIG_SENSORS_LIS3_I2C=y
+CONFIG_BLK_DEV_SD=y
+
+CONFIG_ETHERNET=y
+CONFIG_NET_VENDOR_TI=y
+CONFIG_TI_DAVINCI_MDIO=y
+CONFIG_TI_DAVINCI_CPDMA=y
+CONFIG_TI_CPSW_PHY_SEL=y
+CONFIG_TI_CPSW_ALE=y
+CONFIG_TI_CPSW=y
+CONFIG_TI_CPTS=y
+CONFIG_PHYLIB=y
+
+CONFIG_SMSC_PHY=y
+CONFIG_FIXED_PHY=y
+
+#
+# Input Device Drivers
+#
+
+CONFIG_INPUT=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_MATRIX=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_TI_AM335X_TSC=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_TPS65218_PWRBUTTON=m
+CONFIG_SERIAL_EARLYCON=y
+
+#
+# 8250 serial port support
+#
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
+
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_OMAP=y
+
+# I2C support
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_OMAP=y
+CONFIG_SENSORS_TSL2550=y
+CONFIG_GPIO_TWL4030=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_GPIO_PCF857X=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_SYSFS=y
+
+CONFIG_GPIO_OMAP=y
+CONFIG_GPIO_PCA953X=m
+CONFIG_GPIO_TPS65910=y
+
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_CORE=y
+CONFIG_OMAP_WATCHDOG=m
+
+CONFIG_MFD_SYSCON=y
+CONFIG_MFD_TI_AM335X_TSCADC=y
+CONFIG_MFD_OMAP_USB_HOST=y
+CONFIG_MFD_TPS65217=y
+CONFIG_MFD_TPS65218=y
+CONFIG_MFD_TPS65910=y
+CONFIG_TWL6040_CORE=y
+
+#
+# LCD
+#
+CONFIG_DRM=y
+CONFIG_DRM_OMAP=y
+CONFIG_OMAP2_DSS_DPI=y
+CONFIG_DRM_TILCDC=y
+CONFIG_DRM_OMAP_PANEL_DPI=y
+CONFIG_DRM_I2C_NXP_TDA998X=y
+
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_GENERIC=y
+CONFIG_PWM=y
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_BACKLIGHT_GPIO=y
+
+
+CONFIG_SOUND=m
+CONFIG_SND=m
+CONFIG_SND_SOC=m
+CONFIG_SND_DAVINCI_SOC_MCASP=m
+CONFIG_SND_SIMPLE_CARD=m
+
+
+#CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+#CONFIG_USB_MON=m
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB=y
+CONFIG_USB_SUPPORT=y
+
+CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_HCD_OMAP=m
+CONFIG_USB_MUSB_HDRC=m
+
+#
+# USB Physical Layer drivers Peripheral Controller
+#
+CONFIG_USB_PHY=y
+CONFIG_NOP_USB_XCEIV=m
+CONFIG_AM335X_CONTROL_USB=m
+CONFIG_AM335X_PHY_USB=m
+
+# Platform Glue Layer
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_MUSB_AM335X_CHILD=m
+
+# MUSB DMA mode
+CONFIG_USB_TI_CPPI41_DMA=y
+
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC=y
+CONFIG_MMC_UNSAFE_RESUME=y
+CONFIG_MMC_BLOCK=y

[linux-yocto] [kernel-cache yocto-5.0][PATCH 0/1] ti-am335x: add base support

2019-08-28 Thread Jun Miao
Hi Bruce,
  Beacuse the CI/CD project must contain the linux-yocto kernel building 
successfully, we usually choose the yocto-5.0 branch. 
  Please help me add this scc/cfg to yocto-5.0 branch.

Thanks 



Jun Miao (1):
  ti-am335x: add the basic scc/cfg enablement

 bsp/ti-am335x/ti-am335x-standard.scc |   8 +
 bsp/ti-am335x/ti-am335x.cfg  | 239 +++
 bsp/ti-am335x/ti-am335x.scc  |   7 +
 3 files changed, 254 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

-- 
2.22.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [linux-yocto-dev] Merge tag 'v5.3-rc6' into standard/base

2019-08-26 Thread Jun Miao

Hi Bruce,

   I am sorry to trouble you .

   When you merge tag 'v5.3-rc6' into standard/base, why you delete  
"define debug_align(X) (X)" and lose the "#endif" (#ifend ... #endif)  ?



--

commit b73b90b1d2cc6b4ba740e66479ab054482174f94
Merge: ce4ec6f a55aa89
Author: Bruce Ashfield 
Date:   Sun Aug 25 22:28:04 2019 -0400

    Merge tag 'v5.3-rc6' into standard/base

    Linux 5.3-rc6

    Signed-off-by: Bruce Ashfield 

diff --cc kernel/module.c
index cd8df51,9ee9342..92e3c2e
--- a/kernel/module.c
+++ b/kernel/module.c
@@@ -64,9 -64,14 +64,11 @@@

  /*
   * Modules' sections will be aligned on page boundaries
-  * to ensure complete separation of code and data
+  * to ensure complete separation of code and data, but
+  * only when CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
   */
+ #ifdef CONFIG_ARCH_HAS_STRICT_MODULE_RWX
  # define debug_align(X) ALIGN(X, PAGE_SIZE)
 -#else
 -# define debug_align(X) (X)
 -#endif


--
Thanks
Jun

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [kernel-cache master][PATCH 1/1] ti-am335x: enable kernel options for PMIC support

2019-08-15 Thread Jun Miao
add Power Management IC support.
TPS65910: am335x EVM/SK
TPS65217: am335x BBB

Signed-off-by: Jun Miao 
---
 bsp/ti-am335x/ti-am335x.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
index 77085326..bd2711c8 100644
--- a/bsp/ti-am335x/ti-am335x.cfg
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -32,6 +32,8 @@ CONFIG_NEON=y
 CONFIG_PM=y
 CONFIG_REGMAP_IRQ=y
 
+CONFIG_REGULATOR_TPS65910=y
+CONFIG_REGULATOR_TPS65217=y
 #
 # RAM/ROM/Flash chip drivers
 #
-- 
2.22.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [kernel-cache master][PATCH][V2] ti-am335x: add the basic scc/cfg enablement

2019-08-07 Thread Jun Miao
Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black
boards all with am335x soc

Signed-off-by: Jun Miao 
---
 bsp/ti-am335x/ti-am335x-standard.scc |   8 +
 bsp/ti-am335x/ti-am335x.cfg  | 236 +++
 bsp/ti-am335x/ti-am335x.scc  |   8 +
 cfg/remoteproc.cfg   |   3 +
 4 files changed, 255 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc
 create mode 100644 cfg/remoteproc.cfg

diff --git a/bsp/ti-am335x/ti-am335x-standard.scc 
b/bsp/ti-am335x/ti-am335x-standard.scc
new file mode 100644
index ..d357a729
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x-standard.scc
@@ -0,0 +1,8 @@
+define KMACHINE ti-am335x
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard/standard.scc
+branch ti-am335x
+
+include ti-am335x.scc
diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
new file mode 100644
index ..77085326
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -0,0 +1,236 @@
+#.
+#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_ARM=y
+CONFIG_ARCH_OMAP=y
+CONFIG_OMAP_DM_TIMER=y
+CONFIG_SOC_AM33XX=y
+CONFIG_ARCH_OMAP2PLUS=y
+
+
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+
+#
+# Power management options
+#
+
+CONFIG_PM=y
+CONFIG_REGMAP_IRQ=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_OMAP_OCP2SCP=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_NAND_OMAP_BCH=y
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=y
+
+# Misc devices
+CONFIG_EEPROM_AT24=y
+CONFIG_SENSORS_LIS3_I2C=y
+CONFIG_BLK_DEV_SD=y
+
+CONFIG_ETHERNET=y
+CONFIG_NET_VENDOR_TI=y
+CONFIG_TI_DAVINCI_MDIO=y
+CONFIG_TI_DAVINCI_CPDMA=y
+CONFIG_TI_CPSW_PHY_SEL=y
+CONFIG_TI_CPSW_ALE=y
+CONFIG_TI_CPSW=y
+CONFIG_TI_CPTS=y
+CONFIG_PHYLIB=y
+
+CONFIG_SMSC_PHY=y
+CONFIG_FIXED_PHY=y
+
+#
+# Input Device Drivers
+#
+
+CONFIG_INPUT=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_MATRIX=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_TI_AM335X_TSC=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_TPS65218_PWRBUTTON=m
+CONFIG_SERIAL_EARLYCON=y
+
+#
+# 8250 serial port support
+#
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
+
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_OMAP=y
+
+# I2C support
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_OMAP=y
+CONFIG_SENSORS_TSL2550=y
+CONFIG_GPIO_TWL4030=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_GPIO_PCF857X=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_SYSFS=y
+
+CONFIG_GPIO_OMAP=y
+CONFIG_GPIO_PCA953X=m
+CONFIG_GPIO_TPS65910=y
+
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_CORE=y
+CONFIG_OMAP_WATCHDOG=m
+
+CONFIG_MFD_SYSCON=y
+CONFIG_MFD_TI_AM335X_TSCADC=y
+CONFIG_MFD_OMAP_USB_HOST=y
+CONFIG_MFD_TPS65217=y
+CONFIG_MFD_TPS65218=y
+CONFIG_MFD_TPS65910=y
+CONFIG_TWL6040_CORE=y
+
+#
+# LCD
+#
+CONFIG_DRM=y
+CONFIG_DRM_OMAP=y
+CONFIG_OMAP2_DSS_DPI=y
+CONFIG_DRM_TILCDC=y
+CONFIG_DRM_OMAP_PANEL_DPI=y
+CONFIG_DRM_I2C_NXP_TDA998X=y
+
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_GENERIC=y
+CONFIG_PWM=y
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_BACKLIGHT_GPIO=y
+
+
+CONFIG_SOUND=m
+CONFIG_SND=m
+CONFIG_SND_SOC=m
+CONFIG_SND_DAVINCI_SOC_MCASP=m
+CONFIG_SND_SIMPLE_CARD=m
+
+
+#CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+#CONFIG_USB_MON=m
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB=y
+CONFIG_USB_SUPPORT=y
+
+CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_HCD_OMAP=m
+CONFIG_USB_MUSB_HDRC=m
+
+#
+# USB Physical Layer drivers Peripheral Controller
+#
+CONFIG_USB_PHY=y
+CONFIG_NOP_USB_XCEIV=m
+CONFIG_AM335X_CONTROL_USB=m
+CONFIG_AM335X_PHY_USB=m
+
+# Platform Glue Layer
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_MUSB_AM335X_CHILD=m
+
+# MUSB DMA mode
+CONFIG_USB_TI_CPPI41_DMA=y
+
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC=y

Re: [linux-yocto] [kernel-cache master]: ti-am335x

2019-08-06 Thread Jun Miao



On 8/7/19 10:45 AM, Bruce Ashfield wrote:

On Tue, Aug 6, 2019 at 6:20 AM Jun Miao  wrote:


Hi Bruce,

 I am working ti boards(AM335x evm/sk/BBB) with am335x soc.

 1.This patch add scc/cfg to yocto-kernel-cache master branch.


#1 shouldn't be a problem.

 2.Could you help me build a new branch "ti-am335x" in

linux-yocto-dev?



but #2 raises a question.  I try and limit the number of BSP specific
branches. What type of patches are you expecting to put on that branch, and
do you expect that they won't be safe for other boards ?

Bruce


hi Bruce ,

This branch is prepared for ti-am335x CI/CD development,and there will 
be some TI SDK patches into.


i am afraid that those patches for ti-am335x(evm/sk/bbb) boards will 
influence other boards.



Thanks
Jun




Thanks



Jun Miao (1):
   ti-am335x: add the basic scc/cfg enablement

  bsp/ti-am335x/ti-am335x-standard.scc |   8 +
  bsp/ti-am335x/ti-am335x.cfg  | 242 +++
  bsp/ti-am335x/ti-am335x.scc  |   7 +
  3 files changed, 257 insertions(+)
  create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
  create mode 100644 bsp/ti-am335x/ti-am335x.cfg
  create mode 100644 bsp/ti-am335x/ti-am335x.scc

--
2.22.0



--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 1/1] ti-am335x: add the basic scc/cfg enablement

2019-08-06 Thread Jun Miao



On 8/7/19 10:47 AM, Bruce Ashfield wrote:

On Tue, Aug 6, 2019 at 6:20 AM Jun Miao  wrote:


Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black
boards all with am335x soc

Signed-off-by: Jun Miao 
---
  bsp/ti-am335x/ti-am335x-standard.scc |   8 +
  bsp/ti-am335x/ti-am335x.cfg  | 242 +++
  bsp/ti-am335x/ti-am335x.scc  |   7 +
  3 files changed, 257 insertions(+)
  create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
  create mode 100644 bsp/ti-am335x/ti-am335x.cfg
  create mode 100644 bsp/ti-am335x/ti-am335x.scc

diff --git a/bsp/ti-am335x/ti-am335x-standard.scc
b/bsp/ti-am335x/ti-am335x-standard.scc
new file mode 100644
index ..d357a729
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x-standard.scc
@@ -0,0 +1,8 @@
+define KMACHINE ti-am335x
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard/standard.scc
+branch ti-am335x
+
+include ti-am335x.scc
diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
new file mode 100644
index ..bb5b6653
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -0,0 +1,242 @@
+#.
+#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_ARM=y
+CONFIG_ARCH_OMAP=y
+CONFIG_OMAP_DM_TIMER=y
+CONFIG_SOC_AM33XX=y
+CONFIG_ARCH_OMAP2PLUS=y
+
+
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+
+#
+# Power management options
+#
+
+CONFIG_PM=y
+CONFIG_REGMAP_IRQ=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_OMAP_OCP2SCP=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_NAND_OMAP_BCH=y
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=y
+
+# Misc devices
+CONFIG_EEPROM_AT24=y
+CONFIG_SENSORS_LIS3_I2C=y
+CONFIG_BLK_DEV_SD=y
+
+CONFIG_ETHERNET=y
+CONFIG_NET_VENDOR_TI=y
+CONFIG_TI_DAVINCI_MDIO=y
+CONFIG_TI_DAVINCI_CPDMA=y
+CONFIG_TI_CPSW_PHY_SEL=y
+CONFIG_TI_CPSW_ALE=y
+CONFIG_TI_CPSW=y
+CONFIG_TI_CPTS=y
+CONFIG_PHYLIB=y
+
+CONFIG_SMSC_PHY=y
+CONFIG_FIXED_PHY=y
+
+#
+# Input Device Drivers
+#
+
+CONFIG_INPUT=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_MATRIX=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_TI_AM335X_TSC=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_TPS65218_PWRBUTTON=m
+CONFIG_SERIAL_EARLYCON=y
+
+#
+# 8250 serial port support
+#
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
+
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_OMAP=y
+
+# I2C support
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_OMAP=y
+CONFIG_SENSORS_TSL2550=y
+CONFIG_GPIO_TWL4030=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_GPIO_PCF857X=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_SYSFS=y
+
+CONFIG_GPIO_OMAP=y
+CONFIG_GPIO_PCA953X=m
+CONFIG_GPIO_TPS65910=y
+
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_CORE=y
+CONFIG_OMAP_WATCHDOG=m
+
+CONFIG_MFD_SYSCON=y
+CONFIG_MFD_TI_AM335X_TSCADC=y
+CONFIG_MFD_OMAP_USB_HOST=y
+CONFIG_MFD_TPS65217=y
+CONFIG_MFD_TPS65218=y
+CONFIG_MFD_TPS65910=y
+CONFIG_TWL6040_CORE=y
+
+#
+# LCD
+#
+CONFIG_DRM=y
+CONFIG_DRM_OMAP=y
+CONFIG_OMAP2_DSS_DPI=y
+CONFIG_DRM_TILCDC=y
+CONFIG_DRM_OMAP_PANEL_DPI=y
+CONFIG_DRM_I2C_NXP_TDA998X=y
+
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_GENERIC=y
+CONFIG_PWM=y
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_BACKLIGHT_GPIO=y
+
+
+CONFIG_SOUND=m
+CONFIG_SND=m
+CONFIG_SND_SOC=m
+CONFIG_SND_DAVINCI_SOC_MCASP=m
+CONFIG_SND_SIMPLE_CARD=m
+
+
+#CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+#CONFIG_USB_MON=m
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB=y
+CONFIG_USB_SUPPORT=y
+
+CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_HCD_OMAP=m
+CONFIG_USB_MUSB_HDRC=m
+
+#
+# USB Physical Layer drivers Peripheral Controller
+#
+CONFIG_USB_PHY=y
+CONFIG_NOP_USB_XCEIV=m
+CONFIG_AM335X_CONTROL_USB=m
+CONFIG_AM335X_PHY_USB=m
+
+# Platform Glue Layer
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_MUSB_AM335X_CHILD=m
+
+# MUSB DMA mode
+CONFIG_USB_TI_CPPI41_DMA=y
+
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC=y

[linux-yocto] [PATCH 1/1] ti-am335x: add the basic scc/cfg enablement

2019-08-06 Thread Jun Miao
Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black
boards all with am335x soc

Signed-off-by: Jun Miao 
---
 bsp/ti-am335x/ti-am335x-standard.scc |   8 +
 bsp/ti-am335x/ti-am335x.cfg  | 242 +++
 bsp/ti-am335x/ti-am335x.scc  |   7 +
 3 files changed, 257 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

diff --git a/bsp/ti-am335x/ti-am335x-standard.scc 
b/bsp/ti-am335x/ti-am335x-standard.scc
new file mode 100644
index ..d357a729
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x-standard.scc
@@ -0,0 +1,8 @@
+define KMACHINE ti-am335x
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard/standard.scc
+branch ti-am335x
+
+include ti-am335x.scc
diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
new file mode 100644
index ..bb5b6653
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -0,0 +1,242 @@
+#.
+#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_ARM=y
+CONFIG_ARCH_OMAP=y
+CONFIG_OMAP_DM_TIMER=y
+CONFIG_SOC_AM33XX=y
+CONFIG_ARCH_OMAP2PLUS=y
+
+
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+
+#
+# Power management options
+#
+
+CONFIG_PM=y
+CONFIG_REGMAP_IRQ=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_OMAP_OCP2SCP=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_NAND_OMAP_BCH=y
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=y
+
+# Misc devices
+CONFIG_EEPROM_AT24=y
+CONFIG_SENSORS_LIS3_I2C=y
+CONFIG_BLK_DEV_SD=y
+
+CONFIG_ETHERNET=y
+CONFIG_NET_VENDOR_TI=y
+CONFIG_TI_DAVINCI_MDIO=y
+CONFIG_TI_DAVINCI_CPDMA=y
+CONFIG_TI_CPSW_PHY_SEL=y
+CONFIG_TI_CPSW_ALE=y
+CONFIG_TI_CPSW=y
+CONFIG_TI_CPTS=y
+CONFIG_PHYLIB=y
+
+CONFIG_SMSC_PHY=y
+CONFIG_FIXED_PHY=y
+
+#
+# Input Device Drivers
+#
+
+CONFIG_INPUT=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_MATRIX=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_TI_AM335X_TSC=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_TPS65218_PWRBUTTON=m
+CONFIG_SERIAL_EARLYCON=y
+
+#
+# 8250 serial port support
+#
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
+
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_OMAP=y
+
+# I2C support
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_OMAP=y
+CONFIG_SENSORS_TSL2550=y
+CONFIG_GPIO_TWL4030=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_GPIO_PCF857X=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_SYSFS=y
+
+CONFIG_GPIO_OMAP=y
+CONFIG_GPIO_PCA953X=m
+CONFIG_GPIO_TPS65910=y
+
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_CORE=y
+CONFIG_OMAP_WATCHDOG=m
+
+CONFIG_MFD_SYSCON=y
+CONFIG_MFD_TI_AM335X_TSCADC=y
+CONFIG_MFD_OMAP_USB_HOST=y
+CONFIG_MFD_TPS65217=y
+CONFIG_MFD_TPS65218=y
+CONFIG_MFD_TPS65910=y
+CONFIG_TWL6040_CORE=y
+
+#
+# LCD
+#
+CONFIG_DRM=y
+CONFIG_DRM_OMAP=y
+CONFIG_OMAP2_DSS_DPI=y
+CONFIG_DRM_TILCDC=y
+CONFIG_DRM_OMAP_PANEL_DPI=y
+CONFIG_DRM_I2C_NXP_TDA998X=y
+
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_GENERIC=y
+CONFIG_PWM=y
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_BACKLIGHT_GPIO=y
+
+
+CONFIG_SOUND=m
+CONFIG_SND=m
+CONFIG_SND_SOC=m
+CONFIG_SND_DAVINCI_SOC_MCASP=m
+CONFIG_SND_SIMPLE_CARD=m
+
+
+#CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+#CONFIG_USB_MON=m
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB=y
+CONFIG_USB_SUPPORT=y
+
+CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_HCD_OMAP=m
+CONFIG_USB_MUSB_HDRC=m
+
+#
+# USB Physical Layer drivers Peripheral Controller
+#
+CONFIG_USB_PHY=y
+CONFIG_NOP_USB_XCEIV=m
+CONFIG_AM335X_CONTROL_USB=m
+CONFIG_AM335X_PHY_USB=m
+
+# Platform Glue Layer
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_MUSB_AM335X_CHILD=m
+
+# MUSB DMA mode
+CONFIG_USB_TI_CPPI41_DMA=y
+
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC=y
+CONFIG_MMC_UNSAFE_RESUME=y
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_MINORS=8
+CONFIG_MMC_BLOCK_BOUNCE=y

[linux-yocto] [kernel-cache master]: ti-am335x

2019-08-06 Thread Jun Miao
Hi Bruce,
 
I am working ti boards(AM335x evm/sk/BBB) with am335x soc.

1.This patch add scc/cfg to yocto-kernel-cache master branch.
2.Could you help me build a new branch "ti-am335x" in linux-yocto-dev?

Thanks 



Jun Miao (1):
  ti-am335x: add the basic scc/cfg enablement

 bsp/ti-am335x/ti-am335x-standard.scc |   8 +
 bsp/ti-am335x/ti-am335x.cfg  | 242 +++
 bsp/ti-am335x/ti-am335x.scc  |   7 +
 3 files changed, 257 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

-- 
2.22.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto