From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Subject: Re: [PATCH lora-next 01/10] net: lora: sx1301: add register, bit-fields, and helpers for regmap Date: Fri, 10 Aug 2018 13:37:37 +0200 Message-ID: <97935531-eedb-0670-9795-93abbed76894@suse.de> References: <1533663131-16313-1-git-send-email-ben.whitten@gmail.com> <1533663131-16313-2-git-send-email-ben.whitten@gmail.com> <6faee71e-1226-9f24-6e0d-46a9dbb4d6c2@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: "starnight@g.ncu.edu.tw" , "hasnain.virk@arm.com" , "netdev@vger.kernel.org" , Xue Liu , =?UTF-8?Q?Sebastian_He=c3=9f?= , Yannick Lanz To: Ben Whitten , Ben Whitten Return-path: Received: from mx2.suse.de ([195.135.220.15]:36092 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727288AbeHJOHN (ORCPT ); Fri, 10 Aug 2018 10:07:13 -0400 In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: Am 09.08.2018 um 15:23 schrieb Ben Whitten: >> BTW we'll need this regmap conversion for the picoGW_hal, >> so once we >> have a working SPI regmap driver, we'll need to split out the >> SPI bits, >> similar to sx125x. > > I am unfamiliar with the picoGW_hal, do they expose the sx1301 > as a device on a regmap_bus then? It uses an MCU implementing a USB CDC interface that implements UART commands corresponding to the individual SPI read and write modes like single and burst. That reference design is for SX1308, but some vendors appear to be using it for SX1301, too. https://github.com/Lora-net/picoGW_mcu So I believe I'll need to implement a regmap_bus in a new serdev driver to support it, once I gain access to such an implementation. But there's other general serdev problems with USB not limited to picoGW that I'll need to start a thread about on linux-serial/linux-usb... Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)