All of lore.kernel.org
 help / color / mirror / Atom feed
* [Suggestion] ARM:S5PV210:  version merging compiling issue for 'struct fimc_source_info'
@ 2013-02-16  9:26 ` Chen Gang
  0 siblings, 0 replies; 10+ messages in thread
From: Chen Gang @ 2013-02-16  9:26 UTC (permalink / raw)
  To: kyungmin.park, kgene.kim, Russell King - ARM Linux
  Cc: linux-arm-kernel, linux-samsung-soc

Hello Kukjin Kim:

  it is a compiling issue, please help check when you have time.

thanks.

gchen.

in arch/arm/mach-s5pv210/mach-goni.c:848:
  error: unknown field 'bus_type' specified in initializer

843 static struct fimc_source_info goni_camera_sensors[] = {
844         {
845                 .mux_id         = 0,
846                 .flags          = V4L2_MBUS_PCLK_SAMPLE_FALLING |
847                                   V4L2_MBUS_VSYNC_ACTIVE_LOW,
848                 .bus_type       = FIMC_BUS_TYPE_ITU_601,
849                 .board_info     = &noon010pc30_board_info,
850                 .i2c_bus_num    = 0,
851                 .clk_frequency  = 16000000UL,
852         },
853 };


in include/media/s5p_fimc.h:50

 37 /**
 38  * struct fimc_source_info - video source description required for the host
 39  *                           interface configuration
 40  *
 41  * @board_info: pointer to I2C subdevice's board info
 42  * @clk_frequency: frequency of the clock the host interface provides to sensor
 43  * @fimc_bus_type: FIMC camera input type
 44  * @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc.
 45  * @flags: the parallel sensor bus flags defining signals polarity (V4L2_MBUS_*)
 46  * @i2c_bus_num: i2c control bus id the sensor is attached to
 47  * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU)
 48  * @clk_id: index of the SoC peripheral clock for sensors
 49  */
 50 struct fimc_source_info {
 51         struct i2c_board_info *board_info;
 52         unsigned long clk_frequency;
 53         enum fimc_bus_type fimc_bus_type;
 54         enum fimc_bus_type sensor_bus_type;
 55         u16 flags;
 56         u16 i2c_bus_num;
 57         u16 mux_id;
 58         u8 clk_id;
 59 };
 60 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
@ 2013-02-16  9:26 ` Chen Gang
  0 siblings, 0 replies; 10+ messages in thread
From: Chen Gang @ 2013-02-16  9:26 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Kukjin Kim:

  it is a compiling issue, please help check when you have time.

thanks.

gchen.

in arch/arm/mach-s5pv210/mach-goni.c:848:
  error: unknown field 'bus_type' specified in initializer

843 static struct fimc_source_info goni_camera_sensors[] = {
844         {
845                 .mux_id         = 0,
846                 .flags          = V4L2_MBUS_PCLK_SAMPLE_FALLING |
847                                   V4L2_MBUS_VSYNC_ACTIVE_LOW,
848                 .bus_type       = FIMC_BUS_TYPE_ITU_601,
849                 .board_info     = &noon010pc30_board_info,
850                 .i2c_bus_num    = 0,
851                 .clk_frequency  = 16000000UL,
852         },
853 };


