Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp322250imm; Wed, 13 Jun 2018 00:36:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKC9KNebkVW81TX0yjH9nllZ0RPhoiO0LhkcZ4iiytrtmP6+7nqZokOO013wpKAB2Ch8HPA X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr3995067plb.24.1528875360514; Wed, 13 Jun 2018 00:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528875360; cv=none; d=google.com; s=arc-20160816; b=nSEhWxhzbN2od33hdobg2SYznGhVFTfJtJgxLvt1Bq4aGshYLd5t+dprP13+Rhi5Uv zBliDh+rJONv4AEkerLedHhcHb/+x7Aj2+n7u3Hydm69qk/tL8UxNpZkFaaqMbrcNeMh +IJ2W5DGBl6wjZCf0ZRxsWFLBDK/WTF9UybEPpCa/dXEvkQDoqvTtwWSChx0QXvu6Mmw Mpnr/Kwba/10yxnWUdV87nIgB90pp7/us0blOMHmsH3/ZaxnMSMUIFxqC2Y/Ajq6qOUq blHSGCEvqrcWOuxVGABvzPalXMXfsjHVWu6XSH5GKKMX0t4Kb3y2ejIoeICZ8CZXCWpO gY0Q== 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 :arc-authentication-results; bh=L0Y7BCwew1FJDDOSPJKgpkuCzxuUOsG7KuhP3ZczYdM=; b=erVHduE2DaZ2IrNjOIGJjggphvztvixqDxFQd1Bh2lI7+RWjGw20fQ3dbdXIWJQ57r vPoQ5GLZ8+ypHUGLAU3N2eBIHWUG8aU+VyE0uP3KT97i+mqzQQeylKOACAKcDLUxTlz3 quHg6itaryqNir/r90IVhv0E/PYVxXgqKqT+w4ufiziLPDVAm1HHvzLGvYpUY79zC2WJ KxzdD5t+WYXs/nERmHpKHAdfoLjSIiZuPunQvfnUN6X/wbSFp+dNsHPQ/tSOpj42PJgl 9VqGFYhVk2oKLsZ37GCAhdD7T7U4w7o+u8sOt71jqdRYZDb+3Cmjb77YsxbLZ9Y7LJKt qyZw== 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 a19-v6si1798449pgv.47.2018.06.13.00.35.46; Wed, 13 Jun 2018 00:36:00 -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 S934574AbeFMHfP (ORCPT + 99 others); Wed, 13 Jun 2018 03:35:15 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:15576 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S933759AbeFMHfN (ORCPT ); Wed, 13 Jun 2018 03:35:13 -0400 X-UUID: 4eb89f8c63de46778035ebcadd31e606-20180613 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1076597531; Wed, 13 Jun 2018 15:35:07 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 13 Jun 2018 15:35:05 +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.1210.3 via Frontend Transport; Wed, 13 Jun 2018 15:35:05 +0800 Message-ID: <1528875305.30263.14.camel@mtksdaap41> Subject: Re: [PATCH 26/28] drm/mediatek: add DPI1/DSI1/DSI2/DSI3 in comp_init From: CK Hu To: Stu Hsieh CC: Philipp Zabel , David Airlie , Rob Herring , Mark Rutland , Matthias Brugger , , , , , , Date: Wed, 13 Jun 2018 15:35:05 +0800 In-Reply-To: <1528687580-549-27-git-send-email-stu.hsieh@mediatek.com> References: <1528687580-549-1-git-send-email-stu.hsieh@mediatek.com> <1528687580-549-27-git-send-email-stu.hsieh@mediatek.com> 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, Stu: On Mon, 2018-06-11 at 11:26 +0800, Stu Hsieh wrote: > This patch add components DPI1/DSI1/DSI2/DSI3 in comp_init. > Because the some parameter for these components initialized > in their driver. > > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c > index 22f4c72fa785..ff974d82a4a6 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c > @@ -278,7 +278,11 @@ int mtk_ddp_comp_init(struct device *dev, struct device_node *node, > > if (comp_id == DDP_COMPONENT_BLS || > comp_id == DDP_COMPONENT_DPI0 || > + comp_id == DDP_COMPONENT_DPI1 || Why not move this modification to the patch 'add component DPI1'? > comp_id == DDP_COMPONENT_DSI0 || > + comp_id == DDP_COMPONENT_DSI1 || > + comp_id == DDP_COMPONENT_DSI2 || Why not move this modification to the patch 'add component DSI2'? > + comp_id == DDP_COMPONENT_DSI3 || Why not move this modification to the patch 'add component DSI3'? Regards, CK > comp_id == DDP_COMPONENT_PWM0) { > comp->regs = NULL; > comp->clk = NULL;