summaryrefslogtreecommitdiff
path: root/meta-aspeed
AgeCommit message (Collapse)AuthorFilesLines
2021-11-04Merge tag '0.77' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills2-3/+4
into update
2021-09-28Merge tag '0.75' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills15-54/+71
into update
2021-09-24linux-aspeed: P10 gpio names, PCA955x backportsJoel Stanley1-1/+1
Andrew Jeffery (2): leds: pca955x: Make the gpiochip always expose all pins leds: pca955x: Allow zero LEDs to be specified Ben Tyner (3): ARM: dts: rainier: Define name for gpio line Q2 ARM: dts: everest: Define name for gpio line Q2 ARM: dts: everest: Define name for gpio line B6 Change-Id: Ibcfc7938deeef2003344a6ae460f0bfc9be3cca6 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-23linux-aspeed: AST2600 ADC and PCA955x enhancementsJoel Stanley1-1/+1
These are backports of patches that are queued for v5.16. Billy Tsai (14): iio: adc: aspeed: set driver data when adc probe. dt-bindings: iio: adc: Add ast2600-adc bindings iio: adc: aspeed: completes the bitfield declare. iio: adc: aspeed: Keep model data to driver data. iio: adc: aspeed: Restructure the model data iio: adc: aspeed: Add vref config function iio: adc: aspeed: Use model_data to set clk scaler. iio: adc: aspeed: Use devm_add_action_or_reset. iio: adc: aspeed: Support ast2600 adc. iio: adc: aspeed: Fix the calculate error of clock. iio: adc: aspeed: Add func to set sampling rate. iio: adc: aspeed: Add compensation phase. iio: adc: aspeed: Support battery sensing. iio: adc: aspeed: Get and set trimming data. Eddie James (8): dt-bindings: leds: Add retain-state-shutdown boolean leds: leds-core: Implement the retain-state-shutdown property leds: pca955x: Clean up code formatting leds: pca955x: Add brightness_get function leds: pca955x: Implement the default-state property leds: pca955x: Let the core process the fwnode leds: pca955x: Switch to i2c probe_new ARM: dts: aspeed: Add ADC for AST2600 and enable for Rainier and Everest Change-Id: I573e724eccbd79f000704ea893007447d6b2934f Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-22linux-aspeed: Move to v5.14.6 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.14.4 through to 5.14.6 stable releases. Change-Id: I26ecac572d91d27c3bb709cadded16e77b9f928d Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-22linux-aspeed: P10BMC muxes, LEDs, EEPROM, GPIOsJoel Stanley1-1/+1
Eddie James (4): ARM: dts: aspeed: everest: Add I2C bus 15 muxes ARM: dts: aspeed: rainier: Add system LEDs ARM: dts: aspeed: rainier: Add eeprom on bus 12 ARM: dts: aspeed: rainier: Remove gpio hog for GPIOP7 Change-Id: I95950704b432b53388d20cef7f5917d6fc46f904 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-22linux-aspeed: Move to v5.14.3 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.14.1 through to 5.14.3 stable releases. Change-Id: I9fddf1581b0562c52fd378ed9581e338d0b96d3e Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-21linux-openbmc: Move to Linux v5.14Joel Stanley1-3/+3
This moves the OpeNBMC kernel to a v5.14 base. There are 78 patches in the tree, plus a the MCTP core and device tree changes that were merged in v5.15 which have been backported. Andrew Jeffery (11): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node ipmi: kcs_bmc: Add a "raw" character device interface ARM: dts: p10bmc: Drop the openbmc, mctp-lpc node ARM: dts: aspeed: p10bmc: Switch to KCS 3 for MCTP binding ARM: dts: aspeed: p10bmc: Enable KCS channel 2 ARM: dts: tacoma: Clean up KCS nodes B. J. Wyman (2): ARM: dts: aspeed: Rainier remove PSU gpio-keys hwmon: (pmbus/ibm-cffps) Fix write bits for LED control Brad Bishop (3): ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string eeprom: at25: Split reads into chunks and cap write size Cédric Le Goater (19): 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 /dev/mem: add a devmem kernel parameter to activate the device Eddie James (11): 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 dt-bindings: input: Add documentation for IBM Operation Panel input: misc: Add IBM Operation Panel driver ARM: dts: aspeed: tacoma: Remove CFAM reset GPIO spi: fsi: Reduce max transfer size to 8 bytes dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible fsi: occ: Force sequence numbering per OCC hwmon: (occ) Remove sequence numbering and checksum calculation Fran Hsu (2): ARM: dts: nuvoton: npcm730: Add UDC device ARM: dts: nuvoton: gsj: Add non-mainline nodes George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver Isaac Kurth (1): ARM: dts: everest: Add 'factory-reset-toggle' as GPIOF6 Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (4): net: ftgmac100: Ensure tx descriptor updates are visible ARM: dts: ast2600evb: Enable EHCI controller ARM: dts: aspeed: rainier: Enable earlycon ARM: configs: aspeed: Add openbmc kernel options Tomer Maimon (21): 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: dts: npcm7xx: Add out of tree nodes ARM: dts: olympus: Add non-mainline nodes ARM: dts: npcm750: Add fuse regmap support node ARM: dts: npcm7xx: Link fuse syscon to adc and wdt clk: npcm7xx: add read only flag to divider clocks iio: adc: Add calibration support to npcm ADC watchdog: npcm: Add DT restart priority and reset type support pinctrl: npcm7xx: Add HGPIO pin support to NPCM7xx pinctrl driver pinctrl: pinconf: add pin persist configuration pinctrl: npcm7xx: Add pin persist configuration support spi: npcm-pspi: Add full duplex support dt-binding: bmc: add NPCM7XX JTAG master documentation misc: Add NPCM7xx JTAG master driver watchdog: npcm: Modify get reset status function ARM: configs: add defconfig for Nuvoton NPCM7xx BMC William A. Kennington III (1): net: npcm: Support for fixed PHYs Change-Id: I315000ab63c3f6a34d99cf25e366fa0781c85d46 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-16linux-aspeed: AST2600 ADC, P10 GPIO, EEPROM and LED updatesJoel Stanley1-1/+1
The clk patch is a prerequisite for the backport of the ADC patches. The ADC patches are not yet merged, but are under active review and are expected to be merged in v5.16. Version 6 of the patchset was merged. Billy Tsai (14): iio: adc: aspeed: set driver data when adc probe. dt-bindings: iio: adc: Add ast2600-adc bindings iio: adc: aspeed: completes the bitfield declare. iio: adc: aspeed: Keep model data to driver data. iio: adc: aspeed: Restructure the model data iio: adc: aspeed: Add vref config function iio: adc: aspeed: Use model_data to set clk scaler. iio: adc: aspeed: Use devm_add_action_or_reset. iio: adc: aspeed: Support ast2600 adc. iio: adc: aspeed: Fix the calculate error of clock. iio: adc: aspeed: Add func to set sampling rate. iio: adc: aspeed: Add compensation phase. iio: adc: aspeed: Support battery sensing. iio: adc: aspeed: Get and set trimming data. Dmitry Baryshkov (1): clk: divider: add devm_clk_hw_register_divider Eddie James (4): ARM: dts: aspeed: everest: Add I2C bus 15 muxes ARM: dts: aspeed: rainier: Add system LEDs ARM: dts: aspeed: rainier: Add eeprom on bus 12 ARM: dts: aspeed: rainier: Remove gpio hog for GPIOP7 Joel Stanley (1): Revert "block: nbd: add sanity check for first_minor" Michael Walle (1): clk: divider: add devm_clk_hw_register_divider_table() Change-Id: I120d78fa77df01e239eeb67b3209cebfe2973491 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-16linux-aspeed: Move to v5.10.65 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.61 through to 5.10.65 stable releases. Change-Id: I754ab3d2c0ede419f082d42e245c9e8dd27166b5 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-14linux-aspeed: ast2500: Always enable CONFIG_FBJoel Stanley1-0/+1
DRM_FBDEV_EMULATION previously selected FB and was default y as long as DRM was enabled. In commit f611b1e7624c ("drm: Avoid circular dependencies for CONFIG_FB") the select was replaced with a depends on FB, disabling the drivers that depended on it. As the AST2500 uses the GFX device, and the uart-renderer process uses fbterm to display to the FB device, we want CONFIG_FB=y for that system. This is harmless for kernels that do not have the offending commit. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I57213b60f7fc06c89112a9825c7ed8ed7ff5e298
2021-09-04meta-aspeed:conf/machine: tunes files moved to arch dirsAndrew Geissler2-2/+2
Upstream yocto moved the tune files under architecture subdirectories so need to adjust our includes of them. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I442f1403a869a117244461c8f94f940cfe7c08cd
2021-08-30meta-aspeed: socsec-sign: Make invalid key configuration fatalAndrew Jeffery1-1/+2
Building the SPL and "silently" leaving it unsigned gives us a build that cannot be booted on systems that have secure-boot enabled. Change-Id: Ie788a04ef35c7031897a2bfa7d348caa4292305d Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-30meta-aspeed: u-boot-aspeed-sdk: Ensure SOCSEC_SIGN defaults are setAndrew Jeffery1-1/+2
Include the socsec-sign class after the conditional assignments to ensure the values we might assign are considered by the functions of socsec-sign. Without this, u-boot-aspeed-sdk do_deploy logs show: ``` DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstate_task_prefunc finished DEBUG: Executing shell function do_deploy Copying u-boot-nodtb binary... Warning: Invalid socsec signing key - SPL verified boot won't be available ``` Adjusting the location of the include gives: ``` DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstate_task_prefunc finished DEBUG: Executing shell function do_deploy Copying u-boot-nodtb binary... check header PASS Found PEM header at position 381 check integrity PASS ``` Change-Id: I15cac4c315a6ceaeb69b0c02ba0b7d05e54f6e15 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-26Merge tag '0.70' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills4-2/+5
into update
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-23u-boot-aspeed: improve env handlingAndrei Kartashev3-1/+7
This fixes some build errors we faced due to add new ast2500-based platform. * Allow to redefine input env file. * Backport providing "u-boot-default-env" from u-boot.inc * PROVIDES += "u-boot-fw-utils" is not enough, add also RPROVIDES Last two changes allows to exclude from build modern libubootenv which somewhy doesn't work for us. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I33f152c572f6c0b4d8b608375b252290efacd1ea
2021-08-19linux-aspeed: Move to v5.10.60 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.54 through to 5.10.60 stable releases. Change-Id: Ia91c97e7add0aec1b57c36f31692fc893e274040 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-19linux-aspeed: P2A and AHB2LHB fixes, CFF PSU, P10 gpiosJoel Stanley1-1/+1
B. J. Wyman (1): hwmon: (pmbus/ibm-cffps) Fix write bits for LED control Iwona Winiarska (2): soc: aspeed: lpc-ctrl: Fix boundary check for mmap soc: aspeed: p2a-ctrl: Fix boundary check for mmap Jim Wright (1): ARM: dts: aspeed: p10bmc: Add power control pins Joel Stanley (1): soc: aspeed: socinfo: Add AST2625 variant Change-Id: I127736fd24c0e066fe8b4b3e2d3584d5503d095a Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-17Fix path to udev rules filesAnton Blanchard2-4/+4
Use nonarch_base_libdir instead of base_libdir, because the files are always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the files end up in the wrong spot. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
2021-08-17meta-aspeed: ast2600: Sign the SPL with socsec by defaultAndrew Jeffery1-0/+5
Signing the SPL when secure-boot is disabled has no impact, the SoC will continue to bootstrap as normal. Change-Id: I05c1db80cb4bec44ca315190f5b3c1d97168d1d5 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-17meta-aspeed: u-boot-aspeed-sdk: Use provided signing key by defaultAndrew Jeffery1-0/+4
Allow configurations to override the SPL signing key if necessary, but provide a default in case they don't. The provided key is intended a low-security key. Change-Id: I756271970b0a55409e40dbd06f1245ada6a3cb73 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-13meta-aspeed: socsec: Bump to v0.2.1Andrew Jeffery1-4/+4
Andrew Jeffery (10): resocsec: Style cleanup via autopep8 resocsec: Use env(1) for shebang resocsec: Consistently use single-quotes for strings resocsec: Make signing helper options mutually exclusive resocsec: Add a helper for frobbing the RSA algorithm slug resocsec: Attempt at ergonomic Chain-of-Trust options resocsec: Rename secure-bootloader to secure-bootstrap-image resocsec: Add secure-chained-images subcommand resocsec: Add verify-secure-image subcommand setup: Install resocsec Johnny Huang (43): Merge branch 'develop' into resocsec Merge pull request #7 from amboar/resocsec resocsec: fix typo socsec: add support for ast2605 socsec: remove hexdump module dependcy schema: update otp schema otptool: fix making strap region otptool: fix schema typo readme: add descripton of verify strap: fix "VGA class code" info otptool: fix schema key otptool: fix OTPCFG0[14] description for 2600A1 socsec: move hexdump to global otptool: add 'print' function for otptool socsec: fix public key exponent otp_info: fix config typo otptool: add AST2600A3 support socsec: add rsa pss padding for AST1030A1 socsec: fix cot public key exponent socsec: Add new test item socsec: Add 2600A3 test item Merge branch 'develop' socsec: add mode2v2aes2 pub and priv test socsec: add ecdsa mode for AST1030A1 socsec: Add ecdsa test item otp_info: remove ast1030 from otp_info otp_info: update schema socsec: update revision id otptool: update schema for manifest id config socsec: fix revision id range. socsec: fix f-strings giving SyntaxError socsec: deprecate the CoT sing function otptool: fix bitarray AttributeError readme: update readme and fix typo otp_info: update otp info tool: add info2sample tool otp_info: Add AST2600A3 otp config otp_info: update and add OTPSTRAP Reserved info otptool: fix otptool print otptool: make image also generate OTPCFG1 tool: add script to generate otp config schema setup: update version number Merge branch 'develop' Change-Id: Ie78aa2c0ddb18d823e1055a67c76967aa9762285 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-11meta-{aspeed,phosphor}: layer.conf: Override syntax cleanupAdriana Kobylak1-1/+1
LAYERVERSION should keep underscore instead of colon. Change-Id: I53b0af2fd8c756d09a11ee2c970910cdf7331738 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-08-11meta-aspeed: prep for new override syntaxPatrick Williams11-41/+41
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8135871ae0e3b360aff7d878f7cf04a2504f2dd0
2021-07-30Merge tag '0.63' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills7-14/+24
into update
2021-07-26linux-aspeed: Move to v5.10.53 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.51 through to 5.10.53 stable releases. Change-Id: I04eb2dafbac8405b08202c1dc14e50347155f8c6 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-26linux-aspeed: FSI fixesJoel Stanley1-1/+1
Eddie James (4): spi: fsi: Reduce max transfer size to 8 bytes dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible fsi: occ: Force sequence numbering per OCC hwmon: (occ) Remove sequence numbering and checksum calculation Guenter Roeck (1): hwmon: replace snprintf in show functions with sysfs_emit Joel Stanley (1): hwmon: (occ) Fix p10 temperature sensor type Change-Id: Ie98b83b5d31d7e68912bd88a57560dfec99946a3 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-19linux-aspeed: Move to v5.10.50 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.50 stable release. Change-Id: Ieeed859d83b6807409ad123895fb45b9bc905da5 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-16linux-aspeed: Everest MMC phase, Inspur NF5280M6Joel Stanley1-1/+1
Andrew Jeffery (1): ARM: dts: everest: Add phase corrections for eMMC Ping Guo (1): ARM: dts: aspeed: Add Inspur NF5280M6 BMC machine Change-Id: I7f6f673fd571155e96b5138c653965c262300b87 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-13linux-aspeed: Disable IPV6 SIT deviceJoel Stanley3-0/+3
No one is using this device on OpenBMC systems, and there is no code to manage it in phosphor-networkd as of March 2021: > [...] if you don't add IPv6 addresses to the sit interface > it doesn't do anything. The defacto way to do that on an interface in > OpenBMC is to have it managed by phosphor-networkd. On top of this, to > support sit you would need a way to configure the local / remote IPv4 > addresses used to back it. You can configure the linux kernel to build > sit functionality but not create sit devices by default (I don't know > how they haven't changed this yet in default kconfigs...) and it will > still let you make them on the fly. Facebook and Google systems force this option off already: meta-facebook/meta-tiogapass/recipes-kernel/linux/linux-aspeed/tiogapass.cfg:CONFIG_IPV6_SIT=n meta-google/recipes-kernel/linux/files/gbmc.cfg:CONFIG_IPV6_SIT=n Change-Id: I9df02c761e82eeb2cca562bf68b9b755bc6feeb9 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-13linux-aspeed: Move to v5.10.49 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.47 through to 5.10.49 stable releases. Change-Id: I6d78d671405d87b70983b0e507abd0cd531b4aea Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-12linux-aspeed: KCS, I3C, ECHI, XMDA and FWH2AHBJoel Stanley1-1/+1
Andrew Jeffery (1): ARM: dts: tacoma: Clean up KCS nodes Dylan Hung (1): ARM: dts: aspeed-g6: Fix HVI3C pinctrl function-group Joel Stanley (5): ARM: dts: ast2600evb: Enable EHCI controller ARM: dts: aspeed: rainier: Enable earlycon soc: aspeed: Re-enable FWH2AHB on AST2600 soc: aspeed: Re-enable XDMA on AST2600 Change-Id: Iee20de1cd1e69bc6f583dfaecd0d7e7688d73419 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-28linux-aspeed: AST2600 eMMC fixesJoel Stanley1-1/+1
Andrew Jeffery (2): ARM: dts: tacoma: Add phase corrections for eMMC ARM: dts: everest: Add phase corrections for eMMC Change-Id: I24a1c0f0c6505f7bb16c437eea03edbb254fee93 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-24u-boot-aspeed: MMC env and AST2600 SPI boot fixesJoel Stanley1-1/+1
Adriana Kobylak (1): configs: aspeed-common: Add redundant env for mmc Troy Lee (2): ast2600: spl: Fixes boot from RAM device ast2600: Provide u-boot FIT image boot from RAM offset Change-Id: I9fd8c76593d83d32504288a6405c2b4c41fdb381 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-24linux-aspeed: Move to v5.10.46 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.44 through to 5.10.46 stable releases. Change-Id: I7e6c006628b4b6cb7242cf3a51de36742fa86e8c Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-24linux-aspeed: KCS raw, Everest PSU, Rainier PSU presenceJoel Stanley1-1/+1
Andrew Jeffery (7): ARM: dts: aspeed: rainier: Add eMMC clock phase compensation ipmi: kcs_bmc: Add a "raw" character device interface ARM: configs: Enable IPMI KCS raw chardev ARM: dts: p10bmc: Drop the openbmc, mctp-lpc node misc: Remove obsolete mctp-lpc chardev ARM: dts: aspeed: p10bmc: Switch to KCS 3 for MCTP binding ARM: dts: aspeed: p10bmc: Enable KCS channel 2 B. J. Wyman (2): ARM: dts: aspeed: Everest PSU #3 address change ARM: dts: aspeed: Rainier remove PSU gpio-keys Colin Ian King (1): ipmi: kcs_bmc_aspeed: Fix less than zero comparison of a unsigned int Joel Stanley (2): ARM: config: aspeed: Enable KCS adapter for raw SerIO ARM: dts: aspeed: Fix AST2600 machines line names Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Ib9c46a3693b8c04512004363501770e4bbd93432
2021-06-24meta-aspeed: linux: Enable raw KCS driverAndrew Jeffery3-0/+3
Change-Id: I844441c5e33eba55eb252ea445b75835bab2f735 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-24Merge tag '0.57' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills12-52/+257
into update
2021-06-22u-boot-aspeed: Add environment for booting from mmcJoel Stanley1-2/+2
This adds the u-boot environment to the u-boot binary. On the 2600 with mmc we currently rely on the default environment being populated in the image. This has the downside that if something corrupts the environment, the system won't know how to boot itself. This wasn't a problem for NOR based systems as the built in command knew how to boot the system (unless you were using a 'special' setup such as Witherspoon's UBI setup). The ast2600_openbmc_mmc.txt is copied from meta-aspeed/recipes-bsp/u-boot/files/u-boot-env-ast2600.txt. Adriana has indicated she will update openbmc to use the .txt from the u-boot tree to generate the filesystem image (or we could stop doing that, and simply use the default?). The environment processing step requires xxd on the build system. Joel Stanley (2): Makefile: Conditionally add defaultenv_h to envtools target ast2600: Add environment for booting from mmc Change-Id: I0381ac168285bade75115b7b415e18dd7fc8694e Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-21meta-aspeed: linux: Enable CONFIG_IPMI_KCS_BMC_CDEV_IPMILei YU3-0/+3
The CONFIG_IPMI_KCS_BMC_CDEV_IPMI is necessary for the new KCS driver refactor to create the ipmi-kcs devices. Tested: Verify on g220a that the ipmi-kcs3/4 devices are created and the inband IPMI via KCS works fine. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I2a1e7842f231fb4ee8284c194ed9cf28f668885e
2021-06-21AST2600: Update default env for multiple FIT configEddie James1-5/+7
Add environment variables to the AST2600 to boot a certain FIT configuration of the kernel based on the "fitconfig" environment variable. The boot command will fall back to the default FIT config in case all other boot attempts fail. Also fix the kernel boot arguments in the case that boot failure occurs. The boot sequence would be: - boota with fitconfig, if it fails: - boota without fitconfig, if it fails: - bootb with fitconfig, if it fails: - bootb without fitconfig Tested: Set fitconfig to a dummy variable, and also changed the bootm command to a dummy command to force a boot failure, and verified the sequence was as expected: ast# boot boota Error loading kernel FIT image with fitconfig rainier-dummy Unknown command 'bootm-dummy' - try 'help' Error loading kernel FIT image bootb Error loading kernel FIT image with fitconfig rainier-dummy Unknown command 'bootm-dummy' - try 'help' Error loading kernel FIT image Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Change-Id: I14cf935a707bdb95b0a6e4e607919ea0e027d18c
2021-06-17meta-aspeed: aspeed-g6: Enable KCS adapter for raw SerIOAndrew Jeffery1-1/+2
Raw SerIO is used by the debug-trigger application to take signals from the host that applications are unresponsive on the BMC for p10bmc systems. Change-Id: Ie5ee683c3b08ebe922f2c5a7b5bf52b1e18069f4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-17linux-aspeed: KCSJoel Stanley1-1/+1
Andrew Jeffery (16): ipmi: kcs_bmc_aspeed: Use of match data to extract KCS properties ipmi: kcs_bmc: Make status update atomic ipmi: kcs_bmc: Rename {read,write}_{status,data}() functions ipmi: kcs_bmc: Split out kcs_bmc_cdev_ipmi ipmi: kcs_bmc: Turn the driver data-structures inside-out ipmi: kcs_bmc: Split headers into device and client ipmi: kcs_bmc: Strip private client data from struct kcs_bmc ipmi: kcs_bmc: Decouple the IPMI chardev from the core ipmi: kcs_bmc: Allow clients to control KCS IRQ state ipmi: kcs_bmc: Enable IBF on open ipmi: kcs_bmc: Add serio adaptor dt-bindings: ipmi: Convert ASPEED KCS binding to schema dt-bindings: ipmi: Add optional SerIRQ property to ASPEED KCS devices ipmi: kcs_bmc_aspeed: Implement KCS SerIRQ configuration ipmi: kcs_bmc_aspeed: Fix IBFIE typo from datasheet ipmi: kcs_bmc_aspeed: Optionally apply status address Change-Id: If4267164d165c0ecb5039d55438d4a58926ecce3 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-17evb-ast2600: enabling u-boot-spl featureTroy Lee1-1/+2
Currently, machine evb-ast2600 frozed during u-boot booting. This patchset has been tested with AST2600-A1 and AST2600-A3 EVB: AST2600-A1: ``` U-Boot SPL 2019.04 (Jun 16 2021 - 05:59:38 +0000) already initialized, Trying to boot from RAM U-Boot 2019.04 (Jun 16 2021 - 05:59:38 +0000) SOC: AST2600-A1 RST: WDT1 SOC PCI RST: #2 LPC Mode: SIO:Enable : SuperIO-2e Eth: MAC0: RGMII, MAC1: RGMII, MAC2: RGMII, MAC3: RGMII Model: AST2600 EVB DRAM: already initialized, 1008 MiB (capacity:1024 MiB, VGA:16 MiB), ECC off MMC: sdhci_slot0@100: 1, sdhci_slot1@200: 2, emmc_slot0@100: 0 Loading Environment from SPI Flash... SF: Detected w25q512jv with page size 256 Bytes, erase size 4 KiB, total 64 MiB OK In: serial@1e784000 ``` AST2600-A3: ``` BP0c00 U-Boot SPL 2019.04 (Jun 16 2021 - 05:59:38 +0000) already initialized, Trying to boot from RAM U-Boot 2019.04 (Jun 16 2021 - 05:59:38 +0000) SOC: AST2600-A3 RST: WDT1 SOC PCI RST: #2 eSPI Mode: SIO:Enable : SuperIO-2e Eth: MAC0: RGMII, MAC1: RGMII, MAC2: RGMII, MAC3: RGMII Model: AST2600 EVB DRAM: already initialized, 960 MiB (capacity:1024 MiB, VGA:64 MiB), ECC off MMC: sdhci_slot0@100: 1, sdhci_slot1@200: 2, emmc_slot0@100: 0 Loading Environment from SPI Flash... SF: Detected w25q512jv with page size 256 Bytes, erase size 4 KiB, total 64 MiB OK In: serial@1e784000 ``` Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Change-Id: I77ec3c2928ca96ee3f51290fd3435fca08bb058a
2021-06-11linux-aspeed: Move to v5.10.43 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.43 stable release. Change-Id: I80b2c7f29a96ca11e2d291957bd573c5c70310e9 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-10meta-aspeed: Enable hardened allocator featureJoel Stanley3-3/+3
SLAB_FREELIST_HARDENED can protect from freelist overwrite attacks with really small overhead. It works best with the SLUB allocator, so make SLUB the default by removing SLAB=y. total used free shared buff/cache available SLAB 425596 44065.3+/-220 311099+/-3800 14864+/-3900 70432+/-3700 352767+/-3900 SLUB 425592 44225.3+/-280 313275+/-600 12132+/-3.3 68092+/-530 355295+/-280 These figures are the average memory usage from three boots of each option in qemu, running the Romulus userspace. The output is from free(1), reported in kilobytes. Change-Id: I3c3ce67bc202dffbc3084382227f3dbc77f4cf85 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-09linux-aspeed: Everest LEDs, Rainier, EVB fixesJoel Stanley1-1/+1
Andrew Jeffery (1): mmc: sdhci-of-aspeed: Turn down a phase correction warning Eddie James (1): ARM: dts: aspeed: Rainier 1S4U: Fix fan nodes Steven Lee (1): ARM: dts: aspeed: ast2600evb: Actually add dts file for A1 and A0 Vishwanatha Subbanna (6): ARM: dts: aspeed: everest: Add system level indicator leds ARM: dts: aspeed: everest: Add nvme and fan indicator leds ARM: dts: aspeed: everest: Add pcie slot indicator leds ARM: dts: aspeed: everest: Add dimm indicator leds ARM: dts: aspeed: everest: Add vrm and other indicator leds ARM: dts: aspeed: everest: Add pcie cable card indicator leds Change-Id: Ibdbc319fcc3490d9bae1e3845f1410150662bd4d Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-07linux-aspeed: Backports of MMC, FSI, DTSJoel Stanley1-1/+1
These changes have been merged to mainline since v5.10 was released, including patches that are queued for v5.14. There are enhancements and bug fixes for FSI, clock phase compensation for MMC to enable HS200 mode, and device tree backports for Mt Jade and the IBM P10 systems. Andrew Jeffery (5): mmc: core: Add helper for parsing clock phase properties mmc: sdhci-of-aspeed: Expose clock phase controls mmc: sdhci-of-aspeed: Add AST2600 bus clock support mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations mmc: sdhci-of-aspeed: Fix kunit-related build error Colin Ian King (1): fsi: core: Fix return of error values on failures Eddie James (3): fsi: scom: Reset the FSI2PIB engine for any error fsi: Aspeed: Reduce poll timeout ARM: dts: aspeed: Rainier 4U: Remove fan updates Jisheng Zhang (1): mmc: sdhci: replace mmc->parent with mmc_dev() for consistency Joel Stanley (4): fsi: aspeed: Emit fewer barriers in opb operations fsi: scom: Remove retries ARM: dts: aspeed: Set earlycon boot argument ARM: dts: aspeed-g5: Add SCU phandle to GFX node Quan Nguyen (3): ARM: dts: aspeed: mtjade: Enable OCP card support via NC-SI ARM: dts: aspeed: mtjade: Add PSU support ARM: dts: aspeed: mtjade: switch to 64MB flash layout Santosh Puranik (1): ARM: dts: aspeed: Everest: Fix cable card PCA chips Souptick Joarder (1): pinctrl: aspeed: Fix minor documentation error Steven Lee (6): pinctrl: pinctrl-aspeed-g6: Add sgpio pinctrl settings mmc: sdhci-of-aspeed: Configure the SDHCIs as specified by the devicetree. ARM: dts: aspeed: ast2600evb: Add sdhci node and gpio regulator for A2 evb. ARM: dts: aspeed: ast2600evb: Add phase correction for emmc controller. ARM: dts: aspeed: ast2600evb: Add dts file for A1 and A0 ARM: dts: aspeed-g6: Add pinctrl settings Troy Lee (1): ARM: dts: aspeed: Grow u-boot partition 64MiB OpenBMC flash layout Vishwanatha Subbanna (1): ARM: dts: aspeed: Everest: Add directly controlled LEDs Yangtao Li (1): fsi: aspeed: convert to devm_platform_ioremap_resource Zhen Lei (1): fsi: master-ast-cf: Remove redundant error printing in fsi_master_acf_probe() Zou Wei (1): fsi: Add missing MODULE_DEVICE_TABLE Change-Id: I236f1b3f3d96c08b1237a0d9860786ebe25566fd Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-04linux-aspeed: Move to v5.10.42 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.40 through to 5.10.42 stable releases. This stable release inclues a fix for the VUART on AST2600: Andrew Jeffery (1): serial: 8250: Add UART_BUG_TXRACE workaround for Aspeed VUART Change-Id: I8249b9564e2839e6ff9b19fbc247700d3f44699f Signed-off-by: Joel Stanley <joel@jms.id.au>