in include/media/s5p_fimc.h:50

 37 /**
 38  * struct fimc_source_info - video source description required for the host
 39  *                           interface configuration
 40  *
 41  * @board_info: pointer to I2C subdevice's board info
 42  * @clk_frequency: frequency of the clock the host interface provides to sensor
 43  * @fimc_bus_type: FIMC camera input type
 44  * @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc.
 45  * @flags: the parallel sensor bus flags defining signals polarity (V4L2_MBUS_*)
 46  * @i2c_bus_num: i2c control bus id the sensor is attached to
 47  * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU)
 48  * @clk_id: index of the SoC peripheral clock for sensors
 49  */
 50 struct fimc_source_info {
 51         struct i2c_board_info *board_info;
 52         unsigned long clk_frequency;
 53         enum fimc_bus_type fimc_bus_type;
 54         enum fimc_bus_type sensor_bus_type;
 55         u16 flags;
 56         u16 i2c_bus_num;
 57         u16 mux_id;
 58         u8 clk_id;
 59 };
 60 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
       [not found] ` <CAH9JG2WS5q4SR8zk5=OC32PHLZ2+ZYva7csyshG7oANacqbCuA@mail.gmail.com>
@ 2013-02-17  1:11     ` Chen Gang
  2013-02-26  6:38     ` Chen Gang
  1 sibling, 0 replies; 10+ messages in thread
From: Chen Gang @ 2013-02-17  1:11 UTC (permalink / raw)
  To: Kyungmin Park
  Cc: kyungmin.park, kgene.kim, Russell King - ARM Linux,
	linux-samsung-soc, linux-arm-kernel, Arnd Bergmann

于 2013年02月16日 19:39, Kyungmin Park 写道:
> 
> You can find it at recent patch from Arnd.
> 

  thanks.

  :-)

-- 
Chen Gang

Asianux Corporation

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
@ 2013-02-17  1:11     ` Chen Gang
  0 siblings, 0 replies; 10+ messages in thread
From: Chen Gang @ 2013-02-17  1:11 UTC (permalink / raw)
  To: linux-arm-kernel

? 2013?02?16? 19:39, Kyungmin Park ??:
> 
> You can find it at recent patch from Arnd.
> 

  thanks.

  :-)

-- 
Chen Gang

Asianux Corporation

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
       [not found] ` <CAH9JG2WS5q4SR8zk5=OC32PHLZ2+ZYva7csyshG7oANacqbCuA@mail.gmail.com>
@ 2013-02-26  6:38     ` Chen Gang
  2013-02-26  6:38     ` Chen Gang
  1 sibling, 0 replies; 10+ messages in thread
From: Chen Gang @ 2013-02-26  6:38 UTC (permalink / raw)
  To: Kyungmin Park
  Cc: kyungmin.park, kgene.kim, Russell King - ARM Linux,
	linux-samsung-soc, linux-arm-kernel, Arnd Bergmann, s.nawrocki

于 2013年02月16日 19:39, Kyungmin Park 写道:
> Hi,
> 
> You can find it at recent patch from Arnd.
> 

  excuse me, could you please provide more information about it ?

  I have checked 2 tags:
    the next-20130225 tag in git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

      in Feb 1 2013, by Sylwester Nawrocki, Kyungmin Park, Mauro Carvalho Chehab
      git number: 56bc911ac3b94c731db3a6de20258827f1a61c20
        in include/media/s5p_fimc.h, the structure fimc_source_info is changed.
        in arch/arm/mach-s5pv210/mach-goni.c, the structure fimc_source_info is not changed.
          still use .bus_type (not use .fimc_bus_type like others).

      it seems, the relative members forgot to change it to .fimc_bus_type.

      did the patch from Arnd still not applied into next tree ?

    the v3.8-rc7 tag in git clone git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
      it seems no relative changes (change nothing).


  thanks.

  :-)

gchen.


> Thank you,
> Kyungmin Park
> 
> On Saturday, February 16, 2013, Chen Gang wrote:
> 
>     Hello Kukjin Kim:
> 
>     � it is a compiling issue, please help check when you have time.
> 
>     thanks.
> 
>     gchen.
> 
>     in arch/arm/mach-s5pv210/mach-goni.c:848:
>     � error: unknown field 'bus_type' specified in initializer
> 
>     843 static struct fimc_source_info goni_camera_sensors[] = {
>     844 � � � � {
>     845 � � � � � � � � .mux_id � � � � = 0,
>     846 � � � � � � � � .flags � � � � �= V4L2_MBUS_PCLK_SAMPLE_FALLING |
>     847 � � � � � � � � � � � � � � � � � V4L2_MBUS_VSYNC_ACTIVE_LOW,
>     848 � � � � � � � � .bus_type � � � = FIMC_BUS_TYPE_ITU_601,
>     849 � � � � � � � � .board_info � � = &noon010pc30_board_info,
>     850 � � � � � � � � .i2c_bus_num � �= 0,
>     851 � � � � � � � � .clk_frequency �= 16000000UL,
>     852 � � � � },
>     853 };
> 
> 
>     in include/media/s5p_fimc.h:50
> 
>     �37 /**
>     �38 �* struct fimc_source_info - video source description required
>     for the host
>     �39 �* � � � � � � � � � � � � � interface configuration
>     �40 �*
>     �41 �* @board_info: pointer to I2C subdevice's board info
>     �42 �* @clk_frequency: frequency of the clock the host interface
>     provides to sensor
>     �43 �* @fimc_bus_type: FIMC camera input type
>     �44 �* @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc.
>     �45 �* @flags: the parallel sensor bus flags defining signals
>     polarity (V4L2_MBUS_*)
>     �46 �* @i2c_bus_num: i2c control bus id the sensor is attached to
>     �47 �* @mux_id: FIMC camera interface multiplexer index (separate
>     for MIPI and ITU)
>     �48 �* @clk_id: index of the SoC peripheral clock for sensors
>     �49 �*/
>     �50 struct fimc_source_info {
>     �51 � � � � struct i2c_board_info *board_info;
>     �52 � � � � unsigned long clk_frequency;
>     �53 � � � � enum fimc_bus_type fimc_bus_type;
>     �54 � � � � enum fimc_bus_type sensor_bus_type;
>     �55 � � � � u16 flags;
>     �56 � � � � u16 i2c_bus_num;
>     �57 � � � � u16 mux_id;
>     �58 � � � � u8 clk_id;
>     �59 };
>     �60
> 
> 
>     _______________________________________________
>     linux-arm-kernel mailing list
>     linux-arm-kernel@lists.infradead.org <javascript:;>
>     http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 


-- 
Chen Gang

Asianux Corporation

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
@ 2013-02-26  6:38     ` Chen Gang
  0 siblings, 0 replies; 10+ messages in thread
