[PATCH] csky: dts: Add NationalChip GX6605S

2019-06-24 Thread Andreas Färber
Add Device Trees for NationalChip GX6605S SoC (based on CK610 CPU) and its dev board. GxLoader expects as filename gx6605s.dtb, so keep that. The bootargs are prepared to boot from USB and to output to serial. Compatibles for the SoC and board are left out for now. Signed-off-by: Andreas Färber

Re: [PATCH 3/4] regulator: Add regulator driver for ATC260x PMICs

2019-06-17 Thread Andreas Färber
Hi, Am 17.06.19 um 18:34 schrieb Manivannan Sadhasivam: > On Mon, Jun 17, 2019 at 05:30:15PM +0100, Mark Brown wrote: >> On Mon, Jun 17, 2019 at 09:20:10PM +0530, Manivannan Sadhasivam wrote: >> >>> +++ b/drivers/regulator/atc260x-regulator.c >>> @@ -0,0 +1,389 @@ >>> +// SPDX-License-Identifier:

Re: [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema

2019-06-14 Thread Andreas Färber
Am 14.06.19 um 19:04 schrieb Manivannan Sadhasivam: > On Thu, Jun 13, 2019 at 04:44:35PM -0600, Rob Herring wrote: >> On Fri, May 17, 2019 at 10:32:23AM -0500, Rob Herring wrote: >>> Convert Actions Semi SoC bindings to DT schema format using json-schema. >>> >&

Re: [PATCH 4/7] arm64: dts: actions: Add uSD and eMMC support for Bubblegum96

2019-06-10 Thread Andreas Färber
Hi Mani, Am 08.06.19 um 21:53 schrieb Manivannan Sadhasivam: > Add uSD and eMMC support for Bubblegum96 board based on Actions Semi > Owl SoC. What information does "based on Actions Semi Owl SoC" give us? :) The board name should be unique enough - Owl is a family of SoCs, "actions:" is in the s

Re: [PATCH 2/7] dt-bindings: mmc: Add Actions Semi SD/MMC/SDIO controller binding

2019-06-10 Thread Andreas Färber
Am 08.06.19 um 21:53 schrieb Manivannan Sadhasivam: > Add devicetree binding for Actions Semi Owl SoC's SD/MMC/SDIO controller. > > Signed-off-by: Manivannan Sadhasivam > --- > .../devicetree/bindings/mmc/owl-mmc.txt | 37 +++ > 1 file changed, 37 insertions(+) > create mo

Re: [PATCH 1/7] clk: actions: Fix factor clk struct member access

2019-06-10 Thread Andreas Färber
Hi Mani, Am 08.06.19 um 21:53 schrieb Manivannan Sadhasivam: > Since the helper "owl_factor_helper_round_rate" is shared between factor > and composite clocks, using the factor clk specific helper function > like "hw_to_owl_factor" to access its members will create issues when > called from compos

Re: [PATCH v3 0/6] Prerequisites for NXP LS104xA SMMU enablement

2019-06-03 Thread Andreas Färber
Am 31.05.19 um 19:32 schrieb Laurentiu Tudor: >> -Original Message- >> From: Andreas Färber >> Sent: Friday, May 31, 2019 8:04 PM >> >> Hello Laurentiu, >> >> Am 31.05.19 um 18:46 schrieb Laurentiu Tudor: >>>> -Original Message

Re: [PATCH] clk: actions: Use the correct style for SPDX License Identifier

2019-05-02 Thread Andreas Färber
Am 02.05.19 um 12:38 schrieb Greg Kroah-Hartman: > On Thu, May 02, 2019 at 12:25:36PM +0200, Andreas Färber wrote: >> Am 02.05.19 um 09:07 schrieb Greg Kroah-Hartman: >>> On Wed, May 01, 2019 at 10:20:44PM +0200, Andreas Färber wrote: >>>> + linux-actions >>

Re: [PATCH] clk: actions: Use the correct style for SPDX License Identifier

2019-05-02 Thread Andreas Färber
Am 02.05.19 um 09:07 schrieb Greg Kroah-Hartman: > On Wed, May 01, 2019 at 10:20:44PM +0200, Andreas Färber wrote: >> + linux-actions >> >> Am 01.05.19 um 09:07 schrieb Nishad Kamdar: >>> This patch corrects the SPDX License Identifier style >>> in header fil

Re: [PATCH] clk: actions: Use the correct style for SPDX License Identifier

