- Jan 15, 2021
-
-
Martin Kepplinger authored
Add interconnect ports for lcdif to set bus capabilities. Signed-off-by:
Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Martin Kepplinger authored
Add #interconnect-cells on main &noc so that it will probe the interconnect provider. Signed-off-by:
Martin Kepplinger <martin.kepplinger@puri.sm> Acked-by:
Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Leonard Crestez authored
Add initial support for dynamic frequency scaling of the main NOC on imx8mq. Make DDRC the parent of the NOC (using passive governor) so that the main NOC is automatically scaled together with DDRC by default. Support for proactive scaling via interconnect will come on top. Signed-off-by:
Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by:
Martin Kepplinger <martin.kepplinger@puri.sm> Acked-by:
Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Michael Walle authored
There is a new variant 1 of this board available. It features up to four SerDes lanes for customer use. Add a new device tree which features just the basic peripherals. A customer will then have to modify or append to this device tree. Signed-off-by:
Michael Walle <michael@walle.cc> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Jan 11, 2021
-
-
Teresa Remmet authored
Add initial support for phyBOARD-Pollux-i.MX8MP. Supported basic features: * eMMC * i2c EEPROM * i2c RTC * i2c LED * PMIC * debug UART * SD card * 1Gbit Ethernet (fec) * watchdog Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Tim Harvey authored
The Gateworks Venice GW71xx-0x/GW72xx-0x/GW73xx-0x are development kits consisting of a GW700x SoM and a Baseboard. Future SoM's such as the GW701x will create additional combinations. The GW700x SoM contains: - i.MX 8M Mini SoC - LPDDR4 DRAM - eMMC FLASH - Gateworks System Controller (eeprom/pushbutton/reset/voltage-monitor) - GbE PHY connected to the i.MX 8M Mini FEC - Power Management IC The GW71xx Baseboard contains: - 1x MiniPCIe Socket with USB2.0, PCIe, and SIM - 1x RJ45 GbE (i.MX 8M Mini FEC) - I/O connector with 1x-SPI/1x-I2C/1x-UART/4x-GPIO signals - PCIe Clock generator - GPS and accelerometer - 1x USB 2.0 Front Panel connector - wide range power supply The GW72xx Baseboard contains: - 2x MiniPCIe Socket with USB2.0, PCIe, and SIM - 2x RJ45 GbE (i.MX 8M Mini FEC and LAN743x) - 1x MicroSD connector - 1x USB 2.0 Front Panel connector - 1x SPI connector - 1x Serial connector supporting 2x-UART or 1x-UART configured as 1 of: RS232 w/ flow-control, RS485, RS422 - PCIe Clock generator - GPS and accelerometer - Media Expansion connector (MIPI-CSI/MIPI-DSI/GPIO/I2S) - I/O connector with 2x-ADC,2x-GPIO,1x-UART,1x-I2C - wide range power supply The GW73xx Baseboard contains: - 3x MiniPCIe Socket with USB2.0, PCIe, and SIM - 2x RJ45 GbE (i.MX 8M Mini FEC and LAN743x) - 1x MicroSD connector - 1x USB 2.0 Front Panel connector - 1x SPI connector - 1x Serial connector supporting 2x-UART or 1x-UART configured as 1 of: RS232 w/ flow-control, RS485, RS422 - WiFi/BT - PCIe Clock generator - GPS and accelerometer - Media Expansion connector (MIPI-CSI/MIPI-DSI/GPIO/I2S) - I/O connector with 2x-ADC,2x-GPIO,1x-UART,1x-I2C - wide range power supply Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Alice Guo authored
In order to be able to use NVMEM APIs to read soc unique ID, add the nvmem data cell and name for nvmem-cells to the "soc" node, and add a nvmem node which provides soc unique ID to efuse@30350000. Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Alice Guo <alice.guo@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Alice Guo authored
Add compatible string to .dtsi files for binding of imx8_soc_info and device. Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Alice Guo <alice.guo@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Michael Walle authored
Now that we have constants, use them. This is just a mechanical change. Signed-off-by:
Michael Walle <michael@walle.cc> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Michael Walle authored
Now that we have constants, use them. This is just a mechanical change. Signed-off-by:
Michael Walle <michael@walle.cc> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Michael Walle authored
Now that we have constants, use them. This is just a mechanical change. Signed-off-by:
Michael Walle <michael@walle.cc> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Michael Walle authored
Now that we have constants, use them. This is just a mechanical change. Signed-off-by:
Michael Walle <michael@walle.cc> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Michael Walle authored
Now that we have constants, use them. This is just a mechanical change. Signed-off-by:
Michael Walle <michael@walle.cc> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Michael Walle authored
Now that we have constants, use them. This is just a mechanical change. Signed-off-by:
Michael Walle <michael@walle.cc> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Michael Walle authored
Now that we have constants, use them. This is just a mechanical change. Signed-off-by:
Michael Walle <michael@walle.cc> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Martin Kepplinger authored
This is a workaround for a hardware bug in the r3 revision that basically would stop the system due to traffic on the i2c1 bus. A cpu voltage change would trigger such traffic and that's what is avoided in order to work around it. Signed-off-by:
Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Martin Kepplinger authored
According to commit e045f044 ("arm64: dts: imx8mq: Move usdhc clocks assignment to board DT") add the clocks assignment to imx8mq-librem5.dtsi too. Fixes: e045f044 ("arm64: dts: imx8mq: Move usdhc clocks assignment to board DT") Signed-off-by:
Martin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Martin Kepplinger authored
In order for the touchscreen interrupt line to work, describe it properly. Otherwise it can work if defaults are ok, but we cannot be sure. Fixes: 8f0216b0 ("arm64: dts: Add a device tree for the Librem 5 phone") Signed-off-by:
Martin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Martin Kepplinger authored
buck7 is the supply here. Also, fix alphabetical ordering. Signed-off-by:
Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Guido Günther authored
This makes sure the clock tree setup for the dphy is not dependent on other components. Without this change bringing up the display can fail like kernel: phy phy-30a00300.dphy.2: Invalid CM/CN/CO values: 165/217/1 kernel: phy phy-30a00300.dphy.2: for hs_clk/ref_clk=451656000/593999998 ~ 165/217 if LCDIF doesn't set up that part of the clock tree first. This was noticed when testing the Librem 5 devkit with defconfig. It doesn't happen when modules are built in. Signed-off-by:
Guido Günther <agx@sigxcpu.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Jan 10, 2021
-
-
Adam Ford authored
The wlf,wm8962 driver does not use the clock-names property. Drop it. Signed-off-by:
Adam Ford <aford173@gmail.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Guido Günther authored
Otherwise the boot hangs early on and the resulting clock tree without this already closely matches the selected rates (722534400 and 786432000). audio_pll2 0 0 0 722534397 0 0 50000 audio_pll2_bypass 0 0 0 722534397 0 0 50000 audio_pll2_out 0 0 0 722534397 0 0 50000 audio_pll1 1 1 0 786431998 0 0 50000 audio_pll1_bypass 1 1 0 786431998 0 0 50000 audio_pll1_out 1 1 0 786431998 0 0 50000 sai2 1 1 0 24576000 0 0 50000 sai2_root_clk 1 1 0 24576000 0 0 50000 sai6 0 0 0 24576000 0 0 50000 sai6_root_clk 0 0 0 24576000 0 0 50000 Signed-off-by:
Guido Günther <agx@sigxcpu.org> Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Guido Günther authored
The board has it's own RTC chip which is backed by the (optional) battery and hence preserves data/time on poweroff when that is inserted. Signed-off-by:
Guido Günther <agx@sigxcpu.org> Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Guido Günther authored
BUCK3 needs a regulator-enable-ramp-delay since otherwise the board freezes on etnaviv probe. With this pgc_gpu suspends and resumes as expected. This must have been always broken since gpcv2 support was enabled. We also enable all the regulators needed for Deep Sleep Mode (DSM) as always-on: - VDD_SOC supplied by BUCK1 - VDDA_1P8 supplied by BUCK7 - VDDA_0P9 supplied by LDO4 - VDDA_DRAM supplied by LDO3 - NVCC_DRAM supplied by BUCK8 - VDD_DRAM supplied by BUCK5 Finally LDO5 and LDO6 provide VDD_PHY_1V8 and VDD_PHY_0V9 used by the SOCs MIPI, HDMI and USB IP cores. While we would in theory be able to turn these off (and I've tested that or LDO6 and mipi with USB disabled) it is of little practical use atm since USB doesn't runtime suspend so let's revisit this at a later point. Signed-off-by:
Guido Günther <agx@sigxcpu.org> Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Jan 07, 2021
-
-
Shengjiu Wang authored
Add sound-spdif card nodes which are supported on imx8mn-evk board. Signed-off-by:
Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Shengjiu Wang authored
Add sound-wm8524 card nodes which are supported on imx8mn-evk board. Signed-off-by:
Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Shengjiu Wang authored
Configure clock rate for audio plls. audio pll1 is used as parent clock for clocks that is multiple of 8kHz. audio pll2 is used as parent clock for clocks that is multiple of 11kHz. Signed-off-by:
Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Jan 05, 2021
-
-
Yangbo Lu authored
The eSDHC driver has converted to use asynchronous probe. Let's use fixed index mmcN for eSDHC controllers, so that we can ignore the effect on usage, and avoid problem on previous use cases with fixed index mmcblkN. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Biwen Li authored
Fix interrupt line for RTC node on lx2160ardb Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Biwen Li authored
Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Biwen Li authored
Add interrupt line for RTC node on ls208xa-rdb Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Biwen Li authored
Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Biwen Li authored
Fix interrupt line for RTC node on ls1088ardb Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Biwen Li authored
Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Hou Zhiqiang authored
Add interrupt line for RTC node, which is low level active. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Biwen Li authored
Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
Biwen Li authored
Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Jan 04, 2021
-
-
Adam Ford authored
Beacon Embeddedworks is launching a development kit based on the i.MX8M Nano SoC. The kit consists of a System on Module (SOM) + baseboard. The SOM has the SoC, eMMC, and Ethernet. The baseboard has an wm8962 audio CODEC, a PDM microphone, and a single USB OTG. The baseboard is capable of two different, mutually exclusive video outputs, so the common items are in the baseboard file. When the video becomes available, LVDS output will be added to this kit file, and a second kit file will be added to support HDMI. Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by:
Shawn Guo <shawnguo@kernel.org>
-
- Dec 28, 2020
-
-
Linus Torvalds authored
-
Linus Torvalds authored
Since commit 36e2c742 ("fs: don't allow splice read/write without explicit ops") we've required that file operation structures explicitly enable splice support, rather than falling back to the default handlers. Most /proc files use the indirect 'struct proc_ops' to describe their file operations, and were fixed up to support splice earlier in commits 40be821d..b24c30c6 , but the mountinfo files interact with the VFS directly using their own 'struct file_operations' and got missed as a result. This adds the necessary support for splice to work for /proc/*/mountinfo and friends. Reported-by:
Joan Bruguera Micó <joanbrugueram@gmail.com> Reported-by:
Jussi Kivilinna <jussi.kivilinna@iki.fi> Link: https://bugzilla.kernel.org/show_bug.cgi?id=209971 Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-