aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-11-01ARM: dts: aspeed: cmm: Use common dtsiTao Ren1-50/+16
Simplify the CMM device tree by using the common dtsi. In addition this enables the second firmware flash and the emmc device in slot #0. Signed-off-by: Tao Ren <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: Common dtsi for Facebook AST2500 Network BMCsTao Ren1-0/+96
This common descirption is included by all Facebook AST2500 Network BMC platforms to minimize duplicated device entries across Facebook Network BMC device trees. Signed-off-by: Tao Ren <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: rainier: gpio-keys for PSU presenceBrandon Wyman1-0/+29
Add in a gpio-keys section to the Rainier device tree source, add in the power supply presence GPIOs. Signed-off-by: Brandon Wyman <[email protected]> Reviewed-by: Eddie James <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: rainier: Fix i2c eeprom sizeJinu Thomas1-2/+2
Fix the size of the Proc VRM card's eeprom used for vpd storage. The size is changed from 64Kbit to 128Kbit. Signed-off-by: Jinu Joy Thomas <[email protected]> Reviewed-by: Santosh Puranik <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: tacoma: Hog LPC pinmuxAndrew Jeffery1-0/+7
Requesting pinmux configuration is done at driver probe time. The LPC IP is composed of many sub-devices, each with their own driver, and no driver exists for the entire IP block. Avoid having each sub-device request the LPC pinmux by just hogging it in the pinctrl node. Signed-off-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: rainier: Enable VUART1Brad Bishop1-0/+4
Like most OpenPower machines the VUART is expected to be at /dev/ttyS5 for communication with the host over LPC. Signed-off-by: Brad Bishop <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: rainier: Add i2c eepromsJinu Thomas1-0/+105
Added eeproms for the below VPD devices - BMC - TPM - System Planar - DCM 0 VRM - DCM 1 VRM - Base Op panel - Lcd Op panel - DASD (All) - PCIe Cards (All) Signed-off-by: Jinu Joy Thomas <[email protected]> Reviewed-by: Santosh Puranik <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: tacoma: Use 64MB for firmware memoryJoel Stanley1-1/+1
OpenBMC requires a window the same size as the image being loaded. Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: tacoma: Add host FSI descriptionJoel Stanley1-0/+247
This adds the description of the Power9 CPUs that are attached to the BMC. Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: ast2600evb: Enable UART workaroundJoel Stanley1-0/+5
The UART has an issue on A0 that can be worked around by using the Synopsis driver. Tested-by: Eddie James <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: tacoma: Add UART1 and workaroundJoel Stanley1-4/+11
The UARTs on the AST2600 A0 have a known issue that can be worked around by using the Synopsys driver. Tested-by: Eddie James <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Add remaining UARTsJoel Stanley1-0/+60
The AST2600 has five UARTs. Add UART 1 to 4. Tested-by: Eddie James <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Fix i2c clock sourceJoel Stanley1-17/+17
The upstream clock for the I2C buses is APB2. Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: Add RCLK to MAC clocks for RMII interfacesAndrew Jeffery17-0/+57
We need to ungate RCLK on AST2500- and AST2600-based platforms for RMII to function. RMII interfaces are commonly used for NCSI. Signed-off-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01Merge branch 'aspeed-clk-for-v5.5'Joel Stanley2-0/+6
This contains the dt-bindings headers for the ethernet clocks. Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: tacoma: Enable FMC and SPI devicesJoel Stanley1-0/+31
Tacoma has two SPI flash devices attached to the FMC, and one on the SPI controller. Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: rainier: Add i2c devicesBrad Bishop1-0/+365
Add fan controllers, regulators, temperature sensors, power supplies and regulators. Acked-by: Andrew Jeffery <[email protected]> Signed-off-by: Brad Bishop <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Describe FSI mastersJoel Stanley1-0/+20
The ast2600 has two FSI masters on the APB. Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: Add "spi-max-frequency" propertyCédric Le Goater7-1/+20
Keep the FMC controller chips at a safe 50 MHz rate and use 100 MHz for the PNOR on the machines using a AST2500 SoC. Signed-off-by: Cédric Le Goater <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: Migrate away from aspeed, g[45].* compatiblesAndrew Jeffery2-2/+2
Use the SoC-specific compatible strings instead. Signed-off-by: Andrew Jeffery <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: vesnin: Add power_green ledAlexander Filippov1-0/+4
Adds a new power_green led to show the host state. Signed-off-by: Alexander Filippov <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: tacoma: Add gpio-key definitionsEddie James1-0/+60
Add gpio-keys for various signals on Tacoma. Signed-off-by: Eddie James <[email protected]> Acked-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: ast2600-evb: Add pinmux properties for enabled MACsAndrew Jeffery1-0/+9
All 2600-evb MACs use RGMII/MDIO. Signed-off-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Add pinctrl properties to MDIO nodesAndrew Jeffery1-0/+8
This way enabling the MDIO controllers automatically requests the right pinmux configuration. Signed-off-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Fix EMMC function in pinctrl dtsiAndrew Jeffery1-7/+2
The binding was updated to better reflect the intended use of the hardware and the existing function/groups for SD3 were dropped. Signed-off-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: ast2600evb: Use custom flash layoutJoel Stanley1-1/+31
The AST2600 u-boot and kernel images have outgrown the OpenBMC layout. While BMC machines use 128MB SPI NOR chips, we only have 64MB on the EVB so use a layout that has a smaller region for the ro and rw filesystems. Reviewed-by: Cédric Le Goater <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: ast2600-evb: Enable FMC and SPI devicesCédric Le Goater1-0/+24
Signed-off-by: Cédric Le Goater <[email protected]> Acked-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: tacoma: Enable FMC and SPI devicesJoel Stanley1-0/+31
Tacoma has two SPI flash devices attached to the FMC, and one on the SPI controller. Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: rainier: Enable FMC and SPI devicesCédric Le Goater1-0/+31
Signed-off-by: Cédric Le Goater <[email protected]> Acked-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: rainier: Add i2c devicesBrad Bishop1-0/+365
Add fan controllers, regulators, temperature sensors, power supplies and regulators. Acked-by: Andrew Jeffery <[email protected]> Signed-off-by: Brad Bishop <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: rainier: Add mac devicesBrad Bishop1-0/+14
Rainier contains two NCSI network devices. Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Brad Bishop <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: Add Rainier systemBrad Bishop2-0/+54
Rainier is a new IBM server with POWER host processors and an AST2600 BMC. Signed-off-by: Brad Bishop <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: Add 128MiB OpenBMC flash layoutBrad Bishop1-0/+32
This is an alternate layout used by OpenBMC systems that require more space on the BMC's flash. In addition to more space for the rootfs, it supports a larger u-boot and Linux kernel FIT image. The division of space is as follows: u-boot + env: 1MB kernel/FIT: 9MB rwfs: 86MB rofs: 32MB Reviewed-by: Cédric Le Goater <[email protected]> Signed-off-by: Brad Bishop <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: fp5280g2: Add LED configurationChicago Duan1-15/+40
Change BMC init-ok from GPIO to LED, which needs to blink when BMC initialization is complete. Use TAB to align some lines. Signed-off-by: Chicago Duan <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: tacoma: Enable I2C bussesEddie James1-0/+368
Enable all the I2C busses on Tacoma and add the I2C slave devices that exist on the busses. Signed-off-by: Eddie James <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed: Add Tacoma machineJoel Stanley2-0/+442
This is an AST2600 based BMC card for a Power9 system. Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Add FMC and SPI devicesCédric Le Goater1-0/+79
Signed-off-by: Cédric Le Goater <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Add lpc devicesBrad Bishop1-0/+87
Everything is the same as G5, except the devices have their own interrupt now. Acked-by: Andrew Jeffery <[email protected]> Signed-off-by: Brad Bishop <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Add VUART descriptionsJoel Stanley1-0/+22
The AST2600 has two VUART devices. Reviewed-by: Eddie James <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Add i2c busesJoel Stanley1-0/+266
The AST2600 has 16 I2C buses each with their own global IRQ line. Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: aspeed-g6: Add gpio devicesRashmica Gupta1-0/+26
The AST2600 has 208 normal GPIO pins and 36 1.8V GPIOs. Signed-off-by: Rashmica Gupta <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01ARM: dts: ast2600-evb: eMMC configurationAndrew Jeffery2-3/+9
Enable the eMMC controller and limit it to 52MHz to avoid the host controller reporting bus error conditions. Reviewed-by: Joel Stanley <[email protected]> Signed-off-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01dt-bindings: clock: Add AST2600 RMII RCLK gate definitionsAndrew Jeffery1-0/+4
The AST2600 has an explicit gate for the RMII RCLK for each of the four MACs. Signed-off-by: Andrew Jeffery <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-11-01dt-bindings: clock: Add AST2500 RMII RCLK definitionsAndrew Jeffery1-0/+2
The AST2500 has an explicit gate for the RMII RCLK for each of the two MACs. Signed-off-by: Andrew Jeffery <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
2019-09-30Linux 5.4-rc1Linus Torvalds1-2/+2
2019-09-30Merge tag 'for-5.4-rc1-tag' of ↵Linus Torvalds5-18/+58
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux Pull btrfs fixes from David Sterba: "A bunch of fixes that accumulated in recent weeks, mostly material for stable. Summary: - fix for regression from 5.3 that prevents to use balance convert with single profile - qgroup fixes: rescan race, accounting leak with multiple writers, potential leak after io failure recovery - fix for use after free in relocation (reported by KASAN) - other error handling fixups" * tag 'for-5.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space btrfs: Fix a regression which we can't convert to SINGLE profile btrfs: relocation: fix use-after-free on dead relocation roots Btrfs: fix race setting up and completing qgroup rescan workers Btrfs: fix missing error return if writeback for extent buffer never started btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer Btrfs: fix selftests failure due to uninitialized i_mode in test inodes
2019-09-30Merge tag 'csky-for-linus-5.4-rc1' of git://github.com/c-sky/csky-linuxLinus Torvalds17-212/+291
Pull csky updates from Guo Ren: "This round of csky subsystem just some fixups: - Fix mb() synchronization problem - Fix dma_alloc_coherent with PAGE_SO attribute - Fix cache_op failed when cross memory ZONEs - Optimize arch_sync_dma_for_cpu/device with dma_inv_range - Fix ioremap function losing - Fix arch_get_unmapped_area() implementation - Fix defer cache flush for 610 - Support kernel non-aligned access - Fix 610 vipt cache flush mechanism - Fix add zero_fp fixup perf backtrace panic - Move static keyword to the front of declaration - Fix csky_pmu.max_period assignment - Use generic free_initrd_mem() - entry: Remove unneeded need_resched() loop" * tag 'csky-for-linus-5.4-rc1' of git://github.com/c-sky/csky-linux: csky: Move static keyword to the front of declaration csky: entry: Remove unneeded need_resched() loop csky: Fixup csky_pmu.max_period assignment csky: Fixup add zero_fp fixup perf backtrace panic csky: Use generic free_initrd_mem() csky: Fixup 610 vipt cache flush mechanism csky: Support kernel non-aligned access csky: Fixup defer cache flush for 610 csky: Fixup arch_get_unmapped_area() implementation csky: Fixup ioremap function losing csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range csky/dma: Fixup cache_op failed when cross memory ZONEs csky: Fixup dma_alloc_coherent with PAGE_SO attribute csky: Fixup mb() synchronization problem
2019-09-30Merge tag 'armsoc-fixes' of ↵Linus Torvalds9-81/+66
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc Pull ARM SoC fixes from Olof Johansson: "A few fixes that have trickled in through the merge window: - Video fixes for OMAP due to panel-dpi driver removal - Clock fixes for OMAP that broke no-idle quirks + nfsroot on DRA7 - Fixing arch version on ASpeed ast2500 - Two fixes for reset handling on ARM SCMI" * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: ARM: aspeed: ast2500 is ARMv6K reset: reset-scmi: add missing handle initialisation firmware: arm_scmi: reset: fix reset_state assignment in scmi_domain_reset bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle() ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux ARM: dts: am3517-evm: Fix missing video ARM: dts: logicpd-torpedo-baseboard: Fix missing video ARM: omap2plus_defconfig: Fix missing video bus: ti-sysc: Fix handling of invalid clocks bus: ti-sysc: Fix clock handling for no-idle quirks
2019-09-30Merge tag 'trace-v5.4-3' of ↵Linus Torvalds5-11/+30
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace Pull tracing fixes from Steven Rostedt: "A few more tracing fixes: - Fix a buffer overflow by checking nr_args correctly in probes - Fix a warning that is reported by clang - Fix a possible memory leak in error path of filter processing - Fix the selftest that checks for failures, but wasn't failing - Minor clean up on call site output of a memory trace event" * tag 'trace-v5.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: selftests/ftrace: Fix same probe error test mm, tracing: Print symbol name for call_site in trace events tracing: Have error path in predicate_parse() free its allocated memory tracing: Fix clang -Wint-in-bool-context warnings in IF_ASSIGN macro tracing/probe: Fix to check the difference of nr_args before adding probe
2019-09-30Merge tag 'mmc-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmcLinus Torvalds9-35/+410
Pull more MMC updates from Ulf Hansson: "A couple more updates/fixes for MMC: - sdhci-pci: Add Genesys Logic GL975x support - sdhci-tegra: Recover loss in throughput for DMA - sdhci-of-esdhc: Fix DMA bug" * tag 'mmc-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: mmc: host: sdhci-pci: Add Genesys Logic GL975x support mmc: tegra: Implement ->set_dma_mask() mmc: sdhci: Let drivers define their DMA mask mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence mmc: sdhci: improve ADMA error reporting