summaryrefslogtreecommitdiff
path: root/meta-aspeed
AgeCommit message (Collapse)AuthorFilesLines
2022-02-02meta-aspeed: use OE shell variable styleBrad Bishop1-4/+4
OE convention (see OE-Core rev: f44bb4588) is for bitbake variables to use braces and ordinary shell variables to not use braces. Change-Id: I640076712f58d971b173849844215a64565a1d51 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2022-02-02meta-aspeed: Use OE logging utilitiesBrad Bishop1-3/+2
OE provides utilities for both warning and error messages, so use them. Change-Id: I7548e09e69015dda4043d5aaa00a0c869393c595 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2022-02-01meta-aspeed: socsec: remove hexdump dependencyAndrew Geissler1-1/+0
With the latest yocto subtree update, this function has been moved into the global python package. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I60fd8a2160e45823065a9a28ae36af263baa15cb
2022-01-31u-boot-aspeed-sdk: use u-boot do_configure for fw-utilsZev Weiss1-1/+1
Previously, the u-boot-fw-utils-aspeed-sdk build didn't take *.cfg files in SRC_URI into account at all, leading to problematic mismatches between fw_{set,print}env's configuration and that of u-boot itself (such as discrepancies in their respective notions of what the default environment should be). With this change the fw-utils build uses the same do_configure as the regular u-boot build, so the two packages can more easily be built with a single consistent configuration. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Change-Id: Ia83768597b6b75dc00425bdc23f216274d87e0ae
2022-01-31linux-aspeed: Move to v5.15.18 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.15 through to 5.15.18 stable releases. Change-Id: I71a0c4d8c134434725bba8e2a7deec37783550bc Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-01-31linux-aspeed: pl2303, UCHI, FSIJoel Stanley1-1/+1
Eddie James (2): USB: serial: pl2303: Add IBM device IDs ARM: dts: aspeed: rainier and everest: Enable UHCI Jiasheng Jiang (1): fsi: core: Check error number after calling ida_simple_get Joel Stanley (3): fsi: scom: Fix error handling fsi: scom: Remove retries in indirect scoms ARM: configs: aspeed_g5: Add PL2303 USB serial driver Change-Id: I8a39a2adc4ec761c910f8a675ac653b2ce739a3f Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-01-20socsec: change rsa order to big endian for AST2600 A3Jamin Lin2-2/+4
In general, software such as openssl calculates digest(big endian) of input data and uses big-endian digest to sign for RSA signature creation. However, AST2600 A1 only supports little endian. In other words, AST2600 A1 crypto hardware engine digest output is “little endian”. That is why our SOCSEC tool reverse signature and digest to match the AST2600 A1 crypto engine design(little endian). AST2600 A3 changed the design to support big endian. ASPEED recommends using big endian to remain compatible with general software tool design and therefore SOCSEC tool does not need to reverse digest and signature. Default to big endian for OpenBMC platforms as A3 is production silicon, and earlier revisions are not well supported. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Change-Id: Iba46f704b86990d53937f104c3c601da5a3c111f
2022-01-20u-boot: Make u-boot-aspeed-sdk the defaultJoel Stanley1-6/+3
This makes the v2019.04-aspeed-openbmc branch the default for all aspeed machines. Existing machines have all modified their u-boot package to use the older branch, so this patch should result in no change. Change-Id: Ic4dd0bb973a16d3d658c340e7caf6a05128327bc Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-01-18u-boot: Specify u-boot package for AST2500 machinesJoel Stanley1-0/+5
This sets u-boot to the package containing the v2016.07-aspeed-openbmc branch. This ensures there will be no change if the default changes in the future. Change-Id: Iea12e1691dbdda34a3f95d6d0862add0b15bcf37 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-01-17aspeed: Add TPM TIS I2C driver to tpm2 machine featureJoel Stanley1-0/+1
This driver requires CONFIG_TCG_TPM and CONFIG_TCG_TIS_I2C. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: If461c2fec0874c09410388bcce7990334b81a726
2022-01-17linux-aspeed: Move to v5.15.14 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.11 through to 5.15.14 stable releases. Change-Id: I289d25f7f3d02010e6be586e2c992a8b88204a7c Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-01-14linux-aspeed: TPM TIS I2C driver, mp5023, reset-cause-pinholeJoel Stanley1-1/+1
Amir Mizinski (5): tpm_tis: Fix expected bit handling tpm: tpm_tis: Rewrite "tpm_tis_req_canceled()" tpm: tpm_tis: Verify TPM_STS register is valid after locality request tpm: tpm_tis: Add tpm_tis_i2c driver tpm: Add YAML schema for TPM TIS I2C options Andrew Geissler (2): ARM: dts: aspeed: rainier: add reset-cause-pinhole ARM: dts: aspeed: everest: add reset-cause-pinhole Chen Jun (1): tpm: add request_locality before write TPM_INT_ENABLE Christophe Jaillet (1): tpm_tis: Fix an error handling path in 'tpm_tis_core_init()' Howard Chiu (邱冠睿) (1): hwmon: (pmbus) Add support for MPS Multi-phase mp5023 Joel Stanley (2): ARM: configs: aspeed_g5: Add mp5023 driver ARM: config: aspeed_g5: Add TPM TIS I2C driver Patrick Williams (1): tpm: fix NPE on probe for missing device Change-Id: Ie6ef09e03df8bc44ef70d900a4fc3b874e1d6688 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-12-30Fix the config error of u-boot-envzhanghaicheng5-0/+10
When using 64M flash, the config of u-boot CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET is wrong. The config file fw_env.config is wrong, too. Modify them according to the 64M flash dts file. Before correcting these errors, when we used setenv to set environment variables in u-boot, we could not use fw_printenv to get them. The reverse is also the same. Because they set different offset and size. Tested: 1. Use commands in u-boot: setenv test value saveenv After BMC starts, use fw_printenv can get "test=value" 2. Use the command to change the value of "test" fw_setenv test v We can get "test=v" in u-boot by printenv. Signed-off-by: zhanghaicheng <zhanghch05@inspur.com> Change-Id: I9eccf6abe743253b6f8c344a8b8648e68ab52019
2021-12-22meta-aspeed: Enable tpm2 kernel configPotin Lai3-0/+10
Append tpm2 in MACHINE_FEATURES to enable related kernel configs MACHINE_FEATURES:append = " tpm2" Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Ie6b50d81040de2863487cffc449193ec9462bf89
2021-12-22linux-aspeed: Move to v5.15.10 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.6 through to 5.15.10 stable releases. Change-Id: Ib4e8e69386ba6c7857c22d8b2fb063c9d8d03b36 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-12-22linux-aspeed: Add s7106, Bletchley, VegmanJoel Stanley1-1/+1
These are backports from the v5.17 aspeed pull request. Ali El-Haj-Mahmoud (1): ARM: dts: aspeed: Add TYAN S8036 BMC machine Andrei Kartashev (2): dt-bindings: vendor-prefixes: add YADRO ARM: dts: aspeed: add device tree for YADRO VEGMAN BMC Eddie James (2): ARM: dts: aspeed: p10: Enable USB host ports ARM: dts: aspeed: p10: Add TPM device Howard Chiu (1): ARM: dts: aspeed: Adding Facebook Bletchley BMC Jae Hyun Yoo (3): ARM: dts: aspeed: add LCLK setting into LPC IBT node ARM: dts: aspeed: add LCLK setting into LPC KCS nodes dt-bindings: ipmi: bt-bmc: add 'clocks' as a required property Joel Stanley (3): dt-bindings: aspeed: Add Secure Boot Controller bindings ARM: dts: aspeed: Add secure boot controller node ipmi: bt: Add ast2600 compatible string Lei YU (2): ARM: dts: Add openbmc-flash-layout-64-alt.dtsi ARM: dts: aspeed: g220a: Enable secondary flash Oskar Senft (1): ARM: dts: aspeed: tyan-s7106: Add uart_routing and fix vuart config Quan Nguyen (2): ARM: dts: aspeed: mtjade: Add I2C buses for NVMe devices ARM: dts: aspeed: mtjade: Add uefi partition Change-Id: I89371d3ab9c99415b3e971fbb62a6cad8b8e4b16 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-12-21socsec: update socsec tool to v1.0.0Jamin Lin3-23/+31
1. To fix python modules not found such as bitarray at do_compile task , adds "DEPEND" to install dependencies. 2. Create a socsec.inc to place the common settings. 3. Create a socsec_1.0.0.bb to build socsec tool v1.0.0. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Change-Id: I27a9216419555b58e7484e85506fa229f0e230b7
2021-12-03linux-aspeed: Refresh defconfigsJoel Stanley3-37/+10
The defconfigs are regenerated using savedefconfig. No options are changed. An explanation as to why some are removed from the defconfig: - ZBOOT_ROM_TEXT and ZBOOT_ROM_BSS default to 0x0 (and we odn't use them) - SECOMMP is now on by default - BLK_DEV_BSG is now behind SCSI, which we do not enable - I2C_MUX is selected by the MEDIA subsystem - MCTP_LPC is gone - NET_VENDOR_AURORA is gone - PECI is not in the tree :( - ASPEED_LPC drivers are enabled by default The other options move their order but are still present. Change-Id: Ib03b6dab4804e354629b9bf7f4e0951b6131462c Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-11-26linux-aspeed: Move to v5.15.5 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.1 through to 5.15.5 stable releases. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Ibe8c433439b5863b0d49934d4d43b239bdc736d7
2021-11-26linux-aspeed: Fixes for SCU IRQ, MDIO, clock, vga_pwJoel Stanley1-1/+1
Billy Tsai (1): irqchip/aspeed-scu: Replace update_bits with write_bits. Dylan Hung (1): mdio: aspeed: Fix "Link is Down" issue Joel Stanley (2): drm/aspeed: Fix vga_pw sysfs output clk/ast2600: Fix soc revision for AHB Change-Id: Idd8d89c4869faa8528f1c5066ec3ed467ea85911 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-11-05linux-aspeed: nct7802 bindings and configurabilityOskar Senft1-1/+1
Oskar Senft (3): dt-bindings: hwmon: Add nct7802 bindings hwmon: (nct7802) Make temperature/voltage sensors configurable ARM: dts: aspeed: tyan-s7106: Update nct7802 config Signed-off-by: Oskar Senft <osk@google.com> Change-Id: I6dedace1a62f136c461ce6a207ef925d0bd072d1
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams2-0/+2
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-11-03linux-aspeed: UART routingJoel Stanley1-1/+1
Chia-Wei Wang (2): soc: aspeed: Add UART routing support soc: aspeed: Fix UART routing driver Change-Id: I4a6fc7ee06e7e32ef15ceba79d278869e6c6c42e Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-11-02linux-aspeed: Move to Linux v5.15Joel Stanley1-3/+3
This moves the OpenBMC kernel to a v5.15 base. There are 73 patches in the tree, not counting changes that were merged in v5.16 which have been backported. Andrew Jeffery (10): 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: tacoma: Clean up KCS nodes leds: pca955x: Make the gpiochip always expose all pins leds: pca955x: Allow zero LEDs to be specified 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 (8): 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: Print status on error spi: fsi: Fix contention in the FSI2SPI engine Fran Hsu (2): ARM: dts: nuvoton: npcm730: Add UDC device ARM: dts: nuvoton: gsj: Add non-mainline nodes George Hung (4): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver ARM: dts: nuvoton: gbs: split SPI flash partition ARM: dts: nuvoton: gbs: Change the name of the partitions 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: configs: aspeed: Add openbmc kernel options ipmi: bt-bmc: Use registers directly 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: I8c26f71ba75e4f8d8b5697b81f8c73c0d77aae8e Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-11-02linux-aspeed: FSI backportsJoel Stanley1-1/+1
Patches from the v5.16 kernel relating to FSI, OCC and SBE FIFO. Eddie James (7): fsi: occ: Use a large buffer for responses fsi: occ: Store the SBEFIFO FFDC in the user response buffer docs: ABI: testing: Document the OCC hwmon FFDC binary interface hwmon: (occ) Provide the SBEFIFO FFDC in binary sysfs docs: ABI: testing: Document the SBEFIFO timeout interface fsi: sbefifo: Add sysfs file indicating a timeout error fsi: sbefifo: Use interruptible mutex locking Change-Id: Iab76e0b1cf658334d8ab0f43bb6c3d1b8912f7a5 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-29linux-aspeed: Move to v5.14.15 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.14.11 through to 5.14.15 stable releases. Change-Id: Ida64acaa1f9c7c26d987fa7979ef29320924f2f0 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-29linux-aspeed: SPI FSI, DTS GPIOsJoel Stanley1-1/+1
Adriana Kobylak (1): ARM: dts: aspeed: rainier: Add power-config-full-load gpio Eddie James (1): spi: fsi: Print status on error Joel Stanley (2): ARM: dts: aspeed: p10bmc: Define secure boot gpio ARM: dts: aspeed: rainier: Remove remaining PCA955X_TYPE_GPIO Change-Id: Ibbfc482ba2ee1a008006875d6065cc36d7c7da20 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-21linux-aspeed: Rainier, Everest, ADCJoel Stanley1-1/+1
Eddie James (5): ARM: dts: aspeed: Fix ADC iio-hwmon battery node name ARM: dts: aspeed: rainier and everest: Remove PCA gpio specification ARM: dts: aspeed: everest: Add I2C switch on bus 8 ARM: dts: aspeed: everest: Add IBM Operation Panel I2C device ARM: dts: aspeed: everest: Fix bus 15 muxed eeproms Joel Stanley (1): iio: aspeed_adc: Fix prescaler devres cleanup Change-Id: Icd9903844c926c0d41d912716520eb3807c59039 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-19linux-aspeed: LM25066Joel Stanley1-1/+1
Zev Weiss (8): hwmon: (pmbus/lm25066) Add offset coefficients hwmon: (pmbus/lm25066) Adjust lm25066 PSC_CURRENT_IN_L mantissa hwmon: (pmbus/lm25066) Avoid forward declaration of lm25066_id hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff hwmon: (pmbus/lm25066) Mark lm25066_coeff array const hwmon: (pmbus/lm25066) Add OF device ID table hwmon: (pmbus/lm25066) Support configurable sense resistor values dt-bindings: hwmon/pmbus: Add ti, lm25066 power-management IC Change-Id: I3bd76959963ad7de008197f7349c72b088eb1147 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-14linux-aspeed: fp5280g2, IPMI BTJoel Stanley1-1/+1
Joel Stanley (1): ipmi: bt-bmc: Use registers directly John Wang (1): ARM: dts: aspeed: fp5280g2: Use the 64M layout Change-Id: Id6ec8571bee286cf56ab02bbf9c4b4d278b32426 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-12linux-aspeed: Move to v5.14.11 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.14.7 through to 5.14.11 stable releases. Change-Id: I4e3cbb74fe6204dd804c06a438e9a398f4808894 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-11linux-aspeed: IBM CFF PS, USB EHCIJoel Stanley1-1/+1
Brandon Wyman (3): hwmon: (pmbus/ibm-cffps) max_power_out swap changes hwmon: (pmbus/ibm-cffps) Add mfg_id debugfs entry hwmon: (pmbus/ibm-cffps) Use MFR_ID to choose version Neal Liu (1): usb: ehci: Handshake CMD_RUN instead of STS_HALT for Aspeed Change-Id: I803024cd288339966162ac10fda501a6fb8beef8 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-11u-boot-aspeed: use upstream u-boot.incAndrei Kartashev3-8/+12
Move u-boot-aspeed-sdk to use u-boot.inc from poki instead our own. We still need our own one for old u-boot-aspeed, so keep it as is. Tested: Build image for AST2500-based machine with u-boot-aspeed-sdk_2019.04, verified that it boots up and fw-utils installed to the image properly. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: Ia5fecdedc94e9550196420884a727e7d87b313d4
2021-10-08u-boot-aspeed: Fix booting with HACEJoel Stanley1-1/+1
Joel Stanley (1): aspeed/hace: Reset when error occurs Change-Id: I10ec988f7b0b01aa76a4338ef095fbe80b4229ec Signed-off-by: Joel Stanley <joel@jms.id.au>
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-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>