Re: [PATCH 00/19] mtd: rawnand: API cleanup (2nd batch)

2018-09-17 Thread Boris Brezillon
On Sat, 15 Sep 2018 19:54:40 +0200 Miquel Raynal wrote: > Hi Boris, > > Boris Brezillon wrote on Fri, 7 Sep 2018 > 00:38:32 +0200: > > > Hello, > > > > This is the 2nd batch of API cleanup patches. This time we move > > deprecated hooks/fields to the

[PATCH] staging: Remove the mt29f_spinand driver

2018-10-22 Thread Boris Brezillon
A new SPI NAND subsystem has been added in drivers/mtd/nand/spi/ and Micron's MT29F devices are now supported in drivers/mtd/nand/spi/micron.c. Remove the old driver. Signed-off-by: Boris Brezillon --- Hello, If anything is missing in drivers/mtd/nand/spi/micron.c to properly suppor

Re: [PATCH] media: rkvdec: silence ktest bot build warning

2021-01-07 Thread Boris Brezillon
; > vim +/of_rkvdec_match +967 drivers/staging/media/rkvdec/rkvdec.c > > > >966 > > > 967 static const struct of_device_id of_rkvdec_match[] = { > >968 { .compatible = "rockchip,rk3399-vdec" }, > >969

Re: [PATCH 5/8] media: cedrus: Detect first slice of a frame

2019-08-26 Thread Boris Brezillon
Hi Jernej, On Thu, 22 Aug 2019 21:44:57 +0200 Jernej Skrabec wrote: > When codec supports multiple slices in one frame, VPU has to know when > first slice of each frame is being processed, presumably to correctly > clear/set data in auxiliary buffers. > > Add first_slice field to cedrus_run str

Re: [PATCH 2/8] videodev2.h: add V4L2_DEC_CMD_FLUSH

2019-08-26 Thread Boris Brezillon
On Thu, 22 Aug 2019 21:44:54 +0200 Jernej Skrabec wrote: > From: Hans Verkuil > > Add this new V4L2_DEC_CMD_FLUSH decoder command and document it. > > Signed-off-by: Hans Verkuil > Signed-off-by: Jernej Skrabec Reviewed-by: Boris Brezillon > --- > Documentati

Re: [PATCH 7/8] media: cedrus: Add support for holding capture buffer

2019-08-26 Thread Boris Brezillon
iver by exposing and implementing > V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF capability. > > Signed-off-by: Jernej Skrabec Reviewed-by: Boris Brezillon > --- > drivers/staging/media/sunxi/cedrus/cedrus_dec.c | 9 + > drivers/staging/media/sunxi/cedrus/cedrus_hw.c| 8 +

Re: [PATCH 8/8] media: cedrus: Add support for V4L2_DEC_CMD_FLUSH

2019-08-26 Thread Boris Brezillon
On Thu, 22 Aug 2019 21:45:00 +0200 Jernej Skrabec wrote: > This command is useful for explicitly flushing last decoded frame. > > Signed-off-by: Jernej Skrabec Reviewed-by: Boris Brezillon > --- > .../staging/media/sunxi/cedrus/cedrus_video.c | 34 +++ >

Re: [PATCH 5/8] media: cedrus: Detect first slice of a frame

2019-08-29 Thread Boris Brezillon
On Thu, 29 Aug 2019 21:04:28 +0200 Jernej Škrabec wrote: > Dne ponedeljek, 26. avgust 2019 ob 20:28:31 CEST je Boris Brezillon > napisal(a): > > Hi Jernej, > > > > On Thu, 22 Aug 2019 21:44:57 +0200 > > > > Jernej Skrabec wrote: > > > When cod

Re: [PATCH] mtd: rawnand: driver for Mediatek MT7621 SoC NAND flash controller

2019-11-10 Thread Boris Brezillon
+Richard and Miquel On Thu, 07 Nov 2019 09:20:53 + René van Dorst wrote: > Quoting g...@kernel.org: > > > From: Greg Ungerer > > > > Add a driver to support the NAND flash controller of the MediaTek MT7621 > > System-on-Chip device. (This one is the MIPS based parts from Mediatek). > > > >

Re: [PATCH] mtd: rawnand: driver for Mediatek MT7621 SoC NAND flash controller

2019-11-10 Thread Boris Brezillon
On Thu, 7 Nov 2019 09:40:07 +0100 Greg KH wrote: > On Thu, Nov 07, 2019 at 05:35:21PM +1000, g...@kernel.org wrote: > > From: Greg Ungerer > > > > Add a driver to support the NAND flash controller of the MediaTek MT7621 > > System-on-Chip device. (This one is the MIPS based parts from Mediatek)

Re: [PATCH] mtd: rawnand: driver for Mediatek MT7621 SoC NAND flash controller

2019-11-10 Thread Boris Brezillon
On Sun, 10 Nov 2019 12:39:19 +0100 Boris Brezillon wrote: > On Thu, 7 Nov 2019 09:40:07 +0100 > Greg KH wrote: > > > On Thu, Nov 07, 2019 at 05:35:21PM +1000, g...@kernel.org wrote: > > > From: Greg Ungerer > > > > > > Add a driver to support

Re: [PATCH 02/15] [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values

2014-11-05 Thread Boris Brezillon
Hi Sakari, On Wed, 5 Nov 2014 16:57:27 +0200 Sakari Ailus wrote: > Hi Boris, > > On Tue, Nov 04, 2014 at 10:54:57AM +0100, Boris Brezillon wrote: > > In order to have subsytem agnostic media bus format definitions we've > > moved media bus definition to include/uap

Re: [PATCH 11/15] [media] Deprecate v4l2_mbus_pixelcode

2014-11-05 Thread Boris Brezillon
On Wed, 5 Nov 2014 17:08:15 +0200 Sakari Ailus wrote: > Hi Boris, > > On Tue, Nov 04, 2014 at 10:55:06AM +0100, Boris Brezillon wrote: > > The v4l2_mbus_pixelcode enum (or its values) should be replaced by the > > media_bus_format enum. > > Keep this enum in v4l2-

Re: [PATCH 11/15] [media] Deprecate v4l2_mbus_pixelcode

2014-11-05 Thread Boris Brezillon
On Wed, 05 Nov 2014 16:19:56 +0100 Hans Verkuil wrote: > > > On 11/05/14 16:15, Boris Brezillon wrote: > > On Wed, 5 Nov 2014 17:08:15 +0200 > > Sakari Ailus wrote: > > > >> Hi Boris, > >> > >> On Tue, Nov 04, 2014 at 10:55:06AM +0100

Re: [PATCH 01/15] [media] Move mediabus format definition to a more standard place

2014-11-05 Thread Boris Brezillon
macros should be used instead of an enum since that > way it's possible to figure out at that phase whether something is defined > or not. There is for enums, too, but it results in a compilation error... > I don't get that last part :-). -- Boris Brezillo

[PATCH v2 03/10] [media] Make use of the new media_bus_format definitions

2014-11-06 Thread Boris Brezillon
Replace references to the v4l2_mbus_pixelcode enum with the new media_bus_format enum in all common headers. Signed-off-by: Boris Brezillon Acked-by: Sakari Ailus --- include/media/v4l2-mediabus.h| 2 +- include/media/v4l2-subdev.h | 2 +- include/uapi/linux/v4l2-subdev.h | 6

[PATCH v2 00/10] [media] Make mediabus format subsystem neutral

2014-11-06 Thread Boris Brezillon
(media_bus_format), and then replace all references to the old enum and its values within the kernel. Best Regards, Boris Changes since v1: - drop patches deprecating v4l2_mbus_pixelcode for user-space users - put V4L2 legacy format definitions into media-bus-format.h Boris Brezillon (10): [media] Move

[PATCH v2 01/10] [media] Move mediabus format definition to a more standard place

2014-11-06 Thread Boris Brezillon
Rename mediabus formats and move the enum into a separate header file so that it can be used by DRM/KMS subsystem without any reference to the V4L2 subsystem. Old v4l2_mbus_pixelcode now points to media_bus_format. Signed-off-by: Boris Brezillon Acked-by: Guennadi Liakhovetski --- include

[PATCH v2 02/10] [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values

2014-11-06 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Update the v4l documentation accordingly. Signed-off-by: Boris Brez

[PATCH v2 04/10] [media] i2c: Make use of media_bus_format enum

2014-11-06 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definitions to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in i2c drivers. Signed-off-by:

[PATCH v2 07/10] [media] usb: Make use of media_bus_format enum

2014-11-06 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all usb drivers. Signed-off-by: Boris Brez

[PATCH v2 09/10] gpu: ipu-v3: Make use of media_bus_format enum

2014-11-06 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in the ipu-v3 driver. Signed-off-by: Boris Brez

[PATCH v2 05/10] [media] pci: Make use of media_bus_format enum

2014-11-06 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definition in pci drivers. Signed-off-by:

[PATCH v2 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-06 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon --- in

[PATCH v2 08/10] staging: media: Make use of media_bus_format enum

2014-11-06 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all media drivers residing in staging. Signed-off-by:

[PATCH v2 06/10] [media] platform: Make use of media_bus_format enum

2014-11-06 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all platform drivers. Signed-off-by: Boris Brez

Re: [PATCH v2 01/10] [media] Move mediabus format definition to a more standard place

2014-11-07 Thread Boris Brezillon
On Fri, 7 Nov 2014 13:43:59 +0200 Sakari Ailus wrote: > Hi Boris, > > Thank you for the update. > > On Thu, Nov 06, 2014 at 10:56:59AM +0100, Boris Brezillon wrote: > > Rename mediabus formats and move the enum into a separate header file so > > that it can be used b

[PATCH v3 00/10] [media] Make mediabus format subsystem neutral

2014-11-07 Thread Boris Brezillon
legacy format definitions into media-bus-format.h Boris Brezillon (10): [media] Move mediabus format definition to a more standard place [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values [media] Make use of the new media_bus_format definitions [media] i2c: Make use of

[PATCH v3 01/10] [media] Move mediabus format definition to a more standard place

2014-11-07 Thread Boris Brezillon
V4L2_MBUS_FROM_MEDIA_BUS_FMT macro. Acked-by: Guennadi Liakhovetski Signed-off-by: Boris Brezillon --- include/uapi/linux/Kbuild | 1 + include/uapi/linux/media-bus-format.h | 125 +++ include/uapi/linux/v4l2-mediabus.h| 184 +++--- 3

[PATCH v3 02/10] [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values

2014-11-07 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed them with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Update the v4l documentation accordingly. Signed-off-by: Boris Brezillon --- Document

[PATCH v3 03/10] [media] Make use of the new media_bus_format definitions

2014-11-07 Thread Boris Brezillon
Replace references to the v4l2_mbus_pixelcode enum with the new media_bus_format enum in all common headers. Signed-off-by: Boris Brezillon Acked-by: Sakari Ailus --- include/media/v4l2-mediabus.h| 2 +- include/media/v4l2-subdev.h | 2 +- include/uapi/linux/v4l2-subdev.h | 6

[PATCH v3 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-07 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon --- in

[PATCH v3 05/10] [media] pci: Make use of MEDIA_BUS_FMT definitions

2014-11-07 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in pci drivers. Signed-off-by: Boris Brez

[PATCH v3 07/10] [media] usb: Make use of media_bus_format enum

2014-11-07 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all usb drivers. Signed-off-by: Boris Brez

[PATCH v3 08/10] staging: media: Make use of MEDIA_BUS_FMT_ definitions

2014-11-07 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all media drivers residing in staging. Signed-off-by:

[PATCH v3 09/10] gpu: ipu-v3: Make use of media_bus_format enum

2014-11-07 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in the ipu-v3 driver. Signed-off-by: Boris Brez

[PATCH v3 04/10] [media] i2c: Make use of media_bus_format enum

2014-11-07 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definitions to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in i2c drivers. Signed-off-by: Boris Brez

[PATCH v3 06/10] [media] platform: Make use of media_bus_format enum

2014-11-07 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all platform drivers. Signed-off-by: Boris Brez

Re: [PATCH v3 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-07 Thread Boris Brezillon
On Fri, 07 Nov 2014 15:47:41 +0100 Hans Verkuil wrote: > Nitpicks: > > On 11/07/14 15:07, Boris Brezillon wrote: > > Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel > > users don't have access to these definitions. > > > > We have

Re: [PATCH v3 01/10] [media] Move mediabus format definition to a more standard place

2014-11-07 Thread Boris Brezillon
Hi Sakari, On Fri, 7 Nov 2014 17:24:16 +0200 Sakari Ailus wrote: > Hi Boris, > > On Fri, Nov 07, 2014 at 03:07:40PM +0100, Boris Brezillon wrote: > > Define MEDIA_BUS_FMT macros (re-using the values defined in the > > v4l2_mbus_pixelcode enum) into a separate header fil

[PATCH v4 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-07 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon --- in

[PATCH v4 01/10] [media] Move mediabus format definition to a more standard place

2014-11-07 Thread Boris Brezillon
V4L2_MBUS_FROM_MEDIA_BUS_FMT macro. Acked-by: Guennadi Liakhovetski Signed-off-by: Boris Brezillon Acked-by: Hans Verkuil --- include/uapi/linux/Kbuild | 1 + include/uapi/linux/media-bus-format.h | 125 +++ include/uapi/linux/v4l2-mediabus.h| 184

Re: [PATCH v4 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-07 Thread Boris Brezillon
On Sat, 08 Nov 2014 00:47:25 +0200 Sakari Ailus wrote: > Hi Boris, > > Boris Brezillon wrote: > > @@ -102,6 +113,7 @@ enum v4l2_mbus_pixelcode { > > > > V4L2_MBUS_FROM_MEDIA_BUS_FMT(AHSV_1X32), > > }; > > +#endif /* __KERNEL__ */ > >

[PATCH v5 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-08 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon Acked-

Re: [PATCH v5 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-10 Thread Boris Brezillon
On Mon, 10 Nov 2014 12:09:19 +0100 Hans Verkuil wrote: > On 11/08/2014 04:47 PM, Boris Brezillon wrote: > > Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel > > users don't have access to these definitions. > > > > We have to keep this

[PATCH v6 09/10] gpu: ipu-v3: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in the ipu-v3 driver. Signed-off-by: Boris Brezillon Ack

[PATCH v6 04/10] [media] i2c: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definitions to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in i2c drivers. Signed-off-by: Boris Brez

[PATCH v6 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-10 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon Acked-

[PATCH v6 05/10] [media] pci: Make use of MEDIA_BUS_FMT definitions

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in pci drivers. Signed-off-by: Boris Brez

[PATCH v6 02/10] [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed them with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Update the v4l documentation accordingly. Signed-off-by: Boris Brezillon Acked-by:

[PATCH v6 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all platform drivers. Signed-off-by: Boris Brezillon Ack

[PATCH v6 08/10] staging: media: Make use of MEDIA_BUS_FMT_ definitions

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all media drivers residing in staging. Signed-off-by:

[PATCH v6 00/10] [media] Make mediabus format subsystem neutral

2014-11-10 Thread Boris Brezillon
into media-bus-format.h Boris Brezillon (10): [media] Move mediabus format definition to a more standard place [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values [media] Make use of the new media_bus_format definitions [media] i2c: Make use of media_bus_format enum [media

[PATCH v6 01/10] [media] Move mediabus format definition to a more standard place

2014-11-10 Thread Boris Brezillon
V4L2_MBUS_FROM_MEDIA_BUS_FMT macro. Signed-off-by: Boris Brezillon Acked-by: Guennadi Liakhovetski Acked-by: Hans Verkuil Acked-by: Sakari Ailus --- include/uapi/linux/Kbuild | 1 + include/uapi/linux/media-bus-format.h | 125 +++ include/uapi/linux/v4l2-mediabus.h

[PATCH v6 03/10] [media] Make use of the new media_bus_format definitions

2014-11-10 Thread Boris Brezillon
Replace references to the v4l2_mbus_pixelcode enum with the new media_bus_format enum in all common headers. Signed-off-by: Boris Brezillon Acked-by: Sakari Ailus Acked-by: Hans Verkuil --- include/media/v4l2-mediabus.h| 2 +- include/media/v4l2-subdev.h | 2 +- include/uapi/linux

[PATCH v6 07/10] [media] usb: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all usb drivers. Signed-off-by: Boris Brezillon Ack

[PATCH v6 RESEND 07/10] [media] usb: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all usb drivers. Signed-off-by: Boris Brezillon Ack

[PATCH v6 RESEND 03/10] [media] Make use of the new media_bus_format definitions

2014-11-10 Thread Boris Brezillon
Replace references to the v4l2_mbus_pixelcode enum with the new media_bus_format enum in all common headers. Signed-off-by: Boris Brezillon Acked-by: Sakari Ailus Acked-by: Hans Verkuil --- include/media/v4l2-mediabus.h| 2 +- include/media/v4l2-subdev.h | 2 +- include/uapi/linux

Re: [PATCH v6 00/10] [media] Make mediabus format subsystem neutral

2014-11-10 Thread Boris Brezillon
On Mon, 10 Nov 2014 18:21:44 +0100 Boris Brezillon wrote: > Hello, > > This patch series prepares the use of media bus formats outside of > the V4L2 subsytem (my final goal is to use it in the Atmel HLCDC DRM > driver where I have to configure my DPI/RGB bus according to the >

[PATCH v6 RESEND 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-10 Thread Boris Brezillon
Place v4l2_mbus_pixelcode in a #ifndef __KERNEL__ section so that kernel users don't have access to these definitions. We have to keep this definition for user-space users even though they're encouraged to move to the new media_bus_format enum. Signed-off-by: Boris Brezillon Acked-

[PATCH v6 RESEND 05/10] [media] pci: Make use of MEDIA_BUS_FMT definitions

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in pci drivers. Signed-off-by: Boris Brez

[PATCH v6 RESEND 02/10] [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed them with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Update the v4l documentation accordingly. Signed-off-by: Boris Brezillon Acked-by:

[PATCH v6 RESEND 00/10] [media] Make mediabus format subsystem neutral

2014-11-10 Thread Boris Brezillon
into media-bus-format.h Boris Brezillon (10): [media] Move mediabus format definition to a more standard place [media] v4l: Update subdev-formats doc with new MEDIA_BUS_FMT values [media] Make use of the new media_bus_format definitions [media] i2c: Make use of media_bus_format enum [media

[PATCH v6 RESEND 04/10] [media] i2c: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definitions to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Replace all references to the old definitions in i2c drivers. Signed-off-by: Boris Brez

[PATCH v6 RESEND 09/10] gpu: ipu-v3: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed enum values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in the ipu-v3 driver. Signed-off-by: Boris Brezillon Ack

[PATCH v6 RESEND 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all platform drivers. Signed-off-by: Boris Brezillon Ack

[PATCH v6 RESEND 08/10] staging: media: Make use of MEDIA_BUS_FMT_ definitions

2014-11-10 Thread Boris Brezillon
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all media drivers residing in staging. Signed-off-by:

[PATCH v6 RESEND 01/10] [media] Move mediabus format definition to a more standard place

2014-11-10 Thread Boris Brezillon
V4L2_MBUS_FROM_MEDIA_BUS_FMT macro. Signed-off-by: Boris Brezillon Acked-by: Guennadi Liakhovetski Acked-by: Hans Verkuil Acked-by: Sakari Ailus --- include/uapi/linux/Kbuild | 1 + include/uapi/linux/media-bus-format.h | 125 +++ include/uapi/linux/v4l2-mediabus.h

Re: [PATCH] staging: media: hantro: Remove call to memset after dma_alloc_coherent

2019-07-25 Thread Boris Brezillon
ed-off-by: Hariprasad Kelam Reviewed-by: Boris Brezillon > --- > drivers/staging/media/hantro/hantro_vp8.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/staging/media/hantro/hantro_vp8.c > b/drivers/staging/media/hantro/hantro_vp8.c > index 66c4533..36

Re: [RFC 03/12] mtd: nand: use a static data_interface in the nand_chip structure

2017-10-18 Thread Boris Brezillon
On Wed, 18 Oct 2017 16:36:20 +0200 Miquel Raynal wrote: > Change the data_interface field from the nand_chip structure, convert > the pointer to a static structure. You mean "embed a nand_data_interface object". Not sure the static specifier can be used to describe what you do. > > Also remove

Re: [RFC 04/12] mtd: nand: add ->exec_op() implementation

2017-10-18 Thread Boris Brezillon
cific operations, it allows the core to check whether the NAND controller will be able to execute a specific operation or not, which before that was impossible. It doesn't mean all controllers will magically support all kind of NAND operations, but at least we'll know when it doesn'

Re: [RFC 05/12] dt-bindings: mtd: add Marvell NAND controller documentation

2017-10-18 Thread Boris Brezillon
On Wed, 18 Oct 2017 16:36:22 +0200 Miquel Raynal wrote: > Document the bindings for the legacy and the new bindings relative to > Marvell NAND controller driver rework. > > Signed-off-by: Miquel Raynal > --- > .../devicetree/bindings/mtd/marvell-nand.txt | 95 > ++ >

Re: [RFC 00/12] Marvell NAND controller rework with ->exec_op()

2017-10-18 Thread Boris Brezillon
s needed. > > As this series changes several core functions and also directly touches > multiple controller drivers, it would be great to have reviews and tests > from the concerned maintainers. Only PXA3xx SoCs are not supported yet > (explaining the RFC) as having a local boa

Re: [RFC 06/12] mtd: nand: add reworked Marvell NAND controller driver

2017-10-19 Thread Boris Brezillon
On Wed, 18 Oct 2017 16:36:23 +0200 Miquel Raynal wrote: > + > +enum marvell_nfc_variant { > + MARVELL_NFC_VARIANT_PXA3XX, > + MARVELL_NFC_VARIANT_ARMADA370, > + MARVELL_NFC_VARIANT_ARMADA_8K, > +}; > + > +/* > + * NAND controller capabilities for distinction between compatible string

Re: [RFC 02/12] mtd: nand: force drivers to explicitly send READ/PROG commands

2017-10-20 Thread Boris Brezillon
On Fri, 20 Oct 2017 11:29:18 +0200 Stefan Agner wrote: > Hi Miquel, > > Thanks for the work on this, happy to see the new interface is moving > forward. Some comments below. > > On 2017-10-18 16:36, Miquel Raynal wrote: > > From: Boris Brezillon > > > > T

Re: [PATCH 5/5] mtd: nand: add ->exec_op() implementation

2017-11-30 Thread Boris Brezillon
rite 512 bytes again (the second half). > > Various other helpers are also added to ease NAND controller drivers > writing. > > This new interface should really ease the support of new vendor specific > operations, and at least report whether the command is supported or not

Re: [PATCH 1/5] mtd: nand: use usual return values for the ->erase() hook

2017-11-30 Thread Boris Brezillon
On Thu, 30 Nov 2017 18:01:28 +0100 Miquel Raynal wrote: > Avoid using specific defined values for checking returned status of the > ->erase() hook. Instead, use usual negative error values on failure, > zero otherwise. > > Signed-off-by: Miquel Raynal > --- > drivers/mtd/nand/denali.c| 2

Re: [PATCH 0/5] Introduce the new NAND core interface: ->exec_op()

2017-12-01 Thread Boris Brezillon
controller drivers. A proper external > documentation is being written and will later be submitted. > > Thank you, > Miquèl > > > Boris Brezillon (2): > mtd: nand: provide several helpers to do common NAND operations > mtd: nand: force drivers to explicitly send

Re: [PATCH 4/5] mtd: nand: use a static data_interface in the nand_chip structure

2017-12-01 Thread Boris Brezillon
On Thu, 30 Nov 2017 18:01:31 +0100 Miquel Raynal wrote: > Change the nand_chip structure, to embed the nand_data_interface object. > > Also remove the nand_get_default_data_interface() function that become > useless but add the initialization of the data_interface at the very > beginning of nand

Re: [PATCH 1/5] mtd: nand: use usual return values for the ->erase() hook

2017-12-01 Thread Boris Brezillon
On Thu, 30 Nov 2017 23:02:46 +0100 Miquel RAYNAL wrote: > > > diff --git a/drivers/mtd/nand/nand_base.c > > > b/drivers/mtd/nand/nand_base.c index 630048f5abdc..4d1f2bda6095 > > > 100644 --- a/drivers/mtd/nand/nand_base.c > > > +++ b/drivers/mtd/nand/nand_base.c > > > @@ -3077,7 +3077,7 @@ int na

Re: [PATCH 5/5] mtd: nand: add ->exec_op() implementation

2017-12-01 Thread Boris Brezillon
Hi Miquel, On Thu, 30 Nov 2017 23:25:38 +0100 Miquel RAYNAL wrote: > > > diff --git a/drivers/mtd/nand/nand_base.c > > > b/drivers/mtd/nand/nand_base.c index 52965a8aeb2c..46bf31aff909 > > > 100644 --- a/drivers/mtd/nand/nand_base.c > > > +++ b/drivers/mtd/nand/nand_base.c > > > @@ -689,6 +689,5

Re: [PATCH 5/5] mtd: nand: add ->exec_op() implementation

2017-12-01 Thread Boris Brezillon
On Thu, 30 Nov 2017 18:01:32 +0100 Miquel Raynal wrote: > EXPORT_SYMBOL_GPL(nand_write_data_op); > > /** > + * struct nand_op_parser_ctx - Context used by the parser > + * @instrs: array of all the instructions that must be addressed > + * @ninstrs: length of the @instrs array > + * @instr_id

Re: [PATCH] staging:mt29f_spinand: MT29F2G failing as only 16-bit arguments and variables used for addressing.

2018-07-31 Thread Boris Brezillon
Hi Jheng-Jhong, On Wed, 1 Aug 2018 11:24:19 +0800 Jheng-Jhong Wu wrote: > For NAND flash chips with more than 1Gbit (e.g. MT29F2G) more than 16 bits > are necessary to address the correct page. The driver sets the address for > more than 16 bits, but it uses 16-bit arguments and variables (thes

Re: [PATCH] staging:mt29f_spinand: MT29F2G failing as only 16-bit arguments and variables used for addressing.

2018-08-06 Thread Boris Brezillon
Hi Dan, On Wed, 1 Aug 2018 15:05:51 +0300 Dan Carpenter wrote: > On Wed, Aug 01, 2018 at 11:24:19AM +0800, Jheng-Jhong Wu wrote: > > For NAND flash chips with more than 1Gbit (e.g. MT29F2G) more than 16 bits > > are necessary to address the correct page. The driver sets the address for > > more

Re: [PATCH] staging:mt29f_spinand: MT29F2G failing as only 16-bit arguments and variables used for addressing.

2018-08-06 Thread Boris Brezillon
On Mon, 6 Aug 2018 15:01:37 +0300 Dan Carpenter wrote: > On Mon, Aug 06, 2018 at 01:46:48PM +0200, Boris Brezillon wrote: > > Hi Dan, > > > > On Wed, 1 Aug 2018 15:05:51 +0300 > > Dan Carpenter wrote: > > > > > On Wed, Aug 01, 2018 at 11:24:19AM

[PATCH 04/23] mtd: rawnand: Pass a nand_chip object to nand_wait_ready()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers to take a nand_chip object instead of an mtd_info one. Now is nand_wait_ready()'s turn. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c | 2 +- drivers/mtd/nand/raw/c

[PATCH 02/23] mtd: rawnand: Pass a nand_chip object to nand_scan() & co

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers to take a nand_chip object instead of an mtd_info one. We start with all variants of nand_scan(). Signed-off-by: Boris Brezillon --- Documentation/driver-api/mtdnand.rst | 2 +- drivers/mtd/nand/raw/ams-de

[PATCH 03/23] mtd: rawnand: Pass a nand_chip object to nand_release()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers to take a nand_chip object instead of an mtd_info one. Now is nand_release()'s turn. Signed-off-by: Boris Brezillon --- Documentation/driver-api/mtdnand.rst | 2 +- drivers/mtd/nand/raw/ams-delta.c | 2 +

[PATCH 05/23] mtd: rawnand: Pass a nand_chip object to ecc->hwctl()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one. Now is ecc->hwctl()'s turn. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/raw/cs553x_nand.c | 3 +-- drivers/mtd/nand/raw/davinc

[PATCH 00/23] mtd: rawnand: Stop passing mtd_info to drivers

2018-08-17 Thread Boris Brezillon
riate). For those who want to see what's in the pipe, here is a branch [1] containing all the cleanups I plan to merge. Regards, Boris [1]https://github.com/bbrezillon/linux-0day/commits/nand/api-cleanup Boris Brezillon (23): mtd: rawnand: plat_nand: Pass a nand_chip obj

[PATCH 07/23] mtd: rawnand: Pass a nand_chip object to ecc->correct()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one. Now is ecc->correct()'s turn. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/raw/davinci_nand.c | 9 - drivers/mtd/nand/raw/diskon

[PATCH 21/23] mtd: rawnand: Pass a nand_chip object to chip->setup_data_interface()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one or remove the mtd_info object when both are passed. Let's tackle the chip->setup_data_interface() hook. Signed-off-by: Boris Brezillon --- drivers/mtd/n

[PATCH 20/23] mtd: rawnand: Pass a nand_chip object to chip->setup_read_retry()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one or remove the mtd_info object when both are passed. Let's tackle the chip->setup_read_retry() hook. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/ra

[PATCH 17/23] mtd: rawnand: Pass a nand_chip object to chip->waitfunc()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one or remove the mtd_info object when both are passed. Let's tackle the chip->waitfunc() hook. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/r

[PATCH 22/23] mtd: rawnand: Pass a nand_chip object to all nand_xxx_bbt() helpers

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one or remove the mtd_info object when both are passed. Let's tackle the nand_xxx_bbt() helpers. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/raw/nand_b

[PATCH 12/23] mtd: rawnand: Pass a nand_chip object to chip->select_chip()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one or remove the mtd_info object when both are passed. Let's tackle the chip->select_chip() hook. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/r

[PATCH 01/23] mtd: rawnand: plat_nand: Pass a nand_chip object to all platform_nand_ctrl hooks

2018-08-17 Thread Boris Brezillon
of an mtd_info. We had temporary plat_nand_xxx() wrappers to the do the mtd -> chip conversion, but those will be dropped when doing the patching nand_chip hooks to take a nand_chip object. Signed-off-by: Boris Brezillon --- arch/arm/mach-ep93xx/snappercl15.c | 7 ++-- arch/arm/mach-ep93xx/

[PATCH 18/23] mtd: rawnand: Pass a nand_chip object to chip->erase()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one or remove the mtd_info object when both are passed. Let's tackle the chip->erase() hook. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/raw/de

[PATCH 06/23] mtd: rawnand: Pass a nand_chip object to ecc->calculate()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one. Now is ecc->calculate()'s turn. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/raw/cs553x_nand.c | 4 ++-- drivers/mtd/nand/raw/davinc

[PATCH 19/23] mtd: rawnand: Pass a nand_chip object to chip->{get, set}_features()

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one or remove the mtd_info object when both are passed. Let's tackle the chip->{get,set}_features() hooks. Signed-off-by: Boris Brezillon --- drivers

  1   2   3   4   5   6   >