Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751604AbeAPJtO (ORCPT + 1 other); Tue, 16 Jan 2018 04:49:14 -0500 Received: from lb2-smtp-cloud9.xs4all.net ([194.109.24.26]:53550 "EHLO lb2-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751489AbeAPJtJ (ORCPT ); Tue, 16 Jan 2018 04:49:09 -0500 Subject: Re: [PATCH v5 2/9] include: media: Add Renesas CEU driver interface To: Jacopo Mondi , laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com, geert@glider.be, mchehab@kernel.org, festevam@gmail.com, sakari.ailus@iki.fi, robh+dt@kernel.org, mark.rutland@arm.com, pombredanne@nexb.com Cc: linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1515765849-10345-1-git-send-email-jacopo+renesas@jmondi.org> <1515765849-10345-3-git-send-email-jacopo+renesas@jmondi.org> From: Hans Verkuil Message-ID: Date: Tue, 16 Jan 2018 10:49:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1515765849-10345-3-git-send-email-jacopo+renesas@jmondi.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfI2VTblNr+n18vw10pVkGSWFhpz9lGh8OCy4gotjFLdR8rlS62AG+aYDM6uCsCBrK4LMXQEWrzuMLxpMfX/FoQRKBqq2EuYGdZrU3Av28N9S/i/dl1/o 6uxI4tQaDhnRCCLqC4bbq92DlRjNub62AjcrmmoR/sPc4DsPsQ2PO8gVirzMkyfLPQGku5K15lTes8wiFMu3cVmbYzEdbg8T28Q0Fbn01RiCp8BzOk6IjPui aky/tkcC6dF8B/iB0nRpjEpy7hIVCEo6gW/+jwa4+/3TcymWPR6XujjbjxTp+PCAa2fPoUo1egoVeKM4zQpUylqm4RgkncAR71uv/bL1jpk8R7VNeW41TKI+ SaK6SveOMtcqG0obhMdYyiI5HRezrWU34szIm6hWxU7dxUQIq8d7cMm0r14ouu7kc2ySe2uQ2zT1+tyO/LEAu9CZFqwNHnvLjNNCXEuEBeWdKg7VklK6BoVz LdpIW/nsDLpvRrFKnte/pp2NpRI28VGHFkh9mphffACZTHxawyqh0EGugCF6/a8ky734a0lu5T9KtwjRo/rRqMk5vMsuPskcvl1UU/4gngtpxXUrxhQ4ji7d 403u4/lDY411lCwHL7eJGleh33BPKCXjcNkAoIhgQuboNaD+VLXFhK8k9VXXJGgaNmBiqHRdAWzZWA3AMAlaywtccpSG+rzIiSrO8cpdPP4Bzt+d8Twgd80j KlWkgkoZdpE= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 01/12/2018 03:04 PM, Jacopo Mondi wrote: > Add renesas-ceu header file. > > Do not remove the existing sh_mobile_ceu.h one as long as the original > driver does not go away. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil Regards, Hans > --- > include/media/drv-intf/renesas-ceu.h | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 include/media/drv-intf/renesas-ceu.h > > diff --git a/include/media/drv-intf/renesas-ceu.h b/include/media/drv-intf/renesas-ceu.h > new file mode 100644 > index 0000000..52841d1 > --- /dev/null > +++ b/include/media/drv-intf/renesas-ceu.h > @@ -0,0 +1,26 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * renesas-ceu.h - Renesas CEU driver interface > + * > + * Copyright 2017-2018 Jacopo Mondi > + */ > + > +#ifndef __MEDIA_DRV_INTF_RENESAS_CEU_H__ > +#define __MEDIA_DRV_INTF_RENESAS_CEU_H__ > + > +#define CEU_MAX_SUBDEVS 2 > + > +struct ceu_async_subdev { > + unsigned long flags; > + unsigned char bus_width; > + unsigned char bus_shift; > + unsigned int i2c_adapter_id; > + unsigned int i2c_address; > +}; > + > +struct ceu_platform_data { > + unsigned int num_subdevs; > + struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS]; > +}; > + > +#endif /* ___MEDIA_DRV_INTF_RENESAS_CEU_H__ */ >