Re: [PATCH] tee: optee: fix build error caused by recent optee tracepoints feature

2021-04-06 Thread Heiko Thiery
Hi Jens, Am Di., 6. Apr. 2021 um 14:30 Uhr schrieb Jens Wiklander : > > Hi Heiko, > > [+Arnd] > > On Tue, Apr 6, 2021 at 12:38 PM Heiko Thiery wrote: > > > > Hi Jens, > > > > Am Di., 30. März 2021 um 10:26 Uhr schrieb Jens Wiklander > > : >

Re: [PATCH] tee: optee: fix build error caused by recent optee tracepoints feature

2021-04-06 Thread Heiko Thiery
Hi Jens, Am Di., 30. März 2021 um 10:26 Uhr schrieb Jens Wiklander : > > On Thu, Mar 25, 2021 at 12:06:01PM +0800, Jisheng Zhang wrote: > > If build kernel without "O=dir", below error will be seen: > > > > In file included from drivers/tee/optee/optee_trace.h:67, > > from

Re: [PATCH] tee: optee: fix build error caused by recent optee tracepoints feature

2021-03-30 Thread Heiko Thiery
ild successfully. > > Reported-by: Guenter Roeck > Suggested-by: Steven Rostedt > Signed-off-by: Jisheng Zhang Fixes: 0101947dbcc3 ("tee: optee: add invoke_fn tracepoints") Tested-by: Heiko Thiery > --- > drivers/tee/optee/Makefile | 3 +++ > 1 file changed, 3 in

Re: [PATCH v2 2/2] mtd: spi-nor: add initial sysfs support

2021-03-23 Thread Heiko Thiery
lpful in bug > reports from users. > > Signed-off-by: Michael Walle Tested-by: Heiko Thiery > --- > drivers/mtd/spi-nor/Makefile | 2 +- > drivers/mtd/spi-nor/core.c | 5 +++ > drivers/mtd/spi-nor/core.h | 3 ++ > drivers/mtd/spi-nor/sysfs.c | 86 +++

Re: [PATCH v2 1/2] mtd: spi-nor: sfdp: save a copy of the SFDP data

2021-03-23 Thread Heiko Thiery
ead the SFDP after the initial probe. To be able to dump the SFDP > >via > >> sysfs afterwards, make a complete copy of it. > >> > >> Signed-off-by: Michael Walle > > > >Reviewed-by: Pratyush Yadav Tested-by: Heiko Thiery > > thanks for reviewi

[PATCH v2] arm64: dts: imx8mq-kontron-pitx-imx8m: pass phy reset delays

2021-03-23 Thread Heiko Thiery
these reset delays the board will hang during startup when bootargs has ip=dhcp set. Fixes: 1dc7f3d79a1a ("arm64: dts: fsl: add support for Kontron pitx-imx8m board") Signed-off-by: Heiko Thiery --- v2: - add desciption what issue will be fixed - add Fixes tag arch/arm64/boot/dts/freesc

[PATCH] arm64: dts: imx8mq-kontron-pitx-imx8m: pass phy reset delays

2021-03-22 Thread Heiko Thiery
-by: Heiko Thiery --- arch/arm64/boot/dts/freescale/imx8mq-kontron-pitx-imx8m.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-kontron-pitx-imx8m.dts b/arch/arm64/boot/dts/freescale/imx8mq-kontron-pitx-imx8m.dts index 91a9ceb10305..f593e4ff62e1 100644

[PATCH v3] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-17 Thread Heiko Thiery
Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. The driver only has build-in support and cannot be compiled as module. Signed-off-by: Heiko Thiery --- v2: - slightly modified the commit message (Fabio Estevam) v3: - add

Re: [PATCH v2] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-17 Thread Heiko Thiery
Hi Shawn, Am Mi., 17. März 2021 um 12:52 Uhr schrieb Heiko Thiery : > > Hi Shawn, > > Am Mi., 17. März 2021 um 09:02 Uhr schrieb Shawn Guo : > > > > On Thu, Mar 11, 2021 at 08:27:47PM +0100, Heiko Thiery wrote: > > > Enable PCI_IMX6 to get PCI support

Re: [PATCH v2] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-17 Thread Heiko Thiery
Hi Shawn, Am Mi., 17. März 2021 um 09:02 Uhr schrieb Shawn Guo : > > On Thu, Mar 11, 2021 at 08:27:47PM +0100, Heiko Thiery wrote: > > Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, > > imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. > > > &g

[PATCH v2] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-11 Thread Heiko Thiery
Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. Signed-off-by: Heiko Thiery --- v2: - slightly modified the commit message (Fabio Estevam) arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-11 Thread Heiko Thiery
Hi all, Added some more to the CC list since they could be interested in this. Am Mo., 8. März 2021 um 13:58 Uhr schrieb Heiko Thiery : > > Hi all, > > Am Mo., 8. März 2021 um 10:03 Uhr schrieb Heiko Thiery > : > > > > Enable PCI_IMX6 to get PCI support for im

