summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | phy: stm32-usbphyc: migrate trace to dev and log macroPatrick Delaunay2021-01-131-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change pr_debug to log_debug or dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | i2c: stm32f7_i2c: migrate trace to dev and log macroPatrick Delaunay2021-01-131-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change debug to dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Heiko Schocher <hs@denx.de>
| * | mailbox: stm32-ipcc: migrate trace to dev and log macroPatrick Delaunay2021-01-131-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change debug to dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | reset: stm32-reset: migrate trace to dev and log macroPatrick Delaunay2021-01-131-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change debug to dev_dbg macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | clk: clk_stm32h7: migrate trace to dev and log macroPatrick Delaunay2021-01-131-32/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change debug and pr_ macro to dev macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | clk: clk_stm32f: migrate trace to dev and log macroPatrick Delaunay2021-01-131-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change debug and pr_ macro to dev macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | clk: stm32mp1: migrate trace to dev and log macroPatrick Delaunay2021-01-131-76/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change debug and pr_ macro to dev macro and define LOG_CATEGORY. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | misc: rcc: keep the rcc device name for subnodePatrick Delaunay2021-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the name associated with the RCC drivers to avoid duplicated name with the driver name. With this patch the traces displayed with log macro provide a correct device name. The rcc device name before the patch is: Class Index Probed Driver Name ----------------------------------------------------------- root 0 [ + ] root_driver root_driver simple_bus 0 [ + ] simple_bus |-- soc (...) nop 0 [ + ] stm32-rcc | |-- rcc@50000000 clk 0 [ + ] stm32mp1_clk | | |-- stm32mp1_clk reset 0 [ + ] stm32_rcc_reset | | `-- stm32_rcc_reset And they become: (...) nop 0 [ + ] stm32-rcc | |-- rcc@50000000 clk 0 [ + ] stm32mp1_clk | | |-- rcc@50000000 reset 0 [ + ] stm32_rcc_reset | | `-- rcc@50000000 The traces is correct: stm32mp1_clk rcc@stm32mp1_clk: ..... => stm32mp1_clk rcc@50000000: ..... Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | misc: rcc: migrate trace to dev macroPatrick Delaunay2021-01-131-2/+4
| | | | | | | | | | | | | | | | | | | | | Change debug and pr_err to dev macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | power: regulator: stm32-verfbuf: define LOG_CATEGORYPatrick Delaunay2021-01-131-0/+2
| | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | watchdog: stm32mp: migrate trace to dev macroPatrick Delaunay2021-01-131-3/+6
| | | | | | | | | | | | | | | | | | | | | Change debug and pr_err to dev macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | rtc: stm32: migrate trace to log macroPatrick Delaunay2021-01-131-0/+3
| | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | hwspinlock: stm32: migrate trace to log macroPatrick Delaunay2021-01-131-0/+2
| | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | timer: stm32: migrate trace to log macroPatrick Delaunay2021-01-131-0/+2
| | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | mmc: stm32_sdmmc2: migrate trace to dev and log macroPatrick Delaunay2021-01-131-40/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY, use dev_ macro when it is possible. Remove the "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | ram: stm32mp1: migrate trace to dev or log macroPatrick Delaunay2021-01-135-104/+117
| | | | | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY, use dev_ macro when it is possible and migrate other trace to log_ macro. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | ram: stm32: migrate trace to log macroPatrick Delaunay2021-01-131-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY, change debug to dev_dbg and remove "%s:" __func__ header as it is managed by dev macro (dev->name is displayed) Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | remoproc: stm32: migrate trace to log macroPatrick Delaunay2021-01-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY and remove unneeded pr_fmt macro with the dev macro as dev->name is displayed and CONFIG_LOGF_FUNC can be activated for log macro. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | gpio: stm32-gpio: migrate trace to dev and log macroPatrick Delaunay2021-01-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change debug to dev_dbg macro and define LOG_CATEGORY. Remove dev->name as it is already displayed by dev macro. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | pinctrl: stm32: migrate trace to log macroPatrick Delaunay2021-01-131-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change debug to log macro and define LOG_CATEGORY. Remove "%s:" with __func__ as it is managed by log macro (CONFIG_LOGF_FUNC) Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | arm: stm32mp: bsec: migrate trace to log macroPatrick Delaunay2021-01-131-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | Define LOG_CATEGORY, change pr_debug to dev_dbg and remove "bsec:" header as it is managed by log macro (dev->name is displayed) Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | arm: stm32mp: migrate cmd_stm32prog to log macroPatrick Delaunay2021-01-135-78/+78
| | | | | | | | | | | | | | | | | | | | | Change debug and pr_ macro to log macro. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
| * | arm: stm32mp: migrate trace to log macroPatrick Delaunay2021-01-137-29/+43
| |/ | | | | | | | | | | | | Change debug and pr_ macro to log macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
* | Merge tag 'u-boot-amlogic-20210112' of ↵Tom Rini2021-01-1358-978/+3556
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic - sync amlogic GX & AXG DT to Linux 5.10 - Add new MESON_EE driver support for GXBB & AXG - Add support for Libretech-CC v2, Wetek Core2, Beelink GT-King/Pro boards - add driver for TDO tl070wsh30 panel driver - meson: isolate loading of socinfo - Add soc_rev to environment - Enable G12A support for saradc - Add correct mmcdev on VIM3(L) & Odroid-N2(C4) - Read MAC from fuses for VIM3 & VIM3L boards
| * board: amlogic: vim3: fix setup ethernet mac from efuseArtem Lapkin2021-01-121-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix reading built-in ethernet MAC address from efuse NOTE: MAC is stored in ASCII format, 1bytes = 2characters by 0 offset if mac from efuse not valid we use meson_generate_serial_ethaddr NOTE: remake odroid-n2.c from Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Artem Lapkin <art@khadas.com> [narmstrong: remove MAC print & spurious new endline] Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * board: amlogic: add MMC boot device detection for environment loadMarek Szyprowski2021-01-112-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detect eMMC or SD card boot on Odroid-C4/N2 and Khadas VIM3(l) boards and report proper MMC device for the environment loading code. This allows to automatically load and store environment variables on the FAT partition or RAW offset of the MMC device without the need to use different configurations on eMMC and SD card. To use this feature with environment stored on FAT partition, one has to specify an empty device part (i.e. ":1" for the first partition) in CONFIG_ENV_FAT_DEVICE_AND_PART to let the code to set the device to the value returned by mmc_get_env_dev() function. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * adc: meson-saradc: use correct printf codeHeinrich Schuchardt2021-01-111-1/+1
| | | | | | | | | | | | | | | | For printing unsigned int we have to use %u not %d. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * boards: amlogic: update documentation for Beelink GT-King/ProChristian Hewitt2021-01-113-1/+234
| | | | | | | | | | | | | | Update the device matrix and add build instructions. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * boards: amlogic: add Beelink GT-King Pro defconfigChristian Hewitt2021-01-111-0/+71
| | | | | | | | | | | | | | | | Add a defconfig for the Beelink GT-King Pro Android STB, which is based on the Amlogic W400 reference design. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * boards: amlogic: add Beelink GT-King defconfigChristian Hewitt2021-01-111-0/+71
| | | | | | | | | | | | | | | | Add a defconfig for the Beelink GT-King Android STB, which is based on the Amlogic W400 reference design. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * boards: amlogic: add Beelink S922X board family supportChristian Hewitt2021-01-113-0/+69
| | | | | | | | | | | | | | Copied from Odroid N2. Add myself as maintainer. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * ARM: dts: import Beelink GT-King/Pro DTs from Linux 5.10Christian Hewitt2021-01-114-0/+697
| | | | | | | | | | | | | | | | Import the Beelink GT-King/Pro and supporting meson-g12b-w400.dtsi file from Linux 5.10. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * board: amlogic: vim3: read ethernet MAC address from efuseMarek Szyprowski2021-01-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | Add the board specific code for reading built-in ethernet MAC address from efuse. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * configs: khadas-vim3: enable ADC device supportMarek Szyprowski2021-01-112-0/+4
| | | | | | | | | | | | | | | | | | Analog to Digital Converter device (Meson SARADC) will be used for probing 'Function' button state. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> [narmstrong: also updated khadas-vim3l_defconfig] Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * adc: meson-saradc: skip hardware init only if ADC is enabledMarek Szyprowski2021-01-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | The driver skips hardware initialization if it is already configured by the earlier bootloader stage (BL30). Skip the initialization only if the hardware is really initialized and enabled. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * adc: meson-saradc: add G12A variantMarek Szyprowski2021-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | Add support for the SARADC variant found on the G12A SoCs family. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * clk: meson: add minimal driver for g12a-ao clocksMarek Szyprowski2021-01-112-0/+84
| | | | | | | | | | | | | | | | | | | | | | Add minimal driver AO clocks on meson G12A family. Only ADC related clocks are supported. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * boards: amlogic: update documentation for WeTek Core2Christian Hewitt2021-01-113-1/+99
| | | | | | | | | | | | | | | | Update the device matrix and add build instructions. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> [narmstrong: added wetek-core2.rst to q200 MAINTAINERS and added blank lines to fix build] Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * boards: amlogic: add WeTek Core2 supportChristian Hewitt2021-01-112-0/+71
| | | | | | | | | | | | | | | | Add a config for the WeTek Core2, largely based on the VIM2 config. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> [narmstrong: added wetek-core2_defconfig to q200 MAINTAINERS] Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * ARM: dts: import WeTek Core2 DTs from Linux 5.10Christian Hewitt2021-01-114-0/+419
| | | | | | | | | | | | | | | | Import the WeTek Core2 and supporting meson-gx-p23x-q20x.dtsi files from Linux 5.10. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * meson: Add soc_rev to environmentPascal Vizeli2021-01-113-0/+21
| | | | | | | | | | | | | | | | | | | | Add SoC revision to environment. This can be useful to select the correct device tree at runtime (N2/N2+). Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * ARM: meson: isolate loading of socinfoStefan Agner2021-01-111-1/+13
| | | | | | | | | | | | | | | | | | Move loading of socinfo into a separate function so the value can be reused later. Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * arm64: meson: add support for libretech-cc v2Jerome Brunet2021-01-115-63/+164
| | | | | | | | | | | | | | | | | | Add support for the Amlogic based libretech cc version 2. As version 1, it is based on the s905x SoC. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> [narmstrong: Fixed libretech-cc.rst bullet points] Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * arm64: dts: import libretech-cc-v2 from linux v5.10-rc1Jerome Brunet2021-01-112-0/+319
| | | | | | | | | | | | | | | | Sync the libretech cc v2 device tree from Linux v5.10-rc1 commit 3650b228f83a ("Linux 5.10-rc1") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * video: add TDO tl070wsh30 panel driverNeil Armstrong2021-01-113-0/+165
| | | | | | | | | | | | | | | | | | This adds support for the TDO TL070WSH30 TFT-LCD panel module. The panel has a 1024×600 resolution and uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host, a built-in LED backlight and touch controller. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * configs: use the new MESON_EE_POWER_DOMAIN driver for Amlogic GXBB/GXL/GXM ↵Neil Armstrong2021-01-115-5/+5
| | | | | | | | | | | | | | | | | | boards Linux 5.10-rc1 uses the new generic driver, so switch to it since GXBB and later is now supported. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * power: domain: meson-ee-pwrc: add support for the Meson AXG SoCsNeil Armstrong2021-01-111-0/+26
| | | | | | | | | | | | This syncs with the linux meson-ee-pwrc driver from Linux 5.10-rc1. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * power: domain: meson-ee-pwrc: add support for the Meson GX SoCsNeil Armstrong2021-01-111-2/+24
| | | | | | | | | | | | This syncs with the linux meson-ee-pwrc driver from Linux 5.10-rc1. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * ARM: dts: sync Amlogic GX & AXG from Linux 5.10-rc1Neil Armstrong2021-01-1118-904/+947
| | | | | | | | | | | | Synced from Linux commit 3650b228f83a ("Linux 5.10-rc1") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* | Merge tag 'ti-v2021.04-rc1' of ↵Tom Rini2021-01-12109-1226/+6045
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-ti - DM support for OMAP PWM backlight - USB host mode support for AM654 - Minor SPI fixes - Add support k2g ice board with 1GHz silicon - Fix GTC programming for K3 devices