Message ID | 1442586060-23657-5-git-send-email-andrzej.p@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 18-09-15 16:21, Andrzej Pietrasiewicz wrote: > From: Marek Szyprowski <m.szyprowski@samsung.com> > > Add Exynos 5433 jpeg h/w codec node. > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> > --- > arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi This dtsi file doesn't exist in the media-git tree. What is the story here? Should this go through a different subsystem? I think the media subsystem can take patches 1-3 and whoever does DT patches can take this patch, right? Regards, Hans > index 59e21b6..5cb489f 100644 > --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi > +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi > @@ -916,6 +916,27 @@ > io-channel-ranges; > status = "disabled"; > }; > + jpeg: jpeg@15020000 { > + compatible = "samsung,exynos5433-jpeg"; > + reg = <0x15020000 0x10000>; > + interrupts = <0 411 0>; > + clock-names = "pclk", > + "aclk", > + "aclk_xiu", > + "sclk"; > + clocks = <&cmu_mscl CLK_PCLK_JPEG>, > + <&cmu_mscl CLK_ACLK_JPEG>, > + <&cmu_mscl CLK_ACLK_XIU_MSCLX>, > + <&cmu_mscl CLK_SCLK_JPEG>; > + assigned-clocks = <&cmu_mscl CLK_MOUT_ACLK_MSCL_400_USER>, > + <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>, > + <&cmu_mscl CLK_MOUT_SCLK_JPEG>, > + <&cmu_top CLK_MOUT_SCLK_JPEG_A>; > + assigned-clock-parents = <&cmu_top CLK_ACLK_MSCL_400>, > + <&cmu_top CLK_SCLK_JPEG_MSCL>, > + <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>, > + <&cmu_top CLK_MOUT_BUS_PLL_USER>; > + }; > }; > > timer { >
Hi Hans, W dniu 21.09.2015 o 11:50, Hans Verkuil pisze: > On 18-09-15 16:21, Andrzej Pietrasiewicz wrote: >> From: Marek Szyprowski <m.szyprowski@samsung.com> >> >> Add Exynos 5433 jpeg h/w codec node. >> >> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> >> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> >> --- >> arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +++++++++++++++++++++ >> 1 file changed, 21 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi > > This dtsi file doesn't exist in the media-git tree. What is the story here? > > Should this go through a different subsystem? > > I think the media subsystem can take patches 1-3 and whoever does DT patches can > take this patch, right? > The cover letter explains that the series is rebased onto Mauro's master with Kukjin's branch merged. The latter does contain the exynos5433.dtsi. That said, yes, taking patches 1-3 in media subsystem and leaving DT patch to someone else is the way to go. Andrzej
Em Mon, 21 Sep 2015 11:59:27 +0200 Andrzej Pietrasiewicz <andrzej.p@samsung.com> escreveu: > Hi Hans, > > W dniu 21.09.2015 o 11:50, Hans Verkuil pisze: > > On 18-09-15 16:21, Andrzej Pietrasiewicz wrote: > >> From: Marek Szyprowski <m.szyprowski@samsung.com> > >> > >> Add Exynos 5433 jpeg h/w codec node. > >> > >> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > >> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> > >> --- > >> arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +++++++++++++++++++++ > >> 1 file changed, 21 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi > > > > This dtsi file doesn't exist in the media-git tree. What is the story here? > > > > Should this go through a different subsystem? > > > > I think the media subsystem can take patches 1-3 and whoever does DT patches can > > take this patch, right? > > > > The cover letter explains that the series is rebased onto Mauro's > master with Kukjin's branch merged. The latter does contain > the exynos5433.dtsi. That said, yes, taking patches 1-3 in > media subsystem and leaving DT patch to someone else is the > way to go. I'm ok with such strategy, provided that the new driver builds fine with COMPILE_TEST without the need of the dtsi patch. Please also notice that, if the driver uses MC, it has to wait for the MC next gen support to be merged, and may need to be rebased, due to a few changes at the MC internal APIs: one function got renamed (the function that create links between two pads) and we're now using lists for links (that will only affect the driver if it has its own graph traversal routines). Btw, I just got a Samsung TM1 device, with seems to be using an arm64 SoC. Is this driver providing support for its camera? Regards, Mauro.
Hi Mauro, On 21/09/15 13:41, Mauro Carvalho Chehab wrote: > Btw, I just got a Samsung TM1 device, with seems to be using an arm64 > SoC. Is this driver providing support for its camera? The TM1 device (Z3) is based on a Qualcomm 64-bit SoC. The $subject patch adds support for a standalone JPEG codec IP block of Samsung Exynos5433 SoC, which can be found for instance in Galaxy Note4. Perhaps someone else can provide more details regarding the TM1's camera status.
Hi Mauro, W dniu 21.09.2015 o 13:41, Mauro Carvalho Chehab pisze: <snip> >>> >>> I think the media subsystem can take patches 1-3 and whoever does DT patches can >>> take this patch, right? >>> >> >> The cover letter explains that the series is rebased onto Mauro's >> master with Kukjin's branch merged. The latter does contain >> the exynos5433.dtsi. That said, yes, taking patches 1-3 in >> media subsystem and leaving DT patch to someone else is the >> way to go. > > I'm ok with such strategy, provided that the new driver builds fine with > COMPILE_TEST without the need of the dtsi patch. > I've checked. It does compile with COMPILE_TEST. > Please also notice that, if the driver uses MC, it has to wait for > the MC next gen support to be merged, No, it does not. It is a rather simple mem2mem device. Sylwester has answered about camera support which is a different topic. Andrzej
W dniu 21.09.2015 o 18:59, Andrzej Pietrasiewicz pisze: > Hi Hans, > > W dniu 21.09.2015 o 11:50, Hans Verkuil pisze: >> On 18-09-15 16:21, Andrzej Pietrasiewicz wrote: >>> From: Marek Szyprowski <m.szyprowski@samsung.com> >>> >>> Add Exynos 5433 jpeg h/w codec node. >>> >>> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> >>> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> >>> --- >>> arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +++++++++++++++++++++ >>> 1 file changed, 21 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi >>> b/arch/arm64/boot/dts/exynos/exynos5433.dtsi >> >> This dtsi file doesn't exist in the media-git tree. What is the story >> here? >> >> Should this go through a different subsystem? >> >> I think the media subsystem can take patches 1-3 and whoever does DT >> patches can >> take this patch, right? >> > > The cover letter explains that the series is rebased onto Mauro's > master with Kukjin's branch merged. The latter does contain > the exynos5433.dtsi. That said, yes, taking patches 1-3 in > media subsystem and leaving DT patch to someone else is the > way to go. Although Kukjin picked Exynos 5433 ARM64 patches but they were not accepted upstream by arm-soc. He rolled it for few releases but: 1. Reason for not accepting by arm-soc was not resolved - there is no DTS. 2. Kukjin did not rebase the branch for 4.4... which maybe means that he wants to drop it? 3. Anyone (but me...) can send Galaxy Note4 (Exynos5433) DTS file based on sources on opensource.samsung.com. The DTS there is for 32-bit but it can be probably easily adjusted for ARM64. All of this means that Device Tree support for this driver can't be merged now and effort for mainlining 5433 may be unfortunately wasted... Best regards, Krzysztof
Hi, On Monday, September 28, 2015 05:52:13 PM Krzysztof Kozlowski wrote: > W dniu 21.09.2015 o 18:59, Andrzej Pietrasiewicz pisze: > > Hi Hans, > > > > W dniu 21.09.2015 o 11:50, Hans Verkuil pisze: > >> On 18-09-15 16:21, Andrzej Pietrasiewicz wrote: > >>> From: Marek Szyprowski <m.szyprowski@samsung.com> > >>> > >>> Add Exynos 5433 jpeg h/w codec node. > >>> > >>> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > >>> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> > >>> --- > >>> arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +++++++++++++++++++++ > >>> 1 file changed, 21 insertions(+) > >>> > >>> diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi > >>> b/arch/arm64/boot/dts/exynos/exynos5433.dtsi > >> > >> This dtsi file doesn't exist in the media-git tree. What is the story > >> here? > >> > >> Should this go through a different subsystem? > >> > >> I think the media subsystem can take patches 1-3 and whoever does DT > >> patches can > >> take this patch, right? > >> > > > > The cover letter explains that the series is rebased onto Mauro's > > master with Kukjin's branch merged. The latter does contain > > the exynos5433.dtsi. That said, yes, taking patches 1-3 in > > media subsystem and leaving DT patch to someone else is the > > way to go. > > Although Kukjin picked Exynos 5433 ARM64 patches but they were not > accepted upstream by arm-soc. He rolled it for few releases but: > 1. Reason for not accepting by arm-soc was not resolved - there is no DTS. > 2. Kukjin did not rebase the branch for 4.4... which maybe means that he > wants to drop it? > 3. Anyone (but me...) can send Galaxy Note4 (Exynos5433) DTS file based > on sources on opensource.samsung.com. The DTS there is for 32-bit but it > can be probably easily adjusted for ARM64. > > All of this means that Device Tree support for this driver can't be > merged now and effort for mainlining 5433 may be unfortunately wasted... Exynos5433 support is being incrementally merged (clocks, drm, phy, pinctrl, thermal and tty support is already in upstream or -next). I don't know why DTS changes got stuck in Kukjin's tree (Kukjin, could you please explain?) but I think that this shouldn't not stop us from continuing Exynos5433 upstreaming effort. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics
W dniu 28.09.2015 o 20:54, Bartlomiej Zolnierkiewicz pisze: > > Hi, > > On Monday, September 28, 2015 05:52:13 PM Krzysztof Kozlowski wrote: >> W dniu 21.09.2015 o 18:59, Andrzej Pietrasiewicz pisze: >>> Hi Hans, >>> >>> W dniu 21.09.2015 o 11:50, Hans Verkuil pisze: >>>> On 18-09-15 16:21, Andrzej Pietrasiewicz wrote: >>>>> From: Marek Szyprowski <m.szyprowski@samsung.com> >>>>> >>>>> Add Exynos 5433 jpeg h/w codec node. >>>>> >>>>> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> >>>>> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> >>>>> --- >>>>> arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +++++++++++++++++++++ >>>>> 1 file changed, 21 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi >>>>> b/arch/arm64/boot/dts/exynos/exynos5433.dtsi >>>> >>>> This dtsi file doesn't exist in the media-git tree. What is the story >>>> here? >>>> >>>> Should this go through a different subsystem? >>>> >>>> I think the media subsystem can take patches 1-3 and whoever does DT >>>> patches can >>>> take this patch, right? >>>> >>> >>> The cover letter explains that the series is rebased onto Mauro's >>> master with Kukjin's branch merged. The latter does contain >>> the exynos5433.dtsi. That said, yes, taking patches 1-3 in >>> media subsystem and leaving DT patch to someone else is the >>> way to go. >> >> Although Kukjin picked Exynos 5433 ARM64 patches but they were not >> accepted upstream by arm-soc. He rolled it for few releases but: >> 1. Reason for not accepting by arm-soc was not resolved - there is no DTS. >> 2. Kukjin did not rebase the branch for 4.4... which maybe means that he >> wants to drop it? >> 3. Anyone (but me...) can send Galaxy Note4 (Exynos5433) DTS file based >> on sources on opensource.samsung.com. The DTS there is for 32-bit but it >> can be probably easily adjusted for ARM64. >> >> All of this means that Device Tree support for this driver can't be >> merged now and effort for mainlining 5433 may be unfortunately wasted... > > Exynos5433 support is being incrementally merged (clocks, drm, phy, > pinctrl, thermal and tty support is already in upstream or -next). > > I don't know why DTS changes got stuck in Kukjin's tree (Kukjin, > could you please explain?) but I think that this shouldn't not stop > us from continuing Exynos5433 upstreaming effort. I already explained. There is no DTS, so the pull request was rejected (pull request for v4.0 I believe). It was not about adding drivers for 5433's clocks/phy/pinctrl etc. It was about DTS. Best regards, Krzysztof
On 09/28/15 21:02, Krzysztof Kozlowski wrote: > W dniu 28.09.2015 o 20:54, Bartlomiej Zolnierkiewicz pisze: >> >> Hi, >> >> On Monday, September 28, 2015 05:52:13 PM Krzysztof Kozlowski wrote: >>> W dniu 21.09.2015 o 18:59, Andrzej Pietrasiewicz pisze: >>>> Hi Hans, >>>> >>>> W dniu 21.09.2015 o 11:50, Hans Verkuil pisze: >>>>> On 18-09-15 16:21, Andrzej Pietrasiewicz wrote: >>>>>> From: Marek Szyprowski <m.szyprowski@samsung.com> >>>>>> >>>>>> Add Exynos 5433 jpeg h/w codec node. >>>>>> >>>>>> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> >>>>>> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> >>>>>> --- >>>>>> arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +++++++++++++++++++++ >>>>>> 1 file changed, 21 insertions(+) >>>>>> >>>>>> diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi >>>>>> b/arch/arm64/boot/dts/exynos/exynos5433.dtsi >>>>> >>>>> This dtsi file doesn't exist in the media-git tree. What is the story >>>>> here? >>>>> >>>>> Should this go through a different subsystem? >>>>> >>>>> I think the media subsystem can take patches 1-3 and whoever does DT >>>>> patches can >>>>> take this patch, right? >>>> >>>> The cover letter explains that the series is rebased onto Mauro's >>>> master with Kukjin's branch merged. The latter does contain >>>> the exynos5433.dtsi. That said, yes, taking patches 1-3 in >>>> media subsystem and leaving DT patch to someone else is the >>>> way to go. >>> >>> Although Kukjin picked Exynos 5433 ARM64 patches but they were not >>> accepted upstream by arm-soc. He rolled it for few releases but: >>> 1. Reason for not accepting by arm-soc was not resolved - there is no DTS. >>> 2. Kukjin did not rebase the branch for 4.4... which maybe means that he >>> wants to drop it? >>> 3. Anyone (but me...) can send Galaxy Note4 (Exynos5433) DTS file based >>> on sources on opensource.samsung.com. The DTS there is for 32-bit but it >>> can be probably easily adjusted for ARM64. >>> >>> All of this means that Device Tree support for this driver can't be >>> merged now and effort for mainlining 5433 may be unfortunately wasted... >> >> Exynos5433 support is being incrementally merged (clocks, drm, phy, >> pinctrl, thermal and tty support is already in upstream or -next). >> >> I don't know why DTS changes got stuck in Kukjin's tree (Kukjin, >> could you please explain?) but I think that this shouldn't not stop >> us from continuing Exynos5433 upstreaming effort. > > I already explained. There is no DTS, so the pull request was rejected > (pull request for v4.0 I believe). > + Chanwoo Choi Yes right, as Krzysztof commented, the pull-request has been rejected by arm-soc even I explained it has been tested on smdk5433, because it will not be compiled without relevant board DT file. And I've rebased when new -rc1 released until 4.3...because Chanwoo said at that time that regarding DT file will be submitted but not yet... To be honest, I'm not sure I can keep the exynos5433 changes for v4.4 in my tree at this moment... > It was not about adding drivers for 5433's clocks/phy/pinctrl etc. It > was about DTS. Could be...hmm... Thanks, Kukjin
Dear Kukjin, On 2015? 09? 30? 15:35, Kukjin Kim wrote: > On 09/28/15 21:02, Krzysztof Kozlowski wrote: >> W dniu 28.09.2015 o 20:54, Bartlomiej Zolnierkiewicz pisze: >>> >>> Hi, >>> >>> On Monday, September 28, 2015 05:52:13 PM Krzysztof Kozlowski wrote: >>>> W dniu 21.09.2015 o 18:59, Andrzej Pietrasiewicz pisze: >>>>> Hi Hans, >>>>> >>>>> W dniu 21.09.2015 o 11:50, Hans Verkuil pisze: >>>>>> On 18-09-15 16:21, Andrzej Pietrasiewicz wrote: >>>>>>> From: Marek Szyprowski <m.szyprowski@samsung.com> >>>>>>> >>>>>>> Add Exynos 5433 jpeg h/w codec node. >>>>>>> >>>>>>> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> >>>>>>> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> >>>>>>> --- >>>>>>> arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +++++++++++++++++++++ >>>>>>> 1 file changed, 21 insertions(+) >>>>>>> >>>>>>> diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi >>>>>>> b/arch/arm64/boot/dts/exynos/exynos5433.dtsi >>>>>> >>>>>> This dtsi file doesn't exist in the media-git tree. What is the story >>>>>> here? >>>>>> >>>>>> Should this go through a different subsystem? >>>>>> >>>>>> I think the media subsystem can take patches 1-3 and whoever does DT >>>>>> patches can >>>>>> take this patch, right? >>>>> >>>>> The cover letter explains that the series is rebased onto Mauro's >>>>> master with Kukjin's branch merged. The latter does contain >>>>> the exynos5433.dtsi. That said, yes, taking patches 1-3 in >>>>> media subsystem and leaving DT patch to someone else is the >>>>> way to go. >>>> >>>> Although Kukjin picked Exynos 5433 ARM64 patches but they were not >>>> accepted upstream by arm-soc. He rolled it for few releases but: >>>> 1. Reason for not accepting by arm-soc was not resolved - there is no DTS. >>>> 2. Kukjin did not rebase the branch for 4.4... which maybe means that he >>>> wants to drop it? >>>> 3. Anyone (but me...) can send Galaxy Note4 (Exynos5433) DTS file based >>>> on sources on opensource.samsung.com. The DTS there is for 32-bit but it >>>> can be probably easily adjusted for ARM64. >>>> >>>> All of this means that Device Tree support for this driver can't be >>>> merged now and effort for mainlining 5433 may be unfortunately wasted... >>> >>> Exynos5433 support is being incrementally merged (clocks, drm, phy, >>> pinctrl, thermal and tty support is already in upstream or -next). >>> >>> I don't know why DTS changes got stuck in Kukjin's tree (Kukjin, >>> could you please explain?) but I think that this shouldn't not stop >>> us from continuing Exynos5433 upstreaming effort. >> >> I already explained. There is no DTS, so the pull request was rejected >> (pull request for v4.0 I believe). >> > + Chanwoo Choi > > Yes right, as Krzysztof commented, the pull-request has been rejected by > arm-soc even I explained it has been tested on smdk5433, because it will > not be compiled without relevant board DT file. And I've rebased when > new -rc1 released until 4.3...because Chanwoo said at that time that > regarding DT file will be submitted but not yet... > > To be honest, I'm not sure I can keep the exynos5433 changes for v4.4 in > my tree at this moment... Thanks for your handling the exynos5433 patches on your tree. But, I might not send the board DTS file for Exynos5433 SoC right now. If I send the board DTS patches in the future, I'll send both board dts patches and Exynos5433 SoC patches again. Best Regards, Chanwoo Choi
diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 59e21b6..5cb489f 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -916,6 +916,27 @@ io-channel-ranges; status = "disabled"; }; + jpeg: jpeg@15020000 { + compatible = "samsung,exynos5433-jpeg"; + reg = <0x15020000 0x10000>; + interrupts = <0 411 0>; + clock-names = "pclk", + "aclk", + "aclk_xiu", + "sclk"; + clocks = <&cmu_mscl CLK_PCLK_JPEG>, + <&cmu_mscl CLK_ACLK_JPEG>, + <&cmu_mscl CLK_ACLK_XIU_MSCLX>, + <&cmu_mscl CLK_SCLK_JPEG>; + assigned-clocks = <&cmu_mscl CLK_MOUT_ACLK_MSCL_400_USER>, + <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>, + <&cmu_mscl CLK_MOUT_SCLK_JPEG>, + <&cmu_top CLK_MOUT_SCLK_JPEG_A>; + assigned-clock-parents = <&cmu_top CLK_ACLK_MSCL_400>, + <&cmu_top CLK_SCLK_JPEG_MSCL>, + <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>, + <&cmu_top CLK_MOUT_BUS_PLL_USER>; + }; }; timer {