Re: [PATCH] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-08 Thread Heiko Thiery
Hi all, Am Mo., 8. März 2021 um 10:03 Uhr schrieb Heiko Thiery : > > Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, > imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. This increases the image > by 64k. The growth of 64k is not right. Using the support

[PATCH] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-08 Thread Heiko Thiery
Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. This increases the image by 64k. Signed-off-by: Heiko Thiery --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b

[PATCH v4 0/2] add Kontron pITX-imx8m board

2021-03-03 Thread Heiko Thiery
This patch series adds support for the Kontron pITX-imx8m board: https://www.kontron.com/products/boards-and-standard-form-factors/single-board-computer/pitx-imx8m.html Heiko Thiery (2): dt-bindings: arm: fsl: add Kontron pITX-imx8m board arm64: dts: fsl: add support for Kontron pitx-imx8m

Re: [PATCH] usb: dwc3: Fix dereferencing of null dwc->usb_psy

2021-03-03 Thread Heiko Thiery
eference. Fix this by removing the ! operator. >> >> Addresses-Coverity: ("Dereference after null check") >> Fixes: 59fa3def35de ("usb: dwc3: add a power supply for current control") > > Acked-by: Ray Chi > >> Signed-off-by: Colin Ian King Test

[PATCH v4 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-03-03 Thread Heiko Thiery
The Kontron pitx-imx8m board is based on an i.MX8MQ soc. Signed-off-by: Heiko Thiery Reviewed-by: Krzysztof Kozlowski Reviewed-by: Michael Walle --- v2: - bring root nodes in alphabetical order - remove pinctrl_gpio_keys for pciewake - remove pinctrl_sai2 and pinctrl_spdfif1 since

[PATCH v4 1/2] dt-bindings: arm: fsl: add Kontron pITX-imx8m board

2021-03-03 Thread Heiko Thiery
Add the Kontron pITX-imx8m board. Signed-off-by: Heiko Thiery Reviewed-by: Krzysztof Kozlowski --- v2: - bring in correct alphabetical order v3: - no change v4: - no change Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

Re: [PATCH 0/2] an additional path to control charging current

2021-03-03 Thread Heiko Thiery
Hi Ray, > Currently, VBUS draw callback does no action when the > generic PHYs are used. The patches add an additional path > to control charging current through power supply property > POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT. > > Ray Chi (2): > usb: dwc3: add a power supply for current control

Re: [PATCH 0/2] an additional path to control charging current

2021-03-03 Thread Heiko Thiery
Hi, Am Mi., 3. März 2021 um 16:01 Uhr schrieb Heiko Thiery : > > Hi Ray, > > > > Currently, VBUS draw callback does no action when the > > generic PHYs are used. The patches add an additional path > > to control charging current

Re: [PATCH v2 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-03-03 Thread Heiko Thiery
Hi Fabio, Am Di., 2. März 2021 um 15:43 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Mon, Feb 22, 2021 at 11:08 AM Heiko Thiery wrote: > > > + reg_usdhc2_vmmc: regulator-v-3v3-sd { > > reg_usdhc2_vmmc: regulator-usdhc2-vmmc { I used the same name as used

Re: [PATCH v2 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-25 Thread Heiko Thiery
Hi all, Am Do., 25. Feb. 2021 um 22:15 Uhr schrieb Heiko Thiery : > > When accessing the timecounter register on an i.MX8MQ the kernel hangs. > This is only the case when the interface is down. This can be reproduced > by reading with 'phc_ctrl eth0 get'. > > Like descr

[PATCH v2 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-25 Thread Heiko Thiery
the interface is down and leads to a system hang. So we check if the ptp clock status before reading the timecounter register. Signed-off-by: Heiko Thiery --- v2: - add mutex (thanks to Richard) v3: I did a mistake and did not test properly - add parenteses - fix the used variable drivers/net/ethernet

[PATCH v2 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-25 Thread Heiko Thiery
the interface is down and leads to a system hang. So we check if the ptp clock status before reading the timecounter register. Signed-off-by: Heiko Thiery --- v2: - add mutex (thanks to Richard) drivers/net/ethernet/freescale/fec_ptp.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net

Re: [PATCH 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-25 Thread Heiko Thiery
Hi Richard, Am Do., 25. Feb. 2021 um 14:49 Uhr schrieb Heiko Thiery : > > Hi Richard, > > Am Di., 23. Feb. 2021 um 17:11 Uhr schrieb Richard Cochran > : > > > > On Tue, Feb 23, 2021 at 04:04:16PM +0100, Heiko Thiery wrote: > > > It is not only the PHC clock

Re: [PATCH 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-25 Thread Heiko Thiery
Hi Richard, Am Di., 23. Feb. 2021 um 17:11 Uhr schrieb Richard Cochran : > > On Tue, Feb 23, 2021 at 04:04:16PM +0100, Heiko Thiery wrote: > > It is not only the PHC clock that stops. Rather, it is the entire > > ethernet building block in the SOC that is disabled, including the

Re: next/master bisection: baseline.login on r8a77960-ulcb

2021-02-25 Thread Heiko Thiery
Hi all, Am Do., 25. Feb. 2021 um 12:50 Uhr schrieb Thierry Reding : > > On Thu, Feb 25, 2021 at 11:14:57AM +, Robin Murphy wrote: > > On 2021-02-25 11:09, Thierry Reding wrote: > > > On Wed, Feb 24, 2021 at 10:39:42PM +0100, Heiko Thiery wrote: > &g

Re: next/master bisection: baseline.login on r8a77960-ulcb

2021-02-24 Thread Heiko Thiery
Hi Christoph and all, On 23.02.21 10:56, Guillaume Tucker wrote: Hi Christoph, Please see the bisection report below about a boot failure on r8a77960-ulcb on next-20210222. Reports aren't automatically sent to the public while we're trialing new bisection features on kernelci.org but this one

Re: [PATCH 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-23 Thread Heiko Thiery
Hi Richard, Am Di., 23. Feb. 2021 um 15:27 Uhr schrieb Richard Cochran : > > On Tue, Feb 23, 2021 at 09:00:32AM +0100, Heiko Thiery wrote: > > HI Jakub, > > > > Am Di., 23. Feb. 2021 um 04:00 Uhr schrieb Jakub Kicinski : > > > Why is the PTP interface reg

Re: [PATCH 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-23 Thread Heiko Thiery
HI Jakub, Am Di., 23. Feb. 2021 um 04:00 Uhr schrieb Jakub Kicinski : > > On Sat, 20 Feb 2021 07:56:55 +0100 Heiko Thiery wrote: > > When accessing the timecounter register on an i.MX8MQ the kernel hangs. > > This is only the case when the interface is down. This can be reprodu

[PATCH v3 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-02-22 Thread Heiko Thiery
The Kontron pitx-imx8m board is based on an i.MX8MQ soc. Signed-off-by: Heiko Thiery Reviewed-by: Krzysztof Kozlowski --- v2: - bring root nodes in alphabetical order - remove pinctrl_gpio_keys for pciewake - remove pinctrl_sai2 and pinctrl_spdfif1 since it is not used yet Thanks

[PATCH v3 1/2] dt-bindings: arm: fsl: add Kontron pITX-imx8m board

2021-02-22 Thread Heiko Thiery
Add the Kontron pITX-imx8m board. Signed-off-by: Heiko Thiery Reviewed-by: Krzysztof Kozlowski --- v2: - bring in correct alphabetical order v3: - no change Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v3 0/2] add Kontron pITX-imx8m board

2021-02-22 Thread Heiko Thiery
This patch series adds support for the Kontron pITX-imx8m board: https://www.kontron.com/products/boards-and-standard-form-factors/single-board-computer/pitx-imx8m.html Heiko Thiery (2): dt-bindings: arm: fsl: add Kontron pITX-imx8m board arm64: dts: fsl: add support for Kontron pitx-imx8m

Re: [PATCH 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-02-22 Thread Heiko Thiery
Hi Krzysztof, Am Mo., 22. Feb. 2021 um 19:39 Uhr schrieb Krzysztof Kozlowski : > > On Mon, 22 Feb 2021 at 10:09, Heiko Thiery wrote: > > > > > > + > > > > > > + pcie0_refclk: pcie0-refclk { > > > > > > > > > > Generic no

Re: [PATCH v2 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-02-22 Thread Heiko Thiery
Hi Michael, Am Mo., 22. Feb. 2021 um 16:15 Uhr schrieb Michael Walle : > > Am 2021-02-22 15:07, schrieb Heiko Thiery: > > The Kontron pitx-imx8m board is based on an i.MX8MQ soc. > > > > Signed-off-by: Heiko Thiery > > --- > > v2: > > - bring root

[PATCH v2 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-02-22 Thread Heiko Thiery
The Kontron pitx-imx8m board is based on an i.MX8MQ soc. Signed-off-by: Heiko Thiery --- v2: - bring root nodes in alphabetical order - remove pinctrl_gpio_keys for pciewake - remove pinctrl_sai2 and pinctrl_spdfif1 since it is not used yet Thanks to Michael Walle: - add pinctrl

[PATCH v2 0/2] add Kontron pITX-imx8m board

2021-02-22 Thread Heiko Thiery
This patch series adds support for the Kontron pITX-imx8m board: https://www.kontron.com/products/boards-and-standard-form-factors/single-board-computer/pitx-imx8m.html Heiko Thiery (2): dt-bindings: arm: fsl: add Kontron pITX-imx8m board arm64: dts: fsl: add support for Kontron pitx-imx8m

[PATCH v2 1/2] dt-bindings: arm: fsl: add Kontron pITX-imx8m board

2021-02-22 Thread Heiko Thiery
Add the Kontron pITX-imx8m board. Signed-off-by: Heiko Thiery --- v2: - bring in correct alphabetical order Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

Re: [PATCH 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-02-22 Thread Heiko Thiery
Hi Krzysztof, Am Mo., 22. Feb. 2021 um 09:40 Uhr schrieb Krzysztof Kozlowski : > > On Mon, Feb 22, 2021 at 08:46:52AM +0100, Heiko Thiery wrote: > > Hi Krysztof, > > > > Am So., 21. Feb. 2021 um 13:11 Uhr schrieb Krzysztof Kozlowski > > : > > > > &g

Re: [PATCH 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-02-21 Thread Heiko Thiery
Hi Krysztof, Am So., 21. Feb. 2021 um 13:11 Uhr schrieb Krzysztof Kozlowski : > > On Thu, Feb 18, 2021 at 01:33:29PM +0100, Heiko Thiery wrote: > > The Kontron pitx-imx8m board is based on an i.MX8MQ soc. > > > > Signed-off-by: Heiko Thiery > > --- > > ar

[PATCH 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

2021-02-19 Thread Heiko Thiery
the interface is down and leads to a system hang. So we check if the ptp clock status before reading the timecounter register. Signed-off-by: Heiko Thiery --- drivers/net/ethernet/freescale/fec_ptp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/freescale/fec_ptp.c b/drivers

Re: [PATCH 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-02-18 Thread Heiko Thiery
Hi Michael et all, Am Do., 18. Feb. 2021 um 13:50 Uhr schrieb Michael Walle : > > Am 2021-02-18 13:33, schrieb Heiko Thiery: > > The Kontron pitx-imx8m board is based on an i.MX8MQ soc. > > > > Signed-off-by: Heiko Thiery > > --- > > arch/arm64/boot

[PATCH 2/2] arm64: dts: fsl: add support for Kontron pitx-imx8m board

2021-02-18 Thread Heiko Thiery
The Kontron pitx-imx8m board is based on an i.MX8MQ soc. Signed-off-by: Heiko Thiery --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../freescale/imx8mq-kontron-pitx-imx8m.dts | 675 ++ 2 files changed, 676 insertions(+) create mode 100644 arch/arm64/boot/dts

[PATCH 0/2] add Kontron pITX-imx8m board

2021-02-18 Thread Heiko Thiery
This patch series adds support for the Kontron pITX-imx8m board: https://www.kontron.com/products/boards-and-standard-form-factors/single-board-computer/pitx-imx8m.html Heiko Thiery (2): dt-bindings: arm: fsl: add Kontron pITX-imx8m board arm64: dts: fsl: add support for Kontron pitx-imx8m

[PATCH 1/2] dt-bindings: arm: fsl: add Kontron pITX-imx8m board

2021-02-18 Thread Heiko Thiery
Add the Kontron pITX-imx8m board compatibles binding. Signed-off-by: Heiko Thiery --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index

Re: [PATCH v2 4/4] mtd: spi-nor: implement OTP support for Winbond and similar flashes

2020-09-30 Thread Heiko Thiery
ea for SFDP data. Thus, > for these flashes only the last three areas are handled and the first > one is left untouched. > > This was tested on a Winbond W25Q32JW as well as on a W25Q32FW. > > Signed-off-by: Michael Walle Reviewed-by: Heiko Thiery >

Re: [PATCH v2 3/4] mtd: spi-nor: implement OTP support for Macronix and similar flashes

2020-09-30 Thread Heiko Thiery
a Macronix MX25L6405D as well as on a Adesto > AT25SL321. > > Signed-off-by: Michael Walle Reviewed-by: Heiko Thiery > --- > drivers/mtd/spi-nor/atmel.c| 13 ++- > drivers/mtd/spi-nor/core.c | 170 + > drivers/mtd/spi-nor/core.h

Re: [PATCH v2 2/4] mtd: spi-nor: add OTP support

2020-09-30 Thread Heiko Thiery
ions as well as the > distance between two regions (Winbond). > > Additionally, the regions might be locked down. Once locked, no further > write access is possible. > > Cc: Rahul Bedarkar > Signed-off-by: Michael Walle Reviewed-by: Heiko Thiery > --- > drivers/mtd/ch