Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2927482ybi; Mon, 10 Jun 2019 00:51:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzg5D2SHNjKd+5PCI6G8L6MvlKps0UNmVb5pr67zOSalOTEB0ll09BTTWYZugGI3fQxI6Gv X-Received: by 2002:aa7:8555:: with SMTP id y21mr16378909pfn.104.1560153103637; Mon, 10 Jun 2019 00:51:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560153103; cv=none; d=google.com; s=arc-20160816; b=UW9NL0R5BCtnzyaFaGDIjOj8CVbcC+GrWTHHO9/OFCKCv7ALIABUcJoqbHhQ2uqHfU KOPOyoSuutmEUN8PEX4mXNc8pyuD0Uk50ol/I8cRQQLzcR/rzJqnx+/GBS5zT/j/6Eq1 bON3lLHsnjEIhMvecWZCgGoPsd+ShUfJzinS5go0bkrBXjjpc8BYHwOJwktVsp9GTG5m KhYxsN+/r4VRM/Z6J05fDL/iSUoIuVLrfLSfUfyK1BXeK9+9ubON2pFoZdJzzGXFoaBk Sk4Vot1JB4U5Pc/etcITialiUtJgGY6PCGQPKWqCHrWERRGyS1fQwQ49mfJsh1OzG+Tc OKuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=iGaCc7MfPX7qhuKaXPb+n1eaRTfB19Ot2/r6PDVFA58=; b=vGcpMyqQOUMYYKEw2PaDGp1U5qIzUaaX90o5T0BnkiQ7OAp9msYqjVnaNrF/9e1ONa VfHutmEYdrk1dLHmzpPjRJRM1WbEvD3pcmufKTEKRzQmflrvtcfAt9GueHulsgtIoX5m Via8MypAG4F5+txMOI2kpY2anXzidtozOZylL6Vwg+R1bY0ewmPfMv53vXugQAkHqVYT Eazp/+XRq58ug4musKBNyIW3LprvjwXHVyVd/Axg+fgraXLN/6Q/fkpDCAfe1K0s2QWv 6khaymRfu+3nFjeamKhGDSJvL4OB+DISMakRmgqC0Teac+GCWW2uKs+2ODrE7KjBWIN2 9jCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si8696812pgs.335.2019.06.10.00.51.29; Mon, 10 Jun 2019 00:51:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388023AbfFJHvZ (ORCPT + 99 others); Mon, 10 Jun 2019 03:51:25 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:22192 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2387781AbfFJHvZ (ORCPT ); Mon, 10 Jun 2019 03:51:25 -0400 X-UUID: f4cdad59ad504604918513e54bbdad19-20190610 X-UUID: f4cdad59ad504604918513e54bbdad19-20190610 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 247112446; Mon, 10 Jun 2019 15:51:15 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 10 Jun 2019 15:51:13 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 10 Jun 2019 15:51:13 +0800 Message-ID: <1560153073.31854.6.camel@mtksdaap41> Subject: Re: [PATCH v4 01/14] dt-bindings: Add binding for MT2712 MIPI-CSI2 From: CK Hu To: Tomasz Figa CC: Stu Hsieh , Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Matthias Brugger , "Linux Media Mailing List" , , Linux Kernel Mailing List , "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , "moderated list:ARM/Mediatek SoC support" , srv_heupstream Date: Mon, 10 Jun 2019 15:51:13 +0800 In-Reply-To: References: <1559643115-15124-1-git-send-email-stu.hsieh@mediatek.com> <1559643115-15124-2-git-send-email-stu.hsieh@mediatek.com> <1560134057.28527.5.camel@mtksdaap41> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Tomasz: On Mon, 2019-06-10 at 12:32 +0900, Tomasz Figa wrote: > Hi CK, Stu, > > On Mon, Jun 10, 2019 at 11:34 AM CK Hu wrote: > > > > Hi, Stu: > > > > "mediatek,mt2712-mipicsi" and "mediatek,mt2712-mipicsi-common" have many > > common part with "mediatek,mt8183-seninf", and I've a discussion in [1], > > so I would like these two to be merged together. > > > > [1] https://patchwork.kernel.org/patch/10979131/ > > > > Thanks CK for spotting this. > > I also noticed that the driver in fact handles two hardware blocks at > the same time - SenInf and CamSV. Unless the architecture is very > different from MT8183, I'd suggest splitting it. > > On a general note, the MT8183 SenInf driver has received several > rounds of review comments already, but I couldn't find any comments > posted for this one. > > Given the two aspects above and also based on my quick look at code > added by this series, I'd recommend adding MT2712 support on top of > the MT8183 series. In [1], "mediatek,mt8183-seninf" use one device to control multiple csi instance, so it duplicate many register definition. In [2], one "mediatek,mt2712-mipicsi" device control one csi instance, so there are multiple device and the register definition does not duplicate. You recommend adding MT2712 support on top of the MT8183 series, do you mean that "mediatek,mt2712-mipicsi" should use one device to control multiple csi instance and duplicate the register setting? [1] https://patchwork.kernel.org/patch/10979121/ [2] https://patchwork.kernel.org/patch/10974573/ Regards, CK > > Best regards, > Tomasz