Re: [PATCH 2/3] dt-bindings: Add VXT VL050-8048NT-C01 panel bindings

2018-12-05 Thread Otavio Salvador
On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam wrote: > > The VXT VL050-8048NT-C01 is a TFT LCD panel with a 800x480 resolution > connected via 24 width parallel interface. > > Signed-off-by: Fabio Estevam Reviewed-by: Otavio Salvador -- Otavio Salvador

Re: [PATCH 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel

2018-12-05 Thread Otavio Salvador
On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam wrote: > > Add support for the VXT VL050-8048NT-C01 800x480 panel to the > panel-simple driver. > > This panel is used on some boards manufactured by TechNexion, such as > imx7d-pico. > > Signed-off-by: Fabio Estevam Revi

Re: [PATCH 1/3] dt-bindings: Add vendor prefix for VXT Ltd

2018-12-05 Thread Otavio Salvador
On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam wrote: > > VXT Ltd is a manufacturer of projected capacitive touch panel > and display solutions: http://www.vxt.com.tw/ > > Signed-off-by: Fabio Estevam Reviewed-by: Otavio Salvador -- Otavio Salvador O.

Re: [U-Boot] [PATCH] Enable expression support for CONFIG_BOARD_SIZE_LIMIT

2018-12-04 Thread Otavio Salvador
lt; 10) > > in the board configuration. > > Signed-off-by: Wolfgang Denk > > Cc: Fabio Estevam > Cc: Stefano Babic > Cc: Vanessa Maegima > Cc: Otavio Salvador > Cc: John Weber > Cc: Stefan Roese Reviewed-by: Otavio Salvador Thanks for looking into this. -- Otav

[U-Boot] [PATCH] ARM: rockchip: rv1108: Fix booting with initramfs

2018-12-04 Thread Otavio Salvador
We move the ramdisk_addr_r to 0x6800 and disable the initrd and fdt relocation, so the initramfs works out of box. Signed-off-by: Otavio Salvador --- include/configs/rv1108_common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/rv1108_common.h b

[U-Boot] [PATCH] tools: add a generic config for native tools building

2018-12-04 Thread Otavio Salvador
to generate images for some SoC (e.g MX23 / MX28 in meta-freescale case). Using this, we can package the tools doing: $: make tools-all_defconfig $: make tools-all Signed-off-by: Otavio Salvador --- configs/tools-all_defconfig | 3 +++ tools/Makefile | 2 +- 2 files changed, 4

Re: [U-Boot] Is mxsldr and mxsboot supported for imx7 processors

2018-12-03 Thread Otavio Salvador
above tools are supported for imx7 processors , is it possible to > provision QSPI NOR flash using the mxsldr and mxsboot. I didn't try it but I expect it to be as all other i.MX processors. You could try following: https://github.com/FrankBau/meta-marsboard-bsp/wiki/Update-U-Boot-in-SPI-Flash --

Re: [PATCH] ARM: imx_v6_v7_defconfig: Enable ATH10K SDIO support

2018-12-03 Thread Otavio Salvador
On Sat, Dec 1, 2018 at 5:39 PM Otavio Salvador wrote: > The use of ATH10K WiFi is becoming common in i.MX based boards, > especially on new designs, so enable the driver support as module so > it can be used out of box. > > Signed-off-by: Otavio Salvador Please ignore thi

Re: [PATCH] ARM: imx_v6_v7_defconfig: Enable ATH10K SDIO support

2018-12-03 Thread Otavio Salvador
On Sat, Dec 1, 2018 at 5:39 PM Otavio Salvador wrote: > The use of ATH10K WiFi is becoming common in i.MX based boards, > especially on new designs, so enable the driver support as module so > it can be used out of box. > > Signed-off-by: Otavio Salvador Please ignore thi

Re: [U-Boot] [PATCH v4] pico-imx7d: Increase the CONFIG_ENV_OFFSET size

2018-12-03 Thread Otavio Salvador
an we please go with the solution I sent, which is ugly but at least > allows the board to boot? Agreed. It is better Wolfgang to send a tested solution before we change it one more time. This fix should go in as the board is broken without it. -- Otavio Salvador O.S.

[OE-core] [PATCH] linux-firmware: Bump revision to 1baa348

2018-12-03 Thread Otavio Salvador
/qca_rome_firmware 18c4c8a firmware/icl/dmc: Add v1.07 of DMC for Icelake 52b23a9 linux-firmware: add Marvell SD8997 firmware image 534daf4 qca: update BT firmware files for QCA ROME chip. License-Update: new firmware files additions Signed-off-by: Otavio Salvador --- meta/recipes-kernel/linux-firmware/linux

