[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

[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 ++

[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

[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

[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 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 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

[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

[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,

[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 ---

[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

[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

[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

[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 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 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 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 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(+)

[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 ---

[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

[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 +

[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

[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

[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

[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 +-

[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 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

[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

[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 ---

[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 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

[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 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 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 v5 07/34] keembay-vpu-ipc: Add Keem Bay VPU IPC module

2021-02-05 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

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

2021-02-05 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 v5 08/34] misc: xlink-pcie: Add documentation for XLink PCIe driver

2021-02-05 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 v5 18/34] xlink-ipc: Add xlink ipc driver

2021-02-05 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 v5 32/34] dt-bindings: misc: hddl_dev: Add hddl device management documentation

2021-02-05 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

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

2021-02-05 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

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

2021-02-05 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

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

2021-02-05 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

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

2021-02-05 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

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

2021-02-05 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 v5 09/34] misc: xlink-pcie: lh: Add PCIe EPF driver for Local Host

2021-02-05 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

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

2021-02-05 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 v5 24/34] dt-bindings: misc: Add Keem Bay vpumgr

2021-02-05 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(+)

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

2021-02-05 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

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

2021-02-05 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

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

2021-02-05 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,

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

2021-02-05 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 +

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

2021-02-05 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 v5 02/34] dt-bindings: mailbox: Add Intel VPU IPC mailbox bindings

2021-02-05 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 v5 29/34] Intel tsens i2c slave driver.

2021-02-05 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

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

2021-02-05 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

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

2021-02-05 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 +-

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

2021-02-05 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

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

2021-02-05 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 v5 23/34] xlink-core: add async channel and events

2021-02-05 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 v5 15/34] misc: xlink-pcie: Add XLink API interface

2021-02-05 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 ---

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

2021-02-05 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

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

2021-02-05 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 v5 04/34] dt-bindings: Add bindings for Keem Bay IPC driver

2021-02-05 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

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

2021-02-05 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

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

2021-02-05 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 ---

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

2021-02-05 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 ++

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

2021-02-05 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 ---

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

2021-02-05 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 v5 30/34] misc:intel_tsens: Intel Keem Bay tsens driver.

2021-02-05 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 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: Srikanth Thokala --- drivers/misc/xlink-pcie/common/core.h | 3 ++ drivers/misc/xlink-pcie/common/interface.c | 17

[PATCH v4 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

[PATCH v4 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: Mark Gross Signed-off-by: Seamus Kelly --- .../bindings/misc/intel,keembay-xlink.yaml| 29 +++ 1 file changed, 29

[PATCH v4 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. 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 v3 27/34] misc: Tsens ARM host thermal driver.

2021-01-30 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

[PATCH v4 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: Mark Gross Signed-off-by: Srikanth Thokala --- Documentation/vpu/index.rst | 1 + Documentation/vpu/xlink-pcie.rst | 90

[PATCH v3 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: Seamus Kelly Signed-off-by: Ryan

[PATCH v4 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

[PATCH v4 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 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 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

[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(+)

[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 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 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

[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 ---

[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 ---

[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 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 ---

[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 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 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

[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 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

[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

[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 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 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

[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 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

  1   2   3   >