2019-05-01 Thread Andreas Färber
+ linux-actions Am 01.05.19 um 09:07 schrieb Nishad Kamdar: > This patch corrects the SPDX License Identifier style > in header files related to Clock Drivers for Actions Semi Socs. > For C header files Documentation/process/license-rules.rst > mandates C-like comments (opposed to C source files w

Re: [PATCH v8 0/6] Add Fieldbus subsystem + support HMS Profinet card

2019-03-11 Thread Andreas Färber
Am 11.03.19 um 18:02 schrieb Sven Van Asbroeck: > On Fri, Feb 8, 2019 at 9:14 AM Greg KH wrote: >> >> Well, who wants this code? Who uses it? Find those people and get them >> to review it. If no one wants it or uses it, that kind of implies that >> it's not needed :) > > We have customers who

Re: [PATCH v2 01/15] ARM: actions: fix a leaked reference by addingmissing of_node_put

2019-03-06 Thread Andreas Färber
Hi Wen, Am 06.03.19 um 04:18 schrieb wen.yan...@zte.com.cn: > On Tue, Mar 05, 2019 at 07:41 PM +0800, RussellKing wrote: >> Subject: Re: [PATCH v2 01/15] ARM: actions: fix a leaked reference by >> addingmissing of_node_put >> On Tue, Mar 05, 2019 at 07:33:52PM +0800, Wen Yang wrote: >>> The call

Re: [PATCH v2 1/4] dt-bindings: Add vendor prefix for MaxBotix

2019-03-04 Thread Andreas Färber
Am 01.03.19 um 14:41 schrieb Andreas Klinger: > Add MaxBotix, which is a vendor of ultrasonic rangers in different > varieties and interfaces. > > Signed-off-by: Andreas Klinger Reviewed-by: Andreas Färber Thanks, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germa

Re: [PATCH 2/4] iio/proximity: add mb12x2 driver to Kconfig and Makefile

2019-02-24 Thread Andreas Färber
Am 24.02.19 um 17:22 schrieb Andreas Klinger: > Makefile and Kconfig: add configuration for mb12x2 ultrasonic proximity > driver > > Signed-off-by: Andreas Klinger > --- > drivers/iio/proximity/Kconfig | 11 +++ > drivers/iio/proximity/Makefile | 1 + > 2 files changed, 12 insertions(+

Re: [PATCH 1/4] maxbotix,mb12x2.txt: add dt doc for maxbotix,mb12x2

2019-02-24 Thread Andreas Färber
Hi Andreas, Am 24.02.19 um 17:22 schrieb Andreas Klinger: > add dt doc for maxbotix,mb12x2 and also a new vendor prefix maxbotix Please don't mix the two. The subject prefix should be "dt-bindings:". Please compare git log. And please avoid putting the whole world in To rather than CC. > > Sign

Re: [RFC net-next 1/4] net: Reserve protocol identifiers for EnOcean

2019-02-17 Thread Andreas Färber
Hi Alex, Am 01.02.19 um 01:58 schrieb Alexander Aring: > On Wed, Jan 30, 2019 at 02:42:29AM +0100, Andreas Färber wrote: >> Am 29.01.19 um 13:57 schrieb Alexander Aring: >>> On Tue, Jan 29, 2019 at 06:01:27AM +0100, Andreas Färber wrote: >>>> EnOcean wireless technol

Re: [PATCH 01/11] dt-bindings: Add vendor prefix for Silicon Linux.

2019-02-15 Thread Andreas Färber
Hi Lukasz and Fabrizio, Am 15.02.19 um 07:52 schrieb Lukasz Majewski: > The best approach is to run: > > git format patch -1 > > And then > > scripts/get_maintainer.pl 0001-xxx > > You shall see the the list of people to send the patch. No, that does not answer his question. And please

Re: [RFC net-next 1/4] net: Reserve protocol identifiers for EnOcean

2019-01-29 Thread Andreas Färber
Hi Alex, Am 29.01.19 um 13:57 schrieb Alexander Aring: > On Tue, Jan 29, 2019 at 06:01:27AM +0100, Andreas Färber wrote: >> EnOcean wireless technology is based on ASK (ERP1) and FSK (ERP2) modulations >> for sub-GHz and on IEEE 802.15.4 for 2.4 GHz. >> > > I am not s

[RFC net-next 4/4] net: enocean: Prepare ESP2 support

2019-01-28 Thread Andreas Färber
The EnOcean Serial Protocol 2 used subtelegram frames different from ESP3. It also uses ORG identifiers differing from RORG identifiers in ERP. Only checksumming has been tested. Signed-off-by: Andreas Färber --- drivers/net/enocean/Makefile | 1 + drivers/net/enocean/enocean_esp.c

[RFC net-next 2/4] net: Prepare EnOcean device drivers

2019-01-28 Thread Andreas Färber
Add net_device helpers for EnOcean. Signed-off-by: Andreas Färber --- drivers/net/enocean/Makefile | 2 + drivers/net/enocean/enocean.c | 124 ++ include/linux/enocean/dev.h | 23 3 files changed, 149 insertions(+) create mode 100644

[RFC net-next 0/4] net: EnOcean prototype driver

2019-01-28 Thread Andreas Färber
ml Only downside was that for lack of an include/uapi/linux/enocean.h header file I had to resort to a patch not included here to define ETH_P_ERP2 etc. for lack of obvious ways to prepend my own if_{ether,arp}.h files. Andreas Färber (4): net: Reserve protocol identifiers for EnOcean net:

[RFC net-next 1/4] net: Reserve protocol identifiers for EnOcean

2019-01-28 Thread Andreas Färber
EnOcean wireless technology is based on ASK (ERP1) and FSK (ERP2) modulations for sub-GHz and on IEEE 802.15.4 for 2.4 GHz. ARPHRD_ENOCEAN ETH_P_ERP{1,2} Signed-off-by: Andreas Färber --- include/uapi/linux/if_arp.h | 1 + include/uapi/linux/if_ether.h | 2 ++ 2 files changed, 3 insertions

[RFC net-next 3/4] net: enocean: Add ESP3 driver

2019-01-28 Thread Andreas Färber
This implements the EnOcean Serial Protocol 3. Rudimentary sending is prepared. Error handling is lacking and reception handling is missing. Tested with EnOcean TCM310 gateway module. Signed-off-by: Andreas Färber --- drivers/net/enocean/Makefile | 4 + drivers/net/enocean

Re: [PATCH v7 1/6] fieldbus_dev: add Fieldbus Device subsystem.

2019-01-22 Thread Andreas Färber
Am 22.01.19 um 17:56 schrieb Paul Gortmaker: > [[PATCH v7 1/6] fieldbus_dev: add Fieldbus Device subsystem.] On 22/01/2019 > (Tue 10:21) Sven Van Asbroeck wrote: > >> Fieldbus device (client) adapters allow data exchange with a PLC aka. >> "Fieldbus Controller" over a fieldbus (Profinet, FLNet, e

Re: [PATCH v3 1/2] dt-bindings: Add vendor prefix for Catalyst Semiconductor

2019-01-21 Thread Andreas Färber
Am 21.01.19 um 10:57 schrieb Martyn Welch: > Add vendor prefix "catalyst" for Catalyst Semiconductor which is > already in use but undocumented. > > Signed-off-by: Martyn Welch > Reviewed-by: Rob Herring Reviewed-by: Andreas Färber Thanks, Andreas -- SUSE Linux G

Re: [RFC net-next] net: Z-Wave driver prototype

2019-01-21 Thread Andreas Färber
Hi, Am 20.01.19 um 19:56 schrieb Randy Dunlap: > On 1/20/19 10:33 AM, Andreas Färber wrote: >> Tested as external kernel module, so Kconfig/Makefile integration missing. [...] >> diff --git a/drivers/net/zwave/Makefile b/drivers/net/zwave/Makefile >> new file mode 100644

[RFC net-next] net: Z-Wave driver prototype

2019-01-20 Thread Andreas Färber
serial protocol, and it would not work with any tty based userspace applications. Cc: TL Lim Signed-off-by: Andreas Färber --- drivers/net/zwave/Makefile | 1 + drivers/net/zwave/zwave.c | 236 + 2 files changed, 237 insertions(+) create mode 100644 dr

Re: [PATCH v2 1/2] dt-bindings: Add vendor prefix for Catalyst Semiconductor

2019-01-19 Thread Andreas Färber
Hi Martyn, Am 18.01.19 um 20:48 schrieb Martyn Welch: > Add vendor prefix "catalyst" for Catalyst Semiconductor which is > already in use but undocumented. > > Signed-off-by: Martyn Welch > Reviewed-by: Rob Herring > --- > > Changes in v2: None > > Documentation/devicetree/bindings/vendor-pr

Re: [PATCH 01/11] dt-bindings: Add vendor prefix for Silicon Linux.

2019-01-17 Thread Andreas Färber
ters, so placement in file and tab-indentation is fine, too. > sifive SiFive, Inc. > sigmaSigma Designs, Inc. > sii Seiko Instruments, Inc. Personally I would drop the full stop at the end of the subject, but anyway: Reviewed-by: Andreas Färber Thanks, Andreas P.S. Plea

Re: [RFC PATCH 1/5] net: lorawan: Refine the coding style

2019-01-16 Thread Andreas Färber
Am 16.01.19 um 15:33 schrieb Jiri Pirko: > Wed, Jan 16, 2019 at 03:24:54PM CET, starni...@g.ncu.edu.tw wrote: >> Signed-off-by: Jian-Hong Pan >> --- > > Patches like this are in general frowned upon. Do one change in one > patch. Put some patch description. This patch simply shouldn't have gone

Re: [RFC PATCH 5/5] net: lorawan: Split skb definitions into another header

2019-01-16 Thread Andreas Färber
Am 16.01.19 um 15:36 schrieb Jiri Pirko: > Wed, Jan 16, 2019 at 03:25:02PM CET, starni...@g.ncu.edu.tw wrote: >> Split LoRaWAN related skb definitions from lora/lorawan_netdev.h into >> another header lora/lorawan_skb.h. > > What is the motivation for this change? I suggested it because skbs coul

Re: [PATCH lora-next 4/4] dt-bindings: lora: sx130x: add clock bindings

2019-01-11 Thread Andreas Färber
Am 08.01.19 um 09:41 schrieb Ben Whitten: > The sx130x family consumes two clocks, a 32MHz clock provided by a > connected IQ transceiver, and a 133MHz high speed clock. > > In the example we connect the concentrator to output 0 of a fixed clock > providing the 133MHz high speed clock, and we conn

Re: [PATCH lora-next 3/4] dt-bindings: lora: sx125x: add clock bindings

2019-01-11 Thread Andreas Färber
Am 08.01.19 um 09:41 schrieb Ben Whitten: > The sx125x consumes a 32MHz clock and if it is coupled with a sx130x > concentrator may also provide a gated version of this 32MHz for the > concentrator. "SX125x", "SX130x", "32 MHz" > > In the example we connect to output 0 of "txco" clock source. Th

Re: [PATCH lora-next 2/4] dt-bindings: lora: sx125x: add basic documentation

2019-01-11 Thread Andreas Färber
cetree/bindings/lora/semtech,sx125x.yaml > @@ -0,0 +1,45 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/lora/semtech,sx125x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Semtech IQ modulator/de-m

Re: [PATCH lora-next 1/4] dt-bindings: lora: sx130x: add basic documentation

2019-01-11 Thread Andreas Färber
gt; @@ -0,0 +1,87 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/lora/semtech,sx130x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Semtech LoRa concentrator > + > +maintainers: &

Re: [RFC net-next 11/15] net: lora: Add IMST WiMOD

2019-01-07 Thread Andreas Färber
Hello Heinrich, + linux-lpwan, - other vendors Am 06.01.19 um 15:57 schrieb Heinrich Schuchardt: > On 7/1/18 1:08 PM, Andreas Färber wrote: >> The IMST WiMOD uses a SLIP based binary UART protocol. Two separate >> firmwares are available. By default it ships with a LoRaWAN f

[PATCH lora-next 04/11] net: lora: sx130x: Fix soft reset

2019-01-06 Thread Andreas Färber
x27;t have a cache configured, this may return -EINVAL, so guard it appropriately to aid in testing. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/net/lora/sx130x.c b/driver

[PATCH lora-next 08/11] net: lora: sx130x: Force regmap field write before reading status

2019-01-06 Thread Andreas Färber
Ensure that the F_FORCE_HOST_RADIO_CTRL field gets written before we read the AGC status register. Otherwise it returns status 01 instead of 87. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH lora-next 02/11] net: lora: sx130x: Fix error codes

2019-01-06 Thread Andreas Färber
Use of -ENXIO results in a misleading error message from ip command: RTNETLINK answers: No such device or address Switch to -EIO for more accurate description: RTNETLINK answers: Input/output error Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 10 +- 1 file

[PATCH lora-next 01/11] net: lora: sx125x: Abort on wrong version

2019-01-06 Thread Andreas Färber
This helps detect issues such as the concentrator being in reset. Enhance error output while at it. Signed-off-by: Andreas Färber --- drivers/net/lora/sx125x.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/lora/sx125x.c b/drivers/net/lora/sx125x.c index

[PATCH lora-next 07/11] net: lora: sx130x: Force regmap field writes before function boundaries

2019-01-06 Thread Andreas Färber
As a cautionary step, force writing out registers before calling helpers or returning. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora

[PATCH lora-next 05/11] net: lora: sx130x: Fix regmap field toggles

2019-01-06 Thread Andreas Färber
sx130x_field_write() static inline, too. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora/sx130x.c index 4ba02836a35d..457f2396d9ee 100644 --- a

[PATCH lora-next 10/11] net: lora: sx130x: Mark MCU_CTRL register as volatile

2019-01-06 Thread Andreas Färber
For reasons as of yet unknown, this is necessary to unbreak ARB firmware version check. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora/sx130x.c index 8bdd343a273f

[PATCH lora-next 03/11] net: lora: sx130x: Revert drop of sx1301_soft_reset()

2019-01-06 Thread Andreas Färber
Ben's regmap field conversion patch silently dropped my sx1301_soft_reset() helper. Soft reset is a special operation, so restore this function as sx130x_soft_reset(). To be squashed. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 7 ++- 1 file chang

[PATCH lora-next 00/11] net: lora: sx130x: Fixes for enabling regcache

2019-01-06 Thread Andreas Färber
ed to revert that commit from [1] again. Have a lot of fun! Cheers, Andreas [1] https://patchwork.ozlabs.org/cover/983168/ [2] https://patchwork.ozlabs.org/patch/983170/ Cc: Ben Whitten Cc: Mark Brown Cc: linux-lp...@lists.infradead.org Cc: net...@vger.kernel.org Andreas Färber (11): net:

[PATCH lora-next 06/11] net: lora: sx130x: Force regmap field write before sleep

2019-01-06 Thread Andreas Färber
Ensure timing is as expected by forcing a register write before waiting on its outcome. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora/sx130x.c index

[PATCH lora-next 09/11] net: lora: sx130x: Mark AGCSTS register as volatile

2019-01-06 Thread Andreas Färber
AGC status register reads should not be cached. Sort the volatile registers by number while at it. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora

[PATCH lora-next 11/11] net: lora: sx130x: Enable regmap caching

2019-01-06 Thread Andreas Färber
To fix performance penalties compared to pre-regmap field code, enable caching. Note: This has been tested to not regress on spi-gpio, with no improvement on spi-sun6i for clk_prepare() locking issue. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 2 +- 1 file

Re: [PATCH lora-next 3/5] net: lora: sx130x: Add PicoCell serdev driver

2019-01-04 Thread Andreas Färber
Am 04.01.19 um 12:21 schrieb Andreas Färber: > Currently there's still some bugs to be investigated, with communication > stalling on one device and another reading the radio versions wrong > (07 / 1f instead of 21, also observed on spi once). Reproducable 100% on SPI by setting R

Re: [PATCH lora-next 3/5] net: lora: sx130x: Add PicoCell serdev driver

2019-01-04 Thread Andreas Färber
Am 04.01.19 um 12:21 schrieb Andreas Färber: > diff --git a/drivers/net/lora/sx130x_picogw.c > b/drivers/net/lora/sx130x_picogw.c > new file mode 100644 > index ..577f9fb71d46 > --- /dev/null > +++ b/drivers/net/lora/sx130x_picogw.c [...] > + serdev_dev

Re: [RFC lora-next 5/5] HACK: net: lora: sx130x: Add PicoCell gateway shim for cdc-acm

2019-01-04 Thread Andreas Färber
Hi Rob, Am 04.01.19 um 18:07 schrieb Rob Herring: > On Fri, Jan 4, 2019 at 5:21 AM Andreas Färber wrote: >> >> Ignore our device in cdc-acm probing and add a new driver for it, >> dispatching to cdc-acm for the actual implementation. >> >> WARNING: It is likel

[PATCH RFC lora-next 0/5] net: lora: sx130x: USB CDC Picocell Gateway serdev driver via fake DT nodes

2019-01-04 Thread Andreas Färber
el.org Cc: net...@vger.kernel.org Andreas Färber (5): net: lora: sx130x: Factor out SPI specific parts net: lora: sx130x: Prepare storing driver-specific data net: lora: sx130x: Add PicoCell serdev driver usb: cdc-acm: Enable serdev support HACK: net: lora: sx130x: Add PicoCell gateway sh

[PATCH lora-next 2/5] net: lora: sx130x: Prepare storing driver-specific data

2019-01-04 Thread Andreas Färber
s. Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 19 +++ include/linux/lora/sx130x.h | 2 ++ 2 files changed, 21 insertions(+) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora/sx130x.c index 840052955874..978c921ca5ec 100644 --- a/drivers/net/lora/sx13

[PATCH lora-next 3/5] net: lora: sx130x: Add PicoCell serdev driver

2019-01-04 Thread Andreas Färber
"semtech,sx1257". Currently there's still some bugs to be investigated, with communication stalling on one device and another reading the radio versions wrong (07 / 1f instead of 21, also observed on spi once). Signed-off-by: Andreas Färber --- drivers/net/lora/Makefile| 2

[PATCH lora-next 1/5] net: lora: sx130x: Factor out SPI specific parts

2019-01-04 Thread Andreas Färber
-by: Andreas Färber --- drivers/net/lora/sx130x.c | 139 +++- include/linux/lora/sx130x.h | 7 +++ 2 files changed, 92 insertions(+), 54 deletions(-) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora/sx130x.c index 9cae9cea195f..840052955874

[RFC lora-next 5/5] HACK: net: lora: sx130x: Add PicoCell gateway shim for cdc-acm

2019-01-04 Thread Andreas Färber
not have a parent yet. This results in two "Error -2 creating of_node link" warnings on probe. Cc: Johan Hovold Cc: Rob Herring Signed-off-by: Andreas Färber --- drivers/net/lora/Makefile | 2 + drivers/net/lora/picogw.c | 337 d

[PATCH RFC 4/5] usb: cdc-acm: Enable serdev support

2019-01-04 Thread Andreas Färber
Cc: Johan Hovold Signed-off-by: Andreas Färber --- drivers/usb/class/cdc-acm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index ed8c62b2d9d1..c225a586c524 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2019-01-01 Thread Andreas Färber
Am 31.12.18 um 23:56 schrieb Andreas Färber: > Am 31.12.18 um 18:50 schrieb Mark Brown: >> On Sun, Dec 30, 2018 at 11:55:46AM +0100, Andreas Färber wrote: >>> Given that observed symptoms were CPU stalls, workqueue hangs and RCU >>> problems, requiring a power-cycle to r

Re: [PATCH 6/6] MAINTAINERS: Add linux-actions mailing list for Actions Semi

2018-12-31 Thread Andreas Färber
/ACTIONS SEMI ARCHITECTURE >>> M: Andreas Färber >>> R: Manivannan Sadhasivam >>> L: linux-arm-ker...@lists.infradead.org (moderated for non-subscribers) >>> +L: linux-acti...@lists.infradead.org (moderated for non-subscribers) >>> S: M

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2018-12-31 Thread Andreas Färber
Am 31.12.18 um 18:50 schrieb Mark Brown: > On Sun, Dec 30, 2018 at 11:55:46AM +0100, Andreas Färber wrote: >> Given that observed symptoms were CPU stalls, workqueue hangs and RCU >> problems, requiring a power-cycle to recover, I wonder whether we are >> running into some

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2018-12-31 Thread Andreas Färber
Am 30.12.18 um 11:55 schrieb Andreas Färber: > Am 29.12.18 um 21:16 schrieb Andreas Färber: >> `sudo ip link set lora2 up` froze my system, with both >> lora1 and lora2 being sx1301. [...] >> >> Investigating... > > I've bisected and confirmed that it was

Re: [PATCH lora-next] net: lora: sx1301: Fix radio SPI write

2018-12-30 Thread Andreas Färber
Am 31.12.18 um 01:14 schrieb Ben Whitten: > + Mark +linux-kernel > On Sun, 30 Dec 2018 at 08:45, Andreas Färber wrote: >> >> When converting to regmap_bus we omitted the write flag, >> rendering all sx125x register writes no-op. >> >> Signed-off-by: Andreas

Re: [PATCH RFC lora-next 4/4] net: lora: sx1301: introduce a lora frame for packet metadata

2018-12-30 Thread Andreas Färber
Hi Ben, Am 19.12.18 um 16:56 schrieb Ben Whitten: > Information such as spreading factor, coding rate and power are on a per > transmission basis so it makes sence to include this in a header much "sense" (even in British English! :)) > like CAN frames do. Any pointer for that? My understanding

Re: [PATCH RFC lora-next 3/4] net: lora: sx1301: add minimal to get transmission out

2018-12-30 Thread Andreas Färber
Am 19.12.18 um 16:56 schrieb Ben Whitten: > diff --git a/drivers/net/lora/sx1301.c b/drivers/net/lora/sx1301.c > index 0c7b6d0b31af..9bcbb967f307 100644 > --- a/drivers/net/lora/sx1301.c > +++ b/drivers/net/lora/sx1301.c > @@ -24,6 +24,44 @@ > > #include "sx1301.h" > > +struct sx1301_tx_header

[PATCH lora-next] net: lora: sx125x: Clean up clock provider

2018-12-30 Thread Andreas Färber
Use devm_ variant to have the clock provider deleted again. Signed-off-by: Andreas Färber --- drivers/net/lora/sx125x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/lora/sx125x.c b/drivers/net/lora/sx125x.c index 2c48301a12ab..68d8afed48ba 100644 --- a/drivers

[PATCH lora-next] net: lora: sx1301: Fix clk32m handling

2018-12-30 Thread Andreas Färber
We can't get the clk32m during probe because the radio is not yet probed then. When doing it during netdev open we also need to undo that during netdev stop. Revamp the error handling for open and tidy our debug output while at it. Signed-off-by: Andreas Färber --- drivers/net/lora/sx1

[PATCH lora-next] net: lora: sx125x: Add error handling for clock-output-names

2018-12-30 Thread Andreas Färber
From: Ben Whitten Split off from style changes. Signed-off-by: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx125x.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/lora/sx125x.c b/drivers/net/lora/sx125x.c index b7ca782b9386

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2018-12-30 Thread Andreas Färber
+ linux-spi, LAKML Am 29.12.18 um 21:16 schrieb Andreas Färber: > Am 29.12.18 um 20:25 schrieb Andreas Färber: >> Am 12.10.18 um 18:26 schrieb Ben Whitten: >>> +static int sx125x_register_clock_provider(struct sx125x_priv *priv) >>> +{ >>> + struct dev

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2018-12-29 Thread Andreas Färber
Am 29.12.18 um 20:25 schrieb Andreas Färber: > Am 12.10.18 um 18:26 schrieb Ben Whitten: >> +static int sx125x_register_clock_provider(struct sx125x_priv *priv) >> +{ >> +struct device *dev = priv->dev; >> +struct clk_init_data init; >> +

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2018-12-29 Thread Andreas Färber
Hi Ben, + linux-lpwan, linux-clk, devicetree Am 12.10.18 um 18:26 schrieb Ben Whitten: > From: Ben Whitten > > The 32M is run from the radio, before we just enabled it based on > the radio number but now we can use the clk framework to request the > clk is started when we need it. > > The 32M

Re: [PATCH v5 1/6] net: lorawan: Add LoRaWAN socket module

2018-12-28 Thread Andreas Färber
Hi Jian-Hong, Am 16.12.18 um 11:18 schrieb Jian-Hong Pan: > This patch adds a new address/protocol family for LoRaWAN network. > It also implements the the functions and maps to Datagram socket for > LoRaWAN unconfirmed data messages. > > Signed-off-by: Jian-Hong Pan [...] > include/linux/lora/

Re: [PATCH v5 6/6] net: lorawan: List LORAWAN in menuconfig

2018-12-28 Thread Andreas Färber
Am 28.12.18 um 16:43 schrieb Alexander Aring: > On Fri, Dec 28, 2018 at 05:57:53AM +0100, Andreas Färber wrote: >> Am 24.12.18 um 16:32 schrieb Alexander Aring: >>> On Tue, Dec 18, 2018 at 02:50:58PM +0100, Xue Liu wrote: >>>> On Mon, 17 Dec 2018 at 15:19, Andreas Fä

Re: [PATCH RFC lora-next 2/4] net: lora: sx1301: add minimal to get AGC working prior to tx work

2018-12-28 Thread Andreas Färber
Hi Ben, Am 19.12.18 um 16:56 schrieb Ben Whitten: > As part of initialisation when opening the lora device after loading > the AGC firmware we need to satisfy its startup procedure which involves > a few steps; > > Loading a 16 entry lookup table. > For this I have hard coded the laird ETSI certi

Re: [PATCH RFC lora-next 1/4] net: lora: sx125x sx1301: correct style warnings

2018-12-28 Thread Andreas Färber
Hi Ben, Am 19.12.18 um 16:56 schrieb Ben Whitten: > Checkpatch highlights some style issues which need to be addressed. > > Signed-off-by: Ben Whitten > --- > drivers/net/lora/sx125x.c | 20 +-- > drivers/net/lora/sx1301.c | 52 ++- > drivers/net/

Re: [PATCH v5 6/6] net: lorawan: List LORAWAN in menuconfig

2018-12-27 Thread Andreas Färber
Hi Alexander and Xue Liu, Am 24.12.18 um 16:32 schrieb Alexander Aring: > On Tue, Dec 18, 2018 at 02:50:58PM +0100, Xue Liu wrote: >> On Mon, 17 Dec 2018 at 15:19, Andreas Färber wrote: >>> Am 17.12.18 um 09:50 schrieb Xue Liu: >>>> I have a question about the arch

Re: [PATCH v5 5/6] net: maclorawan: Implement maclorawan class module

2018-12-20 Thread Andreas Färber
Am 20.12.18 um 11:19 schrieb Ben Whitten: The hard-MAC implementations will be on my plate mostly, as both SX1276 and SX1301 need the soft-MAC. >>> >>> On the SX1301 side of things, the ability to send messages as a LoRaWAN >>> node device is a niche use case, the majority if not all peop

Re: [PATCH v5 5/6] net: maclorawan: Implement maclorawan class module

2018-12-18 Thread Andreas Färber
Am 18.12.18 um 15:27 schrieb Jian-Hong Pan: >> Sun, Dec 16, 2018 at 11:18:59AM CET, starni...@g.ncu.edu.tw wrote: >>> LoRaWAN defined by LoRa Alliance(TM) is the MAC layer over LoRa devices. >>> >>> This patch implements part of Class A end-devices SoftMAC defined in >>> LoRaWAN(TM) Specification V

Re: [PATCH v5 6/6] net: lorawan: List LORAWAN in menuconfig

2018-12-17 Thread Andreas Färber
Hello Xue Liu, Am 17.12.18 um 09:50 schrieb Xue Liu: > I have a question about the architecture of your module. AFAIK LoRaWAN > is already the MAC Layer above the LoRa technology. Why do you want to > make a new layer called "maclorawan" ? I had asked Jian-Hong to separate between his soft-MAC im

Re: [PATCH v4 15/15] MAINTAINERS: Add entry for RDA Micro SoC architecture

2018-12-12 Thread Andreas Färber
Hi Mani, Am 10.12.18 um 18:35 schrieb Manivannan Sadhasivam: > Add MAINTAINERS entry for RDA Micro SoC architecture with myself > and Andreas Färber as the maintainers. > > Signed-off-by: Manivannan Sadhasivam > --- > MAINTAINERS | 15 +++ > 1 file c

Re: [PATCH] Add linux-unisoc mailing list to Spreadtrum SoC support

2018-12-10 Thread Andreas Färber
Am 11.12.18 um 04:57 schrieb Manivannan Sadhasivam: > Since Spreadtrum is now merged into Unisoc Communications, let's use the > newly created linux-unisoc mailing list for all discussions around the > Spreadtrum SoCs. > > Signed-off-by: Manivannan Sadhasivam Reviewe

Re: [PATCH 01/16] dt-bindings: Add RDA Micro vendor prefix

2018-11-19 Thread Andreas Färber
Am 19.11.18 um 18:09 schrieb Manivannan Sadhasivam: > From: Andreas Färber > > RDA Microelectronics is a Chinese SoC manufacturer. > > Cc: serv...@rdamicro.com > Signed-off-by: Andreas Färber This one is lacking your Signed-off-by, all others that I was CC'ed on h

Re: [PATCH v3 1/3] dt-bindings: Add vendor prefix for Smartlabs LLC

2018-11-09 Thread Andreas Färber
Am 08.11.18 um 20:43 schrieb Christian Hewitt: > Smartlabs LLC are a professional integrator of Interactive TV solutions > and IPTV/VOD devices (https://www.smartlabs.tv/en/about/). > > Signed-off-by: Christian Hewitt > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file

Re: [PATCH v2 1/3] dt-bindings: Add vendor prefix for Smartlabs

2018-11-08 Thread Andreas Färber
Am 08.11.18 um 18:01 schrieb Christian Hewitt: > Smartlabs are a professional integrator of Interactive TV solutions > and IPTV/VOD devices. > > [1] (https://www.smartlabs.tv/en/about/) "[1]" is not referenced anywhere, so you could just as well use a plain link? > > Signed-off-by: Christian He

Re: [PATCH anybus v3 2/6] dt-bindings: Add vendor prefix for arcx / Archronix

2018-11-04 Thread Andreas Färber
dware control systems and enabling software. > Clients include OEM's in the transportation, aerospace, > medical and commercial sectors. > > Websites: > http://www.arcx.com/ > http://www.archronix.com/ > > Signed-off-by: Sven Van Asbroeck Reviewed-by: And

Re: [PATCH anybus v2 2/5] dt-bindings: anybus-bridge: document devicetree binding.

2018-10-31 Thread Andreas Färber
Hi Sven, Am 31.10.18 um 20:44 schrieb thesve...@gmail.com: > From: Sven Van Asbroeck > > This patch adds devicetree binding documentation for the > Arcx anybus bridge. > > Signed-off-by: Sven Van Asbroeck > --- > .../bindings/misc/arcx,anybus-bridge.txt | 34 +++ > .../de

Re: [PATCH v3 RESEND] regmap: Add regmap_noinc_write API

2018-10-19 Thread Andreas Färber
Am 19.10.18 um 13:56 schrieb Mark Brown: > On Fri, Oct 19, 2018 at 10:33:50AM +0100, Ben Whitten wrote: >> The regmap API had a noinc_read function added for instances where devices >> supported returning data from an internal FIFO in a single read. > > The following changes since commit 5b394b2dd

Re: [PATCH v4 1/2] arm64: dts: allwinner: new board - Emlid Neutis N5

2018-10-12 Thread Andreas Färber
Hi, Am 12.10.18 um 12:23 schrieb Aleksandr Aleksandrov: > Emlid Neutis N5 is a SoM based on Allwinner H5, has a WiFi & BT > module, DDR3 RAM and eMMC. > > - add neutis n5 dtsi file for SoM needs > - add neutis devboard dts file > - add neutis devboard target to dtb makefile > > Signed-off-by: Al

Re: [PATCH v3] arm64: new board - Emlid Neutis N5

2018-10-11 Thread Andreas Färber
Hi Aleksandr, Please keep your replies in text-only format, not HTML. Am 11.10.18 um 14:01 schrieb aleksandr.aleksand...@emlid.com: >>  +/ { >>  + model = "Emlid Neutis N5 Developer board"; >>  + compatible = "emlid,emlid-neutis-n5-devboard", >>  + "emlid,emlid-neutis-n5", >> >> D

Re: [PATCH] dmaengine: owl: Fix warnings generated during build

2018-10-08 Thread Andreas Färber
one line please, and it could go between Reported-by and Signed-off-by below without extra white lines. Otherwise looks okay, Reviewed-by: Andreas Färber Thanks, Andreas > > Reported-by: Vinod Koul > Signed-off-by: Manivannan Sadhasivam > --- > drivers/dma/owl-dma.c | 4 > 1

Re: [PATCH 3/4] soc: actions: sps: Add S900 power domains

2018-09-30 Thread Andreas Färber
Am 24.06.18 um 15:07 schrieb Andreas Färber: > Am 11.04.2018 um 18:40 schrieb Manivannan Sadhasivam: >> Add power domains for Actions Semi S900 SoC. >> >> Signed-off-by: Manivannan Sadhasivam >> --- >> drivers/soc/actions/owl-sps.c | 58 >> +++

Re: [PATCH] MAINTAINERS: Update clock binding entry for Actions Semi Owl SoCs

2018-09-30 Thread Andreas Färber
Am 29.09.18 um 09:32 schrieb Manivannan Sadhasivam: > commit d0e45d686a3e ("dt-bindings: clock: Add S700 support for Actions > Semi Soc's")' > > renamed the clock binding for Actions Semi Owl SoCs from > actions,s900-cmu.txt to actions,owl-cmu.txt inorder to accommodate all > members of Owl family

Re: [PATCH 1/2] sc16is7xx: Fix for multi-channel stall

2018-09-29 Thread Andreas Färber
Hi Phil and Greg, Am 12.09.18 um 16:31 schrieb Phil Elwell: > The SC16IS752 is a dual-channel device. The two channels are largely > independent, but the IRQ signals are wired together as an open-drain, > active low signal which will be driven low while either of the > channels requires attention,

Re: [PATCH] soc: actions: Update SPS help text for S700

2018-09-22 Thread Andreas Färber
Am 24.06.18 um 16:01 schrieb Andreas Färber: > Commit 3ad85b08f7789d51e6aad0f535296d1c31e319b9 (soc: actions: sps: Add S700) > added S700 support to the SPS driver but forget to update Kconfig help. > > Add missing S700 mention, in preparation for further SoCs. > > Fixes:

Re: [PATCH 1/2] ARM: dt-bindings: aspeed: Facebook TiogaPass BMC

2018-09-19 Thread Andreas Färber
Hi, Subject should be "dt-bindings: Add vendor prefix for Facebook" or so. Please compare other commits for that file. Am 19.09.18 um 18:29 schrieb Vijay Khemka: > Initial introduction of Facebook TiogaPass family equipped with > Aspeed 2500 BMC SoC. TiogaPass is a x86 server development kit > wi

Re: [PATCH] ARM: dts: aspeed: Adding Facebook TioagaPass BMC

2018-09-13 Thread Andreas Färber
Hi Vijay, Am 13.09.18 um 21:57 schrieb Vijay Khemka: > Initial introduction of Facebook TioagaPass family equipped with > Aspeed 2500 BMC SoC. Neptune is a x86 server development kit > with a ASPEED ast2500 BMC manufactured by Facebook. > Specifically, This adds the tiogapass platform device tree

Re: [PATCH v2 26/34] dt-bindings: add broadcom (formerly plx technology) vendor prefix

2018-08-31 Thread Andreas Färber
DT compatible string vendor "plx" appears un-documented > -- check ./Documentation/devicetree/bindings/vendor-prefixes.txt > > Signed-off-by: Marcel Ziswiler Sounds sensible, Reviewed-by: Andreas Färber You may want to tweak the subject though, it is slightly confusing

Re: [RFC] serial: sc16is7xx: Use DT sub-nodes for UART ports

2018-08-10 Thread Andreas Färber
Am 10.08.2018 um 19:34 schrieb Rob Herring: > On Sun, Aug 5, 2018 at 5:27 PM Andreas Färber wrote: >> >> This is to allow using serdev. >> >> Signed-off-by: Andreas Färber >> --- >> drivers/tty/serial/sc16is7xx.c | 25 + >>

Re: [RFC] serial: sc16is7xx: Use DT sub-nodes for UART ports

2018-08-06 Thread Andreas Färber
Am 06.08.2018 um 01:26 schrieb Andreas Färber: > This is to allow using serdev. > > Signed-off-by: Andreas Färber > --- > drivers/tty/serial/sc16is7xx.c | 25 + > 1 file changed, 25 insertions(+) > > diff --git a/drivers/tty/serial/sc16is7x

[RFC] serial: sc16is7xx: Use DT sub-nodes for UART ports

2018-08-05 Thread Andreas Färber
This is to allow using serdev. Signed-off-by: Andreas Färber --- drivers/tty/serial/sc16is7xx.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 243c96025053..ad7267274f65 100644 --- a/drivers

Re: [PATCH 0/9] Add Reset Controller support for Actions Semi Owl SoCs

2018-07-30 Thread Andreas Färber
Hi Mani, Am 27.07.2018 um 20:45 schrieb Manivannan Sadhasivam: > This patchset adds Reset Controller (RMU) support for Actions Semi > Owl SoCs, S900 and S700. For the Owl SoCs, RMU has been integrated into > the clock subsystem in hardware. Hence, in software we integrate RMU > support into common

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