Re: [U-Boot] [U-Boot, v2, 2/6] ARM: rpi_*_defconfig: Add support to find UUID for filesystem

2018-12-02 Thread Otavio Salvador
s the `CMD_FS_UUID` for following defconfig files: > > > > - rpi_0_w_defconfig > > - rpi_2_defconfig > > - rpi_3_32b_defconfig > > - rpi_3_defconfig > > - rpi_defconfig > > > > Signed-off-by: Otavio Salvador > > Signed-off-by: Fabi

[PATCH 7/9] ARM: dts: imx7d-pico: Extend peripherals support

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam This extends the peripherals supported by the imx7d-pico.dtsi. It adds: - I2C2 - Flexcan (flexcan1 and flexcan2 ports) - USDHC1 - UART (6 and 7 ports) - PWM (4 ports) - eCSPI3 Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d

[PATCH 9/9] ARM: dts: imx7d-pico: Add the imx7d-pico-hobbit variant

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam The imx7d-pico-hobbit contains a imx7d-pico SoM and a hobbit baseboard. Add support for it. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-pico-hobbit.dts | 105

[PATCH 4/9] ARM: dts: imx7d-pico: Pass the USBOTG1_PWR pinctrl

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Pass the USBOTG1_PWR pinctrl description in the USBOTG GPIO controlled regulator. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-pico.dtsi b

[PATCH 8/9] ARM: dts: imx7d-pico-pi: Extend peripherals support

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam This adds following peripherals for the imx7d-pico-pi as: - LED - Touchscreen - GPIO Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico-pi.dts | 56 + 1 file changed, 56 insertions(+) diff --git

[PATCH 2/9] ARM: dts: imx7d-pico: Switch to SPDX identifier

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico-pi.dts | 44 ++--- arch/arm/boot/dts/imx7d-pico.dtsi | 44

[PATCH 7/9] ARM: dts: imx7d-pico: Extend peripherals support

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam This extends the peripherals supported by the imx7d-pico.dtsi. It adds: - I2C2 - Flexcan (flexcan1 and flexcan2 ports) - USDHC1 - UART (6 and 7 ports) - PWM (4 ports) - eCSPI3 Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d

[PATCH 9/9] ARM: dts: imx7d-pico: Add the imx7d-pico-hobbit variant

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam The imx7d-pico-hobbit contains a imx7d-pico SoM and a hobbit baseboard. Add support for it. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-pico-hobbit.dts | 105

[PATCH 4/9] ARM: dts: imx7d-pico: Pass the USBOTG1_PWR pinctrl

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Pass the USBOTG1_PWR pinctrl description in the USBOTG GPIO controlled regulator. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-pico.dtsi b

[PATCH 8/9] ARM: dts: imx7d-pico-pi: Extend peripherals support

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam This adds following peripherals for the imx7d-pico-pi as: - LED - Touchscreen - GPIO Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico-pi.dts | 56 + 1 file changed, 56 insertions(+) diff --git

[PATCH 2/9] ARM: dts: imx7d-pico: Switch to SPDX identifier

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico-pi.dts | 44 ++--- arch/arm/boot/dts/imx7d-pico.dtsi | 44

[PATCH 6/9] ARM: dts: imx7d-pico: Improve WiFi regulator name

2018-12-02 Thread Otavio Salvador
There are different models of WiFi being used in the SoM and the handle name was too restrictive. This reworks it to a more generic and meaningful name. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[PATCH 6/9] ARM: dts: imx7d-pico: Improve WiFi regulator name

2018-12-02 Thread Otavio Salvador
There are different models of WiFi being used in the SoM and the handle name was too restrictive. This reworks it to a more generic and meaningful name. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[PATCH 5/9] ARM: dts: imx7d-pico: Pass the Ethernet PHY reset GPIO

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Pass the "phy-reset-gpios" property in order to describe the GPIO that performs the Ethernet PHY reset. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arc

[PATCH 3/9] ARM: dts: imx7d-pico-pi: Move SoM related part to imx7d-pico.dtsi

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam imx7d-pico-pi board contains: - One SoM board (imx7d pico) - One base board (pi). In order to make it easier for adding support for other board variants, move the commom SoM part to the imx7d-pico.dtsi file. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador

[PATCH 5/9] ARM: dts: imx7d-pico: Pass the Ethernet PHY reset GPIO

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Pass the "phy-reset-gpios" property in order to describe the GPIO that performs the Ethernet PHY reset. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx7d-pico.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arc

