Integrate linux-seco-mtk/oleksii/e58_revb
Commit: clea-os/bsp/mediatek/linux-seco-mtk@a125fa0d
[CICD] Update revision of 'gitlab-ci' project
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@59cb3d98
[E58][DTB] Add backlight_lcd1 node
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@ff82cd9b
[MT8188] Add disp_pwm1 node
It was just missing from the Genio700. Is added in kernel 6.6, but adding here for full functionality
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@18f5dfcc
[E58][DTS] Configure pinmux for PWM0
For some reason, in Genio510 GPIO29 isn't muxed to PWM0 by default
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@83013aef
[E58][DTB] Rename E58 dts files
to match SECO conventions
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@89b466c1
[E58][DTB] Update rtc
RevB board has the new rv3028 rtc
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@55534cca
rtc: add BSM parameter
BSM or Backup Switch Mode is a common feature on RTCs, allowing to select how the RTC will decide when to switch from its primary power supply to the backup power supply. It is necessary to be able to set it from userspace as there are uses cases where it has to be done dynamically.
Supported values are: RTC_BSM_DISABLED: disabled RTC_BSM_DIRECT: switching will happen as soon as Vbackup > Vdd RTC_BSM_LEVEL: switching will happen around a threshold, usually with an hysteresis RTC_BSM_STANDBY: switching will not happen until Vdd > Vbackup, this is useful to ensure the RTC doesn't draw any power until the device is first powered on.
Signed-off-by: Alexandre Belloni alexandre.belloni@bootlin.com Link: https://lore.kernel.org/r/20211018151933.76865-6-alexandre.belloni@bootlin.com
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@3dcfd969
rtc: add correction parameter
Add a new parameter allowing the get and set the correction using ioctls instead of just sysfs.
Signed-off-by: Alexandre Belloni alexandre.belloni@bootlin.com Link: https://lore.kernel.org/r/20211018151933.76865-5-alexandre.belloni@bootlin.com
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@9a69f76d
rtc: expose correction feature
Add a new feature for RTCs able to correct the oscillator imprecision. This is also called offset or trimming. Such drivers have a .set_offset callback, use that to set the feature bit from the core.
Signed-off-by: Alexandre Belloni alexandre.belloni@bootlin.com Link: https://lore.kernel.org/r/20211018151933.76865-4-alexandre.belloni@bootlin.com
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@dd396101
rtc: add parameter ioctl
Add an ioctl allowing to get and set extra parameters for an RTC. For now, only handle getting available features.
Signed-off-by: Alexandre Belloni alexandre.belloni@bootlin.com Link: https://lore.kernel.org/r/20211018151933.76865-3-alexandre.belloni@bootlin.com
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@3f024abb
rtc: add alarm related features
Add more alarm related features to be declared by drivers.
Signed-off-by: Alexandre Belloni alexandre.belloni@bootlin.com Link: https://lore.kernel.org/r/20211018151933.76865-2-alexandre.belloni@bootlin.com
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@223e3d8e
[DRIVER] rv3028: add support for setting BSM mode in device tree
This commit adds the devicetree node "backup-switch-mode" to the rv3028 driver. It supports the following values:
- direct
- level
- disabled
The values correspond to the different BSM options in the datasheet. When the setting is present in the devicetree, the driver checks the current mode during the probing phase. If the desired value differs from the current value, it is written to the RTC and a message is printed to dmesg, stating the new mode.
Source: seco-ne/kernel/linux-imx-kuk@92daec58
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@bed812ab
[DRIVER] rv3028: Add SECO version of the RV3028 driver
Exact copy of drivers/rtc/rtc-rv3028.c
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@0f77161e
rtc: rv3028: Fix codestyle errors
Compiler warnings:
drivers/rtc/rtc-rv3028.c: In function 'rv3028_param_set': drivers/rtc/rtc-rv3028.c:559:20: warning: statement will never be executed [-Wswitch-unreachable] 559 | u8 mode; | ^~~~ drivers/rtc/rtc-rv3028.c: In function 'rv3028_param_get': drivers/rtc/rtc-rv3028.c:526:21: warning: statement will never be executed [-Wswitch-unreachable] 526 | u32 value; | ^~~~~
Fix it by moving the variable declaration to the beginning of the function.
Cc: Alessandro Zummo a.zummo@towertech.it Cc: Alexandre Belloni alexandre.belloni@bootlin.com Cc: linux-rtc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Reported-by: k2ci kernel-bot@kylinos.cn Signed-off-by: Ke Sun sunke@kylinos.cn Link: https://lore.kernel.org/r/20221008071321.1799971-1-sunke@kylinos.cn Signed-off-by: Alexandre Belloni alexandre.belloni@bootlin.com
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@f13dceac
rtc: rv3028: add BSM support
Backup Switch Mode controls how the RTC decides when to switch to the backup power supply. As it is disabled by default, provide a way to enable and configure it.
Signed-off-by: Alexandre Belloni alexandre.belloni@bootlin.com Link: https://lore.kernel.org/r/20211018151933.76865-7-alexandre.belloni@bootlin.com
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@93dc2d93
[E58][DTB] Add internal eeprom
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@810a76eb
[NON-FUNCTIONAL] Cleanup device trees from comented out code
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@f757272b
[E58][DTB] Adjust pinfunc to RevB
Reflect hardware changes in RevB
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@1f793785
[E58][DTB] Add GPIO line names for the processor
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@7a39d33f
[E58][DTB] Adjust stm32 configuration for the new driver
New driver requires a slightly different configuration in device tree
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@5d832db0
[E58][DTB] Rename CPU_IRQ line on STM32
This line is on both CPU and STM32 with same name, need to distinguish
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@66c2dea9
[E58][DTB] Move SMARC_GPIO6 pin from STM32 to Processor
GPIO6 is connected to both STM32 and Processor. It is used as a touch interrupt on Modular Vision, so it was decided to be controlled by the processor for better reliability and response
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@0a72e6b3
[DRIVER] stm32-driver backported from branch seco_lf-6.6.23-2.0.0_e39
- there is no distinction between GPIOs and IRQ-lines anymore
- several contron-registers of the stm32-firmware have changed
- a reboot-notifiers has been added
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@2742a8bf
[NON-FUNCTIONAL] Remove readme from stm32 driver
Driver is added back to kernel tree
--
Commit: clea-os/bsp/mediatek/linux-seco-mtk@a7a23fa7
[E58][DTB] Add support for RevB STM32 GPIOs
Some GPIOs were remapped in RevB