Re: [RFC] libusb / in-kernel usb driver criteria (was: USB driver for talking to the Microchip PIC18 boot loader)

2008-01-03 Thread mgross
On Wed, Jan 02, 2008 at 07:59:15PM +, Paulo Marques wrote: > Xiaofan Chen wrote: >> On Dec 30, 2007 11:53 AM, mgross <[EMAIL PROTECTED]> wrote: >>> [...] >>> What is the linux-usb policies on new drivers that could be >>> implemented in user space?

[RFC] USB driver for talking to the Microchip PIC18 boot loader

2007-12-29 Thread mgross
bits of a libusb driver that does some of what this driver does. What do you think? --mgross Singed-off-by: Mark Gross <[EMAIL PROTECTED]> --- Index: linux-2.6.24-rc6/drivers/usb/misc/pic18bl.c === --- /dev/null 1970-

Re: [RFC] USB driver for talking to the Microchip PIC18 boot loader

2007-12-29 Thread mgross
On Sat, Dec 29, 2007 at 05:15:30PM -0500, Alan Stern wrote: > On Sat, 29 Dec 2007, mgross wrote: > > > I'm playing around with a PIC based project at home (not an Intel > > activity) and found I needed a usb driver to talk to the boot loader > > so I can program my U

Re: [RFC] USB driver for talking to the Microchip PIC18 boot loader

2007-12-29 Thread mgross
On Sun, Dec 30, 2007 at 10:40:45AM +0800, Xiaofan Chen wrote: > On Dec 30, 2007 6:15 AM, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Sat, 29 Dec 2007, mgross wrote: > > > > > I'm playing around with a PIC based project at home (not an Intel > > > activ

[PATCH v6 08/34] misc: xlink-pcie: Add documentation for XLink PCIe driver

2021-02-12 Thread mgross
From: Srikanth Thokala Provide overview of XLink PCIe driver implementation Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- Documentation/vpu/index.rst | 1 + Documentation/vpu/xlink-pcie.rst | 90

