[PATCH v4 02/10] docs: driver-api: Add I3C documentation

2018-03-30 Thread Boris Brezillon
Add the I3C documentation describing the protocol, the master driver API and the device driver API. Signed-off-by: Boris Brezillon --- Changes in v2: - Moved out of patch "i3c: Add core I3C infrastructure" - Add link to the I3C spec - Move rst files in Documentation/driver-api/i3c/ --- Documenta

[PATCH v4 09/10] gpio: Add a driver for Cadence I3C GPIO expander

2018-03-30 Thread Boris Brezillon
Add a driver for Cadence I3C GPIO expander. Signed-off-by: Boris Brezillon --- drivers/gpio/Kconfig | 11 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-cdns-i3c.c | 380 +++ 3 files changed, 392 insertions(+) create mode 100644 drive

[PATCH v4 10/10] dt-bindings: gpio: Add bindings for Cadence I3C gpio expander

2018-03-30 Thread Boris Brezillon
Document the Cadence I3C gpio expander bindings. Signed-off-by: Boris Brezillon --- Changes in v4: - Use GPIO_ and IRQ_TYPE_ macros instead of raw numbers - Fix the unit-address in the example --- .../devicetree/bindings/gpio/gpio-cdns-i3c.txt | 39 ++ 1 file changed, 39

[PATCH v4 07/10] i3c: master: Add driver for Cadence IP

2018-03-30 Thread Boris Brezillon
Add a driver for Cadence I3C master IP. Signed-off-by: Boris Brezillon --- Changes in v4: - Fix potential unsigned integer underflow - Add missing static specific on IBI related functions Changes in v3: - Adjust to match I3C framework changes - Implement support the CMD RESPONSE QUEUE and IBI QU

[PATCH v4 08/10] dt-bindings: i3c: Document Cadence I3C master bindings

2018-03-30 Thread Boris Brezillon
Document Cadence I3C master DT bindings. Signed-off-by: Boris Brezillon --- Changes in v4: - Fix example to match the new representation --- .../devicetree/bindings/i3c/cdns,i3c-master.txt| 44 ++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetr

[PATCH v4 06/10] MAINTAINERS: Add myself as the I3C subsystem maintainer

2018-03-30 Thread Boris Brezillon
Create an entry for the I3C subsystem and mark it as maintained by me. There's no official git repository, patchwork instance, mailing list or website yet, but this will be added after the subsystem has been accepted. Signed-off-by: Boris Brezillon --- MAINTAINERS | 9 + 1 file changed,

[PATCH v4 05/10] dt-bindings: i3c: Add macros to help fill I3C/I2C device's reg property

2018-03-30 Thread Boris Brezillon
The reg property of devices connected to an I3C bus have 3 cells, and filling them manually is not trivial. Provides macros to help doing that. Signed-off-by: Boris Brezillon Reviewed-by: Rob Herring --- include/dt-bindings/i3c/i3c.h | 28 1 file changed, 28 inserti

[PATCH v4 03/10] i3c: Add sysfs ABI spec

2018-03-30 Thread Boris Brezillon
Document sysfs files/directories/symlinks exposed by the I3C subsystem. Signed-off-by: Boris Brezillon --- Changes in v2: - new patch --- Documentation/ABI/testing/sysfs-bus-i3c | 95 + 1 file changed, 95 insertions(+) create mode 100644 Documentation/ABI/testing

[PATCH v4 00/10] Add the I3C subsystem

2018-03-30 Thread Boris Brezillon
This patch series is a proposal for a new I3C subsystem. This infrastructure is not complete yet and will be extended over time. There are a few design choices that are worth mentioning because they impact the way I3C device drivers can interact with their devices: - all functions used to send I

[PATCH v4 04/10] dt-bindings: i3c: Document core bindings

2018-03-30 Thread Boris Brezillon
A new I3C subsystem has been added and a generic description has been created to represent the I3C bus and the devices connected on it. Document this generic representation. Signed-off-by: Boris Brezillon --- Changes in v4: - Clarify the fact that static address == I3C address and dynamic addr

Re: [PATCH v4 04/10] dt-bindings: i3c: Document core bindings

2018-03-30 Thread Geert Uytterhoeven
Hi Boris, On Fri, Mar 30, 2018 at 9:47 AM, Boris Brezillon wrote: > A new I3C subsystem has been added and a generic description has been > created to represent the I3C bus and the devices connected on it. > > Document this generic representation. > > Signed-off-by: Boris Brezillon > --- > Chang

Re: [PATCH v4 04/10] dt-bindings: i3c: Document core bindings

