Message ID | 1370005408-10853-2-git-send-email-arun.kk@samsung.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Sylwester Nawrocki |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <linux-media-owner@vger.kernel.org>) id 1UiOdf-0007jH-Rr; Fri, 31 May 2013 14:40:59 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.72/mailfrontend-8) with esmtp id 1UiOdd-00022K-kX; Fri, 31 May 2013 14:40:59 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756266Ab3EaMkz (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Fri, 31 May 2013 08:40:55 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:8197 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755263Ab3EaMky (ORCPT <rfc822;linux-media@vger.kernel.org>); Fri, 31 May 2013 08:40:54 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MNN002D2XW1Y8Q0@mailout3.samsung.com> for linux-media@vger.kernel.org; Fri, 31 May 2013 21:40:53 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id F6.74.17404.35A98A15; Fri, 31 May 2013 21:40:51 +0900 (KST) X-AuditID: cbfee68d-b7f096d0000043fc-c7-51a89a53426c Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 0E.6E.28381.35A98A15; Fri, 31 May 2013 21:40:51 +0900 (KST) Received: from chromeserver-PowerEdge-T410.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MNN00MEDXTBCO30@mmp2.samsung.com>; Fri, 31 May 2013 21:40:51 +0900 (KST) From: Arun Kumar K <arun.kk@samsung.com> To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, kilyeon.im@samsung.com, shaik.ameer@samsung.com, arunkk.samsung@gmail.com Subject: [RFC v2 01/10] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation Date: Fri, 31 May 2013 18:33:19 +0530 Message-id: <1370005408-10853-2-git-send-email-arun.kk@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1370005408-10853-1-git-send-email-arun.kk@samsung.com> References: <1370005408-10853-1-git-send-email-arun.kk@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRmVeSWpSXmKPExsWyRsSkTjd41opAg+7zlhYvNt5it1j+fgmz Rc+GrawWh9+0s1ocebib3YHVY+esu+wefVtWMXp83iQXwBzFZZOSmpNZllqkb5fAldG08BVT wVeBiu7ds5kbGJfxdjFycEgImEj8WyjXxcgJZIpJXLi3ng3EFhJYyiixZZspRNxEYuaFp8xd jFxA8emMEnt7VkA5s5kkFnWvZASpYhPQkLh34jEriC0iIC/xpPcG2CRmgXSJla+2M4PYwgKJ Eie674DVsAioSpx5uIcJxOYVcJZYtusuO8Q2RYnuZxPAejkFXCSe7J7LDnGRs8SSw63sIIsl BP6zSXRfe88IMUhA4tvkQywQ38hKbDrADDFHUuLgihssExiFFzAyrGIUTS1ILihOSi8y1CtO zC0uzUvXS87P3cQIDN7T/5717mC8fcD6EGMy0LiJzFKiyfnA4M8riTc0NjOyMDUxNTYytzQj TVhJnFetxTpQSCA9sSQ1OzW1ILUovqg0J7X4ECMTB6dUA+PV+3bKnXuXf92x14aDo3LJl96o ky3nM6QO5ZlsZ0q8ZhPHtNLgnXvH8y06U//MMYzYvknoY3SguI1KRbTjK77P8UbNzY55oZ27 Xjw5ucI7er//k8wYvxltrolOR/+5/DV9UKja+ivz9v0X6S7L8wpUI2ef+3ZpnpRdcRSf4nYJ p0PPVwnqKCuxFGckGmoxFxUnAgASMkNtdAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAIsWRmVeSWpSXmKPExsVy+t9jQd3gWSsCDZ7f0bd4sfEWu8Xy90uY LXo2bGW1OPymndXiyMPd7A6sHjtn3WX36NuyitHj8ya5AOaoBkabjNTElNQihdS85PyUzLx0 WyXv4HjneFMzA0NdQ0sLcyWFvMTcVFslF58AXbfMHKCdSgpliTmlQKGAxOJiJX07TBNCQ9x0 LWAaI3R9Q4LgeowM0EDCGsaMpoWvmAq+ClR0757N3MC4jLeLkZNDQsBEYuaFp8wQtpjEhXvr 2boYuTiEBKYzSuztWcEM4cxmkljUvZIRpIpNQEPi3onHrCC2iIC8xJPeG2wgNrNAusTKV9vB JgkLJEqc6L4DVsMioCpx5uEeJhCbV8BZYtmuu+wQ2xQlup9NAOvlFHCReLJ7LlhcCKhmyeFW 9gmMvAsYGVYxiqYWJBcUJ6XnGuoVJ+YWl+al6yXn525iBMfHM6kdjCsbLA4xCnAwKvHwHkhZ HijEmlhWXJl7iFGCg1lJhHddzYpAId6UxMqq1KL8+KLSnNTiQ4zJQFdNZJYSTc4Hxm5eSbyh sYm5qbGppYmFiZklacJK4rwHWq0DhQTSE0tSs1NTC1KLYLYwcXBKNTC6ZIs8Ofrtfnlloavx O/svbysCX0m9WSVVaG7bNTc4ZUpo75RAAZXp+9SvGmnHMEpXck9VbVzJPJ9Jze16XenSqtu3 WWsNBdcfnRt5cel7/wSZudv55y5mSd10SjN7Q64P5yWWm50MN24UJFU8SyuN7fv08foJxoXX l847cU3s0lWVL98+rJBTYinOSDTUYi4qTgQAVJNmo9MCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.5.31.122723 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, FROM_NAME_PHRASE 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS ' |
Commit Message
Arun Kumar K
May 31, 2013, 1:03 p.m. UTC
Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
---
.../devicetree/bindings/media/exynos5-fimc-is.txt | 41 ++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/exynos5-fimc-is.txt
Comments
Hi Arun, On 05/31/2013 03:03 PM, Arun Kumar K wrote: Please add at least one sentence here. All in all this patch adds DT binding documentation for a fairly complex subsystem. And please Cc devicetree-discuss@lists.ozlabs.org next time. > Signed-off-by: Arun Kumar K<arun.kk@samsung.com> > --- > .../devicetree/bindings/media/exynos5-fimc-is.txt | 41 ++++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/exynos5-fimc-is.txt > > diff --git a/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt > new file mode 100644 > index 0000000..9fd4646 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt > @@ -0,0 +1,41 @@ > +Samsung EXYNOS SoC Camera Subsystem Shouldn't it be, e.g.: Samsung EXYNOS5 SoC series Imaging Subsystem (FIMC-IS) Or do you intend this file to be describing also the other sub-devices, like GScaler ? > +----------------------------------- > + > +The camera subsystem on Samsung Exynos5 SoC has some changes relative > +to previous SoC versions. Exynos5 has almost similar MIPI-CSIS and > +FIMC-LITE IPs but has a much improved version of FIMC-IS which can > +handle sensor controls and camera post-processing operations. The > +Exynos5 FIMC-IS has a dedicated ARM Cortex A5 processor, many > +post-processing blocks (ISP, DRC, FD, ODC, DIS, 3DNR) and two > +dedicated scalers (SCC and SCP). > + > +fimc-is node > +------------ > + > +Required properties: > + > +- compatible : must be "samsung,exynos5250-fimc-is" > +- reg : physical base address and size of the memory mapped > + registers > +- interrupt-parent : Parent interrupt controller > +- interrupts : fimc-is interrupt to the parent combiner > +- clocks : list of clock specifiers, corresponding to entries in > + clock-names property; > +- clock-names : must contain "isp", "mcu_isp", "isp_div0", "isp_div1", > + "isp_divmpwm", "mcu_isp_div0", "mcu_isp_div1" entries, > + matching entries in the clocks property. > + > + > +Board specific properties: > + > +- pinctrl-names : pinctrl names for camera port pinmux control, at least > + "default" needs to be specified. > +- pinctrl-0...N : pinctrl properties corresponding to pinctrl-names What pins exactly are supposed to be covered by these properties ? For what devices ? Aren't the camera port pins supposed to be specified at the common 'camera' node ? I believe the camera ports are not specific to the FIMC-IS. > +pmu subnode > +----------- > + > +Required properties: > + - reg : should contain PMU physical base address and size of the memory > + mapped registers. What about other devices, like ISP I2C, SPI ? Don't you want to list at least the ones currently used (I2C bus controllers) ? Regards, Sylwester -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Sylwester, Thank you for the review and sorry for the delayed response. On Fri, Jun 21, 2013 at 4:15 AM, Sylwester Nawrocki <sylvester.nawrocki@gmail.com> wrote: > Hi Arun, > > On 05/31/2013 03:03 PM, Arun Kumar K wrote: > > Please add at least one sentence here. All in all this patch > adds DT binding documentation for a fairly complex subsystem. > > And please Cc devicetree-discuss@lists.ozlabs.org next time. > Ok will do that. > >> Signed-off-by: Arun Kumar K<arun.kk@samsung.com> >> --- >> .../devicetree/bindings/media/exynos5-fimc-is.txt | 41 >> ++++++++++++++++++++ >> 1 file changed, 41 insertions(+) >> create mode 100644 >> Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >> >> diff --git a/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >> b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >> new file mode 100644 >> index 0000000..9fd4646 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >> @@ -0,0 +1,41 @@ >> +Samsung EXYNOS SoC Camera Subsystem > > > Shouldn't it be, e.g.: > > Samsung EXYNOS5 SoC series Imaging Subsystem (FIMC-IS) > > Or do you intend this file to be describing also the other sub-devices, > like GScaler ? > Probably not. WIll change it to Imaging subsystem. > >> +----------------------------------- >> + >> +The camera subsystem on Samsung Exynos5 SoC has some changes relative >> +to previous SoC versions. Exynos5 has almost similar MIPI-CSIS and >> +FIMC-LITE IPs but has a much improved version of FIMC-IS which can >> +handle sensor controls and camera post-processing operations. The >> +Exynos5 FIMC-IS has a dedicated ARM Cortex A5 processor, many >> +post-processing blocks (ISP, DRC, FD, ODC, DIS, 3DNR) and two >> +dedicated scalers (SCC and SCP). >> + >> +fimc-is node >> +------------ >> + >> +Required properties: >> + >> +- compatible : must be "samsung,exynos5250-fimc-is" >> +- reg : physical base address and size of the memory mapped >> + registers >> +- interrupt-parent : Parent interrupt controller >> +- interrupts : fimc-is interrupt to the parent combiner >> +- clocks : list of clock specifiers, corresponding to entries >> in >> + clock-names property; >> +- clock-names : must contain "isp", "mcu_isp", "isp_div0", >> "isp_div1", >> + "isp_divmpwm", "mcu_isp_div0", "mcu_isp_div1" >> entries, >> + matching entries in the clocks property. >> + >> + >> +Board specific properties: >> + >> +- pinctrl-names : pinctrl names for camera port pinmux control, at >> least >> + "default" needs to be specified. >> +- pinctrl-0...N : pinctrl properties corresponding to >> pinctrl-names > > > What pins exactly are supposed to be covered by these properties ? For what > devices ? Aren't the camera port pins supposed to be specified at the common > 'camera' node ? I believe the camera ports are not specific to the FIMC-IS. > These are for the sensor controls (especially clock lines). I think I should move these to the sensor node. > >> +pmu subnode >> +----------- >> + >> +Required properties: >> + - reg : should contain PMU physical base address and size of the memory >> + mapped registers. > > > What about other devices, like ISP I2C, SPI ? Don't you want to list at > least > the ones currently used (I2C bus controllers) ? > The present driver doesnt make use of the SPI bus as its used only for sensor calibration which is not yet added. I2C bus is used by the sensor which has its own node. May be I should explain one of the sensor nodes over here? Regards Arun -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Arun, On 07/09/2013 01:08 PM, Arun Kumar K wrote: > On Fri, Jun 21, 2013 at 4:15 AM, Sylwester Nawrocki > <sylvester.nawrocki@gmail.com> wrote: >> On 05/31/2013 03:03 PM, Arun Kumar K wrote: [...] >>> Signed-off-by: Arun Kumar K<arun.kk@samsung.com> >>> --- >>> .../devicetree/bindings/media/exynos5-fimc-is.txt | 41 >>> ++++++++++++++++++++ >>> 1 file changed, 41 insertions(+) >>> create mode 100644 >>> Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >>> >>> diff --git a/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >>> b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >>> new file mode 100644 >>> index 0000000..9fd4646 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >>> @@ -0,0 +1,41 @@ [...] >>> +----------------------------------- >>> + >>> +The camera subsystem on Samsung Exynos5 SoC has some changes relative >>> +to previous SoC versions. Exynos5 has almost similar MIPI-CSIS and >>> +FIMC-LITE IPs but has a much improved version of FIMC-IS which can >>> +handle sensor controls and camera post-processing operations. The >>> +Exynos5 FIMC-IS has a dedicated ARM Cortex A5 processor, many >>> +post-processing blocks (ISP, DRC, FD, ODC, DIS, 3DNR) and two >>> +dedicated scalers (SCC and SCP). >>> + >>> +fimc-is node >>> +------------ >>> + >>> +Required properties: >>> + >>> +- compatible : must be "samsung,exynos5250-fimc-is" >>> +- reg : physical base address and size of the memory mapped >>> + registers >>> +- interrupt-parent : Parent interrupt controller >>> +- interrupts : fimc-is interrupt to the parent combiner >>> +- clocks : list of clock specifiers, corresponding to entries >>> in >>> + clock-names property; >>> +- clock-names : must contain "isp", "mcu_isp", "isp_div0", >>> "isp_div1", >>> + "isp_divmpwm", "mcu_isp_div0", "mcu_isp_div1" >>> entries, >>> + matching entries in the clocks property. >>> + >>> + >>> +Board specific properties: >>> + >>> +- pinctrl-names : pinctrl names for camera port pinmux control, at >>> least >>> + "default" needs to be specified. >>> +- pinctrl-0...N : pinctrl properties corresponding to >>> pinctrl-names >> >> >> What pins exactly are supposed to be covered by these properties ? For what >> devices ? Aren't the camera port pins supposed to be specified at the common >> 'camera' node ? I believe the camera ports are not specific to the FIMC-IS. > > These are for the sensor controls (especially clock lines). > I think I should move these to the sensor node. This doesn't sound right either. These pins are not a property of an external image sensor device, they are specific to the AP SoC. So IMO these pinctrl properties belong to some SoC's internal device node. I think we could add a clock provider for the sclk_cam clocks and then the pinmux of those clock outputs could be configurable from with the clock ops. E.g. we set the pinumx into CAM_?_CLKOUT function only when a clock is enabled. Disabling a clock would put CLKOUT pin pinmux e.g. into input with pull down state. This would ensure proper CLKOUT pin configuration when image sensor is suspended or entirely powered off. I'm working on something like this for exynos4. >>> +pmu subnode >>> +----------- >>> + >>> +Required properties: >>> + - reg : should contain PMU physical base address and size of the memory >>> + mapped registers. >> >> >> What about other devices, like ISP I2C, SPI ? Don't you want to list at >> least >> the ones currently used (I2C bus controllers) ? >> > > The present driver doesnt make use of the SPI bus as its used only > for sensor calibration which is not yet added. Is it only going to be used by the Cortex-A5 firmware, similarly to the I2C bus ? If so then it is likely not needed to specify it here right now. But I believe for complete H/W description we should reserve a possibility to add those various peripheral device nodes here. > I2C bus is used by the sensor which has its own node. May be I should > explain one of the sensor nodes over here? I would describe at least I2C bus controller node and add a note that image sensor nodes can be specified there. Also, it would be good to start adding separate sensor drivers for each sensor, like s5k6a3, s5k4e3, etc. Ideally we should not have duplicated fimc-is-sensor.[ch] that would handle various sensors, i.e. same set of sensors to drivers/media/platform/exynos4-is and drivers/media/platform/ exynos5-is. After you post the next iteration of this series I could have a look how it could be done. -- Thanks, Sylwester -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Sylwester, On Wed, Jul 17, 2013 at 2:53 AM, Sylwester Nawrocki <sylvester.nawrocki@gmail.com> wrote: > Hi Arun, > > > On 07/09/2013 01:08 PM, Arun Kumar K wrote: >> >> On Fri, Jun 21, 2013 at 4:15 AM, Sylwester Nawrocki >> <sylvester.nawrocki@gmail.com> wrote: >>> >>> On 05/31/2013 03:03 PM, Arun Kumar K wrote: > > [...] > >>>> Signed-off-by: Arun Kumar K<arun.kk@samsung.com> >>>> --- >>>> .../devicetree/bindings/media/exynos5-fimc-is.txt | 41 >>>> ++++++++++++++++++++ >>>> 1 file changed, 41 insertions(+) >>>> create mode 100644 >>>> Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >>>> >>>> diff --git a/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >>>> b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >>>> new file mode 100644 >>>> index 0000000..9fd4646 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >>>> @@ -0,0 +1,41 @@ > > [...] > >>>> +----------------------------------- >>>> + >>>> +The camera subsystem on Samsung Exynos5 SoC has some changes relative >>>> +to previous SoC versions. Exynos5 has almost similar MIPI-CSIS and >>>> +FIMC-LITE IPs but has a much improved version of FIMC-IS which can >>>> +handle sensor controls and camera post-processing operations. The >>>> +Exynos5 FIMC-IS has a dedicated ARM Cortex A5 processor, many >>>> +post-processing blocks (ISP, DRC, FD, ODC, DIS, 3DNR) and two >>>> +dedicated scalers (SCC and SCP). >>>> + >>>> +fimc-is node >>>> +------------ >>>> + >>>> +Required properties: >>>> + >>>> +- compatible : must be "samsung,exynos5250-fimc-is" >>>> +- reg : physical base address and size of the memory >>>> mapped >>>> + registers >>>> +- interrupt-parent : Parent interrupt controller >>>> +- interrupts : fimc-is interrupt to the parent combiner >>>> +- clocks : list of clock specifiers, corresponding to >>>> entries >>>> in >>>> + clock-names property; >>>> +- clock-names : must contain "isp", "mcu_isp", "isp_div0", >>>> "isp_div1", >>>> + "isp_divmpwm", "mcu_isp_div0", "mcu_isp_div1" >>>> entries, >>>> + matching entries in the clocks property. >>>> + >>>> + >>>> +Board specific properties: >>>> + >>>> +- pinctrl-names : pinctrl names for camera port pinmux control, at >>>> least >>>> + "default" needs to be specified. >>>> +- pinctrl-0...N : pinctrl properties corresponding to >>>> pinctrl-names >>> >>> >>> >>> What pins exactly are supposed to be covered by these properties ? For >>> what >>> devices ? Aren't the camera port pins supposed to be specified at the >>> common >>> 'camera' node ? I believe the camera ports are not specific to the >>> FIMC-IS. >> >> >> These are for the sensor controls (especially clock lines). >> I think I should move these to the sensor node. > > > This doesn't sound right either. These pins are not a property of an > external > image sensor device, they are specific to the AP SoC. So IMO these pinctrl > properties belong to some SoC's internal device node. > Ok. Time being I will move it to the camera node pinctrl properties. > I think we could add a clock provider for the sclk_cam clocks and then the > pinmux of those clock outputs could be configurable from with the clock ops. > E.g. we set the pinumx into CAM_?_CLKOUT function only when a clock is > enabled. > Disabling a clock would put CLKOUT pin pinmux e.g. into input with pull down > state. This would ensure proper CLKOUT pin configuration when image sensor > is > suspended or entirely powered off. I'm working on something like this for > exynos4. > Ok that would be great. I will refer your exynos4 implementation for doing this. > >>>> +pmu subnode >>>> +----------- >>>> + >>>> +Required properties: >>>> + - reg : should contain PMU physical base address and size of the >>>> memory >>>> + mapped registers. >>> >>> >>> >>> What about other devices, like ISP I2C, SPI ? Don't you want to list at >>> least >>> the ones currently used (I2C bus controllers) ? >>> >> >> The present driver doesnt make use of the SPI bus as its used only >> for sensor calibration which is not yet added. > > > Is it only going to be used by the Cortex-A5 firmware, similarly to the > I2C bus ? If so then it is likely not needed to specify it here right now. > But I believe for complete H/W description we should reserve a possibility > to add those various peripheral device nodes here. > Yes its going to be used by the firmware and is done for sensor calibration. The sensor works well even without it and so I didnt include it in my initial patchset and kept it as a todo. > >> I2C bus is used by the sensor which has its own node. May be I should >> explain one of the sensor nodes over here? > > > I would describe at least I2C bus controller node and add a note that image > sensor nodes can be specified there. > I havent created a dummy i2c device driver for handling the i2c clock part and everything was handled in the fimc-is-sensor itself. I was checking your exynos4 implementation and will try to do in similar lines. > Also, it would be good to start adding separate sensor drivers for each > sensor, like s5k6a3, s5k4e3, etc. Ideally we should not have duplicated > fimc-is-sensor.[ch] that would handle various sensors, i.e. same set of > sensors to drivers/media/platform/exynos4-is and drivers/media/platform/ > exynos5-is. > Yes I hope it can be re-used. > After you post the next iteration of this series I could have a look how > it could be done. > Ok thanks. Regards Arun -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt new file mode 100644 index 0000000..9fd4646 --- /dev/null +++ b/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt @@ -0,0 +1,41 @@ +Samsung EXYNOS SoC Camera Subsystem +----------------------------------- + +The camera subsystem on Samsung Exynos5 SoC has some changes relative +to previous SoC versions. Exynos5 has almost similar MIPI-CSIS and +FIMC-LITE IPs but has a much improved version of FIMC-IS which can +handle sensor controls and camera post-processing operations. The +Exynos5 FIMC-IS has a dedicated ARM Cortex A5 processor, many +post-processing blocks (ISP, DRC, FD, ODC, DIS, 3DNR) and two +dedicated scalers (SCC and SCP). + +fimc-is node +------------ + +Required properties: + +- compatible : must be "samsung,exynos5250-fimc-is" +- reg : physical base address and size of the memory mapped + registers +- interrupt-parent : Parent interrupt controller +- interrupts : fimc-is interrupt to the parent combiner +- clocks : list of clock specifiers, corresponding to entries in + clock-names property; +- clock-names : must contain "isp", "mcu_isp", "isp_div0", "isp_div1", + "isp_divmpwm", "mcu_isp_div0", "mcu_isp_div1" entries, + matching entries in the clocks property. + + +Board specific properties: + +- pinctrl-names : pinctrl names for camera port pinmux control, at least + "default" needs to be specified. +- pinctrl-0...N : pinctrl properties corresponding to pinctrl-names + +pmu subnode +----------- + +Required properties: + - reg : should contain PMU physical base address and size of the memory + mapped registers. +