[PATCH 3/9] ARM: dts: imx7d-pico-pi: Move SoM related part to imx7d-pico.dtsi

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam imx7d-pico-pi board contains: - One SoM board (imx7d pico) - One base board (pi). In order to make it easier for adding support for other board variants, move the commom SoM part to the imx7d-pico.dtsi file. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador

[PATCH 0/9] Improvements for i.MX7D PICO SoM and its baseboards

2018-12-02 Thread Otavio Salvador
ARM: dts: imx7d-pico: Pass the USBOTG1_PWR pinctrl ARM: dts: imx7d-pico: Pass the Ethernet PHY reset GPIO ARM: dts: imx7d-pico: Extend peripherals support ARM: dts: imx7d-pico-pi: Extend peripherals support ARM: dts: imx7d-pico: Add the imx7d-pico-hobbit variant Otavio Salvador (1): ARM

[PATCH 1/9] ARM: dts: imx7d-pico: Do not harcode the memory size

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Currently the memory size described in dts is 2GB, which is incorrect. There are 512MB and 1GB versions of imx7d-pico boards, so remove the hardcoded memory size and let the bootloader pass the correct value to the kernel. Signed-off-by: Fabio Estevam Signed-off-by: Otavio

[PATCH 1/9] ARM: dts: imx7d-pico: Do not harcode the memory size

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Currently the memory size described in dts is 2GB, which is incorrect. There are 512MB and 1GB versions of imx7d-pico boards, so remove the hardcoded memory size and let the bootloader pass the correct value to the kernel. Signed-off-by: Fabio Estevam Signed-off-by: Otavio

[PATCH 0/9] Improvements for i.MX7D PICO SoM and its baseboards

2018-12-02 Thread Otavio Salvador
ARM: dts: imx7d-pico: Pass the USBOTG1_PWR pinctrl ARM: dts: imx7d-pico: Pass the Ethernet PHY reset GPIO ARM: dts: imx7d-pico: Extend peripherals support ARM: dts: imx7d-pico-pi: Extend peripherals support ARM: dts: imx7d-pico: Add the imx7d-pico-hobbit variant Otavio Salvador (1): ARM

[PATCH 4/5] ARM: dts: imx6ul-pico-hobbit: Extend peripherals support

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam This adds following peripherals support: - ADC - GPIO LED - GPIOs Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 30 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 4/5] ARM: dts: imx6ul-pico-hobbit: Extend peripherals support

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam This adds following peripherals support: - ADC - GPIO LED - GPIOs Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 30 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 5/5] ARM: dts: imx6ul-pico: Add the imx6ul-pico-pi variant

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam The imx6ul-pico-pi contains a imx6ul-pico SoM and a pi baseboard: https://www.technexion.com/products/pico-baseboards/detail/PICO-PI Add support for it. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/Makefile | 1 + arch/arm

[PATCH 1/5] ARM: dts: imx6ul-pico-hobbit: Switch to SPDX identifier

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 52 1 file changed, 7 insertions(+), 45 deletions(-) diff

[PATCH 2/5] ARM: dts: imx6ul-pico-hobbit: Move SoM related part to imx6ul-pico.dtsi

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam imx6ul-pico-hobbit board contains: - One SoM board (imx6ul pico) - One base board (hobbit). In order to make it easier for adding support for other board variants, move the commom SoM part to the imx6ul-pico.dtsi file. Signed-off-by: Fabio Estevam Signed-off-by: Otavio

[PATCH 1/5] ARM: dts: imx6ul-pico-hobbit: Switch to SPDX identifier

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 52 1 file changed, 7 insertions(+), 45 deletions(-) diff

[PATCH 2/5] ARM: dts: imx6ul-pico-hobbit: Move SoM related part to imx6ul-pico.dtsi

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam imx6ul-pico-hobbit board contains: - One SoM board (imx6ul pico) - One base board (hobbit). In order to make it easier for adding support for other board variants, move the commom SoM part to the imx6ul-pico.dtsi file. Signed-off-by: Fabio Estevam Signed-off-by: Otavio

[PATCH 5/5] ARM: dts: imx6ul-pico: Add the imx6ul-pico-pi variant

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam The imx6ul-pico-pi contains a imx6ul-pico SoM and a pi baseboard: https://www.technexion.com/products/pico-baseboards/detail/PICO-PI Add support for it. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/Makefile | 1 + arch/arm

[PATCH 3/5] ARM: dts: imx6ul-pico-hobbit: Make the child led nodes standard

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Use the same child led node and label name as used in the imx7d-pico-hobbit board. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH 3/5] ARM: dts: imx6ul-pico-hobbit: Make the child led nodes standard