From: Chen Gang @ 2013-02-26  6:38 UTC (permalink / raw)
  To: linux-arm-kernel

? 2013?02?16? 19:39, Kyungmin Park ??:
> Hi,
> 
> You can find it at recent patch from Arnd.
> 

  excuse me, could you please provide more information about it ?

  I have checked 2 tags:
    the next-20130225 tag in git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

      in Feb 1 2013, by Sylwester Nawrocki, Kyungmin Park, Mauro Carvalho Chehab
      git number: 56bc911ac3b94c731db3a6de20258827f1a61c20
        in include/media/s5p_fimc.h, the structure fimc_source_info is changed.
        in arch/arm/mach-s5pv210/mach-goni.c, the structure fimc_source_info is not changed.
          still use .bus_type (not use .fimc_bus_type like others).

      it seems, the relative members forgot to change it to .fimc_bus_type.

      did the patch from Arnd still not applied into next tree ?

    the v3.8-rc7 tag in git clone git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
      it seems no relative changes (change nothing).


  thanks.

  :-)

gchen.


> Thank you,
> Kyungmin Park
> 
> On Saturday, February 16, 2013, Chen Gang wrote:
> 
>     Hello Kukjin Kim:
> 
>     ? it is a compiling issue, please help check when you have time.
> 
>     thanks.
> 
>     gchen.
> 
>     in arch/arm/mach-s5pv210/mach-goni.c:848:
>     ? error: unknown field 'bus_type' specified in initializer
> 
>     843 static struct fimc_source_info goni_camera_sensors[] = {
>     844 ? ? ? ? {
>     845 ? ? ? ? ? ? ? ? .mux_id ? ? ? ? = 0,
>     846 ? ? ? ? ? ? ? ? .flags ? ? ? ? ?= V4L2_MBUS_PCLK_SAMPLE_FALLING |
>     847 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? V4L2_MBUS_VSYNC_ACTIVE_LOW,
>     848 ? ? ? ? ? ? ? ? .bus_type ? ? ? = FIMC_BUS_TYPE_ITU_601,
>     849 ? ? ? ? ? ? ? ? .board_info ? ? = &noon010pc30_board_info,
>     850 ? ? ? ? ? ? ? ? .i2c_bus_num ? ?= 0,
>     851 ? ? ? ? ? ? ? ? .clk_frequency ?= 16000000UL,
>     852 ? ? ? ? },
>     853 };
> 
> 
>     in include/media/s5p_fimc.h:50
> 
>     ?37 /**
>     ?38 ?* struct fimc_source_info - video source description required
>     for the host
>     ?39 ?* ? ? ? ? ? ? ? ? ? ? ? ? ? interface configuration
>     ?40 ?*
>     ?41 ?* @board_info: pointer to I2C subdevice's board info
>     ?42 ?* @clk_frequency: frequency of the clock the host interface
>     provides to sensor
>     ?43 ?* @fimc_bus_type: FIMC camera input type
>     ?44 ?* @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc.
>     ?45 ?* @flags: the parallel sensor bus flags defining signals
>     polarity (V4L2_MBUS_*)
>     ?46 ?* @i2c_bus_num: i2c control bus id the sensor is attached to
>     ?47 ?* @mux_id: FIMC camera interface multiplexer index (separate
>     for MIPI and ITU)
>     ?48 ?* @clk_id: index of the SoC peripheral clock for sensors
>     ?49 ?*/
>     ?50 struct fimc_source_info {
>     ?51 ? ? ? ? struct i2c_board_info *board_info;
>     ?52 ? ? ? ? unsigned long clk_frequency;
>     ?53 ? ? ? ? enum fimc_bus_type fimc_bus_type;
>     ?54 ? ? ? ? enum fimc_bus_type sensor_bus_type;
>     ?55 ? ? ? ? u16 flags;
>     ?56 ? ? ? ? u16 i2c_bus_num;
>     ?57 ? ? ? ? u16 mux_id;
>     ?58 ? ? ? ? u8 clk_id;
>     ?59 };
>     ?60
> 
> 
>     _______________________________________________
>     linux-arm-kernel mailing list
>     linux-arm-kernel at lists.infradead.org <javascript:;>
>     http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 


