Re: [PATCH v6 0/4] mxs-lradc: Split driver into MFD

2016-09-19 Thread Stefan Wahren
> Ksenija Stanojevic hat am 17. September 2016 um > 12:48 geschrieben: > > > Split existing driver mxs-lradc into MFD with touchscreen and > IIO part. > > Tested on I.MX28. Tested the patch 1 and 2 successful on a i.MX23 board. Tested-by: Stefan Wahren

[PATCH net-next 1/8] net: qualcomm: remove unnecessary includes

2016-09-20 Thread Stefan Wahren
Most of the includes in qca_7k.c are unnecessary so we better remove them. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_7k.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/qualcomm/qca_7k.c b/drivers/net/ethernet/qualcomm/qca_7k.c index

[PATCH net-next 5/8] net: qualcomm: move MTU handling to qca_common

2016-09-20 Thread Stefan Wahren
The MTU of the QCA7000 is independent from it's host interface (UART,SPI). So move the change_mtu function to qca_common. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_common.c | 11 +++ drivers/net/ethernet/qualcomm/qca_common.h | 3 +++ drivers/net/eth

[PATCH net-next 2/8] net: qca_debug: use net_device_ops instead of direct call

2016-09-20 Thread Stefan Wahren
There is no need to export qcaspi_netdev_open and qcaspi_netdev_close because they are also accessible via the net_device_ops. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_debug.c | 5 +++-- drivers/net/ethernet/qualcomm/qca_spi.h | 3 --- 2 files changed, 3 insertions

[PATCH net-next 6/8] net: qualcomm: prepare frame decoding for UART driver

2016-09-20 Thread Stefan Wahren
Unfortunately the frame format is not exactly identical between SPI and UART. In case of SPI there is an additional HW length at the beginning. So store the initial state to make the decoding state machine more flexible and easy to extend for UART support. Signed-off-by: Stefan Wahren

[PATCH net-next 4/8] net: qualcomm: rename qca_framing.c to qca_common.c

2016-09-20 Thread Stefan Wahren
As preparation for the upcoming UART driver we need a module which contains common functions for both interfaces. The module qca_framing is a good candidate but renaming to qca_common would make it clear. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Makefile | 2

[PATCH net-next 0/8] net: qualcomm: add QCA7000 UART driver

2016-09-20 Thread Stefan Wahren
/qca7k_support_1_24 Stefan Wahren (8): net: qualcomm: remove unnecessary includes net: qca_debug: use net_device_ops instead of direct call net: qualcomm: move qcaspi_tx_cmd to qca_spi.c net: qualcomm: rename qca_framing.c to qca_common.c net: qualcomm: move MTU handling to qca_common net