2018-12-02 Thread Otavio Salvador
From: Fabio Estevam Use the same child led node and label name as used in the imx7d-pico-hobbit board. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH 0/5] Improvements for i.MX6UL PICO SoM and its baseboards

2018-12-02 Thread Otavio Salvador
This patchset rework the imx6ul-pico SoM, its Hobbit baseboard and add the Pi baseboard support as well. Fabio Estevam (5): ARM: dts: imx6ul-pico-hobbit: Switch to SPDX identifier ARM: dts: imx6ul-pico-hobbit: Move SoM related part to imx6ul-pico.dtsi ARM: dts: imx6ul-pico-hobbit: Make

[PATCH 0/5] Improvements for i.MX6UL PICO SoM and its baseboards

2018-12-02 Thread Otavio Salvador
This patchset rework the imx6ul-pico SoM, its Hobbit baseboard and add the Pi baseboard support as well. Fabio Estevam (5): ARM: dts: imx6ul-pico-hobbit: Switch to SPDX identifier ARM: dts: imx6ul-pico-hobbit: Move SoM related part to imx6ul-pico.dtsi ARM: dts: imx6ul-pico-hobbit: Make

[PATCH] ARM: imx_v6_v7_defconfig: Enable ATH10K SDIO support

2018-12-01 Thread Otavio Salvador
The use of ATH10K WiFi is becoming common in i.MX based boards, especially on new designs, so enable the driver support as module so it can be used out of box. Signed-off-by: Otavio Salvador --- arch/arm/configs/imx_v6_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

[PATCH] ARM: imx_v6_v7_defconfig: Enable ATH10K SDIO support

2018-12-01 Thread Otavio Salvador
The use of ATH10K WiFi is becoming common in i.MX based boards, especially on new designs, so enable the driver support as module so it can be used out of box. Signed-off-by: Otavio Salvador --- arch/arm/configs/imx_v6_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

Re: [U-Boot] [RFC PATCH] tools: add a generic config for native tools building

2018-12-01 Thread Otavio Salvador
On Sat, Dec 1, 2018 at 12:18 PM Peter Robinson wrote: > On Sat, 1 Dec 2018, 13:54 Tom Rini > On Sat, Dec 01, 2018 at 10:27:49AM +, Peter Robinson wrote: > > > On Thu, Nov 29, 2018 at 6:40 PM Tom Rini wrote: > > > > > > > > On Tue, Nov 27, 2018 at

[U-Boot] [PATCH] ARM: rockchip: Add rv1108-elgin-r1 board support

2018-12-01 Thread Otavio Salvador
Add the initial support for Elgin R1 board, which is based on the RV1108 SoC and has the following features currently supported in U-Boot: - UART - eMMC - USB Signed-off-by: Otavio Salvador --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rv1108-elgin-r1.dts| 48

[oe] [PATCH] libusbgx: Add recipe

2018-11-30 Thread Otavio Salvador
The libusbgx allow easier use and setup of USB gadgets. To easy integration on different systems a libusbgx-config package is provided so it can be used to start and enable respective USB gadget schema. Signed-off-by: Otavio Salvador --- .../libusbgx/libusbgx-config.bb | 12

Re: [U-Boot] [PATCH v4] pico-imx7d: Increase the CONFIG_ENV_OFFSET size

2018-11-30 Thread Otavio Salvador
t value instead. > > Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750 ___

Re: [U-Boot] [PATCH 2/6] mmc: dw_mmc: depend on BOUNCE_BUFFER

2018-11-30 Thread Otavio Salvador
onfig-headers to drop unused comments) for the boards using DW_MMC. > > Signed-off-by: Philipp Tomsich Reviewed-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854

[U-Boot] [PATCH v5 5/6] ARM: dts: rockchip: Add rv1108 USB OTG pinctrl

2018-11-30 Thread Otavio Salvador
This adds the definitions need to use the USB OTG in rv1108 board. This has been tested using USB Mass Storage to export and program a eMMC device. Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: - new patch Changes in v3: None Changes in v2: None arch/arm/dts/rv1108

[U-Boot] [PATCH v5 6/6] ARM: rockchip: rv1108: Add support for default distro_bootcmd

2018-11-30 Thread Otavio Salvador
This allow easier integration of RV1108 based boards on generic distributions and build systems. To avoid behavior change, we make evb-rv1108 to use the existing environment as it boots from its SPI NOR. Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None Changes in v3

[U-Boot] [PATCH v5 4/6] ARM: rockchip: rv1108: Add a board_usb_init for USB OTG

2018-11-30 Thread Otavio Salvador
Like it is done for other Rockchip SoCs, introduce a board_usb_init() function so that USB OTG can be functional on rv1108 too. Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: - split out dts changes Changes in v3: - rework commit log Changes in v2: None arch/arm/mach

