- Mar 09, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@068749c7 Manifest build: add support for SSH_CONFIG variable
-
- Mar 02, 2023
-
-
Mikhail Vanyulin authored
Fix "legs" typo. Move i2c3 and audmux nodes to theirs proper alphabetic position.
-
- Feb 28, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@d67898a2 Manifest: skip build if "skip build" label is set -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@bffc6097 Manifest: switch from branch pipelines to merge request pipelines This will make the manifest project support the "skip build" label. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5ba1ac68 Revert "Skip build if "skip build" label is set" This reverts commit 4db257d36052c74eabed7ef43a05d98d3998ffec. It does not work on the manifest, because we do not run merge request pipelines there, so CI_MERGE_REQUEST_LABELS is not set at all. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4db257d3 Skip build if "skip build" label is set
-
- Feb 23, 2023
-
-
commit 91a7cda1f4b8bdf770000a3b60640576dafe0cec upstream. This fixes the following error caused by a race condition between phydev->adjust_link() and a MDIO transaction in the phy interrupt handler. The issue was reproduced with the ethernet FEC driver and a micrel KSZ9031 phy. [ 146.195696] fec 2188000.ethernet eth0: MDIO read timeout [ 146.201779] ------------[ cut here ]------------ [ 146.206671] WARNING: CPU: 0 PID: 571 at drivers/net/phy/phy.c:942 phy_error+0x24/0x6c [ 146.214744] Modules linked in: bnep imx_vdoa imx_sdma evbug [ 146.220640] CPU: 0 PID: 571 Comm: irq/128-2188000 Not tainted 5.18.0-rc3-00080-gd569e86915b7 #9 [ 146.229563] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 146.236257] unwind_backtrace from show_stack+0x10/0x14 [ 146.241640] show_stack from dump_stack_lvl+0x58/0x70 [ 146.246841] dump_stack_lvl from __warn+0xb4/0x24c [ 146.251772] __warn from warn_slowpath_fmt+0x5c/0xd4 [ 146.256873] warn_slowpath_fmt from phy_error+0x24/0x6c [ 146.262249] phy_error from kszphy_handle_interrupt+0x40/0x48 [ 146.268159] kszphy_handle_interrupt from irq_thread_fn+0x1c/0x78 [ 146.274417] irq_thread_fn from irq_thread+0xf0/0x1dc [ 146.279605] irq_thread from kthread+0xe4/0x104 [ 146.284267] kthread from ret_from_fork+0x14/0x28 [ 146.289164] Exception stack(0xe6fa1fb0 to 0xe6fa1ff8) [ 146.294448] 1fa0: 00000000 00000000 00000000 00000000 [ 146.302842] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 146.311281] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 146.318262] irq event stamp: 12325 [ 146.321780] hardirqs last enabled at (12333): [<c01984c4>] __up_console_sem+0x50/0x60 [ 146.330013] hardirqs last disabled at (12342): [<c01984b0>] __up_console_sem+0x3c/0x60 [ 146.338259] softirqs last enabled at (12324): [<c01017f0>] __do_softirq+0x2c0/0x624 [ 146.346311] softirqs last disabled at (12319): [<c01300ac>] __irq_exit_rcu+0x138/0x178 [ 146.354447] ---[ end trace 0000000000000000 ]--- With the FEC driver phydev->adjust_link() calls fec_enet_adjust_link() calls fec_stop()/fec_restart() and both these function reset and temporary disable the FEC disrupting any MII transaction that could be happening at the same time. fec_enet_adjust_link() and phy_read() can be running at the same time when we have one additional interrupt before the phy_state_machine() is able to terminate. Thread 1 (phylib WQ) | Thread 2 (phy interrupt) | | phy_interrupt() <-- PHY IRQ | handle_interrupt() | phy_read() | phy_trigger_machine() | --> schedule phylib WQ | | phy_state_machine() | phy_check_link_status() | phy_link_change() | phydev->adjust_link() | fec_enet_adjust_link() | --> FEC reset | phy_interrupt() <-- PHY IRQ | phy_read() | Fix this by acquiring the phydev lock in phy_interrupt(). Link: https://lore.kernel.org/all/20220422152612.GA510015@francesco-nb.int.toradex.com/ Fixes: c974bdbc ("net: phy: Use threaded IRQ, to allow IRQ from sleeping devices") cc: <stable@vger.kernel.org> Signed-off-by:
Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20220506060815.327382-1-francesco.dolcini@toradex.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- Feb 20, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9d430fe8 Manifest integration: do not cancel previous pipelines on master -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8b08a083 Fix error handling on merge GitLab API has changed: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/94164/diffs#diff-content-c201dae00b72426693ddcb40edf6005e7702e935
-
- Feb 10, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a59a93a0 Package: Add needs to changelog, to package changelog also
-
- Feb 08, 2023
-
-
Dmitry Petrov authored
During testing of shutdown feature on SantVend board it was discovered that in some cases (one out of five): - a board turns off immediately after a power-off gpio is asserted (and not after 4 seconds); - but after 4 seconds, the board turns on again. The problem appears only when edge triggering mode has been configured in shutdown callback - see "regulator: pfuze100: Implement an off state" After experimenting it has been found that the issue cannot be reproduced when: - the edge triggered mode is configured in the driver at boot time (and not in shutdown callback); - the edge triggered mode is configured after boot in userspace via i2cset commands (and not in shutdown callback); - a huge delay (about 15sec) is added after setting the edge triggered mode in shutdown callback; - a small delay (10ms) is added after each regmap_write call during setting the edge triggered mode in shutdown callback. It looks like PMIC needs some time to apply the changes performed via regmap_write() calls when the edge triggered mode is activated. And if regmap_write() calls are issued without delays, the PMIC gets fail to process them, despite the fact that proper values can be read back from registers. So, the commit adds small delays between i2c commands to work around this issue. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Dmitry Petrov authored
After switching to 5.15 kernel, PMIC setting are not restored properly after boot. The problem is casued by new system state, which was added in 'commit 69a78ff2 ("init: Introduce SYSTEM_SCHEDULING state")' Update "pfuze100_reset_factory_defaults" function to take this new state into account. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Dmitry Petrov authored
Document an optional property "poweroff-capable" for the PFUZE100 driver. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Dmitry Petrov authored
Add support of "off" state for pfuze100 chip: - add a shutdown callback to the driver; - switch to the edge triggered mode when the device is in shutdown state; - after booting, restore the settings for pfuze100 back to factory defaults (including level triggred mode). The feature is ported from Jethro BSP (linux-imx-4.5.15). Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Dmitry Petrov authored
According to SantVend schematics (GF SANTVEND Netzbetrieb, Sheet 4 --> PMIC PF0100), Shut Down Pulse should be greater than 4 seconds. Set active-delay-ms for gpio-poweroff in device tree to 5 seconds then. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
If the ldb node is enabled in device tree but parameters of connected LVDS panel are not defined, graphic subsystem will fail to start during boot. As a result, there will be no video output even on connected HDMI display. Disable the ldb node out of box in device tree, and enable it back in post installation step of fng-install via device tree overlay if LVDS output is enabled in config.xml. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
As existing MDB tests fail at first run, adjust DMA properties for underlying UART controllers by analogy with Santoka board. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
The existing limbdb is intended to work with GPIO pin with "mdb-wakeup-out" name. But there is no such label in the existing device tree for SantVend - mdbmaster_wakeup_out is used instead. Rename this label to make available userspace tools work. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Add ldo-bypass in gpc driver. cherry-picked from NXP 'linux-imx' repo commit 3fac22b10f3b ("MLK-22986-1: soc: imx: gpc: add ldo-bypass") Link: https://source.codeaurora.org/external/imx/linux-imx/commit/drivers/soc/imx/gpc.c?id=3fac22b10f3b1efcc22bba500962f9631ebd24d0 Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
The internal ldo can be used to generate some internal supplies but it is also possible to set the voltage correctly in the PMIC and bypass the ldo completely, which is the preferred mode. This patch implements such bypass. The feature is ported from Jethro BSP (linux-imx-4.5.15). Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Add new calls to regulator core which return the name and supply for specified regulator. This functionality is needed to implement the bypassing of LDO. The feature is ported from Jethro BSP (linux-imx-4.5.15). Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Set a supply_name in regulator_desc for vin-supply based on value from device tree. This is needed to implement an LDO bypass. This feature is ported from Jethro BSP (linux-imx-4.5.15). Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
- Feb 07, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8edbf2a6 Changelog generator: fix typo -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e6ae06dd Changelog generator: pass projects as arguments Instead of hard-coding the project list in the changelog generator script, make them passable via arguments. This way we can have different changelogs in different envrionments. Hence we're adding the changelog job in the ci-test environment as well.
-
- Feb 06, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ed36b465 mirror_mr_pipeline: include pipeline-not-found message in output -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5ee69ab9 mirror_mr_pipeline: fix error when no pipeline found This case should trigger a new pipeline instead of reporting an error.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e69d303e Changelog generator: remove debug output
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@0264fe09 Changelog generator: get all merge requests This fixes older releases not appearing in the changelog.
-
- Feb 01, 2023
-
-
SANTVEND v1.2 is equipped with ISP091201 BLE module. It uses customized "spidevas" driver, with its own chip select handling. SANTVEND v1.3 is equipped with Protues-III Bluetooth LE 5.1 module. The device uses standard "spidev" driver. In order to make it work, chip select gpio must be configured for ecspi3. Both spidev nodes are disabled by default. The correct device will be enabled depending on the board revision. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Add compatible string for Wurth Elektronik Proteus-III device. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
The "spidev_class" structure will be also used in spidevas driver. So make it public using EXPORT_SYMBOL_GPL macro. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
This includes it's own chip select and "ready" interrupt handling. The changes are ported from Jethro BSP (linux-imx-4.1.15). Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Revert changes introduced in commit 98d6f479 ("spi: spidev: use spi_sync instead of spi_async") Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
For now it's just a copy of current spidev driver. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
SANTVEND v1.2 is equipped with ISP091201 Bluetooth LE module, based on Nordic Semiconductor nRF8001 chip. The chip sends data in LSB mode. Add bit order reversal to i.MX SPI controller driver to work with nRF8001. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
- Jan 31, 2023
-
-
Mikhail Vanyulin authored
- Add a node for LVDS panel and update a ldb node to route video from GPU to this panel. - Prepare device tree to be compatible with a device tree overlay that will contain panel timings and additional parameters, which will be extracted from config.xml during post installation stage. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Jan 25, 2023
-
-
LM73 temperature sensor is a trivial I2C device that has simple device tree bindings, consisting only of a compatible field and an address. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
- Jan 24, 2023
-
-
According to the Quectel WCDMA<E Linux USB Driver User Guide [1] the ZLP is required for Quectel UCxx/EC2x/EGxx/EP06/EM06/BG96/AG35 for processing zero packets during bulk out transmission. Links: [1] https://www.quectel.com/wp-content/uploads/2021/03/Quectel_WCDMALTE_Linux_USB_Driver_User_Guide_V1.8.pdf Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Some pins on SoC should be allocated to GPIO driver in device tree to make them available for kernel and userspace after boot. The commit adds previously defined pinctrl groups to the "iomux" node to configure pins as GPIOs during boot. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
Get rid of following duplicates: - EN_VBAT: defined in "pinctrl_vbat_sw" node; - MDB-M_WU_Event#: defined in "pinctrl_uart4_mdb" node; - MDB-S_WU_Event#: defined in "pinctrl_uart5_mdb" node. Signed-off-by:
Dmitry Petrov <dmitry.petrov@rtsoft.de>
-
- Jan 20, 2023
-
-
Mikhail Vanyulin authored
An external VEML7700 sensor is connected to I2C3 bus on SantVend. Enable a corresponding driver, which will be bound to device on I2C3 bus at 0x10 address, in device tree. After that, the current reading of the sensor can be obtained via IIO sysfs interface (/sys/bus/iio/devices/iio\:device0/in_illuminance_input). Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-