Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1313988ybs; Mon, 25 May 2020 12:39:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpSAh04ufrAut9njJfnGR4wqipqHDhrS3eHAubaSsfmDRTA+GwuMgCr02XrcUez2/Bds0Z X-Received: by 2002:a17:906:81d6:: with SMTP id e22mr419094ejx.418.1590435574038; Mon, 25 May 2020 12:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590435574; cv=none; d=google.com; s=arc-20160816; b=fOtTTykY9tTQ0jR2O8v/caM9OWVlwiszZEvgTcZoxXiZQDnNxdzKvzmw4KgWeu1BC1 sXiwwvsUN/NJAflKOQd7LucMhfEtsJLeIrkOEA+GacvxfKbwqnaw6oCYrf4bcfEaig6I sRYfL5xOF61NugtHq2Ro3g40J61nDNlPC2Iutss0+b3xIxWpOrCV+h2Ddc7A7RGVE1+I zSiUWXU6UU9NeG/7iTWYGdqHySUrkyRORn9l/ahjPsEuLEAR+jgPmQ2Ye7eNIMReKj3e LlaStt+RL9V76dMULZ+VPdtwNqV4o/5ekQeu7Tj9wrdl3TAJ0MptGoFB1bjdpMrc3V2s JDOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1neDSVvo2exAwO7XG1Q7asHC8C/uLbtbXAanu+QhUvY=; b=T/j3Lngmi2gGyfwQPTMz5Yh1BqneMmQUMFynFD9/Cc5Qb4zJG3LW2NtSYyKQ+eDzYH 2JjhJWqC6fuy59gHAnPtAOmc9qyf0isBOnTvAw0I918GZgogZdEwTIDEeflx+QkoIw5+ Glwrdv/14cqMndpPSJSDDajUrlEo23QKqhimCmLi2Dda4ysPOuveb9BgKffO/XeEinT/ Ul/phG4vhOA7Y+5PTFSebDvt13bvz5riEP3rgdZmomF7PDwNoTnw98aUunRfcI5a1fgx snSzpBIzdzyZjqzJ7wY7iUnDM8SGPClVBU928zc7rsVOQfugRrPQK3CuR34AxRjbzSNK 8SNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mHchiWv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y22si9933174edr.262.2020.05.25.12.39.10; Mon, 25 May 2020 12:39:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mHchiWv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390557AbgEYMX5 (ORCPT + 99 others); Mon, 25 May 2020 08:23:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390488AbgEYMX4 (ORCPT ); Mon, 25 May 2020 08:23:56 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EECC2C061A0E for ; Mon, 25 May 2020 05:23:55 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id v16so20569139ljc.8 for ; Mon, 25 May 2020 05:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1neDSVvo2exAwO7XG1Q7asHC8C/uLbtbXAanu+QhUvY=; b=mHchiWv9d+bl7TypEyswUYJoJBznRNEzkaqNXJ6yZYcwVhCmDlHeQE5uaH/HclG1/A Bx4Cg9tDzYVicfaKmVDBhYVOUgLefRTuPj7YFVjqzZ8YnTP/1LLLJTykYqXl+FHN2pZL g8xP1m6SXMaHEiGtmqiEB2IP7G+kpZcs9VS8hZv85N+n3X6CdpddRhU6y1nCKsAQzFCY 4rfmeLIz/oOwhxkepv8pd1oS85BdwpikntEpMCfo0gVE3d09pfC4AhwFL/nAFV+L4+Zb mwcQqn4CqSg3gj+nOH2kk2AibQMFcCPYOzlGhx/9SXJpErxweRkVif+GCa4LGQO8gvT9 9trw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1neDSVvo2exAwO7XG1Q7asHC8C/uLbtbXAanu+QhUvY=; b=KwG927CvdKv9oPKBcjpLCD5XGsAOh1GUiaTOMn085gX+9tWb8e3xzqusqaC80rM1RK 4lUqlcyDTsvQwV/tmwPPdtHL4YH4fsUHPckBsLwsyBaa8GOsIou+nLstlLPF35LUzb/Q dM41zM2E5QUg9BSAXgIehKs8QzateE3NHDLXckQJrUnTza3Y43EPIZ8G6Wz6ETbrzK51 3YHvtml+qhMxnFM6lwcP0ILui3QmxtB/npiywqa09FbK054+N8XBtLojwSVon5kS4cmZ Wt4moA35ZQWbUvTF4MO0AH6IjgCSBmBQx1NL/mp5dPJI4mu7D7/kC37UgH0fVuThM3Ka vv2A== X-Gm-Message-State: AOAM5329Gj7XZH4q4Wn5Pa2ZIoV4Hd4rLDsRRDELAgNSvH7Iqfx5pk+s aEE1GMAg2RzJsT8VoaCzx9s1BHaccwbvKgS6gVmGNw== X-Received: by 2002:a2e:711c:: with SMTP id m28mr13451102ljc.104.1590409434478; Mon, 25 May 2020 05:23:54 -0700 (PDT) MIME-Version: 1.0 References: <1590378348-8115-1-git-send-email-dillon.minfei@gmail.com> <1590378348-8115-7-git-send-email-dillon.minfei@gmail.com> In-Reply-To: <1590378348-8115-7-git-send-email-dillon.minfei@gmail.com> From: Linus Walleij Date: Mon, 25 May 2020 14:23:43 +0200 Message-ID: Subject: Re: [PATCH v5 6/8] drm/panel: Add ilitek ili9341 panel driver To: dillon min Cc: Mark Brown , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , "linux-kernel@vger.kernel.org" , linux-spi , linux-stm32@st-md-mailman.stormreply.com, "open list:DRM PANEL DRIVERS" , linux-clk Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 25, 2020 at 5:46 AM wrote: > From: dillon min > > This driver combine tiny/ili9341.c mipi_dbi_interface driver > with mipi_dpi_interface driver, can support ili9341 with serial > mode or parallel rgb interface mode by register configuration. > > Changes since V3: > > accoding to Linus Walleij's suggestion. > 1 add more comments to driver. > 2 reduce magic number usage in the driver. > 3 move panel configuration from common place to system configuration. > 4 reuse MIPI_DCS_* as more as possible. > > Signed-off-by: dillon min This looks good to me! Reviewed-by: Linus Walleij Yours, Linus Walleij