[U-Boot] [PATCH v5 3/6] ARM: dts: rockchip: Add rv1108 eMMC pinctrl

2018-11-30 Thread Otavio Salvador
This adds the pinctrl handles to enable the use of eMMC on custom boards (as minievk) and makes it easier for later addition. Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None Changes in v3: - rework commit log Changes in v2: - split bounce buffer change on a new patch

[U-Boot] [PATCH v5 2/6] ARM: rockchip: rv1108: Enable BOUNCE_BUFFER

2018-11-30 Thread Otavio Salvador
In order to be able to build the Rockchip eMMC driver on rv1108, the BOUNCE_BUFFER option needs to be selected. Select it like it is done on the other Rockchip SoC common files. Reviewed-by: Andy Yan Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None Changes in v3

[U-Boot] [PATCH v5 1/6] ARM: rockchip: rv1108: Sync clock with vendor tree

2018-11-30 Thread Otavio Salvador
Make adjustments to the rv1108 clock driver in order to align it with the internal Rockchip version. Signed-off-by: Otavio Salvador --- Changes in v5: - applied changes sent by Vicent Chi Changes in v4: - revert a wrong removal of devices Changes in v3: None Changes in v2: None arch/arm

[U-Boot] [PATCH v5 0/6] Submit upstream changes made while porting a customer board to mainline

2018-11-30 Thread Otavio Salvador
: - revert a wrong removal of devices - split out dts changes - new patch Changes in v3: - rework commit log - rework commit log - rework commit log Changes in v2: - new patch - split bounce buffer change on a new patch Otavio Salvador (6): ARM: rockchip: rv1108: Sync clock with vendor tree ARM

Re: [U-Boot] [PATCH v2 1/5] clk_rv1108: Sync with vendor tree

2018-11-30 Thread Otavio Salvador
On Fri, Nov 30, 2018 at 9:18 AM Philipp Tomsich wrote: > > On 30.11.2018, at 11:37, Otavio Salvador > > wrote: > > On Fri, Nov 30, 2018 at 7:58 AM Otavio Salvador > > wrote: > >> On Fri, Nov 30, 2018 at 1:39 AM vicent@rock-chips.com > >&

Re: [U-Boot] [PATCH v2 1/5] clk_rv1108: Sync with vendor tree

2018-11-30 Thread Otavio Salvador
Hello Vicent, On Fri, Nov 30, 2018 at 7:58 AM Otavio Salvador wrote: > On Fri, Nov 30, 2018 at 1:39 AM vicent@rock-chips.com > wrote: > > > > Hi Otavio Salvador: > >Fixed a problem of rv1108 emmc clock configuration. > >I am a

Re: [U-Boot] [PATCH v2 1/5] clk_rv1108: Sync with vendor tree

2018-11-30 Thread Otavio Salvador
Hello Vicent, On Fri, Nov 30, 2018 at 1:39 AM vicent@rock-chips.com wrote: > > Hi Otavio Salvador: >Fixed a problem of rv1108 emmc clock configuration. >I am afraid that the code between us is not synchronized, so I also > send the modified files to you. The

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-28 Thread Otavio Salvador
On Wed, Nov 28, 2018 at 8:58 AM Otavio Salvador wrote: > On Tue, Nov 27, 2018 at 6:49 PM Alexey Brodkin > wrote: > > On Tue, 2018-11-27 at 17:52 -0200, Otavio Salvador wrote: > > > On Tue, Nov 27, 2018 at 5:30 PM Otavio Salvador > > > wrote: > > > &

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-28 Thread Otavio Salvador
On Wed, Nov 28, 2018 at 8:58 AM Otavio Salvador wrote: > On Tue, Nov 27, 2018 at 6:49 PM Alexey Brodkin > wrote: > > On Tue, 2018-11-27 at 17:52 -0200, Otavio Salvador wrote: > > > On Tue, Nov 27, 2018 at 5:30 PM Otavio Salvador > > > wrote: > > > &

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-28 Thread Otavio Salvador
On Tue, Nov 27, 2018 at 6:49 PM Alexey Brodkin wrote: > On Tue, 2018-11-27 at 17:52 -0200, Otavio Salvador wrote: > > On Tue, Nov 27, 2018 at 5:30 PM Otavio Salvador > > wrote: > > > On Tue, Nov 27, 2018 at 5:13 PM Alexey Brodkin > > > wrote: > > > &

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-28 Thread Otavio Salvador
On Tue, Nov 27, 2018 at 6:49 PM Alexey Brodkin wrote: > On Tue, 2018-11-27 at 17:52 -0200, Otavio Salvador wrote: > > On Tue, Nov 27, 2018 at 5:30 PM Otavio Salvador > > wrote: > > > On Tue, Nov 27, 2018 at 5:13 PM Alexey Brodkin > > > wrote: > > > &

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-27 Thread Otavio Salvador
Hello all, On Tue, Nov 27, 2018 at 5:52 PM Otavio Salvador wrote: ... > Looking at this, I am wondering if folowing wouldn't be a generic > solution capable of upstreaming: I posted the proposed patch to U-Boot mailing list as RFC so we can see what their feedback is about this ap

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-27 Thread Otavio Salvador
Hello all, On Tue, Nov 27, 2018 at 5:52 PM Otavio Salvador wrote: ... > Looking at this, I am wondering if folowing wouldn't be a generic > solution capable of upstreaming: I posted the proposed patch to U-Boot mailing list as RFC so we can see what their feedback is about this ap

