summaryrefslogtreecommitdiff
path: root/meta-nuvoton/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
6 dayslinux-nuvoton: Move to v6.6.48 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: I8e6e5ffd691fe9b752c2facb0ea0567cf7e15c72 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
6 dayslinux-nuvoton: Rename APB nodes, PT5161L support, Catalina updatesAndrew Jeffery1-1/+1
Andrew Jeffery (1): ARM: dts: aspeed: Rework APB nodes Cosmo Chou (3): dt-bindings: vendor-prefixes: add asteralabs dt-bindings: trivial-devices: add Astera Labs PT5161L hwmon: Add driver for Astera Labs PT5161L retimer Potin Lai (2): ARM: dts: aspeed: catalina: add pdb cpld io expander ARM: dts: aspeed: catalina: update io_expander7 & io_expander8 line name Rob Herring (Arm) (1): arm: dts: aspeed: Use standard 'i2c' bus node name Change-Id: I83223396f4db1512f6031e735b9be24299c03957 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-20linux-nuvoton: Move to v6.6.47 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: Ida7b60c9b0d33df6b130e1ecee33f064c79a56d8 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-15linux-nuvoton: Move to v6.6.46 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: I420447cf206f535e6c0349d7122d79f5004763d7 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-13linux-nuvoton: Revert Aspeed XDMA node removal, NPCM8xx pinctrlAndrew Jeffery1-1/+1
Andrew Geissler (1): Revert "ARM: dts: aspeed: Remove undocumented XDMA nodes" Tomer Maimon (7): dt-bindings: pinctrl: npcm8xx: remove non-existent groups and functions pinctrl: nuvoton: npcm8xx: remove non-existent pins, groups, functions pinctrl: nuvoton: npcm8xx: clear polarity before set both edge pinctrl: nuvoton: npcm8xx: add gpi35 and gpi36 pinctrl: nuvoton: npcm8xx: add pin 250 to DDR pins group pinctrl: nuvoton: npcm8xx: modify clkrun and serirq pin configuration pinctrl: nuvoton: npcm8xx: modify pins flags Change-Id: I42baabe80855670bc0223266273678b8a47e1292 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-13linux-nuvoton: Meta Harma devicetree updatesAndrew Jeffery1-1/+1
Peter Yin (12): ARM: dts: aspeed: Harma: revise hsc chip ARM: dts: aspeed: Harma: add VR device ARM: dts: aspeed: Harma: add sgpio name ARM: dts: aspeed: Harma: add ina238 ARM: dts: aspeed: Harma: add power monitor xdp710 ARM: dts: aspeed: Harma: remove multi-host property ARM: dts: aspeed: Harma: add fru device ARM: dts: aspeed: Harma: add temperature device ARM: dts: aspeed: Harma: enable mctp controller ARM: dts: aspeed: Harma: fixed dtb_check warning ARM: dts: aspeed: Harma: remove pca9546 dt-bindings: trivial-devices: add isil,isl69260 Change-Id: I41e2369ee489c5650078e3cdfda4e8eeb0880784 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-13linux-nuvoton: Move to v6.6.45 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: I98137c34dbc5220f3022e201872e93d4d6fc4989 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-13meta-nuvoton: List Andrew Jeffery as an owner for linuxAndrew Jeffery1-0/+3
For reasons not yet clear the matchers directive isn't working. Try something more obvious. The documentation for OWNERS can be found at [1]. [1]: https://gerrit.openbmc.org/plugins/owners/Documentation/config.md Change-Id: I3996d4500efcb03ab4052c598db8be1c03e3c2b9 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-12linux-nuvoton: Aspeed DTS cleanups and (C)VIC bindingsAndrew Jeffery1-1/+1
Andrew Jeffery (9): ARM: dts: aspeed: Fix coprocessor interrupt controller node name ARM: dts: aspeed: Specify correct generic compatible for CVIC ARM: dts: aspeed: Specify required properties for sram node ARM: dts: aspeed: Remove undocumented XDMA nodes ARM: dts: aspeed: Clean up AST2500 pinctrl properties ARM: dts: aspeed-g6: Use generic 'ethernet' for ftgmac100 nodes ARM: dts: aspeed-g6: Drop cells properties from ethernet nodes dt-bindings: interrupt-controller: aspeed,ast2400-vic: Convert to DT schema dt-bindings: misc: aspeed,ast2400-cvic: Convert to DT schema Change-Id: I66ab142d7e46345cde4c726454fbf104bb83a694 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-07linux-nuvoton: Ampere Mt Jade, Mt Mitchell updatesAndrew Jeffery1-1/+1
Chanh Nguyen (5): ARM: dts: aspeed: mtjade, mtmitchell: Add OCP temperature sensors ARM: dts: aspeed: mtmitchell: Add I2C temperature sensor alias ports ARM: dts: aspeed: mtmitchell: Add Riser cards ARM: dts: aspeed: mtmitchell: Enable i2c10 and i2c15 ARM: dts: aspeed: mtmitchell: Add LEDs Change-Id: I9f84235a4a7dacd3cef3dee390382e149d1a7565 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-06linux-nuvoton: Devicetree for Meta's CatalinaAndrew Jeffery1-1/+1
Potin Lai (2): dt-bindings: arm: aspeed: add Meta Catalina board ARM: dts: aspeed: catalina: add Meta Catalina BMC Change-Id: I6d859ca6214b1632882ffd57b172e3baac1171b2 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-06linux-nuvoton: IBM System1 fan configurationAndrew Jeffery1-1/+1
Ninad Palsule (1): ARM: dts: aspeed: system1: IBM System1 BMC update Change-Id: Iab460eece69539b4c4b57a4aed162b7f0e0ccc1f Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-08-05linux-nuvoton: Move to v6.6.44 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: I4b75ad913b92ef3b56f89369af0365f71c643db5 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-29linux-nuvoton: Move to v6.6.43 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: Ibde93cc23afef5df05fd655ee14ca2fadaf98445 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-26linux-nuvoton: Define host0-ready GPIO for MinervaAndrew Jeffery1-1/+1
Yang Chen (1): ARM: dts: aspeed: minerva: add host0-ready pin Change-Id: I6329e872e4beed6e59ee4b8a44906e4f498417de Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-26linux-nuvoton: Move to v6.6.42 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: Iad60677c454b61223292afd664399d46593f8f0e Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-26linux-nuvoton: Binding cleanups and NCSI group for AST2600 pinctrlAndrew Jeffery1-1/+1
Andrew Jeffery (3): dt-bindings: pinctrl: aspeed: Use block syntax for function and groups dt-bindings: pinctrl: aspeed,ast2500-pinctrl: Describe SGPM dt-bindings: pinctrl: aspeed,ast2600-pinctrl: Describe I3C, USB Potin Lai (2): dt-bindings: pinctrl: aspeed,ast2600-pinctrl: add NCSI groups pinctrl: aspeed-g6: Add NCSI pin group config Change-Id: I7f2470b0be7512f32e28eeb4af435b6349da7bc0 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-19linux-nuvoton: Move to v6.6.41 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: I9b3228927813ab315fa8a04dc74bd0cdab4645bc Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-19linux-nuvoton: Add LTC4286 hwmon driverAndrew Jeffery1-1/+1
Delphine CC Chiu (2): dt-bindings: hwmon: Add lltc ltc4286 driver bindings hwmon: (pmbus) Add ltc4286 driver Krzysztof Kozlowski (1): dt-bindings: hwmon: lltc,ltc4286: use common hwmon schema Uwe Kleine-König (1): hwmon: (pmbus/ltc4286) Drop unused i2c device ids Change-Id: I825328f26dba5b1cee999307b3fba7b0fa744f4f Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-17linux-nuvoton: Move to v6.6.40 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: I9ac79c0c07b944c858a3d0190c1f2bf38e9f36c6 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-12linux-nuvoton: Move to v6.6.39 stable releaseAndrew Jeffery1-2/+2
Apply the upstream security and bug fixes. Change-Id: I2bd2109ee25cc612ca5edd81587ed4957054a794 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2024-07-12meta-nuvoton: linux-nuvoton: Move to v6.6.36 stable releaseTim Lee1-3/+3
Apply the upstream security and bug fixes. And modify KERNEL_DEVICETREE with prefix `nuvoton` for gbs build. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I4e39260615be2f421aa28c16c93e609133b973a0 Signed-off-by: Tim Lee <timlee660101@gmail.com>
2023-11-07meta-nuvoton: linux: npcm8xx: enable OP-TEE driverTim Lee1-1/+3
Enable OP-TEE driver in kernel via CONFIG_TEE=y and CONFIG_OPTEE=y Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I4dc7e7d0f0f3239cd2df9422715fe0fc885f591a
2023-06-09meta-nuvoton: linux-nuvoton: move to v6.1.29 stable releaseTim Lee1-3/+3
This includes security and bug fixes from the 5.15.61 through to 6.1.29 stable releases. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I5e016cdd33cf07310a18aa471bd0a35991437c6e
2023-05-31meta-nuvoton: Reenable I2C for NPCM7xxVlad Sytchenko1-0/+1
340c15a259 in Nuvoton Linux 5.10 pulled in changes from upstream, one of which renamed the I2C kconfig from I2C_NPCM7XX to I2C_NPCM. Add the new option, but keep the old one for backwards for compatibility with platforms pinned on older kernel version. Change-Id: I006b09d72f8a6a5cbe14751a15cab58fdf315829 Signed-off-by: Vlad Sytchenko <vsytch@google.com>
2023-05-26meta-nuvoton: clean up meta-nuvoton defconfig for npcm8xxTim Lee1-11/+0
We've run some tests to mark sure there is no any performance impact. According all test results, there is no impact system performance. systemd-analyze: ------------------------------------------------------------- Original configuration Cleanup configuration Boot time (s) 2min 40.512s 2min 40.740s sysbench: ------------------------------------------------------------- Original configuration Cleanup configuration Latency (ms) min 5.61 5.61 avg 5.62 5.62 max 10.74 10 95th percentile 5.67 5.67 sum 9999.53 9999.08 fio: ------------------------------------------------------------- Original configuration Cleanup configuration Latency (ms) read 512B 8.72 8.75 read 4K 67.9 67.9 read 8K 135.52 135.5 read 16K 270.74 270.87 read 64K 1075.07 1075.62 read 128K 2132.08 2133.04 read 256K 4195.01 4213.21 read 512K 8111.68 8104.42 random r 512 9 8.98 random r 4K 68.14 68.11 random r 8K 135.69 135.7 random r 16K 270.68 270.79 random r 64K 1075.49 1075.95 random r 128K 2133.38 2131.82 random r 256K 4192.74 4192.05 random r 512K 8095.55 8097.43 lmbench: ------------------------------------------------------------- Original configuration Cleanup configuration Pipe latency 32.6599 32.996 Pipe bandwidth 505.30 MB/sec 534.04 MB/sec sock latency 38.9286 36.6467 sock bandwidth 1002.03 MB/sec 977.27 MB/sec Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I22b1d679454560ee79a3e28a1663cc71f88f333a
2023-04-07meta-nuvoton: linux: npcm8xx: remove CONFIG_PREEMPTTim Lee1-1/+0
We’ve run various benchmark test tools between with and w/o this configuration. This is a tradeoff for latency and throughput. However, according our test results, w/o this configuration that can get more benefit for our system. Thus, we need to remove it. 1. From systemd-analyze test result: w/o CONFIG_PREEMPT that can save system startup finish time around 26s. And all services loading time got improved obviously when booting up. w/o test case: Startup finished in 4.208s (kernel) + 31.126s (userspace) = 35.335s multi-user.target reached after 24.453s in userspace. 13.620s phosphor-pid-control.service 13.252s xyz.openbmc_project.Software.BMC.Updater.service 10.936s xyz.openbmc_project.User.Manager.service 10.104s xyz.openbmc_project.Chassis.Control.Power@0.service 9.396s xyz.openbmc_project.LED.GroupManager.service 9.360s xyz.openbmc_project.Network.service 9.309s xyz.openbmc_project.State.BMC.service 8.603s xyz.openbmc_project.Settings.service 8.357s xyz.openbmc_project.Dump.Manager.service 8.210s xyz.openbmc_project.Logging.service 8.018s xyz.openbmc_project.Software.Download.service 7.967s xyz.openbmc_project.Syslog.Config.service 7.912s xyz.openbmc_project.EntityManager.service with test case: Startup finished in 4.385s (kernel) + 56.799s (userspace) = 1min 1.184s multi-user.target reached after 49.875s in userspace. 36.118s xyz.openbmc_project.Software.BMC.Updater.service 32.475s xyz.openbmc_project.Chassis.Control.Power@0.service 32.347s xyz.openbmc_project.EntityManager.service 31.571s xyz.openbmc_project.User.Manager.service 29.570s xyz.openbmc_project.Network.service 27.591s xyz.openbmc_project.LED.GroupManager.service 26.401s xyz.openbmc_project.State.BMC.service 22.871s xyz.openbmc_project.Logging.service 22.712s xyz.openbmc_project.Syslog.Config.service 21.975s nslcd.service 21.896s xyz.openbmc_project.Dump.Manager.service 21.121s xyz.openbmc_project.ObjectMapper.service 20.942s avahi-daemon.service 2. From system-bootchart test result: (more detail in bootchart.svg) w/o CONFIG_PREEMPT that can save IO utilization finish time around 26s. w/o test case: Idle time: 21.789s with test case: Idle time: 47.155s 3. From sysbench test result: w/o CONFIG_PREEMPT that throughput got improved and latency doesn’t increase obviously. w/o test case: File operations: reads/s: 443.34 writes/s: 297.11 fsyncs/s: 1139.77 Throughput: read, MiB/s: 6.93 written, MiB/s: 4.64 Latency (ms): min: 0.00 avg: 9.48 max: 306.51 95th percentile: 65.65 sum: 160735.37 with test case: File operations: reads/s: 398.14 writes/s: 266.95 fsyncs/s: 1046.28 Throughput: read, MiB/s: 6.22 written, MiB/s: 4.17 Latency (ms): min: 0.00 avg: 10.58 max: 321.21 95th percentile: 73.13 sum: 159964.46 4. From fio test result: w/o CONFIG_PREEMPT that latency doesn’t increase obviously also. w/o test case: [read] 512 4K 8K 16K 64K 128K 256K 512K [lat] 8.74 67.91 135.66 270.93 1076.28 2133.23 4198.83 8111.18 (ms) [randread] 512 4K 8K 16K 64K 128K 256K 512K [lat] 8.99 68.14 135.83 270.90 1075.77 2131.96 4194.33 8099.78 (ms) with test case: [read] 512 4K 8K 16K 64K 128K 256K 512K [lat] 8.90 68.18 136.14 272.06 1079.31 2142.20 4207.71 7952.04 (ms) [randread] 512 4K 8K 16K 64K 128K 256K 512K [lat] 9.33 68.70 136.41 272.31 1080.27 2141.74 4208.37 8070.45 (ms) Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I39f2c1ecc2c4d713b5fce7629cb95d8408526b52
2023-03-29meta-nuvoton: linux: npcm8xx: add CONFIG_SQUASHFS_DECOMP_MULTITim Lee1-0/+1
By default Squashfs uses a single decompressor but it gives poor performance on parallel I/O workloads when using multiple CPU machines due to waiting on decompressor availability. Thus, we add this configuration for using parallel squashfs decompressor to speedup read of squashfs that can improve all services loading time when system booting up especially. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I11231ab3a3c603817fa81c0f0bb6c98d3953c582
2022-12-15meta-nuvoton: add generic meta-nuvoton defconfig for npcm8xxTim Lee2-0/+200
According to commment in https://gerrit.openbmc.org/c/openbmc/openbmc/+/57718/4 We have split out the generic meta-nuvoton defconfig change from the EVB change Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I95a53bc4acc39bad21787c059f2e6cde24c3e43e
2022-09-09meta-nuvoton: point at 5.15 treePatrick Williams1-3/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iff75df9a12e83e0f480118f4c867ac5cba96a986
2022-05-26meta-nuvoton: linux: remove SYSFS_DEPRECATEDBrian Ma1-2/+0
SYSFS_DEPRECATED and SYSFS_DEPRECATED_V2 is no longer needed. Signed-off-by: Brian Ma <chma0@nuvoton.com> Change-Id: Ie2920b37db6c81a4e5cce067d39aad564fc4aadd
2022-04-30treewide: fix GPLv2/LGPLv2.1 obsolete-license warningsPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I746b04e1e36abaf2ff3852beb8a04535692442c1
2022-01-25treewide: fix up github SRC_URIsPatrick Williams1-1/+1
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
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-08-11meta-nuvoton: Cleanup for Yocto override syntax changeWilly Tu1-1/+1
Cleanup with ``` convert-overrides.py meta-google ``` Left over `_`. ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-nuvoton meta-nuvoton/conf/layer.conf:BBFILE_PATTERN_nuvoton-layer = "" meta-nuvoton/conf/layer.conf:LAYERVERSION_nuvoton-layer = "1" meta-nuvoton/conf/layer.conf:LAYERSERIES_COMPAT_nuvoton-layer = "gatesgarth hardknott" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_virtual/kernel ?= "linux-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_u-boot ?= "u-boot-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils-nuvoton" meta-nuvoton/recipes-bsp/images/npcm7xx-bingo-native_git.bb:do_install () { meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.17.bb:do_deploy () { meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.17.bb:addtask deploy before do_build after do_compile meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_compile () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: oe_runmake ${UBOOT_MACHINE} meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: oe_runmake envtools meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_install () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_install:class-cross () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: sysroot_stage_dir ${D}${bindir_cross} ${SYSROOT_DESTDIR}${bindir_cross} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_configure () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} oldconfig meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_compile () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B}/${config} ${config} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B}/${config} ${UBOOT_MAKE_TARGET} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} ${UBOOT_MAKE_TARGET} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_install () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_deploy () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:addtask deploy before do_build after do_compile ``` Change-Id: Ic6969f12049c0d843009c4b754ab87ecff568a07 Signed-off-by: Willy Tu <wltu@google.com>
2021-05-07linux-nuvoton: WPCM450 and spi fixJoel Stanley1-2/+2
The changes below were merged to mainline in v5.13 and have been backported to the openbmc dev-5.10 tree. This change brings Nuvoton up to the latest stable tree v5.10.30 and includes the following backported patches. Jonathan Neuschäfer (16): dt-bindings: serial: 8250: Add nuvoton,wpcm450-uart serial: 8250_of: Add nuvoton,wpcm450-uart dt-bindings: interrupt-controller: Add nuvoton, wpcm450-aic irqchip: Add driver for WPCM450 interrupt controller dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML ARM: dts: Add board-specific compatible string to npcm750-evb devicetree clocksource/drivers/npcm: Add support for WPCM450 dt-bindings: timer: nuvoton,npcm7xx: Add wpcm450-timer dt-bindings: vendor-prefixes: Add Supermicro dt-bindings: arm: npcm: Add nuvoton,wpcm450 compatible string dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt ARM: npcm: Introduce Nuvoton WPCM450 SoC watchdog: npcm: Add support for WPCM450 ARM: dts: Add devicetree for Nuvoton WPCM450 BMC chip ARM: dts: Add devicetree for Supermicro X9SCi-LN4F based on WPCM450 MAINTAINERS: Add entry for Nuvoton WPCM450 William A. Kennington III (1): spi: Fix use-after-free with devm_spi_alloc_* Change-Id: I29085374c54e7904852f0eb06206b5bb62104d1b Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-04-06linux-nuvoton: JFFS2 fix, Quanta GBS, NPCM Ethernet fixJoel Stanley1-1/+1
This moves to the latest commit in dev-5.10, which includes a fix for JFFS2 on overlayfs and adds the Quanta GBS machine. William A. Kennington III (2): net: npcm: Support for fixed PHYs net: npcm: Remove superfluous logging George Hung (1): ARM: dts: nuvoton: Add Quanta GBS BMC Device Tree Joel Stanley (1): jffs2: Hook up splice_write callback Change-Id: Ib3aa49a2e22c1bb3f7cef4d7bf70c2e6999d3f52 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-14linux-nuvoton: Move to v5.10.23 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.8.15 through to 5.10.23 stable releases. Change-Id: Ie54ff1f0e7f080661bd6f11b42c19cadcf14c56d Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-13meta-nuvoton: enable module signature verificationAnton D. Kachalov1-0/+2
Nuvoton targets requires loadable modules support. Add the following config options: * MODULE_SIG * MODULE_SIG_SHA512 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: Ieb5382fa7087be6ecd118eeaea9b9372cb75b861
2021-03-13meta-nuvoton: update defconfigAnton D. Kachalov1-35/+19
Re-run "savedefconfig" for Nuvoton kernel. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: Iaeaf49f4f3f1850ad971423ecdd957b89c8ff06f
2021-02-18Revert "nuvoton: Enable seccomp support in kernel."Anton D. Kachalov1-2/+0
This reverts commit 6926f175f0a8099501ea2523f270db6be7049dcd. Reason for revert: Seccomp being enabled by default. Change-Id: I6ad97ebf37b79acfdee70d5cbbce2dd11b8bc061 Signed-off-by: Anton D. Kachalov <gmouse@google.com>
2021-02-18nuvoton: Enable seccomp support in kernel.Anton D. Kachalov1-0/+2
Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I5f6ef36e374b4b1d6f2cb50d6f7344fa801aa12a
2021-02-11linux-openbmc: Move to Linux 5.10Joel Stanley1-3/+3
This moves the OpenBMC kernel to a v5.10 base for both Aspeed and Nuvoton. There are 125 patches in the tree, with 80 of those patches not yet queued for merging in v5.11. Notably the PECI patchset has been dropped as the author, Intel, has elected to develop it out of tree instead of submitting it for mainline inclusion. The remaining out of tree patches: Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Andrew Geissler (1): ARM: dts: tacoma: Add KCS node for LPC MCTP Andrew Jeffery (9): 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 misc: Add ASPEED KCS driver for MCTP purposes ARM: dts: witherspoon: Add KCS node for LPC MCTP ARM: dts: aspeed: rainier: Don't shout addresses 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 Dan Carpenter (1): soc: aspeed: xdma: Return -EFAULT if copy_from_user() fails Eddie James (9): ARM: dts: rainier: Add KCS node for LPC MCTP ARM: dts: aspeed: Add witherspoon-128 machine dt-bindings: fsi: Add P10 OCC device documentation fsi: occ: Add support for P10 hwmon: (occ) Add new temperature sensor type dt-bindings: input: Add documentation for IBM Operation Panel input: misc: Add IBM Operation Panel driver ARM: dts: aspeed: rainier: Mark FSI SPI controllers as restricted ARM: dts: aspeed: Add Everest BMC machine 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 George Liu (2): ARM: dts: aspeed: inspur-fp5280g2: Add GPIO line names ARM: dts: aspeed: inspur-fp5280g2: Add ipsps1 driver Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (4): ARM: dts: aspeed: ast2600evb: Add MAC0 drm/aspeed: Add sysfs for output settings net: ftgmac100: Ensure tx descriptor updates are visible ARM: configs: aspeed: Update defconfigs Quan Nguyen (1): ARM: dts: aspeed: Add device tree for Ampere's Mt. Jade BMC Ryan Sie (1): ARM: dts: aspeed: Add Supermicro x11spi BMC machine 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 Troy Lee (3): dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support ARM: dts: aspeed: Add AST2600 edac into common devicetree edac: Supporting AST2400 and AST2600 edac driver Change-Id: I455ad0dfa67f7224f07b3999b7e3b50755490653 Signed-off-by: Joel Stanley <joel@jms.id.au>
2020-11-20linux-nuvoton: Move to latest v5.8Joel Stanley1-2/+2
Includes addition of Fii Kudo device tree. (From meta-nuvoton rev: f525a14ffcd06c41c512565ace585910a36e2c02) Change-Id: I4e6b77655a94c71987af53c327b03e39063d38ed Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-04meta-nuvoton: kernel: bump to 5.8.5Andrew Geissler2-4/+4
The latest perf package is not working well with the older kernel. (From meta-nuvoton rev: 4143851815fa8499f5e3ed2ac16d1b8ea2ebca06) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I676120b09315b6cde43a93fcc7a4a01ff416a079 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-12meta-nuvoton: linux-nuvoton: add FS options to defconfigBenjamin Fair1-0/+7
Enable support for the filesystems used by the rootfs when booting from the SPI flash. (From meta-nuvoton rev: 168440a0f1c89fc8ef6cabea033c5611d323df89) Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I232309c8a1b196b54c7d3533a1c693e5e26d523e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-04dunfell: update to 5.4.32 kernelAndrew Geissler1-2/+2
Some needed fixes are in the latest 5.4 branch of openbmc/linux which are required to update to the latest yocto release, dunfell In particular, this fix: https://github.com/openbmc/linux/commit/7dc9442bbe7d0d1512c64a97b7cc58fed2b38ba4 (From meta-nuvoton rev: efb274e62119e71688130d3fb82bb0fd0e7be5b5) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ic053b94fc736f4381a6e6cd9cdaa4322d6546f66 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-17meta-nuvoton: linux: enable hash api for systemdJoseph Liu1-0/+3
Kernel crypto/hash API CONFIG_CRYPTO_HMAC CONFIG_CRYPTO_SHA256 CONFIG_CRYPTO_USER_API_HASH The requirement can be found at https://github.com/systemd/systemd/blob/master/README This API is necessary for the UUID feature that you can find the implementation in the bmcweb. https://github.com/openbmc/bmcweb/blob/master/redfish-core/include/utils/systemd_utils.hpp (From meta-nuvoton rev: 0409fb71e479cef29777fee90f4285fd34f69eb6) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: I85bc34196571e04bdcdc0c12707930fdfc16530e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-01-08linux-nuvoton: Move to 5.4Joel Stanley1-3/+3
This moves the OpenBMC kernel to a Linux v5.4 base. (From meta-nuvoton rev: c57a5fa88a0bb79729298095d16ec9dac6a0a067) Change-Id: Ieaa63dba85172b1c7d6d0ee2d12f3e20cccdd0a6 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-10linux-nuvoton: Move to 5.2.11Joseph Liu1-3/+3
This includes security and bug fixes from the 5.2.9, 5.2.10 and 5.2.11 stable releases. (From meta-nuvoton rev: 5f41582d83b45bdbf5159aa3489effa0ff6f1ff7) Change-Id: Ibcc44b652a14b5518c475947c8c7af1a4329cff9 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>