From patchwork Wed Mar 29 13:16:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2828 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 75512414BB for ; Wed, 29 Mar 2023 15:18:08 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id b8-20020aa78708000000b005eaa50faa35sf7469433pfo.20 for ; Wed, 29 Mar 2023 06:18:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680095887; cv=pass; d=google.com; s=arc-20160816; b=OE+sWCmUGuIVuhr6jF890C6F8AnsFA9HsdibzQ31kdbdYvKzE9heE7cGiY8V01Pyim wXAmsj42Vye0xChSNtGw9HZtAN5rDXKbxzXwYD0EUakBLWTnz6MyJ7S8D/q3qj2wpl+d KrFZCmf8tFXDwA2KbGT8Ap1qB/YbNkLq75UPgXMt7akTvPEgrjUj5xA+IJwTRZ+l1XGb qXktu1FjWzkjqhkKUDr6Ybr4fLo05o6HnAZQ0chDQdx3ZhURxJFZkkUlxm1gNFGx9CUQ rWx/lU4mJ/2lxm1P0CoRLkgHR7J9d1rajdNFCg9T5rEafxLf7Xbq3Tue9cfYiq49FN/p L5Sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yIoWhZEG3P3DxLvki9tIi/eP3HJI/GD2xijO83Z8auI=; b=Swtc9UyaJ2fnYfXPvl7ZgcwDJ9rJ5CEQlWx5j9g0uBYGU8qncnz35KfIxChkFXcEBt vgvYOoZzhxCP4UHnEdAw/N8sLB9sdCjtxjHlGu1z1UKIQigsTHUpMCRl/7ih4IDoyM4J wh0OBeGbRep9T+C9nD8UfyskbIwMf/r9Y/WoATLoVHk3SRfTXJ71L9YqcvthOZAlFfMr 39JD0wqdnPpPJEHPWOLJiZ5TNjXBqG+UP0kXlfKMVG9ib6+bv6uUfEcmag/4THn3qNhB XDm65JEzqn4mDTAzI9BOM7RxU3kQ3+nj6O+0oJ1z/ThNVOhJZmnRab/NsUT4BtbNYHIt PZsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dq2gflaX; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1680095887; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=yIoWhZEG3P3DxLvki9tIi/eP3HJI/GD2xijO83Z8auI=; b=o0UMlp6Uv0XdB9oemXcbVJ1yS0pTncFrygD+53JwarSvnKbp0gU8h0otAmj1nRTsGQ UgKKmzBgtR0N+yJLnQXX8AS1++ylSDgwDQ6RClP3mFDmc8S+PhU+hH3J1bQhLBw9EhTU 6wV6G9x1y4gEupFfkmsjvHRaAuON3oblUmoqc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680095887; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yIoWhZEG3P3DxLvki9tIi/eP3HJI/GD2xijO83Z8auI=; b=39j6vgC7dgbGm6uOuR3B+freDajLcjrs7DxuK458QgRE2NBNQCWfCgAY7W5/Ztd54E jZBpKZTDdYATU1sf6gEKxcxmkmkNc/tbeBMqKoE8EPynrFHcEktFe2SGFjNFO6bUcXoC 2CA7pnZ8qMAhUITT50gTtli3UwaAWQtpggKLGYnFFz8HgIeNwPLWOL/hgouglUlT9/Jy IqjW7rtj2s6gXMkbeSid4LSzBeYDKlhV28heVemDCyBUF2IXHCLUwxzNfnF1GvTdxgCJ rS8cBHX47UzqroyBkawwVt+I4lWMNjYsENUs1UKv+qWmw2X72wAh9KNZCXmVmDj4i8j4 cM+A== X-Gm-Message-State: AAQBX9cH2PvrLUAwMNt0+n6G5z0JxzZtDqTqp8JP6WfVxa6JXXErFWxB k2140GoiFio3floZIHfOxdrG5T9i X-Google-Smtp-Source: AKy350bpjOmZzGvS1rT+FDu6CRmsozzRN0Y1CCttYe5eV1f97snlT0XzdpPPad3gDqyGrficF3VJzw== X-Received: by 2002:a63:dd0f:0:b0:4fc:a80e:e6ec with SMTP id t15-20020a63dd0f000000b004fca80ee6ecmr5320206pgg.5.1680095887084; Wed, 29 Mar 2023 06:18:07 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:4d8f:b0:234:2ef4:2e9 with SMTP id oj15-20020a17090b4d8f00b002342ef402e9ls2222036pjb.0.-pod-control-gmail; Wed, 29 Mar 2023 06:18:06 -0700 (PDT) X-Received: by 2002:a17:90b:1b0c:b0:23f:5273:1ae1 with SMTP id nu12-20020a17090b1b0c00b0023f52731ae1mr20352649pjb.14.1680095886206; Wed, 29 Mar 2023 06:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680095886; cv=none; d=google.com; s=arc-20160816; b=LCWCPjEOBYToeK2H0z9Wcd4Ivzaj6qSoQqYBlAABadOteeybuMjT04NqqLPtovG0CM tPzKhW9YaL9bJE75/DeQoCs47jkmZkycbzJfU81ep/MWCvDP03cdttYP994KkMRWx9AG ez2SFcO7kgXAFUcw7aCfcsp9V9JXT+JWcOaACS6KsMHYkQSQmDTNkKB8EA7/6yqHiMRU lOHEC2sHoHzohyExlrKfyd7rwo776aFlK7Oj4v/lfpxQoXSMUaI6N+rOkyqjGZKstrZG 6puo2y5ABStcrEr5D9eyTI0X8gwH/YH720lfuc1AhRjIfKki6hJLrTB4rlHlvFM3kOv8 v0yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=cv6/4Vvh1vUo/moG1pbR53z8ML2U7R1WxCNXSlwjPc4=; b=of1q1IlmwJXGf1O5MSigaRfi4+AqQxluHEBFA84/mlqT8ozddHOXdG6fM2N+fQRhEU H3/KoHEj4xK20YAkejST/r4eGDYWiQ+FlJa1ugyZpSCAeAeDlJPRsHL0m4hSHu9Kn8JZ Op0oDnJe546t9DBCjTA3ZFS++CaHa5rEWdcQOT3fIsqpPBMNAmvsGipMqzHAE8hoVdo2 Ps6YT97NcWvJb8dXFCayoynJir7a/J9tKIYf4M2pAVxZQGW3ntoFVd4vFrz4iubBqVVe 3+NyGIriumg4QyoGbKDtnzMnI2qWQd7KnS/daNSOQthoUiMKeMwjuG9NFjbd1B/zz4ib VLRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dq2gflaX; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id fa13-20020a17090af0cd00b0023417e10e13sor794855pjb.19.2023.03.29.06.18.06 for (Google Transport Security); Wed, 29 Mar 2023 06:18:06 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90a:19d:b0:23f:ebf2:d3de with SMTP id 29-20020a17090a019d00b0023febf2d3demr21536210pjc.27.1680095885930; Wed, 29 Mar 2023 06:18:05 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a047:206d:4722:c4fa:e845]) by smtp.gmail.com with ESMTPSA id s16-20020a17090b071000b0023f5c867f82sm1400192pjz.41.2023.03.29.06.17.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 06:18:05 -0700 (PDT) From: Jagan Teki To: Dave Stevenson , Maxime Ripard , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Sam Ravnborg , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Marek Vasut , linux-amarula , Jagan Teki Subject: [PATCH v7 03/12] drm: panel: feiyang-fy07024di26a30d: Enable prepare_prev_first flag Date: Wed, 29 Mar 2023 18:46:09 +0530 Message-Id: <20230329131615.1328366-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230329131615.1328366-1-jagan@amarulasolutions.com> References: <20230329131615.1328366-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dq2gflaX; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable the drm panel prepare_prev_first flag for feiyang-fy07024di26a30d so-that the previous controller should be prepared first before the prepare for the panel is called.     This makes sure that the previous controller(sun6i-mipi-dsi), likely to be a DSI host controller should be initialized to LP-11 before the panel is powered up. Signed-off-by: Jagan Teki --- Changes for v7: - new patch drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c b/drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c index df493da50afe..77d66dbe01fe 100644 --- a/drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c +++ b/drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c @@ -198,6 +198,7 @@ static int feiyang_dsi_probe(struct mipi_dsi_device *dsi) drm_panel_init(&ctx->panel, &dsi->dev, &feiyang_funcs, DRM_MODE_CONNECTOR_DSI); + ctx->panel.prepare_prev_first = true; ctx->dvdd = devm_regulator_get(&dsi->dev, "dvdd"); if (IS_ERR(ctx->dvdd))