-- 
Chen Gang

Asianux Corporation

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
  2013-02-26  6:38     ` Chen Gang
@ 2013-02-26  9:50       ` Sylwester Nawrocki
  -1 siblings, 0 replies; 10+ messages in thread
From: Sylwester Nawrocki @ 2013-02-26  9:50 UTC (permalink / raw)
  To: Chen Gang
  Cc: Kyungmin Park, kyungmin.park, kgene.kim,
	Russell King - ARM Linux, linux-samsung-soc, linux-arm-kernel,
	Arnd Bergmann, Mauro Carvalho Chehab

Hi,

On 02/26/2013 07:38 AM, Chen Gang wrote:
> 于 2013年02月16日 19:39, Kyungmin Park 写道:
>> You can find it at recent patch from Arnd.
> 
>   excuse me, could you please provide more information about it ?
> 
>   I have checked 2 tags:
>     the next-20130225 tag in git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> 
>       in Feb 1 2013, by Sylwester Nawrocki, Kyungmin Park, Mauro Carvalho Chehab
>       git number: 56bc911ac3b94c731db3a6de20258827f1a61c20
>         in include/media/s5p_fimc.h, the structure fimc_source_info is changed.
>         in arch/arm/mach-s5pv210/mach-goni.c, the structure fimc_source_info is not changed.
>           still use .bus_type (not use .fimc_bus_type like others).
> 
>       it seems, the relative members forgot to change it to .fimc_bus_type.
> 
>       did the patch from Arnd still not applied into next tree ?
> 
>     the v3.8-rc7 tag in git clone git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
>       it seems no relative changes (change nothing).

No, the fix is not yet in linux-next. I has not been merged through the media
tree and it might take some time until it gets to Linus's tree now. You can use
one of following patches to fix this build break:

http://www.spinics.net/lists/linux-samsung-soc/msg16023.html
https://patchwork.kernel.org/patch/2143211
http://patchwork.linuxtv.org/patch/16892

Kgene, could you push any of these fixes upstream ?