[U-Boot] [RFC PATCH] tools: add a generic config for native tools building

2018-11-27 Thread Otavio Salvador
to generate images for some SoC (e.g MX23 / MX28 in meta-freescale case). Using this, we can package the tools doing: $: make tools-only_defconfig $: make tools-only Signed-off-by: Otavio Salvador --- configs/tools-only_defconfig | 3 +++ tools/Makefile | 2 +- 2 files changed

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-27 Thread Otavio Salvador
On Tue, Nov 27, 2018 at 5:30 PM Otavio Salvador wrote: > > On Tue, Nov 27, 2018 at 5:13 PM Alexey Brodkin > wrote: > > Even though we're not going to build here real U-Boot binary > > it is still required to "configure" U-Boot to get get to the > > t

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-27 Thread Otavio Salvador
On Tue, Nov 27, 2018 at 5:30 PM Otavio Salvador wrote: > > On Tue, Nov 27, 2018 at 5:13 PM Alexey Brodkin > wrote: > > Even though we're not going to build here real U-Boot binary > > it is still required to "configure" U-Boot to get get to the > > t

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-27 Thread Otavio Salvador
(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X)$(CONFIG_FIT_SIGNATURE),) HOSTLOADLIBES_mkimage += \ $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto") If you do that, we can likely rely on this and avoid some extra tools packages (for exampl

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-27 Thread Otavio Salvador
(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X)$(CONFIG_FIT_SIGNATURE),) HOSTLOADLIBES_mkimage += \ $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto") If you do that, we can likely rely on this and avoid some extra tools packages (for exampl

[oe] [PATCH] mozjs: Avoid use of X11 from host when X11 is disabled

2018-11-27 Thread Otavio Salvador
The mozjs build system makes use of host headers and libraries if not passed an invalid path for `--x-includes` and `--x-libraries`. This fixes host contamination while building in a development host. Signed-off-by: Otavio Salvador --- meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb | 2 +- 1

[U-Boot] [PATCH v4 5/6] ARM: dts: rockchip: Add rv1108 USB OTG pinctrl

2018-11-27 Thread Otavio Salvador
This adds the definitions need to use the USB OTG in rv1108 board. This has been tested using USB Mass Storage to export and program a eMMC device. Signed-off-by: Otavio Salvador --- Changes in v4: - new patch Changes in v3: None Changes in v2: None arch/arm/dts/rv1108.dtsi | 45

[U-Boot] [PATCH v4 3/6] ARM: dts: rockchip: Add rv1108 eMMC pinctrl

2018-11-27 Thread Otavio Salvador
This adds the pinctrl handles to enable the use of eMMC on custom boards (as minievk) and makes it easier for later addition. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: - rework commit log Changes in v2: - split bounce buffer change on a new patch arch/arm/dts

[U-Boot] [PATCH v4 6/6] ARM: rockchip: rv1108: Add support for default distro_bootcmd

2018-11-27 Thread Otavio Salvador
This allow easier integration of RV1108 based boards on generic distributions and build systems. To avoid behavior change, we make evb-rv1108 to use the existing environment as it boots from its SPI NOR. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: None Changes in v2

[U-Boot] [PATCH v4 4/6] ARM: rockchip: rv1108: Add a board_usb_init for USB OTG

2018-11-27 Thread Otavio Salvador
Like it is done for other Rockchip SoCs, introduce a board_usb_init() function so that USB OTG can be functional on rv1108 too. Signed-off-by: Otavio Salvador --- Changes in v4: - split out dts changes Changes in v3: - rework commit log Changes in v2: None arch/arm/mach-rockchip/Makefile