2018-03-30 Thread Boris Brezillon
On Fri, 30 Mar 2018 09:55:22 +0200 Geert Uytterhoeven wrote: > Hi Boris, > > On Fri, Mar 30, 2018 at 9:47 AM, Boris Brezillon > wrote: > > A new I3C subsystem has been added and a generic description has been > > created to represent the I3C bus and the devices connected on it. > > > > Document

Re: [Question] Documentation/features: More automation/scripting help?

2018-03-30 Thread Ingo Molnar
* Andrea Parri wrote: > Hi all, > > The directory (not yet three years old although, I freely admit, I've > only recently become aware of it) provides arch. support matrices for > more than 40 generic kernel features that need per-arch. support: > > This is a superb project! ;-) and not a sim

Re: [PATCH] syscalls: define and explain goal to not call syscalls in the kernel

2018-03-30 Thread Jonathan Corbet
On Sun, 25 Mar 2018 18:25:27 +0200 Dominik Brodowski wrote: > As there have been multiple inquiries on the rationale of my patchsets > removing in-kernel calls to sys_xyzzy(), here is an updated patch 01/NN > which I will push upstream for v4.17-rc1. I will also include a reference > to this mail

[PATCH v6 5/5] arm64: dts: sdm845: Add support for an instance of I2C controller

2018-03-30 Thread Karthikeyan Ramasubramanian
Add one instance of GENI based I2C master controller to enable testing I2C driver using EEPROM slave. Signed-off-by: Karthikeyan Ramasubramanian Reviewed-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 19 +++ arch/arm64/boot/dts/qcom/sdm845.dtsi| 28 +

[PATCH v6 3/5] i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller

2018-03-30 Thread Karthikeyan Ramasubramanian
This bus driver supports the GENI based i2c hardware controller in the Qualcomm SOCs. The Qualcomm Generic Interface (GENI) is a programmable module supporting a wide range of serial interfaces including I2C. The driver supports FIFO mode and DMA mode of transfer and switches modes dynamically depe

[PATCH v6 0/5] Introduce GENI SE Controller Driver

2018-03-30 Thread Karthikeyan Ramasubramanian
Generic Interface (GENI) firmware based Qualcomm Universal Peripheral (QUP) Wrapper is a next generation programmable module for supporting a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. A single QUP module can provide upto 8 Serial Interfaces using its internal Serial Engines (SE

[PATCH v6 4/5] arm64: dts: sdm845: Add serial console support

2018-03-30 Thread Karthikeyan Ramasubramanian
From: Rajendra Nayak Add the qup uart node and geni se instance needed to support the serial console on the MTP. Signed-off-by: Rajendra Nayak Signed-off-by: Karthikeyan Ramasubramanian --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 41 + arch/arm64/boot/dts/qco

[PATCH v6 2/5] soc: qcom: Add GENI based QUP Wrapper driver

2018-03-30 Thread Karthikeyan Ramasubramanian
This driver manages the Generic Interface (GENI) firmware based Qualcomm Universal Peripheral (QUP) Wrapper. GENI based QUP is the next generation programmable module composed of multiple Serial Engines (SE) and supports a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. This driver a

[PATCH v6 1/5] dt-bindings: soc: qcom: Add device tree binding for GENI SE

2018-03-30 Thread Karthikeyan Ramasubramanian
Add device tree binding support for the QCOM GENI SE driver. Signed-off-by: Karthikeyan Ramasubramanian Signed-off-by: Sagar Dharia Signed-off-by: Girish Mahadevan Reviewed-by: Rob Herring Reviewed-by: Stephen Boyd --- .../devicetree/bindings/soc/qcom/qcom,geni-se.txt | 119

Re: [PATCH v2] crypto: doc - clarify hash callbacks state machine

2018-03-30 Thread Herbert Xu
On Tue, Mar 20, 2018 at 09:56:12AM +0200, Horia Geantă wrote: > Add a note that it is perfectly legal to "abandon" a request object: > - call .init() and then (as many times) .update() > - _not_ call any of .final(), .finup() or .export() at any point in > future > > Link: https://lkml.kernel.or

Re: [PATCH] syscalls: define and explain goal to not call syscalls in the kernel

2018-03-30 Thread Dominik Brodowski
Jon, On Fri, Mar 30, 2018 at 09:35:18AM -0600, Jonathan Corbet wrote: > On Sun, 25 Mar 2018 18:25:27 +0200 > Dominik Brodowski wrote: > > > As there have been multiple inquiries on the rationale of my patchsets > > removing in-kernel calls to sys_xyzzy(), here is an updated patch 01/NN > > which