Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp451700lqo; Wed, 8 May 2024 05:09:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWX3oAUY4ntRvr2UO5mA15ZJgx8Bjg3UQYOm1fhRO2n5L79C5is/VMZVMSc8pLKrKUUfbU97fIEAw4t5EK5VqGr4AxeWt+Ag43iOqhGvw== X-Google-Smtp-Source: AGHT+IEYvmWXBvF+GLYDBmAPb6OGeq2VhfpflP0trrpQQVD57c3cBOlRj8FlJA25EhrQWcTtXwl4 X-Received: by 2002:a05:6870:41cb:b0:22e:de21:e084 with SMTP id 586e51a60fabf-24097e76bb1mr2400115fac.9.1715170174393; Wed, 08 May 2024 05:09:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715170174; cv=pass; d=google.com; s=arc-20160816; b=qfmIKPpBTS4P/MnCQ9iIDP9t+XA84C5fpVGTgL0UhndSrj0/1JVYE080JeH3tkjKu9 yLnCGIRoiB60DNhtAp0Vq7OVAXQYoMIgQ49GVaOF1443I8/JsUYbKXcss9yjWftBhlR6 7C2V4nJqrRot1IMZYqf7cVDmSfS/4LTHnOhgOzLePv4X0NzyOH/NSBUQVBSrnIcgPYHs z5hYT9zmVeI7iP5we5VIHfkEZbMT8ARXfK8+kKoPZAUWnlQkrl8PA2GWJVN07ZDMwkXo mazWUscsCreS3BCYog88t0JFuDva1fRCRi0gXQzyC25hvwQGZOuE4HLrcJi0SqZa1vXy rxJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=rzBWZByfqdZx/hPlpPIy1POerUtgZPZjzuSa/z5kMRo=; fh=UlX7TcrxkgG++MRgmP4xVhqT/ten7YjrsVZlurcreMA=; b=Eboz9DtuwPK9cXsP8mQZHnr/4cmLOE+gk1Vlbi4TAejcLSl+/g3ZqX7EHekXW4bbGn IHODpX58EuqWVXhV7+3Bs9pkKbrqT5fnRvGG1OMr81C0NZVClis+REGnL5oLY0o+/m2P h+s138fxpXTH2POE/Qb7nsTgbV58Dwims4GnMAqTJvGVzpppw3nsIVqLcy2esFGDIF0T a95aCg7wWI1wJIl75flesj8HRLWSnOjjEJJSpV+pwwzdrsHWV13uQ5ndecKcv0fpiZKz alL8KCLylsgc1liWtcyA+sCC2VFp1/3Es9xCfCkPrCZUrA1Hl0lepEY5kA3Xp85g9SG0 /OEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=T1Gc8ykG; arc=pass (i=1 spf=pass spfdomain=huaqin.corp-partner.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=huaqin.corp-partner.google.com); spf=pass (google.com: domain of linux-kernel+bounces-173187-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l133-20020a633e8b000000b0061a4bc09207si12403867pga.329.2024.05.08.05.09.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 05:09:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173187-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=T1Gc8ykG; arc=pass (i=1 spf=pass spfdomain=huaqin.corp-partner.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=huaqin.corp-partner.google.com); spf=pass (google.com: domain of linux-kernel+bounces-173187-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6C8ADB211AE for ; Wed, 8 May 2024 11:56:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5D7C82D91; Wed, 8 May 2024 11:56:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="T1Gc8ykG" Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4913D82C6B for ; Wed, 8 May 2024 11:56:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715169370; cv=none; b=qMBvZy/UwcEWKyhfLtIY1RpUzyuCvXiWHsFUnCEscY6FtHj+VdT3PHkzF43odtmA5p+HX9n84t/vMrGxpjClSP029TQO91RNPm9fghocqmcqU2LET8DkREb9tSPMBnOQTZ5XRI4Kxc+rn4fh7Db5KAKYej0JhAiGHGUGJu2Tj6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715169370; c=relaxed/simple; bh=VzvbGI1z/xxnxDvk5Jx7lWpmujJ1R8BpP1oWRjAoAkc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Tq/iLAw0Bop6DHcUEkYm2P5A9fFZtEXGguG8Hku6NW65+x5PR5HaVFXi3+j738WkUfffiWJtiMQ/pjXhi4DtgIvwal5y5vziLGUbOESzSJLWZR9s7gmSmMx3gVcXR1wyhkcDej7KBpe32Z+qQ3K1TDTwWRLL+ZJviM3z1cI8oso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=T1Gc8ykG; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6f450f43971so3353853b3a.3 for ; Wed, 08 May 2024 04:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715169368; x=1715774168; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rzBWZByfqdZx/hPlpPIy1POerUtgZPZjzuSa/z5kMRo=; b=T1Gc8ykGYFdB0OX2VRWqk3XCvtyGRzBkz60wfIeJkhZkImKbQwxXj1T5QPJdu7AhFh HwqwZkY8DnbQEEhOWZZ4YF2IARj+8zVaKYgPVNmkJohmvFW7CLldJf0HSP88XOyCudDa 1vmUcg6e7Ha7eZpJ0J9EAJ+/KMKZfJfBVf6M5rTWEhLV6ulCaT+Ez3vvjikyKgsUxFQj 9zMSFsQ4uClcDEb4FmdrFrMTzTZwykehB0G+A1wCnve/73j+4SAmeSAyzb1krhWHcmqy SZa6vg98tYdyAwbAr3oucYu/UugFjrJ9Y/1gka7/VJ7sw2EVLYU3famfS7N0urW6+DtH Xl+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715169368; x=1715774168; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rzBWZByfqdZx/hPlpPIy1POerUtgZPZjzuSa/z5kMRo=; b=sSSMXlSAiyWZuX/VwJk6Lg49XucVrZDpKYAC4TMAVXi4B9W48GoV38curjX6+eT1ZM efC8mYGkdBcumQ29bqnAfdsDFUUauRxW1gdmGkXsrm/X0jkYbtTJLr434DChk6mAoEwB 9/Yht49w/dnQusQvKqvtXki7izmBSNt4M3jn83C+gWCkL9COsch2oxjOw500ce+/EMkJ zVRTAnLaAyDuT0z02tcW/J4V5+GJBNPdifi+NkjmPtpSd5FmeDfaPXA0m5tEma9TiyO5 zIHsYqVVHRwdwkdCd9bW/y5K5iyQnlEBaQXETVY6AKKo2lQAx2m36osY99z6h3jX3C3A LSeA== X-Forwarded-Encrypted: i=1; AJvYcCXGggMsZtP+6VzfK2whF4QFhTGOid0bcf8NjYR3+J3v6kq+x0G9QmT3b0VTZ2hP+EqKq22FldgduBUNGB7+g+nQoH2I71cUgdOLwi/c X-Gm-Message-State: AOJu0YxTw70NvHlNd1um/q5nXjwooBE3RWsHJAodW/gqjyqSqJAeA48q xE9N7R9CKHZB5mHIjoHCEo6p3BZw5niPU3N9R8GS3lSAtbnEa1u6J0EmJWy3FU5iYlSwWZL9new wogGt5jSxosHkslp6iAbTvPmNBUzzIq7nWNx0Wg== X-Received: by 2002:a05:6a21:168e:b0:1a3:65af:9baa with SMTP id adf61e73a8af0-1afc8de0229mr2361763637.62.1715169368633; Wed, 08 May 2024 04:56:08 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240507135234.1356855-1-yangcong5@huaqin.corp-partner.google.com> <20240507135234.1356855-6-yangcong5@huaqin.corp-partner.google.com> In-Reply-To: From: cong yang Date: Wed, 8 May 2024 19:55:57 +0800 Message-ID: Subject: Re: [PATCH v4 5/7] drm/panel: himax-hx83102: Support for BOE nv110wum-l60 MIPI-DSI panel To: Doug Anderson Cc: sam@ravnborg.org, neil.armstrong@linaro.org, daniel@ffwll.ch, linus.walleij@linaro.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, airlied@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, xuxinxiong@huaqin.corp-partner.google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Doug Anderson =E4=BA=8E2024=E5=B9=B45=E6=9C=888=E6= =97=A5=E5=91=A8=E4=B8=89 07:35=E5=86=99=E9=81=93=EF=BC=9A > > Hi, > > On Tue, May 7, 2024 at 6:53=E2=80=AFAM Cong Yang > wrote: > > > > +static int boe_nv110wum_init(struct hx83102 *ctx) > > +{ > > + struct mipi_dsi_multi_context dsi_ctx =3D { .dsi =3D ctx->dsi }= ; > > + > > + msleep(60); > > + > > + hx83102_enable_extended_cmds(ctx, true); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETPOWER, 0x2c, = 0xaf, 0xaf, 0x2b, 0xeb, 0x42, > > + 0xe1, 0x4d, 0x36, 0x36, 0x36, = 0x36, 0x1a, 0x8b, 0x11, 0x65, 0x00, > > + 0x88, 0xfa, 0xff, 0xff, 0x8f, = 0xff, 0x08, 0x9a, 0x33); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETDISP, 0x00, 0= x47, 0xb0, 0x80, 0x00, 0x12, > > + 0x71, 0x3c, 0xa3, 0x11, 0x00, = 0x00, 0x00, 0x88, 0xf5, 0x22, 0x8f); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETCYC, 0x49, 0x= 49, 0x32, 0x32, 0x14, 0x32, > > + 0x84, 0x6e, 0x84, 0x6e, 0x01, = 0x9c); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xcd)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETMIPI, 0x84); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETVDC, 0x1b, 0x= 04); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_UNKNOWN_BE, 0x20= ); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETPTBA, 0xfc, 0= x84); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSTBA, 0x36, 0= x36, 0x22, 0x00, 0x00, 0xa0, > > + 0x61, 0x08, 0xf5, 0x03); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xcc)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETTCON, 0x80); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xc6)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETRAMDMY, 0x97)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETPWM, 0x00, 0x= 1e, 0x30, 0xd4, 0x01); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETCLOCK, 0x08, = 0x13, 0x07, 0x00, 0x0f, 0x34); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETPANEL, 0x02, = 0x03, 0x44); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xc4)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETCASCADE, 0x03= ); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETPCTRL, 0x37, = 0x06, 0x00, 0x02, 0x04, 0x0c, 0xff); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_UNKNOWN_D2, 0x1f= , 0x11, 0x1f, 0x11); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGIP0, 0x06, 0= x00, 0x00, 0x00, 0x00, 0x04, > > + 0x08, 0x04, 0x08, 0x37, 0x37, = 0x64, 0x4b, 0x11, 0x11, 0x03, 0x03, 0x32, > > + 0x10, 0x0e, 0x00, 0x0e, 0x32, = 0x10, 0x0a, 0x00, 0x0a, 0x32, 0x17, 0x98, > > + 0x07, 0x98, 0x00, 0x00); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGIP1, 0x18, 0= x18, 0x18, 0x18, 0x1e, 0x1e, > > + 0x1e, 0x1e, 0x1f, 0x1f, 0x1f, = 0x1f, 0x24, 0x24, 0x24, 0x24, 0x07, 0x06, > > + 0x07, 0x06, 0x05, 0x04, 0x05, = 0x04, 0x03, 0x02, 0x03, 0x02, 0x01, 0x00, > > + 0x01, 0x00, 0x21, 0x20, 0x21, = 0x20, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, > > + 0x18, 0x18); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGIP3, 0xaf, 0= xaa, 0xaa, 0xaa, 0xaa, 0xa0, > > + 0xaf, 0xaa, 0xaa, 0xaa, 0xaa, = 0xa0); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGMA, 0x00, 0x= 05, 0x0d, 0x14, 0x1b, 0x2c, > > + 0x44, 0x49, 0x51, 0x4c, 0x67, = 0x6c, 0x71, 0x80, 0x7d, 0x84, 0x8d, 0xa0, > > + 0xa0, 0x4f, 0x58, 0x64, 0x73, = 0x00, 0x05, 0x0d, 0x14, 0x1b, 0x2c, 0x44, > > + 0x49, 0x51, 0x4c, 0x67, 0x6c, = 0x71, 0x80, 0x7d, 0x84, 0x8d, 0xa0, 0xa0, > > + 0x4f, 0x58, 0x64, 0x73); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETTP1, 0x07, 0x= 10, 0x10, 0x1a, 0x26, 0x9e, > > + 0x00, 0x53, 0x9b, 0x14, 0x14); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_UNKNOWN_E1, 0x11= , 0x00, 0x00, 0x89, 0x30, 0x80, > > + 0x07, 0x80, 0x02, 0x58, 0x00, = 0x14, 0x02, 0x58, 0x02, 0x58, 0x02, 0x00, > > + 0x02, 0x2c, 0x00, 0x20, 0x02, = 0x02, 0x00, 0x08, 0x00, 0x0c, 0x05, 0x0e, > > + 0x04, 0x94, 0x18, 0x00, 0x10, = 0xf0, 0x03, 0x0c, 0x20, 0x00, 0x06, 0x0b, > > + 0x0b, 0x33, 0x0e); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETBANK, 0x01); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGIP3, 0xff, 0= xff, 0xff, 0xff, 0xfa, 0xa0, > > + 0xff, 0xff, 0xff, 0xff, 0xfa, = 0xa0); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETPOWER, 0x01, = 0xbf, 0x11); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETCLOCK, 0x86); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_UNKNOWN_D2, 0x96= ); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xc9)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGIP0, 0x84); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xd1)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_UNKNOWN_E1, 0xf6= , 0x2b, 0x34, 0x2b, 0x74, 0x3b, > > + 0x74, 0x6b, 0x74); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETTP1, 0x02, 0x= 00, 0x2b, 0x01, 0x7e, 0x0f, > > + 0x7e, 0x10, 0xa0, 0x00, 0x00); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETBANK, 0x02); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETCYC, 0x02, 0x= 00, 0xbb, 0x11); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGIP3, 0xff, 0= xaf, 0xff, 0xff, 0xfa, 0xa0, > > + 0xff, 0xaf, 0xff, 0xff, 0xfa, = 0xa0); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETTP1, 0xfe, 0x= 01, 0xfe, 0x01, 0xfe, 0x01, > > + 0x00, 0x00, 0x00, 0x23, 0x00, = 0x23, 0x81, 0x02, 0x40, 0x00, 0x20, 0x65, > > + 0x02, 0x01, 0x00, 0x00, 0x00, = 0x00, 0x00, 0x00, 0x01, 0x00); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETBANK, 0x03); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGIP3, 0xaa, 0= xaf, 0xaa, 0xaa, 0xa0, 0x00, > > + 0xaa, 0xaf, 0xaa, 0xaa, 0xa0, = 0x00, 0xaa, 0xaf, 0xaa, 0xaa, 0xa0, 0x00, > > + 0xaa, 0xaf, 0xaa, 0xaa, 0xa0, = 0x00); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xc6)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETCYC, 0x03, 0x= ff, 0xf8); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_UNKNOWN_E1, 0x00= ); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETBANK, 0x00); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xc4)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETMIPI, 0x96); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETBANK, 0x01); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0xc5)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETMIPI, 0x4f); > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETSPCCMD, 0x3f)= ; > > + mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETBANK, 0x00); > > + hx83102_enable_extended_cmds(ctx, false); > > It's not super important, but in panel drivers I converted to the > mipi_dsi_dcs_write_seq_multi() I checked the "accum_err" and did an > early return right before any mdelay() calls. This means that if any > of the above failed then we didn't waste time with the mdelay(). Ok, I wiil add check accum_err before calling mdelay in V4. Thanks. > > > + > > + msleep(50); > > + > > + return dsi_ctx.accum_err; > > +};