Thanks,
Sylwester

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
@ 2013-02-26  9:50       ` Sylwester Nawrocki
  0 siblings, 0 replies; 10+ messages in thread
From: Sylwester Nawrocki @ 2013-02-26  9:50 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On 02/26/2013 07:38 AM, Chen Gang wrote:
> ? 2013?02?16? 19:39, Kyungmin Park ??:
>> You can find it at recent patch from Arnd.
> 
>   excuse me, could you please provide more information about it ?
> 
>   I have checked 2 tags:
>     the next-20130225 tag in git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> 
>       in Feb 1 2013, by Sylwester Nawrocki, Kyungmin Park, Mauro Carvalho Chehab
>       git number: 56bc911ac3b94c731db3a6de20258827f1a61c20
>         in include/media/s5p_fimc.h, the structure fimc_source_info is changed.
>         in arch/arm/mach-s5pv210/mach-goni.c, the structure fimc_source_info is not changed.
>           still use .bus_type (not use .fimc_bus_type like others).
> 
>       it seems, the relative members forgot to change it to .fimc_bus_type.
> 
>       did the patch from Arnd still not applied into next tree ?
> 
>     the v3.8-rc7 tag in git clone git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
>       it seems no relative changes (change nothing).

No, the fix is not yet in linux-next. I has not been merged through the media
tree and it might take some time until it gets to Linus's tree now. You can use
one of following patches to fix this build break:

http://www.spinics.net/lists/linux-samsung-soc/msg16023.html
https://patchwork.kernel.org/patch/2143211
http://patchwork.linuxtv.org/patch/16892

Kgene, could you push any of these fixes upstream ?


Thanks,
Sylwester

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
  2013-02-26  9:50       ` Sylwester Nawrocki
@ 2013-02-27  1:14         ` Chen Gang
  -1 siblings, 0 replies; 10+ messages in thread
From: Chen Gang @ 2013-02-27  1:14 UTC (permalink / raw)
  To: Sylwester Nawrocki
  Cc: Kyungmin Park, kyungmin.park, kgene.kim,
	Russell King - ARM Linux, linux-samsung-soc, linux-arm-kernel,
	Arnd Bergmann, Mauro Carvalho Chehab

于 2013年02月26日 17:50, Sylwester Nawrocki 写道:
> No, the fix is not yet in linux-next. I has not been merged through the media
> tree and it might take some time until it gets to Linus's tree now. You can use
> one of following patches to fix this build break:
> 
> http://www.spinics.net/lists/linux-samsung-soc/msg16023.html
> https://patchwork.kernel.org/patch/2143211
> http://patchwork.linuxtv.org/patch/16892

  thank you.

  :-)

-- 
Chen Gang

Asianux Corporation

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
@ 2013-02-27  1:14         ` Chen Gang
  0 siblings, 0 replies; 10+ messages in thread
From: Chen Gang @ 2013-02-27  1:14 UTC (permalink / raw)
  To: linux-arm-kernel

? 2013?02?26? 17:50, Sylwester Nawrocki ??:
> No, the fix is not yet in linux-next. I has not been merged through the media
> tree and it might take some time until it gets to Linus's tree now. You can use
> one of following patches to fix this build break:
> 
> http://www.spinics.net/lists/linux-samsung-soc/msg16023.html
> https://patchwork.kernel.org/patch/2143211
> http://patchwork.linuxtv.org/patch/16892

  thank you.

  :-)

-- 
Chen Gang

Asianux Corporation

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-02-27  1:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-16  9:26 [Suggestion] ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info' Chen Gang
2013-02-16  9:26 ` Chen Gang
     [not found] ` <CAH9JG2WS5q4SR8zk5=OC32PHLZ2+ZYva7csyshG7oANacqbCuA@mail.gmail.com>
2013-02-17  1:11   ` Chen Gang
2013-02-17  1:11     ` Chen Gang
2013-02-26  6:38   ` Chen Gang
2013-02-26  6:38     ` Chen Gang
2013-02-26  9:50     ` Sylwester Nawrocki
2013-02-26  9:50       ` Sylwester Nawrocki
2013-02-27  1:14       ` Chen Gang
2013-02-27  1:14         ` Chen Gang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.