[U-Boot] [PATCH v4 1/6] ARM: rockchip: rv1108: Sync clock with vendor tree

2018-11-27 Thread Otavio Salvador
Make adjustments to the rv1108 clock driver in order to align it with the internal Rockchip version. Signed-off-by: Otavio Salvador --- Changes in v4: - revert a wrong removal of devices Changes in v3: None Changes in v2: None .../include/asm/arch-rockchip/cru_rv1108.h| 143

[U-Boot] [PATCH v4 2/6] ARM: rockchip: rv1108: Enable BOUNCE_BUFFER

2018-11-27 Thread Otavio Salvador
In order to be able to build the Rockchip eMMC driver on rv1108, the BOUNCE_BUFFER option needs to be selected. Select it like it is done on the other Rockchip SoC common files. Reviewed-by: Andy Yan Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: - rework commit log

[U-Boot] [PATCH v4 0/6] Submit upstream changes made while porting a customer board to mainline

2018-11-27 Thread Otavio Salvador
changes - new patch Changes in v3: - rework commit log - rework commit log - rework commit log Changes in v2: - new patch - split bounce buffer change on a new patch Otavio Salvador (6): ARM: rockchip: rv1108: Sync clock with vendor tree ARM: rockchip: rv1108: Enable BOUNCE_BUFFER ARM: dts

Re: [U-Boot] [PATCH v2 1/5] clk_rv1108: Sync with vendor tree

2018-11-27 Thread Otavio Salvador
On Mon, Nov 26, 2018 at 11:43 PM Andy Yan wrote: > On 2018/11/21 上午2:55, Otavio Salvador wrote: > > -#define ARST_VIO0_NIU102 > > -#define ARST_VIO1_NIU103 > > -#define HRST_VIO_NIU 104 > > -#define PRST_

[U-Boot] [PATCH v3 3/5] ARM: dts: rockchip: Add rv1108 eMMC pinctrl

2018-11-27 Thread Otavio Salvador
This adds the pinctrl handles to enable the use of eMMC on custom boards (as minievk) and makes it easier for later addition. Signed-off-by: Otavio Salvador --- Changes in v3: - rework commit log Changes in v2: - split bounce buffer change on a new patch arch/arm/dts/rv1108.dtsi | 29

[U-Boot] [PATCH v3 4/5] ARM: rockchip: rv1108: Make USB OTG functional

2018-11-27 Thread Otavio Salvador
Like it is done for other Rockchip SoCs, introduce a board_usb_init() function so that USB OTG can be functional on rv1108 too. Signed-off-by: Otavio Salvador --- Changes in v3: - rework commit log Changes in v2: None arch/arm/dts/rv1108.dtsi | 45 ++- arch/arm/mach

[U-Boot] [PATCH v3 5/5] ARM: rockchip: rv1108: Add support for default distro_bootcmd

2018-11-27 Thread Otavio Salvador
This allow easier integration of RV1108 based boards on generic distributions and build systems. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None include/configs/rv1108_common.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/configs

[U-Boot] [PATCH v3 2/5] ARM: rockchip: rv1108: Enable BOUNCE_BUFFER

2018-11-27 Thread Otavio Salvador
In order to be able to build the Rockchip eMMC driver on rv1108, the BOUNCE_BUFFER option needs to be selected. Select it like it is done on the other Rockchip SoC common files. Signed-off-by: Otavio Salvador --- Changes in v3: - rework commit log Changes in v2: - new patch include/configs

[U-Boot] [PATCH v3 1/5] clk_rv1108: Sync with vendor tree

2018-11-27 Thread Otavio Salvador
Make adjustments to the rv1108 clock driver in order to align it with the internal Rockchip version. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None .../include/asm/arch-rockchip/cru_rv1108.h| 143 +- drivers/clk/rockchip/clk_rv1108.c | 457

[U-Boot] [PATCH v3 0/5] Submit upstream changes made while porting a customer board to mainline

2018-11-27 Thread Otavio Salvador
commit log Changes in v2: - new patch - split bounce buffer change on a new patch Otavio Salvador (5): clk_rv1108: Sync with vendor tree ARM: rockchip: rv1108: Enable BOUNCE_BUFFER ARM: dts: rockchip: Add rv1108 eMMC pinctrl ARM: rockchip: rv1108: Make USB OTG functional ARM: rockchip: rv1108

Re: [U-Boot] [PATCH v2 3/5] rv1108: Enable eMMC support

2018-11-27 Thread Otavio Salvador
On Mon, Nov 26, 2018 at 11:51 PM Andy Yan wrote: > The subject should be something like: "Arm: dts: rockchip: add emmc > pinctrl for rv1108" Thanks, I am preparing a v3 and will send it soon. -- Otavio Salvador O.S. Systems http://www.