[PATCH net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-09-20 Thread Stefan Wahren
This patch adds the Ethernet over UART driver for the Qualcomm QCA7000 HomePlug GreenPHY. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Kconfig | 12 + drivers/net/ethernet/qualcomm/Makefile | 2 + drivers/net/ethernet/qualcomm/qca_common.h | 6 + drivers/net

[PATCH net-next 7/8] net: qualcomm: make qca_common a separate kernel module

2016-09-20 Thread Stefan Wahren
In order to share common functions between QCA7000 SPI and UART protocol driver the qca_common needs to be a separate kernel module. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Kconfig | 8 +++- drivers/net/ethernet/qualcomm/Makefile | 5 +++-- drivers/net

[PATCH net-next 3/8] net: qualcomm: move qcaspi_tx_cmd to qca_spi.c

2016-09-20 Thread Stefan Wahren
The function qcaspi_tx_cmd() is only called from qca_spi.c. So we better move it there. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_7k.c | 24 drivers/net/ethernet/qualcomm/qca_7k.h | 1 - drivers/net/ethernet/qualcomm/qca_spi.c | 24

Re: [PATCH net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-09-20 Thread Stefan Wahren
> kbuild test robot hat am 20. September 2016 um 16:44 > geschrieben: > > > Hi Stefan, > > [auto build test ERROR on net-next/master] > > url: > > https://github.com/0day-ci/linux/commits/Stefan-Wahren/net-qualcomm-add-QCA7000-UART-driver/20160920-2

Re: [PATCH net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-09-21 Thread Stefan Wahren
Hi Marcel, Am 20.09.2016 um 17:32 schrieb Marcel Holtmann: > Hi Stefan, > >> This patch adds the Ethernet over UART driver for the >> Qualcomm QCA7000 HomePlug GreenPHY. >> >> Signed-off-by: Stefan Wahren >> --- >> drivers/net/ethernet/qualcomm/Kc

Re: [PATCH 1/3] dt-bindings: Add a binding for the RPi firmware GPIO driver.

2016-09-23 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 19. September 2016 um 18:13 geschrieben: > > > The RPi firmware exposes all of the board's GPIO lines through > property calls. Linux chooses to control most lines directly through > the pinctrl driver, but for the FXL6408 GPIO expander on the Pi3, we > need to ac

Re: [PATCH 2/3] gpio: Add a driver for the Raspberry Pi's firmware GPIO calls.

2016-09-23 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 19. September 2016 um 18:13 geschrieben: > > > This driver will be used for accessing the FXL6408 GPIO exander on the > Pi3. We can't drive it directly from Linux because the firmware is > continuously polling one of the expander's lines to do its > undervoltage d

[PATCH RFC v2 net-next 3/8] net: qualcomm: move qcaspi_tx_cmd to qca_spi.c

2016-09-26 Thread Stefan Wahren
The function qcaspi_tx_cmd() is only called from qca_spi.c. So we better move it there. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_7k.c | 24 drivers/net/ethernet/qualcomm/qca_7k.h | 1 - drivers/net/ethernet/qualcomm/qca_spi.c | 24

[PATCH RFC v2 net-next 0/8] net: qualcomm: add QCA7000 UART driver

2016-09-26 Thread Stefan Wahren
] - https://github.com/IoE/qca7000 [2] - https://github.com/lategoodbye/busybox/commits/qca7k_support_1_24 Stefan Wahren (8): net: qualcomm: remove unnecessary includes net: qca_debug: use net_device_ops instead of direct call net: qualcomm: move qcaspi_tx_cmd to qca_spi.c net: qualcomm: rename

[PATCH RFC v2 net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-09-26 Thread Stefan Wahren
This patch adds the Ethernet over UART driver for the Qualcomm QCA7000 HomePlug GreenPHY. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Kconfig | 12 + drivers/net/ethernet/qualcomm/Makefile | 2 + drivers/net/ethernet/qualcomm/qca_common.h | 6 + drivers/net

[PATCH RFC v2 net-next 1/8] net: qualcomm: remove unnecessary includes

2016-09-26 Thread Stefan Wahren
Most of the includes in qca_7k.c are unnecessary so we better remove them. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_7k.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/qualcomm/qca_7k.c b/drivers/net/ethernet/qualcomm/qca_7k.c index

[PATCH RFC v2 net-next 7/8] net: qualcomm: make qca_common a separate kernel module

2016-09-26 Thread Stefan Wahren
In order to share common functions between QCA7000 SPI and UART protocol driver the qca_common needs to be a separate kernel module. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Kconfig | 8 +++- drivers/net/ethernet/qualcomm/Makefile | 5 +++-- drivers/net

[PATCH RFC v2 net-next 6/8] net: qualcomm: prepare frame decoding for UART driver

2016-09-26 Thread Stefan Wahren
Unfortunately the frame format is not exactly identical between SPI and UART. In case of SPI there is an additional HW length at the beginning. So store the initial state to make the decoding state machine more flexible and easy to extend for UART support. Signed-off-by: Stefan Wahren

[PATCH RFC v2 net-next 5/8] net: qualcomm: move MTU handling to qca_common

2016-09-26 Thread Stefan Wahren
The MTU of the QCA7000 is independent from it's host interface (UART,SPI). So move the change_mtu function to qca_common. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_common.c | 11 +++ drivers/net/ethernet/qualcomm/qca_common.h | 3 +++ drivers/net/eth

[PATCH RFC v2 net-next 2/8] net: qca_debug: use net_device_ops instead of direct call

2016-09-26 Thread Stefan Wahren
There is no need to export qcaspi_netdev_open and qcaspi_netdev_close because they are also accessible via the net_device_ops. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_debug.c | 5 +++-- drivers/net/ethernet/qualcomm/qca_spi.h | 3 --- 2 files changed, 3 insertions

[PATCH RFC v2 net-next 4/8] net: qualcomm: rename qca_framing.c to qca_common.c

2016-09-26 Thread Stefan Wahren
As preparation for the upcoming UART driver we need a module which contains common functions for both interfaces. The module qca_framing is a good candidate but renaming to qca_common would make it clear. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Makefile | 2

Re: [PATCH 1/3] dt-bindings: Add a binding for the RPi firmware GPIO driver.

2016-09-26 Thread Stefan Wahren
> Stephen Warren hat am 26. September 2016 um 18:38 > geschrieben: > > > On 09/23/2016 12:39 PM, Stefan Wahren wrote: > > Hi Eric, > > > >> Eric Anholt hat am 19. September 2016 um 18:13 > >> geschrieben: > >> > >> >

Re: [PATCH v2 8/8] ARM: bcm2835: Disable i2c2 in the Device Tree

2016-09-27 Thread Stefan Wahren
> Noralf Trønnes hat am 27. September 2016 um 13:57 > geschrieben: > > > i2c2 is connected to the HDMI connector and is controlled by the > firmware. Disable it to stay out of harms way. Until this point the commit message is okay, the rest is more confusing. Btw this should avoid a warning a

Re: [RFT PATCH v4 0/3] usb: dwc2: Fix core reset and force mode delays

2016-09-06 Thread Stefan Wahren
> Appreciate any testing on RK3188 and RPi platforms. i tested the whole series successful with a Raspberry Pi B in dr_mode "host" and "otg" Tested-by: Stefan Wahren

Re: [PATCH 1/8] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.

2016-09-07 Thread Stefan Wahren
Hi Gerd, > Gerd Hoffmann hat am 7. September 2016 um 12:31 > geschrieben: > > > From: Eric Anholt > > The BCM2835-ARM-Peripherals.pdf documentation specifies what the > function selects do for the pins, and there are a bunch of obvious > groupings to be made. With these created, we'll be abl

Re: [PATCH 4/8] ARM: dts: bcm283x: Add a new EMMC pin group from the downstream tree.

2016-09-07 Thread Stefan Wahren
> Gerd Hoffmann hat am 7. September 2016 um 12:31 > geschrieben: > > > From: Eric Anholt > > This will be used for having EMMC (sdhci-bcm2835.c) drive the > wireless. sdhci-bcm2835.c has been replaced by sdhci-iproc.c > > Signed-off-by: Eric Anholt > --- > arch/arm/boot/dts/bcm283x.dtsi

Re: [PATCH 4/8] ARM: dts: bcm283x: Add a new EMMC pin group from the downstream tree.

2016-09-08 Thread Stefan Wahren
Am 08.09.2016 um 09:44 schrieb Gerd Hoffmann: > On Mi, 2016-09-07 at 20:13 +0200, Stefan Wahren wrote: >>> Gerd Hoffmann hat am 7. September 2016 um 12:31 >>> geschrieben: >>> >>> >>> From: Eric Anholt >>> >>> This will be used

Re: [PATCH 1/8] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.

2016-09-08 Thread Stefan Wahren
Hi Gerd, > Gerd Hoffmann hat am 7. September 2016 um 12:31 > geschrieben: > > > From: Eric Anholt > > The BCM2835-ARM-Peripherals.pdf documentation specifies what the > function selects do for the pins, and there are a bunch of obvious > groupings to be made. With these created, we'll be abl

Re: [PATCH 4/8] ARM: dts: bcm283x: Add a new EMMC pin group from the downstream tree.

2016-09-09 Thread Stefan Wahren
Hi Scott, Am 08.09.2016 um 21:50 schrieb Scott Branden: > Hi Gerd/Eric > > On 16-09-08 12:44 AM, Gerd Hoffmann wrote: >> On Mi, 2016-09-07 at 20:13 +0200, Stefan Wahren wrote: >>>> Gerd Hoffmann hat am 7. September 2016 um 12:31 >>>> geschrieben: >>&

Re: [PATCH v5 0/4] mxs-lradc: Split driver into MFD

2016-08-23 Thread Stefan Wahren
Hi, [add Fabio's NXP address] > Ksenija Stanojevic hat am 18. August 2016 um > 15:44 geschrieben: > > > Split existing driver mxs-lradc into MFD with touchscreen and > IIO part. > > Tested on I.MX28. i tested the patch 1 and 2 successful on a i.MX23 boa

Re: [PATCH v6 4/4] ARM: imx6ul: add "fsl,imx6ul-snvs-lpgpr" node

2017-06-19 Thread Stefan Wahren
Am 20.06.2017 um 06:40 schrieb Oleksij Rempel: > snvs_lpgpr confirmed to work with imx6ul as well. > > Signed-off-by: Oleksij Rempel > Tested-by: Guy Shapiro > --- > Documentation/devicetree/bindings/nvmem/snvs-lpgpr.txt | 3 ++- > arch/arm/boot/dts/imx6ul.dtsi | 4

[PATCH v8 net-next 01/17] net: qualcomm: qca_7k: clean up header includes

2017-05-29 Thread Stefan Wahren
Currently the includes doesn't reflect the dependencies. So fix this up by removing all unnecessary entries and add the necessary ones explicit. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_7k.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --

[PATCH v8 net-next 04/17] net: qca_spi: Use SET_NETDEV_DEV()

2017-05-29 Thread Stefan Wahren
Use SET_NETDEV_DEV() in qca_spi to create the "/sys/class/net//device" symlink. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/qualcomm/qca_spi.c b/drivers/net/ethernet/qualcomm/qca_s

[PATCH v8 net-next 05/17] net: qualcomm: use net_device_ops instead of direct call

2017-05-29 Thread Stefan Wahren
There is no need to export qcaspi_netdev_open and qcaspi_netdev_close because they are also accessible via the net_device_ops. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_debug.c | 5 +++-- drivers/net/ethernet/qualcomm/qca_spi.c | 4 ++-- drivers/net/ethernet/qualcomm

[PATCH v8 net-next 06/17] net: qualcomm: Improve readability of length defines

2017-05-29 Thread Stefan Wahren
In order to avoid mixing things up, make the MTU and frame length defines easier to read. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_framing.c | 2 +- drivers/net/ethernet/qualcomm/qca_framing.h | 8 drivers/net/ethernet/qualcomm/qca_spi.c | 12

[PATCH v8 net-next 10/17] net: qualcomm: rename qca_framing.c to qca_7k_common.c

2017-05-29 Thread Stefan Wahren
As preparation for the upcoming UART driver we need a module which contains common functions for both interfaces. The module qca_framing is a good candidate but renaming to qca_7k_common would make it clear. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Makefile

[PATCH v8 net-next 03/17] net: qca_7k: Use BIT macro

2017-05-29 Thread Stefan Wahren
Use the BIT macro for the CONFIG and INT register values. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_7k.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/qualcomm/qca_7k.h b/drivers/net/ethernet/qualcomm/qca_7k.h

[PATCH v8 net-next 09/17] net: qca_spi: Clarify MODULE_DESCRIPTION

2017-05-29 Thread Stefan Wahren
Since this driver is specific to the QCA7000, we should make the module description more precisely. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qualcomm/qca_spi.c b/drivers/net

[PATCH v8 net-next 02/17] net: qca_framing: use u16 for frame offset

2017-05-29 Thread Stefan Wahren
It doesn't make sense to use a signed variable for offset here, so fix it up. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_framing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qualcomm/qca_framing.h b/drivers/net/eth

[PATCH v8 net-next 14/17] dt-bindings: qca7000: rename binding

2017-05-29 Thread Stefan Wahren
Before we can merge the QCA7000 UART binding the document needs to be renamed. Signed-off-by: Stefan Wahren --- .../devicetree/bindings/net/{qca-qca7000-spi.txt => qca,qca7000.txt} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Documentation/devicetree/bindings/net/{

[PATCH v8 net-next 17/17] net: qualcomm: add QCA7000 UART driver

2017-05-29 Thread Stefan Wahren
This patch adds the Ethernet over UART driver for the Qualcomm QCA7000 HomePlug GreenPHY. Signed-off-by: Stefan Wahren Reviewed-by: Lino Sanfilippo --- drivers/net/ethernet/qualcomm/Kconfig | 16 + drivers/net/ethernet/qualcomm/Makefile| 2 + drivers/net/ethernet/qualcomm

[PATCH v8 net-next 16/17] dt-bindings: qca7000: append UART interface to binding

2017-05-29 Thread Stefan Wahren
This merges the serdev binding for the QCA7000 UART driver (Ethernet over UART) into the existing document. Signed-off-by: Stefan Wahren --- .../devicetree/bindings/net/qca,qca7000.txt| 32 ++ 1 file changed, 32 insertions(+) diff --git a/Documentation/devicetree

[PATCH v8 net-next 00/17] net: qualcomm: add QCA7000 UART driver

2017-05-29 Thread Stefan Wahren
using netif_trans_update() and dev_trans_start() [1] - https://github.com/IoE/qca7000 Stefan Wahren (17): net: qualcomm: qca_7k: clean up header includes net: qca_framing: use u16 for frame offset net: qca_7k: Use BIT macro net: qca_spi: Use SET_NETDEV_DEV() net: qualcomm: use net_device_ops

[PATCH v8 net-next 11/17] net: qualcomm: prepare frame decoding for UART driver

2017-05-29 Thread Stefan Wahren
Unfortunately the frame format is not exactly identical between SPI and UART. In case of SPI there is an additional HW length at the beginning. So store the initial state to make the decoding state machine more flexible and easy to extend for UART support. Signed-off-by: Stefan Wahren

[PATCH v8 net-next 13/17] dt-bindings: qca7000-spi: Rework binding

2017-05-29 Thread Stefan Wahren
In preparation for the QCA7000 UART binding rework the binding document. Signed-off-by: Stefan Wahren --- .../devicetree/bindings/net/qca-qca7000-spi.txt| 49 +- 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/Documentation/devicetree/bindings/net/qca

[PATCH v8 net-next 12/17] net: qualcomm: make qca_7k_common a separate kernel module

2017-05-29 Thread Stefan Wahren
In order to share common functions between QCA7000 SPI and UART protocol driver the qca_7k_common needs to be a separate kernel module. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Kconfig | 8 +++- drivers/net/ethernet/qualcomm/Makefile| 5 +++-- drivers

[PATCH v8 net-next 15/17] dt-bindings: slave-device: add current-speed property

2017-05-29 Thread Stefan Wahren
This adds a new DT property to define the current baud rate of the slave device. Signed-off-by: Stefan Wahren Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/serial/slave-device.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v8 net-next 08/17] net: qualcomm: move qcaspi_tx_cmd to qca_spi.c

2017-05-29 Thread Stefan Wahren
The function qcaspi_tx_cmd() is only called from qca_spi.c. So we better move it there. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_7k.c | 24 drivers/net/ethernet/qualcomm/qca_7k.h | 1 - drivers/net/ethernet/qualcomm/qca_spi.c | 24

[PATCH v8 net-next 07/17] net: qca_spi: remove QCASPI_MTU

2017-05-29 Thread Stefan Wahren
There is no need for an additional MTU define. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_spi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qualcomm/qca_spi.c b/drivers/net/ethernet/qualcomm/qca_spi.c index f155548..7464628

Re: [PATCH 1/2] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER

2017-05-30 Thread Stefan Wahren
Hi Phil, > Phil Elwell hat am 30. Mai 2017 um 18:28 geschrieben: > > > Restrict clock sources for the PCM peripheral to the oscillator and > PLLD_PER because other source may have varying rates or be switched off. > Prevent other sources from being selected by replacing their names in > the li

Re: [PATCH 2/2] clk: bcm2835: Minimise clock jitter for PCM clock

2017-05-30 Thread Stefan Wahren
Hi Phil, > Phil Elwell hat am 30. Mai 2017 um 18:28 geschrieben: > > > Fractional clock dividers generate accurate average frequencies but > with jitter, particularly when the integer divisor is small. > > Introduce a new metric of clock accuracy to penalise clocks with a good > average but wo

Re: [GIT PULL 1/2] bcm2835-dt-fixes-2017-10-06

2017-11-01 Thread Stefan Wahren
Hi Matt, hi Peter, Am 01.11.2017 um 10:37 schrieb Peter Robinson: > On Tue, Oct 31, 2017 at 5:00 PM, Matt Hart wrote: >> On 6 October 2017 at 23:14, Florian Fainelli wrote: >>> On 10/06/2017 03:05 PM, Eric Anholt wrote: Hi Florian. Here's a patch that's gone through a couple of revisions >

Re: [GIT PULL 1/2] bcm2835-dt-fixes-2017-10-06

2017-11-01 Thread Stefan Wahren
Hi Matt, > Matt Hart hat am 1. November 2017 um 14:06 geschrieben: > > > On 1 November 2017 at 12:05, Stefan Wahren wrote: > > Hi Matt, hi Peter, > > > > Am 01.11.2017 um 10:37 schrieb Peter Robinson: > >> On Tue, Oct 31, 2017 at 5:00 PM, Matt Hart

Re: [PATCH 00/12] bcm63xx-rng conversion to bcm2835-rng

2017-11-02 Thread Stefan Wahren
Hi Florian, > Florian Fainelli hat am 2. November 2017 um 02:03 > geschrieben: > > > Hi, > > As it usually happens when there is a fair amount of HW IP block re-use, > competing implementations show up. In that case the BCM2835 HWRNG driver and > the BCM63xx RNG driver have exactly the same r

Re: [PATCH 00/12] bcm63xx-rng conversion to bcm2835-rng

2017-11-02 Thread Stefan Wahren
Hi Florian, > Florian Fainelli hat am 2. November 2017 um 02:03 > geschrieben: > > > Hi, > > As it usually happens when there is a fair amount of HW IP block re-use, > competing implementations show up. In that case the BCM2835 HWRNG driver and > the BCM63xx RNG driver have exactly the same r

Re: [PATCH 07/12] hwrng: bcm2835-rng: Manage an optional clock

2017-11-04 Thread Stefan Wahren
Hi Florian, > Florian Fainelli hat am 2. November 2017 um 02:04 > geschrieben: > > > One of the last steps before bcm63xx-rng can be eliminated is to manage > a clock during hwrng::init and hwrng::cleanup, so fetch it in the probe > function, and manage it during these two steps when valid. >

Re: [PATCH 07/12] hwrng: bcm2835-rng: Manage an optional clock

2017-11-04 Thread Stefan Wahren
> Florian Fainelli hat am 4. November 2017 um 18:59 > geschrieben: > > > Hi Stefan, > > On 11/04/2017 06:50 AM, Stefan Wahren wrote: > > Hi Florian, > > > >> Florian Fainelli hat am 2. November 2017 um 02:04 > >> geschrieben: > >&g

Re: [PATCH 11/12] hwrng: bcm2835-rng: Enable BCM2835 RNG to work on BCM63xx platforms

2017-11-04 Thread Stefan Wahren
Hi Florian > Florian Fainelli hat am 2. November 2017 um 02:04 > geschrieben: > > > We have now incorporated all necessary functionality for the BCM63xx > platforms to successfully migrate over bcm2835-rng, so add the final > bits: Kconfig selection and proper platform_device device type match

Re: [1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-05 Thread Stefan Wahren
Hi Michal, the dwc2 USB driver on BCM2835 in linux-next is affected by the CMA allocation issue. A quick web search guide me to your patch, which avoid the issue. Since the patch wasn't accepted, i want to know is there another solution? Is this an issue in dwc2? Best regards Stefan

Re: [1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-06 Thread Stefan Wahren
Am 06.11.2017 um 09:14 schrieb Michal Hocko: > On Sun 05-11-17 22:56:32, Stefan Wahren wrote: >> Hi Michal, >> >> the dwc2 USB driver on BCM2835 in linux-next is affected by the CMA >> allocation issue. A quick web search guide me to your patch, which >> avoid the

Re: [PATCH v2] usb: dwc2: host: Don't retry NAKed transactions right away

2017-10-28 Thread Stefan Wahren
303 serial adapters tend to respond with a NAK when they have > nothing to say and thus we end with this same sequence. This patch fixes "dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s" on bcm2835. After applying your patch on linux-next plus "mm: drop migrate type ch

Re: [PATCH] staging: vc04_services: Convert timers to use timer_setup()

2017-10-28 Thread Stefan Wahren
c: Greg Kroah-Hartman > Cc: Eric Anholt > Cc: Stefan Wahren > Cc: Michael Zoran > Cc: Keerthi Reddy > Cc: linux-rpi-ker...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org > Cc: de...@driverdev.osuosl.org > Signed-off-by: Kees Cook Tested-by: Stefan Wahren

Re: [PATCH] iio: mxs-lradc: Fix temperature offset

2015-10-06 Thread Stefan Wahren
Hi, > Alexandre Belloni hat am 6. Oktober > 2015 um 16:22 geschrieben: > > > 0° Kelvin is actually −273.15°C, not -272.15°C. Fix the temperature offset. > > Reported-by: Janusz Użycki > Signed-off-by: Alexandre Belloni > --- > drivers/staging/iio/adc/mxs-lradc.c | 6 +++--- > 1 file changed, 3 i

Re: [PATCH v4] clk: bcm2835: Add support for programming the audio domain clocks.

2015-10-06 Thread Stefan Wahren
Hi Eric, Am 02.10.2015 um 21:54 schrieb Eric Anholt: This adds support for enabling, disabling, and setting the rate of the audio domain clocks. It will be necessary for setting the pixel clock for HDMI in the VC4 driver and let us write a cpufreq driver. It will also improve compatibility wit

Re: [PATCH] iio: mxs-lradc: Fix temperature offset

2015-10-07 Thread Stefan Wahren
Am 07.10.2015 um 02:44 schrieb Alexandre Belloni: > Hi, > > On 07/10/2015 at 01:19:09 +0200, Marek Vasut wrote : /* The calculated value from the ADC is in Kelvin, we * want Celsius for hwmon so the offset is - * -272.15 * scale + * -273.15 * scale */ - *val = -1075; >

Re: [PATCH v2] iio: mxs-lradc: Fix temperature offset

2015-10-07 Thread Stefan Wahren
Am 07.10.2015 um 13:10 schrieb Alexandre Belloni: > 0° Kelvin is actually −273.15°C, not -272.15°C. Fix the temperature offset. > Also improve the comment explaining the calculation. > > Reported-by: Janusz Użycki > Signed-off-by: Alexandre Belloni Acked-by: Stefan Wahren

Re: [PATCH v3 3/7] drm/vc4: Add KMS support for Raspberry Pi.

2015-10-13 Thread Stefan Wahren
Am 13.10.2015 um 20:19 schrieb Eric Anholt: Stefan Wahren writes: diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig new file mode 100644 index 000..e810ef7 --- /dev/null +++ b/drivers/gpu/drm/vc4/Kconfig @@ -0,0 +1,13 @@ +config DRM_VC4 + tristate "Broadco

Re: [PATCH v3 3/7] drm/vc4: Add KMS support for Raspberry Pi.

2015-10-13 Thread Stefan Wahren
Am 13.10.2015 um 20:50 schrieb Stefan Wahren: Am 13.10.2015 um 20:19 schrieb Eric Anholt: Stefan Wahren writes: diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig new file mode 100644 index 000..e810ef7 --- /dev/null +++ b/drivers/gpu/drm/vc4/Kconfig @@ -0,0 +1,13

Re: [PATCH] staging/vc04_services: Fix alignment of function arguments

2018-08-06 Thread Stefan Wahren
Hi, Am 06.08.2018 um 06:07 schrieb Greg Gallagher: Fix warning generated by checkpatch.pl for alignment should match open parenthesis. This is a coding style change only. Signed-off-by: Greg Gallagher --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +- 1 file changed, 1 i

Re: [PATCH v2] staging/bcm2835-audio: Fix alignment of function arguments - Style

2018-08-09 Thread Stefan Wahren
> Greg Gallagher hat am 8. August 2018 um 03:40 > geschrieben: > > > Fix warnings generated by checkpatch.pl for alignment should match open > parenthesis. This is a coding style change only. > > Signed-off-by: Greg Gallagher Acked-by: Stefan Wahren

Re: [PATCH] ARM: dts: imx6ull: correct machine model name

2018-08-22 Thread Stefan Wahren
Hi Anson, Am 23.08.2018 um 08:30 schrieb Anson Huang: > i.MX6ULL is a lite version of i.MX6UL, its full name > is i.MX6 UltraLiteLite, NOT UlltraLite. > > Signed-off-by: Anson Huang > --- > arch/arm/boot/dts/imx6ull-14x14-evk.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [PATCH v8 0/6] provide power off support for iMX6 with external PMIC

2018-07-26 Thread Stefan Wahren
Hi Oleksij, Am 26.07.2018 um 11:22 schrieb Oleksij Rempel: 2018.07.26: v8 is a rebase against kernel v4.18-rc6. No other changes are made. Added: linux-...@nxp.com and yibin.g...@nxp.com to the CC. your patches won't apply to regulator-next or linux-next because "regulator: pfuze100: add pfuz

Re: [PATCH] phy: work around 'phys' references to usb-nop-xceiv devices

2018-01-12 Thread Stefan Wahren
[add some potential testers] > Arnd Bergmann hat am 12. Januar 2018 um 11:12 geschrieben: > > > Stefan Wahren reports a problem with a warning fix that was merged > for v4.15: we had lots of device nodes with a 'phys' property pointing > to a device node that is no

Re: [PATCH] phy: work around 'phys' references to usb-nop-xceiv devices

2018-01-19 Thread Stefan Wahren
Am 12.01.2018 um 20:54 schrieb Rob Herring: > On Fri, Jan 12, 2018 at 4:12 AM, Arnd Bergmann wrote: >> Stefan Wahren reports a problem with a warning fix that was merged >> for v4.15: we had lots of device nodes with a 'phys' property pointing >> to a device node

[Bug] Endless deferred probe of dwc2 on RPi 3

2018-01-05 Thread Stefan Wahren
Hi, i noticed on my Raspberry Pi 3 (Linux 4.15rc6, ARM64, defconfig) that probing of dwc2 driver is deferred endlessly. This issue is triggered by a recent DT clean up 014d6da6cb25 ("ARM: dts: bcm283x: Fix DTC warnings about missing phy-cells") which is correct according to Documentation/device

[PATCH] Revert "ARM: dts: bcm283x: Fix DTC warnings about missing phy-cells"

2018-01-07 Thread Stefan Wahren
This reverts commit 014d6da6cb2525d7f48fb08c705cb130cc7b5f4a. The DT clean up could trigger an endless deferred probe of DWC2 USB driver on the Raspberry Pi 2/3. So revert the change until we fixed the probing issue. Signed-off-by: Stefan Wahren --- Hi Arnd, hi Olof, i hope this has a chance

Re: [PATCH] Revert "ARM: dts: bcm283x: Fix DTC warnings about missing phy-cells"

2018-01-08 Thread Stefan Wahren
Hi Eric, Am 07.01.2018 um 23:08 schrieb Eric Anholt: Stefan Wahren writes: This reverts commit 014d6da6cb2525d7f48fb08c705cb130cc7b5f4a. The DT clean up could trigger an endless deferred probe of DWC2 USB driver on the Raspberry Pi 2/3. So revert the change until we fixed the probing issue

Re: [PATCH] Revert "ARM: dts: bcm283x: Fix DTC warnings about missing phy-cells"

2018-01-08 Thread Stefan Wahren
Hi Arnd, Am 08.01.2018 um 10:27 schrieb Arnd Bergmann: On Mon, Jan 8, 2018 at 10:15 AM, Stefan Wahren wrote: Hi Eric, Am 07.01.2018 um 23:08 schrieb Eric Anholt: Stefan Wahren writes: This reverts commit 014d6da6cb2525d7f48fb08c705cb130cc7b5f4a. The DT clean up could trigger an endless

Re: [PATCH v3 3/6] dt-bindings: soc: Add a binding for the Broadcom VCHIQ services. (v3)

2018-03-09 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 9. März 2018 um 19:44 geschrieben: > > > The VCHIQ communication channel can be provided by BCM283x and Capri > SoCs, to communicate with the VPU-side OS services. > > Signed-off-by: Eric Anholt > --- > > v2: VCHI->VCHIQ, dropped firmware property, added cache-l

Re: [PATCH v2] staging: vchiq_arm: Clear VLA warning

2018-03-11 Thread Stefan Wahren
Hi Tobin, > "Tobin C. Harding" hat am 12. März 2018 um 06:46 geschrieben: > > > On Mon, Mar 12, 2018 at 12:37:53PM +1100, Tobin C. Harding wrote: > > The kernel would like to have all stack VLA usage removed[1]. The array > > here is fixed (declared with a const variable) but it appears like a

Re: [PATCH] ARM: bcm2835: Add the DPI hardware to the device tree.

2018-03-12 Thread Stefan Wahren
> Eric Anholt hat am 10. März 2018 um 00:36 geschrieben: > > > It's currently marked disabled, as it's not useful without a panel > associated with it and the GPIO pins routed to ALT2. > > Signed-off-by: Eric Anholt > --- > FWIW, Acked-by: Stefan Wahren

Re: [PATCH 2/5] staging: vc04_services: Remove cache-line-size property.

2018-03-06 Thread Stefan Wahren
Hi Eric, Am 05.03.2018 um 21:28 schrieb Eric Anholt: This was just a way for the DT-passed value to get out of sync with what Linux has configured the ARM for. Signed-off-by: Eric Anholt --- .../interface/vchiq_arm/vchiq_2835_arm.c | 25 +++--- .../interface/vchiq

Re: [PATCH v2 1/3] pinctrl: bcm2835: switch to GENERIC_PINCONF

2018-03-07 Thread Stefan Wahren
Hi Matheus, > Matheus Castello hat am 5. März 2018 um 03:29 > geschrieben: > > > To enable support for generic binding in the pinctrl-bcm2835 and use pinctrl > generic to parse properties the GENERIC_PINCONF have to be selected. > > Signed-off-by: Matheus Castello > --- > drivers/pinctrl/bc

Re: [PATCH v2 0/3] pinctrl: bcm2835: Add brcm,level property

2018-03-07 Thread Stefan Wahren
Hi Matheus, > Matheus Castello hat am 5. März 2018 um 03:29 > geschrieben: > > > Hi Linus and Stefan, > > thanks for the tips. > > This series adds support for generic binding for pinctrl bcm2835 driver, > and add the code for set output buffer of a pin using the output-low and > output-high

Re: [PATCH 2/5] staging: vc04_services: Remove cache-line-size property.

2018-03-07 Thread Stefan Wahren
Hi Phil, > Phil Elwell hat am 7. März 2018 um 09:02 geschrieben: > > > Hi Eric, > > On 06/03/2018 19:02, Eric Anholt wrote: > > Stefan Wahren writes: > > > >> Hi Eric, > >> > >> > >> Am 05.03.2018 um 21:28 schrieb Eric Anhol

Re: [PATCH/RFC] soc: bcm2835: Make !RASPBERRYPI_FIRMWARE dummies return failure

2018-04-08 Thread Stefan Wahren
Hi Geert, [add Phil] > Geert Uytterhoeven hat am 8. April 2018 um 11:05 > geschrieben: > > > If CONFIG_RASPBERRYPI_FIRMWARE=n: > > drivers/gpio/gpio-raspberrypi-exp.c: In function > ‘rpi_exp_gpio_get_polarity’: > drivers/gpio/gpio-raspberrypi-exp.c:71: warning: ‘get.polarity’ is use

Re: [PATCH 1/3] drm/vc4: Remove the need for the GPU-subsystem DT node.

2018-04-10 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 10. April 2018 um 01:00 geschrieben: > > > The GPU subsystem node was a workaround to have a central device to > bind V3D and display to. Following the lead of 246774d17fc0 > ("drm/etnaviv: remove the need for a gpu-subsystem DT node"), remove > the subsystem node

Re: [PATCH v2 0/3] pinctrl: bcm2835: Add brcm,level property

2018-03-08 Thread Stefan Wahren
Hi Matheus, > Matheus Castello hat am 8. März 2018 um 01:12 > geschrieben: > > > Hi Stefan, > > On 03/07/2018 07:58 AM, Stefan Wahren wrote: > > Hi Matheus, > > > >> Matheus Castello hat am 5. März 2018 um 03:29 > >> geschrieben: >

Re: [PATCH] usb: dwc2: Print error if unable to set DMA coherent mask

2018-03-08 Thread Stefan Wahren
> Stefan Wahren hat am 12. Februar 2018 um 21:20 > geschrieben: > > > We better print an error in case probing of dwc2 fails on > setting the DMA coherent mask. > > Signed-off-by: Stefan Wahren > --- > drivers/usb/dwc2/platform.c | 4 +++- > 1 file cha

Re: [PATCH v2 1/6] staging: vc04_services: Replace "firmware" node with a compatible lookup.

2018-03-08 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 7. März 2018 um 19:57 geschrieben: > > > This was requested by Rob Herring in DT bindings review. > > Signed-off-by: Eric Anholt Acked-by: Stefan Wahren for Patches V2: #1, #4, #5 I'm okay with #6 as long as it's unused by any new driver. Stefan

Re: [PATCH v3 3/3] pinctrl: bcm2835: Update docs about generic pinctrl bindings support

2018-03-09 Thread Stefan Wahren
Hi Matheus, > Matheus Castello hat am 9. März 2018 um 05:16 > geschrieben: > > > Now we have generic pin configuration and multiplexing support, > ahd shoud be preferred than brcm legacy one. i suspect this patch won't get noticed by the DT maintainer because of the wrong subject. Please tr

Re: [PATCH 05/17] clocksource: bcm2835: Switch to SPDX identifier

2018-11-23 Thread Stefan Wahren
Hi Daniel, Am 12.11.2018 um 07:56 schrieb Daniel Lezcano: > On 10/11/2018 16:28, Stefan Wahren wrote: >> Adopt the SPDX license identifier headers to ease license compliance >> management. Also drop the FSF address. >> >> Cc: Simon Arlott >> Signed-off-by:

Re: [PATCH 10/17] mailbox: bcm2835: Switch to SPDX identifier

2018-11-23 Thread Stefan Wahren
Hi Jassi, Am 11.11.18 um 12:25 schrieb Lubomir Rintel: > On Sat, 2018-11-10 at 16:59 +0100, Stefan Wahren wrote: >> Adopt the SPDX license identifier headers to ease license compliance >> management. >> >> Cc: Lubomir Rintel >> Signed-off-by: Stefan Wahren &

Re: [PATCH 09/17] irqchip: bcm283x: Switch to SPDX identifier

2018-11-23 Thread Stefan Wahren
Hi Jason, hi Marc, Am 10.11.18 um 16:54 schrieb Stefan Wahren: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Cc: Simon Arlott > Cc: Eric Anholt > Signed-off-by: Stefan Wahren > --- > drivers/irqchip/irq-bcm2835.c | 11 +-

Re: [PATCH 09/17] irqchip: bcm283x: Switch to SPDX identifier

2018-11-23 Thread Stefan Wahren
Hi Marc, > Marc Zyngier hat am 23. November 2018 um 16:34 > geschrieben: > > > On 23/11/2018 15:23, Stefan Wahren wrote: > > Hi Jason, > > hi Marc, > > > > Am 10.11.18 um 16:54 schrieb Stefan Wahren: > >> Adopt the SPDX license identifier he

Re: [PATCH 00/16] staging: vchiq: dead code removal & misc fixes

2018-11-26 Thread Stefan Wahren
- Update probe/init commit message (commit 14) > - Update TODO commit message and clean up (commit 16) > - Fix spelling on some of the patches > The whole series is Acked-by: Stefan Wahren Unfortunately patch 05 might not apply.

Re: [PATCH 00/16] staging: vchiq: dead code removal & misc fixes

2018-11-20 Thread Stefan Wahren
Am 20.11.18 um 11:04 schrieb Nicolas Saenz Julienne: > On Tue, 2018-11-20 at 10:57 +0100, Greg KH wrote: >> On Sun, Nov 18, 2018 at 04:55:49PM +0100, Stefan Wahren wrote: >>> Hi Nicolas, >>> >>> >>> without a changelog i won't start a review. &g

Re: [PATCH 0/8] BCM2835 PM driver

2018-11-20 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 20. November 2018 um 18:19 geschrieben: > > > This series moves the BCM2835 WDT driver that controls a fraction of > the PM block out to soc/ and adds most of the rest of its > functionality. My motivation has been to have V3D be functional > without firmware call

  1   2   3   4   5   6   7   8   >