From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751700AbdFGJP0 (ORCPT ); Wed, 7 Jun 2017 05:15:26 -0400 Received: from lb3-smtp-cloud3.xs4all.net ([194.109.24.30]:35581 "EHLO lb3-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751524AbdFGJPY (ORCPT ); Wed, 7 Jun 2017 05:15:24 -0400 Subject: Re: [PATCH v4 3/3] media: mtk-mdp: Fix mdp device tree To: Matthias Brugger , Minghsiu Tsai , Hans Verkuil , daniel.thompson@linaro.org, Rob Herring , Mauro Carvalho Chehab , Daniel Kurtz , Pawel Osciak , Houlong Wei References: <1495509851-29159-1-git-send-email-minghsiu.tsai@mediatek.com> <1495509851-29159-4-git-send-email-minghsiu.tsai@mediatek.com> <2407aa14-610d-0252-f264-edf22961752e@xs4all.nl> <59ac9ca0-3f2f-fa65-011d-c832e4ced265@gmail.com> <9ca0b2c5-db3d-4794-1431-89f5a093252f@xs4all.nl> <35fb23dd-00e2-e0f1-c3ed-e317883ed007@gmail.com> Cc: srv_heupstream@mediatek.com, Eddie Huang , Yingjoe Chen , Wu-Cheng Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org From: Hans Verkuil Message-ID: <8dadf7c7-d600-ec0d-b78f-3bb492873edc@xs4all.nl> Date: Wed, 7 Jun 2017 11:15:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <35fb23dd-00e2-e0f1-c3ed-e317883ed007@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/06/17 11:13, Matthias Brugger wrote: > > > On 07/06/17 11:11, Hans Verkuil wrote: >> On 07/06/17 11:07, Matthias Brugger wrote: >>> >>> >>> On 07/06/17 10:56, Hans Verkuil wrote: >>>> On 07/06/17 10:44, Matthias Brugger wrote: >>>>> Hi Hans, hi Mauro, >>>>> >>>>> On 23/05/17 05:24, Minghsiu Tsai wrote: >>>>>> From: Daniel Kurtz >>>>>> >>>>>> If the mdp_* nodes are under an mdp sub-node, their corresponding >>>>>> platform device does not automatically get its iommu assigned properly. >>>>>> >>>>>> Fix this by moving the mdp component nodes up a level such that they are >>>>>> siblings of mdp and all other SoC subsystems. This also simplifies the >>>>>> device tree. >>>>>> >>>>>> Although it fixes iommu assignment issue, it also break compatibility >>>>>> with old device tree. So, the patch in driver is needed to iterate over >>>>>> sibling mdp device nodes, not child ones, to keep driver work properly. >>>>>> >>>>>> Signed-off-by: Daniel Kurtz >>>>>> Signed-off-by: Minghsiu Tsai >>>>>> Signed-off-by: Matthias Brugger >>>>>> >>>>> >>>>> Are you OK to take this patch, or do you have any further comments? >>>> >>>> Nope, it's all good. Queued for 4.13. >>>> >>> >>> Thanks! >>> >>> I queued the other two in v4.12-next/dts64 >> >> Media bindings normally go through the media subsystem, but you've taken >> that one as well? I need to know, because then I drop it in my tree. >> > > My fault, I'll drop it from my tree. After that I only queued patch 2/3. OK, thanks. Then I'll take patch 1/3 and 3/3. Regards, Hans