Re: [PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-11-26 Thread Otavio Salvador
Hello Heiko, On Mon, Nov 26, 2018 at 10:29 PM Heiko Stuebner wrote: > Am Montag, 26. November 2018, 18:35:06 CET schrieb Otavio Salvador: > > Add support for the internal timer peripheral on RV1108. > > > > Signed-off-by: Otavio Salvador > > --- > > looks

Re: [PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-11-26 Thread Otavio Salvador
Hello Heiko, On Mon, Nov 26, 2018 at 10:29 PM Heiko Stuebner wrote: > Am Montag, 26. November 2018, 18:35:06 CET schrieb Otavio Salvador: > > Add support for the internal timer peripheral on RV1108. > > > > Signed-off-by: Otavio Salvador > > --- > > looks

Re: [OE-core] [PATCH v7] u-boot: Add mkenvimage tool

2018-11-26 Thread Otavio Salvador
ing "CONFIG_EFI_LOADER" from "sandbox_defconfig" right before > execution of "make sandbox_defconfig" > > I think latter option is the simplest and cleanest. > > Should I send a patch for that? Let's add Tom (U-Boot upstream main maintainer) to th

Re: [OE-core] [PATCH v7] u-boot: Add mkenvimage tool

2018-11-26 Thread Otavio Salvador
ing "CONFIG_EFI_LOADER" from "sandbox_defconfig" right before > execution of "make sandbox_defconfig" > > I think latter option is the simplest and cleanest. > > Should I send a patch for that? Let's add Tom (U-Boot upstream main maintainer) to th

[PATCH v2 1/2] ARM: multi_v7_defconfig: Select PHY_ROCKCHIP_INNO_USB2

2018-11-26 Thread Otavio Salvador
Select the CONFIG_PHY_ROCKCHIP_INNO_USB2 option by default, so that USB can be functional on RV1108. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm

[PATCH v2 2/2] ARM: multi_v7_defconfig: Improve use with systemd

2018-11-26 Thread Otavio Salvador
. 1. https://wiki.gentoo.org/wiki/Systemd#Kernel Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- Changes in v2: - rework commit log arch/arm/configs/multi_v7_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs

[PATCH v2 1/2] ARM: multi_v7_defconfig: Select PHY_ROCKCHIP_INNO_USB2

2018-11-26 Thread Otavio Salvador
Select the CONFIG_PHY_ROCKCHIP_INNO_USB2 option by default, so that USB can be functional on RV1108. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm

[PATCH v2 2/2] ARM: multi_v7_defconfig: Improve use with systemd

2018-11-26 Thread Otavio Salvador
. 1. https://wiki.gentoo.org/wiki/Systemd#Kernel Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- Changes in v2: - rework commit log arch/arm/configs/multi_v7_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs

[PATCH v2 3/4] ARM: dts: rockchip: Add UART DMA support for rv1108

2018-11-26 Thread Otavio Salvador
Pass the 'dmas' property to the UART ports so that DMA can be supported. Signed-off-by: Otavio Salvador Tested-by: Fabio Berton --- Changes in v2: - fixup commit signed-off-by - fixup commit log arch/arm/boot/dts/rv1108.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm

[PATCH v2 1/4] ARM: dts: rockchip: Fix the PMU interrupt number for rv1108

2018-11-26 Thread Otavio Salvador
According to the Rockchip vendor tree the PMU interrupt number is 76, so fix it accordingly. Signed-off-by: Otavio Salvador Tested-by: Fabio Berton --- Changes in v2: - fixup commit signed-off-by - fixup commit log arch/arm/boot/dts/rv1108.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 2/4] ARM: dts: rockchip: Assign the proper GPIO clocks for rv1108

2018-11-26 Thread Otavio Salvador
It is not correct to assign the 24MHz clock oscillator to the GPIO ports. Fix it by assigning the proper GPIO clocks instead. Signed-off-by: Otavio Salvador Tested-by: Fabio Berton --- Changes in v2: - fixup commit signed-off-by - fixup commit log arch/arm/boot/dts/rv1108.dtsi | 8

[PATCH v2 3/4] ARM: dts: rockchip: Add UART DMA support for rv1108

2018-11-26 Thread Otavio Salvador
Pass the 'dmas' property to the UART ports so that DMA can be supported. Signed-off-by: Otavio Salvador Tested-by: Fabio Berton --- Changes in v2: - fixup commit signed-off-by - fixup commit log arch/arm/boot/dts/rv1108.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm

<    2   3   4   5   6   7   8   9   10   11   >