summaryrefslogtreecommitdiff
path: root/meta-aspeed
AgeCommit message (Collapse)AuthorFilesLines
2020-04-30dunfell: move u-boot.inc into aspeed layerAndrew Geissler2-1/+334
The latest upstream of oe-core has diverged to the point where the meta-aspeed layer can no longer utilize the shared u-boot.inc In particular it has introduced a new, buildable config file, u-boot-initial-env, which is referenced throughout the u-boot.inc file now. The best solution is that OpenBMC upstream the changes it requires for u-boot but resource constraints have prevented that. The current hybrid approach of using a 2016 version of u-boot, pointing to source code in openbmc/u-boot but continuing to use the upstream u-boot.inc really doesn't buy much and causes maintenance issues like we're seeing here. Best to just pull the working version into meta-aspeed and just cherry pick in the one change OpenBMC needs which is the move to python3. The python3 move will be in the next commit in this series. The u-boot.inc used here was from poky with this sha: 9052e5b32a0dbc810782be4963e775609b8dcc04 Resolves openbmc/u-boot#24 (From meta-aspeed rev: 8b3d81d7cd9dd0254c3b03dddad18b9e74d2975d) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8af2eddfa6690b840af9fc411814fb551cc25230 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27u-boot-aspeed: SPL defconfig, DDR device tree supportJoel Stanley1-1/+1
This works around an intermittent boot failure seen on Tacoma1z. Joel Stanley (6): aspeed: Add machine names tools: Add script for generating recovery image configs: Add OpenBMC spl defconfig for AST2600 boards clk: ast2600: Add divisor settings for 100MHz PLL ram: ast2600: Enable device tree based DDR config ast2600: tacoma: Run DDR at 1333 (From meta-aspeed rev: e63dd680abed78dc2b2126c6fcbf3497c35ae18b) Change-Id: I0a2f17d242f3312592fb975fa4231237102ea517 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-16linux-aspeed: Rainier DTS, AST2600 A1 clock, FSIJoel Stanley1-1/+1
Andrew Geissler (1): ARM: dts: aspeed: rainier: Add gpio line names Eddie James (1): clk: ast2600: Fix AHB clock divider for A1 Joel Stanley (2): fsi: aspeed: Run the bus at maximum speed fsi: aspeed: Add module param for bus divisor (From meta-aspeed rev: ae8c8b5c2c8db832831ad9291faf0b6ed8224379) Change-Id: I5dd7d6a233969cb4bcb69ba65ce2ca7b334f8f5b Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-15u-boot-sdk: Remove u-boot.bin make targetAdriana Kobylak1-1/+1
The recipe was first created with the make target set to u-boot.bin because there were some compilation errors. These errors are not seeing anymore. By removing the u-boot.bin target and allowing it to be the default (all), other targets like u-boot-spl.bin can be automatically built based on the defconfig. (From meta-aspeed rev: 08e8e7430606d712d8ab3630cbdc650f71caf280) Change-Id: If643afcfe6a9cdea63dd0d8011f6f2af8e287079 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-15linux-aspeed: Move to 5.4.32Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.28, 5.4.29, 5.4.30, 5.4.31 and 5.4.32 stable releases. (From meta-aspeed rev: 03423fdeee77ec940bbafd7b049d4067e6fea80c) Change-Id: I095a9fab81a0cad09f20324e27db12a690ca9b1a Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-15linux-aspeed: I2C TPM driver, Tacoma TPM and second VUARTJoel Stanley1-1/+1
The TPM TIS driver for I2C comes from v6 of the patchset on the linux-integrity list[1], plus additional backports to support it on 5.4. https://lore.kernel.org/linux-integrity/20200407162044.168890-1-amirmizi6@gmail.com/T/ Amir Mizinski (7): tpm: tpm_tis: Make implementation of read16 read32 write32 optional tpm: tpm_tis: Add check_data handle to tpm_tis_phy_ops tpm: tpm_tis: rewrite "tpm_tis_req_canceled()" tpm: tpm_tis: Fix expected bit handling and send all bytes in one shot without last byte in exception tpm: Handle an exception for TPM Firmware Update mode. dt-bindings: tpm: Add YAML schema for TPM TIS I2C options tpm: tpm_tis: add tpm_tis_i2c driver Andrew Jeffery (1): ARM: dts: tacoma: Enable the second VUART Eddie James (1): ARM: dts: aspeed: tacoma: Add tpm Sumit Garg (1): tpm: Move tpm_buf code to include/linux/ (From meta-aspeed rev: 1aaea9d85026a6eda21dc9f817d4d0afa703d39e) Change-Id: I294e61124bccd0a62a5f61d7d8624044fbf74b75 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14dunfell: add support for new layerAndrew Geissler1-1/+1
(From meta-aspeed rev: cc14885f5d983ff0e3f5ad65e17790e3359fa778) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I9a507f1acaf3edad59ddf100f79fb3652788b3f5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14linux-aspeed: Enable DEBUG_LISTJoel Stanley3-0/+3
This option is considered a security enhancement[1]. [1] https://lore.kernel.org/lkml/20200324153643.15527-11-will@kernel.org/ (From meta-aspeed rev: bc75bf104e650e38907265cb7d9396dfe3f599c0) Change-Id: I35a4f9b63ac053dcfc3d22eb1b12b11019196f00 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03linux-aspeed: KCS MCTP, XDMA, FSI, GPIO namesJoel Stanley1-1/+1
Eddie James (5): fsi: aspeed: Enable 23-bit addressing ARM: dts: aspeed: tacoma: Add iio-hwmon nodes for IIO devices hwmon: (pmbus/ibm-cffps) Add another PSU CCIN to version detection hwmon: (pmbus/ibm-cffps) Fix LED behavior again soc: aspeed: xdma: Fix command buffer overrun Joel Stanley (2): ARM: dts: aspeed: rainier: Add VGA reserved memory region ARM: dts: aspeed: raininer: Enable XDMA (From meta-aspeed rev: 6e60548f439e07806f3089a611f801ac85238f0b) Change-Id: I848095fb60f8a2e364e6ba939466cf834d3a31e3 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-31linux-aspeed: Move to 5.4.28Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.27 and 5.4.28 stable releases. (From meta-aspeed rev: 048aaa997f7ade428154f4457cdf5b25e16f5f65) Change-Id: I5abb494b6ab7acb5edf2060e568c7c580bf3ca24 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-31linux-aspeed: KCS MCTP, XDMA, FSI, GPIO namesJoel Stanley1-1/+1
Andrew Geissler (3): ARM: dts: tacoma: Add KCS node for LPC MCTP ARM: dts: aspeed: romulus: Add gpio line names ARM: dts: aspeed: zaius: Add gpio line names Andrew Jeffery (2): misc: Add ASPEED KCS driver for MCTP purposes ARM: dts: witherspoon: Add KCS node for LPC MCTP Eddie James (7): ARM: dts: rainier: Add KCS node for LPC MCTP soc: aspeed: xdma: Switch to reserved memory dt-bindings: soc: xdma: Switch to reserved memory node ARM: dts: aspeed: tacoma: Add reserved memory for XDMA ARM: dts: aspeed: witherspoon: Add reserved memory for XDMA ARM: dts: aspeed: ast2600: Set arch timer always-on ARM: dts: Aspeed: Add witherspoon-128 machine Joel Stanley (3): ARM: dts: aspeed: tacoma: Add GPIOs for FSI fsi: aspeed: Support cabled FSI ARM: dts: aspeed: tacoma: Add line names (From meta-aspeed rev: 22600b6fc6d6bdcf33407b7cf8d32b8c09a713e7) Change-Id: I9251473c0a5b4601845d3c0d588b5a3bdb1d4f40 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-25linux-aspeed: Remove old config optionsJoel Stanley3-3/+0
CONFIG_CRYPTO_ECHAINIV is default n so we don't need it in our config. CONFIG_EDAC_ASPEED is not supported on AST2600. (From meta-aspeed rev: 337c8064630d95aa7d7cc5d948bd99e72cfa3af8) Change-Id: Ief0ebacbd2b9ed2d8f8dce7eb4c4828da0ae58d3 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-25linux-aspeed: Enable CGROUP_BPF and NAMESPACESJoel Stanley3-0/+9
These are used by systemd to provide isolation features: Required for IPAddressDeny= and IPAddressAllow= in resource control unit settings CONFIG_CGROUP_BPF Required for PrivateNetwork= in service units: CONFIG_NET_NS Note that systemd-localed.service and other systemd units use PrivateNetwork so this is effectively required. Required for PrivateUsers= in service units: CONFIG_USER_NS (NET_NS is default y so we get it by enabling namespace support). (From meta-aspeed rev: 5ad76c27abbb7d7e65c97bce6be63d7aa542a531) Change-Id: I8e6311526393c663c62e310a465df9306251c021 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-24linux-aspeed: Move to 5.4.26Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.24, 5.4.25 and 5.4.26 stable releases. (From meta-aspeed rev: e9a99472750d69a0efdfe0277de48dd19dafb839) Change-Id: I7d2721fde89ac7ad201b6418d9956d29adaea178 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-24linux-aspeed: XDMA, tacoma, FWH2AHB on AST2600Joel Stanley1-1/+1
Eddie James (16): dt-bindings: interrupt-controller: Add Aspeed SCU interrupt controller irqchip: Add Aspeed SCU interrupt controller ARM: dts: aspeed: ast2500: Add SCU interrupt controller ARM: dts: aspeed: ast2600: Add SCU interrupt controllers dt-bindings: soc: Add Aspeed XDMA Engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl ARM: dts: aspeed: ast2500: Add XDMA Engine ARM: dts: aspeed: ast2600: Add XDMA Engine ARM: dts: aspeed: witherspoon: Enable XDMA Engine ARM: dts: aspeed: tacoma: Enable XDMA engine soc: aspeed: xdma: Add memory controller configuration soc: aspeed: xdma: Add root complex reset soc: aspeed: xdma: Disable PCI AHB bridge during probe soc: aspeed: xdma: Fix BMC PCI device class and revision for AST2600 Guenter Roeck (1): ARM: dts: aspeed: tacoma: Enable eMMC controller Joel Stanley (1): soc: aspeed-lpc-ctrl: LPC to AHB mapping on ast2600 (From meta-aspeed rev: de4339cc7a300c65f129cc71ed5f8da367a504a1) Change-Id: I233aa1eb763bb445b5a46c6762ea6b377bb378dd Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-22u-boot-aspeed: Fix fw_env.config for ast2600Joel Stanley2-1/+5
The configuration was not set at all, leaving us with the default configuration file from u-boot. This sets it to the u-boot environment partition, /dev/mtd2. (From meta-aspeed rev: fc48e308dd25b99535a5412cbbdf1fcd66238a9b) Change-Id: Ied346a6c15f0068b8ab54cec02bc89bf9e553127 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-22u-boot-aspeed: Fix env locationJoel Stanley1-1/+1
Joel Stanley (1): config: Update ast2600 openbmc environment location (From meta-aspeed rev: 8f741295a2a80ecd37cf865e76fa6f32a0223af8) Change-Id: I83fa7c4ab457972f2efd738eda8a2d2a10cb65e7 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-17u-boot-sdk: Use OpenBMC forkJoel Stanley5-60/+5
This is a fork that is based on ASPEED's 2019.04 SDK fork. The goal is to move to a mainline based tree, but while that work is underway, this allows ast2600 support to move forward. This gains support for NC-SI, and uses kconfig for the default boot command allowing us to drop the patch to aspeed-common.h. Machines will need to indicate which device tree to use. If possible we should look to having a few common device trees, but for now they are machine specific. The AST2600 is configured to use the ast2600a1-evb device tree, which will also work on the a0 variant. (From meta-aspeed rev: 22ccf4648a776c458300c97a6d001a843b2b5c9b) Change-Id: Ib21dc9962761aac3f3148fe4908439b975545e1e Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-05linux-aspeed: Move to 5.4.23Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.22 and 5.4.23 stable releases. (From meta-aspeed rev: c6e6f90361325121bd39400513c4b2b83ac4124a) Change-Id: Id94badca45a5c0e83f082068b4c171cdde060eaf Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-28linux-aspeed: Small fixes to PECI, Rainier, Wspoon, MihawkJoel Stanley1-1/+1
Andrew Geissler (1): ARM: dts: aspeed: witherspoon: Add gpio line names Andrew Jeffery (1): ARM: dts: rainier: Enable VUART2 Ben Pai (1): ARM: dts: mihawk: Change the name of leds Jae Hyun Yoo (2): peci: fix license identifier hwmon: peci: change label strings to reflect natural numbers Matthew Barth (1): ARM: dts: rainier: Set PCA9552 pin types (From meta-aspeed rev: 213765a9564783b0c5800a58865fea5525373e33) Change-Id: I71bbef501e1e9c327cdc6c2647218d7ad686f399 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-28linux-aspeed: Move to 5.4.21Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.17, 5.4.18, 5.4.19, 5.4.20 and 5.4.21 stable releases. (From meta-aspeed rev: 99343a58cbdf1db7e28763be3111e1185d39fe2b) Change-Id: I14386b65a7bc1b618cef17284f02b8a06c82831f Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-31linux-aspeed: Move to 5.4.16Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.12, 5.4.13, 5.4.14, 5.4.15 and 5.4.16 stable releases. (From meta-aspeed rev: 55b7be3b1aaa0afe3282e17146f191a44e51b530) Change-Id: I0ad7d464893f4e148993e234dfbfeba5e44ab380 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-31linux-aspeed: i2c, rainier, ast2600 vhubJoel Stanley1-1/+1
Eddie James (1): i2c: aspeed: Prevent state corruption for IRQ with no status Matthew Barth (1): ARM: dts: rainier: Remove regulators Tao Ren (3): usb: gadget: aspeed: read vhub config from of_device_id usb: gadget: aspeed: add ast2600 vhub support ARM: dts: aspeed-g6: add usb functions (From meta-aspeed rev: 3275d96ddf674290e50332632a129dc743f9a89f) Change-Id: I4cc6223f6167b2db830d77122bc142d2f9a074b6 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-14linux-aspeed: Move to 5.4.11Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.9, 5.4.10 and 5.4.11 stable releases. (From meta-aspeed rev: 8333ab8d48605e261f671c6d0c8281c49846c489) Change-Id: I83d06ebae33df4eb6ebe13b6f09bbc0e849c5cbb Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-14linux-aspeed: CFF PS and media fixiesJoel Stanley1-1/+1
Eddie James (3): hwmon: (pmbus/ibm-cffps) Add new manufacturer debugfs entries hwmon: (pmbus/ibm-cffps) Add the VMON property for version 2 hwmon: (pmbus/ibm-cffps) Fix the LED behavior when turned off Jae Hyun Yoo (1): media: aspeed: refine hsync/vsync polarity setting logic (From meta-aspeed rev: 28a36e4550477bf0b4e42b5f4e9b6a2a7b7efed8) Change-Id: I6e86781330c0cf83631e496337c4b5f29a012b65 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-08linux-aspeed: IPMB and rainier fsi dtsJoel Stanley1-1/+1
Joel Stanley (1): ARM: dts: aspeed: rainier: Add host FSI description Vijay Khemka (3): drivers: ipmi: Support for both IPMB Req and Resp drivers: ipmi: Support raw i2c packet in IPMB drivers: ipmi: Modify max length of IPMB packet (From meta-aspeed rev: 50412aa4f96d20200140451aa0357f2d4017f40a) Change-Id: Id976f0c9c3c0a488d4e756ebf4d93e678dad7fec Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-06linux-aspeed: Move to 5.4.8Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.8 stable release. (From meta-aspeed rev: c04542140556963e58b0dab3dace24d429f622dc) Change-Id: I400e60f6cbc12a79e8621e874db41fdc3d816e31 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-06linux-aspeed: Device tree fixes for AST2600 machinesJoel Stanley1-1/+1
Brandon Wyman (1): ARM: dts: aspeed: rainier: Fix fan fault and presence Joel Stanley (5): ARM: dts: aspeed: tacoma: Fix fsi master node ARM: dts: aspeed: tacoma: Remove duplicate i2c busses ARM: dts: aspeed: tacoma: Remove duplicate flash nodes ARM: dts: aspeed-g6: Fix FSI master location ARM: dts: aspeed: rainier: Remove duplicate i2c busses (From meta-aspeed rev: 3be097fea0f324227c890b58c50148316c8eae9d) Change-Id: I85613c9929c2aabb02cf0f474d57fd8eb8d8c2f6 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-06linux-aspeed: Move to 5.4.7Joel Stanley1-2/+2
This includes security and bug fixes from the 5.4.5, 5.4.6 and 5.4.7 stable releases. (From meta-aspeed rev: 97f7573559d0616aad7ca22c4355cbe08156311d) Change-Id: I4bd32bea1378408234806129171a18cddc333ed7 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-06linux-aspeed: UCD90320 for Rainier, PECI fixesJoel Stanley1-1/+1
Jae Hyun Yoo (1): peci: Fix function declaration Jim Wright (3): dt-bindings: hwmon/pmbus: Add ti, ucd90320 power sequencer hwmon: Add support for UCD90320 Power Sequencer ARM: dts: aspeed: rainier: Add UCD90320 power sequencer (From meta-aspeed rev: 744ebe8b97e094432fcc9e1c4db968e5dc1b6b0f) Change-Id: I721c2d444ab746a927ea800686f63bfac9138aa4 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-20linux-aspeed: Move to v5.4Joel Stanley4-3/+9
This moves the OpenBMC kernel to a Linux v5.4 base. There are 161 patches in dev-5.4. Of these 69 are backported from upstream, leaving 92 out of tree patches. Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Andrew Jeffery (12): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): One-shot retries for failure to set page pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers soc: aspeed: Miscellaneous control interfaces ARM: dts: aspeed: witherspoon: Update max31785 node ARM: dts: aspeed-g5: Expose VGA and SuperIO scratch registers net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs pinctrl: aspeed-g6: Fix LPC/eSPI mux configuration pinctrl: aspeed: Improve debug output soc: aspeed: Fail probe of lpc-ctrl if reserved memory is not aligned Arnd Bergmann (1): ARM: aspeed: ast2500 is ARMv6K Brad Bishop (4): ARM: dts: aspeed-g6: Expose SuperIO scratch registers soc: aspeed: lpc: Add G6 compatible strings ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string Cédric Le Goater (21): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training mtd: spi-nor: aspeed: fix training of multiple CS on the AST2600 mtd: spi-nor: aspeed: Disable zero size segments on the AST2600 /dev/mem: add a devmem kernel parameter to activate the device Eddie James (5): i2c: aspeed: Add AST2600 compatible hwmon: (pmbus/ibm-cffps) Switch LEDs to blocking brightness call hwmon: (pmbus/ibm-cffps) Fix LED blink behavior hwmon: (pmbus/ibm-cffps) Add version detection capability ARM: dts: aspeed: rainier: Switch PSUs to unknown version Fran Hsu (4): ARM: dts: nuvoton: Add NPCM730 common device tree ARM: dts: nuvoton: Add Quanta GSJ BMC pinctrl ARM: dts: nuvoton: Add Quanta GSJ BMC Device Tree. ARM: dts: nuvoton: Add GPIOs and LEDs to GSJ device tree George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver Jae Hyun Yoo (13): ARM: dts: aspeed: peci: Add PECI node clk: ast2600: enable BCLK for PCI/PCIe bus always dt-bindings: Add PECI subsystem document Documentation: ioctl: Add ioctl numbers for PECI subsystem peci: Add support for PECI bus driver core dt-bindings: Add bindings document of Aspeed PECI adapter ARM: dts: aspeed: Add PECI node peci: Add Aspeed PECI adapter driver dt-bindings: mfd: Add Intel PECI client bindings document mfd: intel-peci-client: Add Intel PECI client driver Documentation: hwmon: Add documents for PECI hwmon drivers hwmon: Add PECI cputemp driver hwmon: Add PECI dimmtemp driver Joel Stanley (9): ARM: dts: aspeed-g4: Expose SuperIO scratch registers ARM: dts: aspeed: ast2600evb: Enable FSI master usb: gadget: Quieten gadget config message clocksource: fttmr010: Parametrise shutdown clocksource: fttmr010: Set interrupt and shutdown clocksource: fttmr010: Add support for ast2600 watchdog: aspeed: Fix clock behaviour for ast2600 ARM: config: aspeed: Update defconfigs Revert "ARM: dts: aspeed: peci: Add PECI node" Johnny Huang (6): pinctrl: aspeed-g6: Add AST2600 I3C1 and I3C2 pinmux config pinctrl: aspeed-g6: Add support for the AST2600 USB pinmux pinctrl: aspeed: Add ASPEED_SB_PINCONF() helper pinctrl: aspeed: Move aspeed_pin_config_map to separate source file pinctrl: aspeed: Use masks to describe pinconf bitfields pinctrl: aspeed-g6: Add AST2600 pinconf support Tali Perry (2): dt-bindings: i2c: npcm7xx: add NPCM I2C controller documentation i2c: npcm: Add Nuvoton NPCM I2C controller driver Tomer Maimon (12): dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: configs: add defconfig for Nuvoton NPCM7xx BMC ARM: dts: npcm7xx: Update device tree arm: dts: add NPCM7xx RunBMC Olympus Quanta device tree dt-bindings: peci: add NPCM PECI documentation ARM: dts: npcm7xx: Add PECI node peci: npcm: add NPCM PECI driver (From meta-aspeed rev: 6d863dd22836673ccd2a5d40778a3d5e4e03d7ea) Change-Id: I8f43925375c26bc88f94eee13430fcb03252b8ca Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-16Move ast2600 to use hard float call conventionVernon Mauery1-1/+1
Before this change, the ast2600 binaries were built with the soft float call convention, which allows them to run on systems that don't have hard float FPUs. Internally, this changes yocto to build like this: CXX="arm-openbmc-linux-gnueabi-g++ \ -march=armv7-a -mfpu=vfpv4-d16 -mfloat-abi=hard ... CPP="arm-openbmc-linux-gnueabi-gcc \ -march=armv7-a -mfpu=vfpv4-d16 -mfloat-abi=hard ... Tested: Builds and boots on ast2600-EVB (From meta-aspeed rev: 53e322518fe6f471663746934e38bf5d8143a501) Change-Id: If8037c66301ca4a3588d10270fe8d2fc610bb195 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-12linux-aspeed: Move to 5.3.15Joel Stanley1-2/+2
This includes security and bug fixes from the 5.3.12, 5.3.13, 5.3.14 and 5.3.15 stable releases. This is the final 5.3 bump. The openbmc kernel will now move to 5.4. (From meta-aspeed rev: d3ba96954bb98db97c4c4bc2df730c547f17a391) Change-Id: I3e3d4d3d1456bd00f91705a52eb1801fc6293168 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-12linux-aspeed: I2C and PCIe clk fixes for ast2600Joel Stanley1-1/+1
Eddie James (1): i2c: aspeed: Prevent state corruption for IRQ with no status Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always (From meta-aspeed rev: 1dd494c9cdf700c0d0798412e93fef106512994d) Change-Id: If896243ce9c0d58948e7882ab9dbe5257608c997 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-13linux-aspeed: Move to 5.3.11Joel Stanley1-2/+2
This includes security and bug fixes from the 5.3.11 stable release. (From meta-aspeed rev: 600115a9ea0f149133aa57fb74e1df85de5f539a) Change-Id: I2c77fd292ed926f040fd84b3f4185a4745ba18e0 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-13linux-aspeed: IBM CFPSS fixesJoel Stanley1-1/+1
Eddie James (4): hwmon: (pmbus/ibm-cffps) Switch LEDs to blocking brightness call hwmon: (pmbus/ibm-cffps) Fix LED blink behavior hwmon: (pmbus/ibm-cffps) Add version detection capability ARM: dts: aspeed: rainier: Switch PSUs to unknown version (From meta-aspeed rev: 550a844a351d7ea7839be2694183494704135ac0) Change-Id: I993055b81988301100f6caf4ec4807a08d56f07a Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-11linux-aspeed: Move to 5.3.10Joel Stanley1-2/+2
This includes security and bug fixes from the 5.3.9 and 5.3.10 stable releases. (From meta-aspeed rev: f9f133f38f91fa0dec84231d3adb218107ca95b9) Change-Id: Ida28b36e9f23c4499396f5c71024590823d556d5 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-11linux-aspeed: AST2600 evb i2c and watchdog fixJoel Stanley1-1/+1
Joel Stanley (2): ARM: dts: aspeed: ast2600evb: Enable i2c buses watchdog: aspeed: Fix clock behaviour for ast2600 (From meta-aspeed rev: 66f4afb68e1d595e5d9ed71d2a117c9997875273) Change-Id: If5a825dcb180c47271f77e14a8752923f4dd2507 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-07linux-aspeed: AST2600 timer supportJoel Stanley1-1/+1
Joel Stanley (4): ARM: dts: aspeed-g6: Add timer description clocksource: fttmr010: Parametrise shutdown clocksource: fttmr010: Set interrupt and shutdown clocksource: fttmr010: Add support for ast2600 (From meta-aspeed rev: 1ceef9cd25228b5a24999ba0219450c6dce9b094) Change-Id: I3c7c2ea9e48a732241a1123b1b86bb7ef1b6c669 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-04linux-aspeed: FSI byte and halfword acessesJoel Stanley1-1/+1
Andrew Jeffery (2): fsi: aspeed: Fix OPB0 byte order register values trace: fsi: Print transfer size unsigned Joel Stanley (8): fsi: aspeed: Implement byte and half word writes fsi: aspeed: Implement byte and half word reads fsi: move defines to common header fsi: aspeed: Fix types in debugfs fsi: aspeed: Fix link enable fsi: aspeed: Fix whitespace in check_errors fsi: aspeed: Use defines for port reset fsi: aspeed: Clean up defines and documentation (From meta-aspeed rev: 0ee4f43eb4d886802161e70891b44093376c3985) Change-Id: I999c1c0437ee501a0c38808763a7137b67af7c2a Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-04linux-aspeed: Rainier dts, ftgmac100 checksum fixJoel Stanley1-1/+1
Benjamin Herrenschmidt (1): net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum Brandon Wyman (1): ARM: dts: aspeed: rainier: gpio-keys for PSU presence Jinu Thomas (1): ARM: dts: aspeed: rainier: Fix i2c eeprom size (From meta-aspeed rev: a630d667ca26dc6e851062e94ac9690e40b21c17) Change-Id: Iad580235e816ef5ed989f9940e789a02b591a8e7 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-31linux-aspeed: Move to 5.3.8Joel Stanley1-2/+2
This includes security and bug fixes from the 5.3.8 stable release. (From meta-aspeed rev: 31ca43512e524cc22b7b4bfb23c5307839043207) Change-Id: I1c8099434f960384782339a5a6f5ace48e95d6b1 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-29linux-aspeed: FSI enhancementsJoel Stanley1-1/+1
Jeremy Kerr (1): fsi: aspeed: Add clock debugfs file Joel Stanley (8): fsi: aspeed: Give read longer before timeout fsi: aspeed: Add more registers to debug fsi: aspeed: Busy loop in the write case fsi: master: Change default divisor to 14 fsi: aspeed: Enable relative addressing fsi: aspeed: Only select OPB0 once fsi: aspeed: Avoid copying read data twice fsi: aspeed: Pass fsi_master_aspeed insead of base (From meta-aspeed rev: 0bf3d3a2b28adf528c45b4a04398b1ab16c4b286) Change-Id: Ic35fee641adee65f7259ff190906cd4e68ac9205 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-23linux-aspeed: Pinctrl fixesJoel Stanley1-1/+1
Andrew Jeffery (4): pinctrl: aspeed-g6: Make SIG_DESC_CLEAR() behave intuitively pinctrl: aspeed-g6: Fix LPC/eSPI mux configuration ARM: dts: tacoma: Hog LPC pinmux pinctrl: aspeed: Improve debug output (From meta-aspeed rev: 64725b11caff553e1677dc90d8a630d07d04eaaa) Change-Id: Ib3e405b0a3aebe7501b3505a86266201fe3219b0 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-23meta-aspeed: enhance README.mdBrad Bishop1-9/+36
Add words to the layer README. The existing README is somewhat terse. Expand it some, adopting some of the conventions from other well-known OE BSP layers (used meta-freescale as a template). Drop references to specific products. This reduces maintainence burden. Added layer dependencies. meta-aspeed depends on oe-core only. Add contributing guidelines and style guide. (From meta-aspeed rev: 5e3e6fb63cbc700214fb3354363d93a5fa4246df) Change-Id: Ib4ec545c7fe5069893090516232fc2d9c666c2c8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-21linux-aspeed: Move to 5.3.7Joel Stanley1-2/+2
This includes security and bug fixes from the 5.3.7 stable release. (From meta-aspeed rev: 1a069d304738df04abb81cdc53661c67abf0581d) Change-Id: If7b4410ba297fbf63c3f4aa861f138fb79cf449a Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-17linux-aspeed: FSI, LPC FW, AST2600 UARTJoel Stanley1-1/+1
Andrew Jeffery (1): soc: aspeed: Fail probe of lpc-ctrl if reserved memory is not aligned Joel Stanley (6): ARM: dts: aspeed-g6: Add remaining UARTs ARM: dts: aspeed: tacoma: Add UART1 and workaround ARM: dts: ast2600evb: Enable UART workaround ARM: dts: aspeed: tacoma: Add host FSI description ARM: dts: aspeed: tacoma: Use 64MB for firmware memory fsi: aspeed: Disable IPOLL (From meta-aspeed rev: 0605807409ed3324931aca468e82abea3d163dec) Change-Id: I43be15fa831dfcbdba77c66ac03eff8e7050bdc7 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-16linux-aspeed: AST2600 FSI and I2C DTS fixesJoel Stanley1-1/+1
Joel Stanley (3): fsi: aspeed: Remove base from trace fsi: aspeed: Add trace when error occurs ARM: dts: aspeed-g6: Fix i2c clock source (From meta-aspeed rev: 7db0a3de8d889fd0addfb6ed35d595ffda646c67) Change-Id: I9bb353f263bea3168097cdb0ea16961e2d0bcb47 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-15aspeed: Add udev mtd rules to machine recommendsJoel Stanley1-1/+1
These udev rules are useful outside of fw_printenv, which is how we currently include them, so bring them in with the common machine type. (From meta-aspeed rev: 1a7cc4767eb0393bb615ae67e4b388163aa5dc48) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I0779fc4c2efd0e18d7729cef4548238e56c39a47 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-14linux-aspeed: Move to 5.3.5Joel Stanley1-2/+2
This includes security and bug fixes from the 5.3.5 stable release. (From meta-aspeed rev: e12735058c5043a9b635b8ec4a102e66b1fccc99) Change-Id: I0f7710cffcf6957927ca0e01e7cb11d008b0cd40 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>