[PATCH v6 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-02-12 Thread mgross
From: Paul Murphy Add DT bindings documentation for the Keem Bay VPU IPC driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Co-developed-by: Daniele Alessandrelli Signed-off-by: Paul Murphy Signed-off-by: Daniele Alessandrelli Signed-off-by: Mark Gross --- .../

[PATCH v6 01/34] Add Vision Processing Unit (VPU) documentation.

2021-02-12 Thread mgross
From: mark gross The Intel VPU needs a complicated SW stack to make it work. Add a directory to hold VPU related documentation including an architectural overview of the SW stack that the patches implement. Cc: Jonathan Corbet Signed-off-by: Mark Gross --- Documentation/index.rst

[PATCH v6 04/34] dt-bindings: Add bindings for Keem Bay IPC driver

2021-02-12 Thread mgross
From: Daniele Alessandrelli Add DT binding documentation for the Intel Keem Bay IPC driver, which enables communication between the Computing Sub-System (CSS) and the Multimedia Sub-System (MSS) of the Intel Movidius SoC code named Keem Bay. Cc: Rob Herring Cc: devicet...@vger.kernel.org Review

[PATCH v6 02/34] dt-bindings: mailbox: Add Intel VPU IPC mailbox bindings

2021-02-12 Thread mgross
From: Daniele Alessandrelli Add bindings for the Intel VPU IPC mailbox driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Daniele Alessandrelli Signed-off-by: Mark Gross --- .../mailbox/intel,vpu-ipc-mailbox.yaml| 69 +++ MAINTAINERS

[PATCH v6 12/34] misc: xlink-pcie: lh: Prepare changes for adding remote host driver

2021-02-12 Thread mgross
From: Srikanth Thokala Move logic that can be reused between local host and remote host to common/ folder Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/{local_host => common}/core.h |

[PATCH v6 14/34] misc: xlink-pcie: rh: Add core communication logic

2021-02-12 Thread mgross
From: Srikanth Thokala Add logic to establish communication with the local host which is through ring buffer management and MSI/Doorbell interrupts Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xl

[PATCH v6 07/34] keembay-vpu-ipc: Add Keem Bay VPU IPC module

2021-02-12 Thread mgross
From: Paul Murphy Intel Keem Bay SoC contains a Vision Processing Unit (VPU) to enable machine vision and other applications. Enable Linux to control the VPU processor and provides an interface to the Keem Bay IPC for communicating with the VPU firmware. Specifically the driver provides the fol

[PATCH v6 05/34] keembay-ipc: Add Keem Bay IPC module

2021-02-12 Thread mgross
From: Daniele Alessandrelli On the Intel Movidius SoC code named Keem Bay, communication between the Application Processor(AP) and the VPU is enabled by the Keem Bay Inter-Processor Communication (IPC) mechanism. Add the driver for using Keem Bay IPC from within the Linux Kernel. The IPC uses t

[PATCH v6 17/34] xlink-ipc: Add xlink ipc device tree bindings

2021-02-12 Thread mgross
From: Seamus Kelly Add device tree bindings for the xLink IPC driver which enables xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Seamus Kelly

[PATCH v6 32/34] dt-bindings: misc: hddl_dev: Add hddl device management documentation

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add hddl device management documentation The HDDL client driver acts as an software RTC to sync with network time. It abstracts xlink protocol to communicate with remote IA host. This driver exports the details about sensors available in the platform to remote IA host as x

[PATCH v6 13/34] misc: xlink-pcie: rh: Add PCIe EP driver for Remote Host

2021-02-12 Thread mgross
From: Srikanth Thokala Add PCIe Endpoint driver that configures PCIe BARs and MSIs on the Remote Host Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- MAINTAINERS | 2 +- driver

[PATCH v6 34/34] misc: HDDL device management for IA host

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add IA host hddl device management driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine v

[PATCH v6 09/34] misc: xlink-pcie: lh: Add PCIe EPF driver for Local Host

2021-02-12 Thread mgross
From: Srikanth Thokala Add PCIe EPF driver for local host (lh) to configure BAR's and other HW resources. Underlying PCIe HW controller is a Synopsys DWC PCIe core. Cc: Derek Kiernan Cc: Dragan Cvetic Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross

[PATCH v6 10/34] misc: xlink-pcie: lh: Add PCIe EP DMA functionality

2021-02-12 Thread mgross
From: Srikanth Thokala Add Synopsys PCIe DWC core embedded-DMA functionality for local host Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/local_host/Makefile | 1 + drivers/misc/xlink

[PATCH v6 15/34] misc: xlink-pcie: Add XLink API interface

2021-02-12 Thread mgross
From: Srikanth Thokala Provide interface for XLink layer to interact with XLink PCIe transport layer on both local host and remote host. Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/co

[PATCH v6 00/34] Intel Vision Processing base enabling

2021-02-12 Thread mgross
From: Mark Gross The Intel Vision Processing Unit (VPU) is an IP block that is showing up for the first time as part of the Keem Bay SOC. Keem Bay is a quad core A53 Arm SOC. It is designed to be used as a stand alone SOC as well as in an PCIe Vision Processing accelerator add in card. This 6t

[PATCH v6 24/34] dt-bindings: misc: Add Keem Bay vpumgr

2021-02-12 Thread mgross
From: "Li, Tingqian" Add DT binding schema for VPU on Keem Bay ASoC platform Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Li Tingqian Signed-off-by: Mark Gross --- .../bindings/misc/intel,keembay-vpu-mgr.yaml | 48 +++ 1 file changed, 48 insertions(+) cre

[PATCH v6 22/34] xlink-core: Enable VPU IP management and runtime control

2021-02-12 Thread mgross
From: Seamus Kelly Enable VPU management including, enumeration, boot and runtime control. Add APIs: write control data: used to transmit small, local data start vpu: calls boot_device API ( soon to be deprecated ) stop vpu

[PATCH v6 21/34] xlink-core: Enable xlink protocol over pcie

2021-02-12 Thread mgross
From: Seamus Kelly Enable host system access to the VPU over the xlink protocol over PCIe by enabling channel multiplexing and dispatching. This allows for remote host communication channels across pcie links. add dispatcher update multiplexer to utilise dispatcher xlink-core:

[PATCH v6 23/34] xlink-core: add async channel and events

2021-02-12 Thread mgross
From: Seamus Kelly Enable asynchronous channel and event communication. Add APIs: data ready callback: The xLink Data Ready Callback function is used to register a callback function that is invoked when data

[PATCH v6 30/34] misc:intel_tsens: Intel Keem Bay tsens driver.

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add keembey_thermal driver to expose on chip temperature sensors, and register call back functions for periodic sampling. This driver does following: * Reads temperature data from on chip sensors present in Keem Bay platform. * Registers callback function to intel tsens

[PATCH v6 27/34] misc: Tsens ARM host thermal driver.

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add tsens ARM host thermal driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine vision ap

[PATCH v6 19/34] xlink-core: Add xlink core device tree bindings

2021-02-12 Thread mgross
From: Seamus Kelly Add device tree bindings for keembay-xlink. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Seamus Kelly --- .../bindings/misc/intel,keembay-xlink.yaml| 29 +++ 1 file changed, 29 insertio

[PATCH v6 25/34] misc: Add Keem Bay VPU manager

2021-02-12 Thread mgross
From: "Li, Tingqian" VPU IP on Keem Bay SOC is a vision acceleration IP complex under the control of a RTOS-based firmware (running on RISC MCU inside the VPU IP) serving user-space application running on CPU side for HW accelerated computer vision tasks. This module is kernel counterpart of the

[PATCH v6 03/34] mailbox: vpu-ipc-mailbox: Add support for Intel VPU IPC mailbox

2021-02-12 Thread mgross
From: Daniele Alessandrelli Add mailbox controller enabling inter-processor communication (IPC) between the CPU (aka, the Application Processor - AP) and the VPU on Intel Movidius SoCs like Keem Bay. The controller uses HW FIFOs to enable such communication. Specifically, there are two FIFOs, on

[PATCH v6 11/34] misc: xlink-pcie: lh: Add core communication logic

2021-02-12 Thread mgross
From: Srikanth Thokala Add logic to establish communication with the remote host which is through ring buffer management and MSI/Doorbell interrupts Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/x

[PATCH v6 29/34] Intel tsens i2c slave driver.

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add Intel tsens i2c slave driver for Intel Edge.AI Computer Vision platforms. The tsens i2c slave driver enables reading of on chip sensors present in the Intel Edge.AI Computer Vision platforms. In the tsens i2c module various junction and SoC temperatures are reported us

[PATCH v6 28/34] misc: Intel tsens IA host driver.

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add Intel tsens IA host driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine vision appli

[PATCH v6 18/34] xlink-ipc: Add xlink ipc driver

2021-02-12 Thread mgross
From: Seamus Kelly Add xLink driver, which interfaces the xLink Core driver with the Keem Bay VPU IPC driver, thus enabling xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Specifically the driver enables xLink Core to: * Boot / Reset the VPU IP * Register to

[PATCH v6 31/34] Intel Keembay XLink SMBus driver

2021-02-12 Thread mgross
From: Ramya P Karanth Adds XLink SMBus driver for Intel Keem Bay SoC. Xlink-smbus driver is a logical SMBus adapter which uses Xlink (xlink-pcie) protocol as an interface. Keem Bay(s) vision accelerators are connected to the server via PCI interface. The Server needs to know the temperature of

[PATCH v6 26/34] dt-bindings: misc: intel_tsens: Add tsens thermal bindings documentation

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add device tree bindings for local host thermal sensors Intel Edge.AI Computer Vision platforms. The tsens module enables reading of on chip sensors present in the Intel Bay series SoC. In the tsens module various junction temperature and SoC temperature are reported using

[PATCH v6 33/34] misc: Hddl device management for local host

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add local host hddl device management for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine visio

[PATCH v6 20/34] xlink-core: Add xlink core driver xLink

2021-02-12 Thread mgross
From: Seamus Kelly Add xLink driver, which provides an abstracted control and communication subsystem based on channel identification. It is intended to support VPU technology both at SoC level as well as at IP level, over multiple interfaces. This initial patch enables local hos

[PATCH v6 16/34] misc: xlink-pcie: Add asynchronous event notification support for XLink

2021-02-12 Thread mgross
From: Srikanth Thokala Add support to notify XLink layer upon PCIe link UP/DOWN events Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/common/core.h | 3 ++ drivers/misc/xlink-pcie/

[PATCH v3 01/34] Add Vision Processing Unit (VPU) documentation.

2021-01-29 Thread mgross
From: mark gross The Intel VPU needs a complicated SW stack to make it work. Add a directory to hold VPU related documentation including an architectural overview of the SW stack that the patches implement. Cc: Jonathan Corbet Signed-off-by: Mark Gross --- Documentation/index.rst

[PATCH v4 28/34] misc: Intel tsens IA host driver.

2021-01-29 Thread mgross
From: "C, Udhayakumar" Add Intel tsens IA host driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine vision appli

[PATCH v3 25/34] misc: Add Keem Bay VPU manager

2021-01-29 Thread mgross
From: "Li, Tingqian" VPU IP on Keem Bay SOC is a vision acceleration IP complex under the control of a RTOS-based firmware (running on RISC MCU inside the VPU IP) serving user-space application running on CPU side for HW accelerated computer vision tasks. This module is kernel counterpart of the

[PATCH v3 10/34] misc: xlink-pcie: lh: Add PCIe EP DMA functionality

2021-01-29 Thread mgross
From: Srikanth Thokala Add Synopsys PCIe DWC core embedded-DMA functionality for local host Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/local_host/Makefile | 1 + drivers/misc/xlink-pcie/local_host/dma.c|

[PATCH v4 03/34] mailbox: vpu-ipc-mailbox: Add support for Intel VPU IPC mailbox

2021-01-29 Thread mgross
From: Daniele Alessandrelli Add mailbox controller enabling inter-processor communication (IPC) between the CPU (aka, the Application Processor - AP) and the VPU on Intel Movidius SoCs like Keem Bay. The controller uses HW FIFOs to enable such communication. Specifically, there are two FIFOs, on

[PATCH v4 30/34] misc:intel_tsens: Intel Keem Bay tsens driver.

2021-01-29 Thread mgross
From: "C, Udhayakumar" Add keembey_thermal driver to expose on chip temperature sensors, and register call back functions for periodic sampling. This driver does following: * Reads temperature data from on chip sensors present in Keem Bay platform. * Registers callback function to intel tsens

[PATCH v4 27/34] misc: Tsens ARM host thermal driver.

2021-01-29 Thread mgross
From: "C, Udhayakumar" Add tsens ARM host thermal driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine vision ap

[PATCH v4 13/34] misc: xlink-pcie: rh: Add PCIe EP driver for Remote Host

2021-01-29 Thread mgross
From: Srikanth Thokala Add PCIe Endpoint driver that configures PCIe BARs and MSIs on the Remote Host Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- MAINTAINERS | 2 +- driver

[PATCH v3 12/34] misc: xlink-pcie: lh: Prepare changes for adding remote host driver

2021-01-29 Thread mgross
From: Srikanth Thokala Move logic that can be reused between local host and remote host to common/ folder Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/{local_host => common}/core.h | 8 +++- drivers/misc/xl

[PATCH v4 07/34] keembay-vpu-ipc: Add Keem Bay VPU IPC module

2021-01-29 Thread mgross
From: Paul Murphy Intel Keem Bay SoC contains a Vision Processing Unit (VPU) to enable machine vision and other applications. Enable Linux to control the VPU processor and provides an interface to the Keem Bay IPC for communicating with the VPU firmware. Specifically the driver provides the fol

[PATCH v4 14/34] misc: xlink-pcie: rh: Add core communication logic

2021-01-29 Thread mgross
From: Srikanth Thokala Add logic to establish communication with the local host which is through ring buffer management and MSI/Doorbell interrupts Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xl

[PATCH v3 24/34] dt-bindings: misc: Add Keem Bay vpumgr

2021-01-29 Thread mgross
From: "Li, Tingqian" Add DT binding schema for VPU on Keem Bay ASoC platform Signed-off-by: Li, Tingqian --- .../bindings/misc/intel,keembay-vpu-mgr.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/intel,keembay-vpu

[PATCH v3 33/34] misc: Hddl device management for local host

2021-01-29 Thread mgross
From: "C, Udhayakumar" Add local host hddl device management for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine visio

[PATCH v4 21/34] xlink-core: Enable xlink protocol over pcie

2021-01-29 Thread mgross
From: Seamus Kelly Enable host system access to the VPU over the xlink protocol over PCIe by enabling channel multiplexing and dispatching. This allows for remote host communication channels across pcie links. add dispatcher update multiplexer to utilise dispatcher xlink-core:

[PATCH v3 09/34] misc: xlink-pcie: lh: Add PCIe EPF driver for Local Host

2021-01-29 Thread mgross
From: Srikanth Thokala Add PCIe EPF driver for local host (lh) to configure BAR's and other HW resources. Underlying PCIe HW controller is a Synopsys DWC PCIe core. Cc: Derek Kiernan Cc: Dragan Cvetic Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth T

[PATCH v3 14/34] misc: xlink-pcie: rh: Add core communication logic

2021-01-29 Thread mgross
From: Srikanth Thokala Add logic to establish communication with the local host which is through ring buffer management and MSI/Doorbell interrupts Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/common/core.h

[PATCH v4 10/34] misc: xlink-pcie: lh: Add PCIe EP DMA functionality

2021-01-29 Thread mgross
From: Srikanth Thokala Add Synopsys PCIe DWC core embedded-DMA functionality for local host Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/local_host/Makefile | 1 + drivers/misc/xlink

[PATCH v3 11/34] misc: xlink-pcie: lh: Add core communication logic

2021-01-29 Thread mgross
From: Srikanth Thokala Add logic to establish communication with the remote host which is through ring buffer management and MSI/Doorbell interrupts Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/local_host/Makefi

[PATCH v3 00/34] Intel Vision Processing base enabling

2021-01-29 Thread mgross
From: Mark Gross The Intel Vision Processing Unit (VPU) is an IP block that is showing up for the first time as part of the Keem Bay SOC. Keem Bay is a quad core A53 Arm SOC. It is designed to be used as a stand alone SOC as well as in an PCIe Vision Processing accelerator add in card. This th

[PATCH v3 28/34] misc: Intel tsens IA host driver.

2021-01-29 Thread mgross
From: "C, Udhayakumar" Add Intel tsens IA host driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine vision appli

[PATCH v4 05/34] keembay-ipc: Add Keem Bay IPC module

2021-01-29 Thread mgross
From: Daniele Alessandrelli On the Intel Movidius SoC code named Keem Bay, communication between the Application Processor(AP) and the VPU is enabled by the Keem Bay Inter-Processor Communication (IPC) mechanism. Add the driver for using Keem Bay IPC from within the Linux Kernel. The IPC uses t

[PATCH v4 12/34] misc: xlink-pcie: lh: Prepare changes for adding remote host driver

2021-01-29 Thread mgross
From: Srikanth Thokala Move logic that can be reused between local host and remote host to common/ folder Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/{local_host => common}/core.h |

[PATCH v3 22/34] xlink-core: Enable VPU IP management and runtime control

2021-01-29 Thread mgross
From: Seamus Kelly Enable VPU management including, enumeration, boot and runtime control. Add APIs: write control data: used to transmit small, local data start vpu: calls boot_device API ( soon to be deprecated ) stop vpu

[PATCH v4 33/34] misc: Hddl device management for local host

2021-01-29 Thread mgross
From: "C, Udhayakumar" Add local host hddl device management for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine visio

[PATCH v3 34/34] misc: HDDL device management for IA host

2021-01-29 Thread mgross
From: "C, Udhayakumar" Add IA host hddl device management driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine v

[PATCH v4 16/34] misc: xlink-pcie: Add asynchronous event notification support for XLink

2021-01-30 Thread mgross
From: Srikanth Thokala Add support to notify XLink layer upon PCIe link UP/DOWN events Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/common/core.h | 3 ++ drivers/misc/xlink-pcie/

[PATCH v3 04/34] dt-bindings: Add bindings for Keem Bay IPC driver

2021-01-30 Thread mgross
From: Daniele Alessandrelli Add DT binding documentation for the Intel Keem Bay IPC driver, which enables communication between the Computing Sub-System (CSS) and the Multimedia Sub-System (MSS) of the Intel Movidius SoC code named Keem Bay. Cc: Rob Herring Cc: devicet...@vger.kernel.org Review

[PATCH v3 30/34] misc:intel_tsens: Intel Keem Bay tsens driver.

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add keembey_thermal driver to expose on chip temperature sensors, and register call back functions for periodic sampling. This driver does following: * Reads temperature data from on chip sensors present in Keem Bay platform. * Registers callback function to intel tsens

[PATCH v3 02/34] dt-bindings: mailbox: Add Intel VPU IPC mailbox bindings

2021-01-30 Thread mgross
From: Daniele Alessandrelli Add bindings for the Intel VPU IPC mailbox driver. Signed-off-by: Daniele Alessandrelli --- .../mailbox/intel,vpu-ipc-mailbox.yaml| 69 +++ MAINTAINERS | 6 ++ 2 files changed, 75 insertions(+) create mode

[PATCH v3 19/34] xlink-core: Add xlink core device tree bindings

2021-01-30 Thread mgross
From: Seamus Kelly Add device tree bindings for keembay-xlink. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Seamus Kelly Signed-off-by: Ryan Carnaghi --- .../bindings/misc/intel,keembay-xlink.yaml| 27 +++ 1 file changed, 27 inser

[PATCH v4 09/34] misc: xlink-pcie: lh: Add PCIe EPF driver for Local Host

2021-01-30 Thread mgross
From: Srikanth Thokala Add PCIe EPF driver for local host (lh) to configure BAR's and other HW resources. Underlying PCIe HW controller is a Synopsys DWC PCIe core. Cc: Derek Kiernan Cc: Dragan Cvetic Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross

[PATCH v3 23/34] xlink-core: add async channel and events

2021-01-30 Thread mgross
From: Seamus Kelly Enable asynchronous channel and event communication. Add APIs: data ready callback: The xLink Data Ready Callback function is used to register a callback function that is invoked when data

[PATCH v3 15/34] misc: xlink-pcie: Add XLink API interface

2021-01-30 Thread mgross
From: Srikanth Thokala Provide interface for XLink layer to interact with XLink PCIe transport layer on both local host and remote host. Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/common/interface.c | 107 ++

[PATCH v4 20/34] xlink-core: Add xlink core driver xLink

2021-01-30 Thread mgross
From: Seamus Kelly Add xLink driver, which provides an abstracted control and communication subsystem based on channel identification. It is intended to support VPU technology both at SoC level as well as at IP level, over multiple interfaces. This initial patch enables local hos

[PATCH v4 25/34] misc: Add Keem Bay VPU manager

2021-01-30 Thread mgross
From: "Li, Tingqian" VPU IP on Keem Bay SOC is a vision acceleration IP complex under the control of a RTOS-based firmware (running on RISC MCU inside the VPU IP) serving user-space application running on CPU side for HW accelerated computer vision tasks. This module is kernel counterpart of the

[PATCH v4 00/34] Intel Vision Processing base enabling

2021-01-30 Thread mgross
From: Mark Gross The Intel Vision Processing Unit (VPU) is an IP block that is showing up for the first time as part of the Keem Bay SOC. Keem Bay is a quad core A53 Arm SOC. It is designed to be used as a stand alone SOC as well as in an PCIe Vision Processing accelerator add in card. This fo

[PATCH v3 03/34] mailbox: vpu-ipc-mailbox: Add support for Intel VPU IPC mailbox

2021-01-30 Thread mgross
From: Daniele Alessandrelli Add mailbox controller enabling inter-processor communication (IPC) between the CPU (aka, the Application Processor - AP) and the VPU on Intel Movidius SoCs like Keem Bay. The controller uses HW FIFOs to enable such communication. Specifically, there are two FIFOs, on

[PATCH v3 31/34] Intel Keem Bay XLink SMBus driver

2021-01-30 Thread mgross
From: Ramya P Karanth Adds XLink SMBus driver for Intel Keem Bay SoC. Xlink-smbus driver is a logical smbus adapter which uses Xlink (xlink-pcie) protocol as an interface. Keem Bay(s) vision accelerators are connected to the server via PCI interface. The Server needs to know the temperature of

[PATCH v3 05/34] keembay-ipc: Add Keem Bay IPC module

2021-01-30 Thread mgross
From: Daniele Alessandrelli On the Intel Movidius SoC code named Keem Bay, communication between the Application Processor(AP) and the VPU is enabled by the Keem Bay Inter-Processor Communication (IPC) mechanism. Add the driver for using Keem Bay IPC from within the Linux Kernel. The IPC uses t

[PATCH v4 29/34] Intel tsens i2c slave driver.

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add Intel tsens i2c slave driver for Intel Edge.AI Computer Vision platforms. The tsens i2c slave driver enables reading of on chip sensors present in the Intel Edge.AI Computer Vision platforms. In the tsens i2c module various junction and SoC temperatures are reported us

[PATCH v3 32/34] dt-bindings: misc: hddl_dev: Add hddl device management documentation

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add hddl device management documentation The HDDL client driver acts as an software RTC to sync with network time. It abstracts xlink protocol to communicate with remote IA host. This driver exports the details about sensors available in the platform to remote IA host as x

[PATCH v3 29/34] Intel tsens i2c slave driver.

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add Intel tsens i2c slave driver for Intel Edge.AI Computer Vision platforms. The tsens i2c slave driver enables reading of on chip sensors present in the Intel Edge.AI Computer Vision platforms. In the tsens i2c module various junction and SoC temperatures are reported us

[PATCH v3 13/34] misc: xlink-pcie: rh: Add PCIe EP driver for Remote Host

2021-01-30 Thread mgross
From: Srikanth Thokala Add PCIe Endpoint driver that configures PCIe BARs and MSIs on the Remote Host Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- MAINTAINERS | 2 +- drivers/misc/xlink-pcie/Kconfig

[PATCH v4 17/34] xlink-ipc: Add xlink ipc device tree bindings

2021-01-30 Thread mgross
From: Seamus Kelly Add device tree bindings for the xLink IPC driver which enables xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Seamus Kelly

[PATCH v3 21/34] xlink-core: Enable xlink protocol over pcie

2021-01-30 Thread mgross
From: Seamus Kelly Enable host system access to the VPU over the xlink protocol over PCIe by enabling channel multiplexing and dispatching. This allows for remote host communication channels across pcie links. add dispatcher update multiplexer to utilise dispatcher xlink-core:

[PATCH v3 07/34] keembay-vpu-ipc: Add Keem Bay VPU IPC module

2021-01-30 Thread mgross
From: Paul Murphy Intel Keem Bay SoC contains a Vision Processing Unit (VPU) to enable machine vision and other applications. Enable Linux to control the VPU processor and provides an interface to the Keem Bay IPC for communicating with the VPU firmware. Specifically the driver provides the fol

[PATCH v4 32/34] dt-bindings: misc: hddl_dev: Add hddl device management documentation

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add hddl device management documentation The HDDL client driver acts as an software RTC to sync with network time. It abstracts xlink protocol to communicate with remote IA host. This driver exports the details about sensors available in the platform to remote IA host as x

[PATCH v4 01/34] Add Vision Processing Unit (VPU) documentation.

2021-01-30 Thread mgross
From: mark gross The Intel VPU needs a complicated SW stack to make it work. Add a directory to hold VPU related documentation including an architectural overview of the SW stack that the patches implement. Cc: Jonathan Corbet Signed-off-by: Mark Gross --- Documentation/index.rst

[PATCH v3 26/34] dt-bindings: misc: intel_tsens: Add tsens thermal bindings documentation

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add device tree bindings for local host thermal sensors Intel Edge.AI Computer Vision platforms. The tsens module enables reading of on chip sensors present in the Intel Bay series SoC. In the tsens module various junction temperature and SoC temperature are reported using

[PATCH v3 08/34] misc: xlink-pcie: Add documentation for XLink PCIe driver

2021-01-30 Thread mgross
From: Srikanth Thokala Provide overview of XLink PCIe driver implementation Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- Documentation/vpu/index.rst | 1 + Documentation/vpu/xlink-pcie.rst | 90 +++

[PATCH v4 22/34] xlink-core: Enable VPU IP management and runtime control

2021-01-30 Thread mgross
From: Seamus Kelly Enable VPU management including, enumeration, boot and runtime control. Add APIs: write control data: used to transmit small, local data start vpu: calls boot_device API ( soon to be deprecated ) stop vpu

[PATCH v3 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-01-30 Thread mgross
From: Paul Murphy Add DT bindings documentation for the Keem Bay VPU IPC driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Paul Murphy Co-developed-by: Daniele Alessandrelli Signed-off-by: Daniele Alessandrelli --- .../soc/intel/intel,keembay-vpu

[PATCH v4 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-01-30 Thread mgross
From: Paul Murphy Add DT bindings documentation for the Keem Bay VPU IPC driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Co-developed-by: Daniele Alessandrelli Signed-off-by: Paul Murphy Signed-off-by: Daniele Alessandrelli Signed-off-by: Mark Gross --- .../

[PATCH v4 15/34] misc: xlink-pcie: Add XLink API interface

2021-01-30 Thread mgross
From: Srikanth Thokala Provide interface for XLink layer to interact with XLink PCIe transport layer on both local host and remote host. Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/co

[PATCH v4 11/34] misc: xlink-pcie: lh: Add core communication logic

2021-01-30 Thread mgross
From: Srikanth Thokala Add logic to establish communication with the remote host which is through ring buffer management and MSI/Doorbell interrupts Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/x

[PATCH v4 34/34] misc: HDDL device management for IA host

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add IA host hddl device management driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine v

[PATCH v4 18/34] xlink-ipc: Add xlink ipc driver

2021-01-30 Thread mgross
From: Seamus Kelly Add xLink driver, which interfaces the xLink Core driver with the Keem Bay VPU IPC driver, thus enabling xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Specifically the driver enables xLink Core to: * Boot / Reset the VPU IP * Register to

[PATCH v4 31/34] Intel Keem Bay XLink SMBus driver

2021-01-30 Thread mgross
From: Ramya P Karanth Adds XLink SMBus driver for Intel Keem Bay SoC. Xlink-smbus driver is a logical SMBus adapter which uses Xlink (xlink-pcie) protocol as an interface. Keem Bay(s) vision accelerators are connected to the server via PCI interface. The Server needs to know the temperature of

[PATCH v4 24/34] dt-bindings: misc: Add Keem Bay vpumgr

2021-01-30 Thread mgross
From: "Li, Tingqian" Add DT binding schema for VPU on Keem Bay ASoC platform Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Li Tingqian Signed-off-by: Mark Gross --- .../bindings/misc/intel,keembay-vpu-mgr.yaml | 48 +++ 1 file changed, 48 insertions(+) cre

[PATCH v3 20/34] xlink-core: Add xlink core driver xLink

2021-01-30 Thread mgross
From: Seamus Kelly Add xLink driver, which provides an abstracted control and communication subsystem based on channel identification. It is intended to support VPU technology both at SoC level as well as at IP level, over multiple interfaces. This initial patch enables local hos

[PATCH v3 18/34] xlink-ipc: Add xlink ipc driver

2021-01-30 Thread mgross
From: Seamus Kelly Add xLink driver, which interfaces the xLink Core driver with the Keem Bay VPU IPC driver, thus enabling xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Specifically the driver enables xLink Core to: * Boot / Reset the VPU IP * Register to

  1   2   3   >