Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2632486rdg; Mon, 16 Oct 2023 09:57:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJBKI2VMuLplQQURwGh6IyZY8tLuFIdTF8By6MfmxsKHlpNOyrxjOtcgGgi2ayRA2lM1qV X-Received: by 2002:a17:90a:fc96:b0:27d:7f23:9b66 with SMTP id ci22-20020a17090afc9600b0027d7f239b66mr4080018pjb.9.1697475472337; Mon, 16 Oct 2023 09:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697475472; cv=none; d=google.com; s=arc-20160816; b=RYjl5q2Ewq26MSuCCKvHPoOjGUJYOf7tPSM3OpkpZluJK3QaJkna6cjhpEFFYWOaIC DjUtukCCFCiMkmhjOd0BZIgcNe09C0n/aERatqfjg7mZqCKGF2LIQXfjC9kPQ/zHuTC5 FHDNn0wtYceLw97bHo+7WPT66UDQeUzdjN/yu+0mj08g9jU2BMC1tRXCAurjFDePGxsE cC0RNul5tCRmW+epRvAAkcqmR5jjEHrXpTOdqluRXcJofcOZL5Zi6b6Blm2dVRmWKLYy lY2bCDITPflMaJOgHqx4sECZon4JGuzHzOgC7FGdEmcgiUX6ezJeRfQ8pRtkQHKGdcFT E4Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zpGIiUMbok8vBwc13/k0XLEAhZoDX5uqz8AGagQ5Hmc=; fh=OT/8nNJKNCzw+WY7QnVxvWUM5gQckqwqCjGb4xh5RlI=; b=PRCWgdejoYXI7O5SOBhm2+Fhi7JVW+D97On6McvhwDwU5/a8OZGvvL4Htty7c+e6Jy sTIgqLO3Kciy896T++l0aDFjkdLY36uE+Sb6+m11HRXf1tHPAkqSG6N6Uzsg9dTIq90h LE2etClfe0LF3DTvLtcX26EmCE7ImRqUVeQ3VhhqoTYGBoMb9wa5QYN3wIoMDxQN+iXj GHbpkO9j46hY07FHvIvNvbMsgsjFgCmuhxGxEXQSbdyhEUWA+oaPk4tC0yIw5e5HnynN +JsJMiHBTh/SKfrehr0mBnrj6HGwMIbOE2tDW9UoB4aGYZ8eROel0gWrMUIz5Q6LwhMq MgMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rQ8QLDL2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j10-20020a17090a31ca00b002632a1243dbsi6351740pjf.104.2023.10.16.09.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 09:57:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rQ8QLDL2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id DA40E80AEE29; Mon, 16 Oct 2023 09:57:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234525AbjJPQ5M (ORCPT + 99 others); Mon, 16 Oct 2023 12:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234169AbjJPQ4m (ORCPT ); Mon, 16 Oct 2023 12:56:42 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9183210A for ; Mon, 16 Oct 2023 09:54:15 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3248ac76acbso3918233f8f.1 for ; Mon, 16 Oct 2023 09:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697475254; x=1698080054; darn=vger.kernel.org; h=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=zpGIiUMbok8vBwc13/k0XLEAhZoDX5uqz8AGagQ5Hmc=; b=rQ8QLDL2UJWSvpTZwfiKnAkE5JK5NclU0ZhgMbI0lPQgGYqrOb5yMq7qpHQbAJg3W5 tPyAcAqt44cuUfYIshdzRx8wbXK7HUE0oHuYw2LNG2FUeVSsyEetN/BAQIniZgKzu6ra fd+K+8LA9WKO47E9jxCVH724El3S/D5V1Ma23p3u9jKjBZCghWNo9wyUgXypWXPjpIxB xyMSG+BiSWBqk1fka1/Qop67koEA2wgiVZTMMiUkKJStXxkyyn5FtPMe1mGuG4CsReUg +5jZRWE6zbQSujcX+qIm7gA/ZF6oDWUqanKnbx6awvfjWESy7sUPdlXNdgEp4yHxRQ6U rQlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697475254; x=1698080054; h=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=zpGIiUMbok8vBwc13/k0XLEAhZoDX5uqz8AGagQ5Hmc=; b=Ga8O25oRZN7VyD2DAGqp0nVLiiy864+7MlYNDBETVEiH1Yb4Dzlr+2FWTwJt86pcMm cdgZJtDfAh88tai5UdoDh0CYFW6K27G2gQUUvEtMdCvI3Rm+v8nXEGCNet7qmmgLikDu ieOOnhDQwFxO5bhdKxVYWl9lsN2MQ3ML2DIv1jlu7OAJoLKlnkgM3Hxo68Ket4InCxTx CLrN/Rz5sAyowWmb7T958aiGGGwD7uzktBXOdouzwXhFHCLIplhp2Rv0v06J+OU7RodT bGp3HO3wkHhVE/dyUhLm43zC2uHMiRxoS2jao6KFLatvKFHKZRvQmzizJhogJKsmVz2p BKuw== X-Gm-Message-State: AOJu0YzTQy5OUYcrCBdZFjklMZTahDoOmoQf1vSpRKl+5DP28U+NyOBo Kmx/Yg4x5bS7OOF4khoF+jLIhA== X-Received: by 2002:a05:6000:80a:b0:32d:857c:d51c with SMTP id bt10-20020a056000080a00b0032d857cd51cmr16399678wrb.43.1697475254257; Mon, 16 Oct 2023 09:54:14 -0700 (PDT) Received: from eriador.lumag.spb.ru ([45.84.211.189]) by smtp.gmail.com with ESMTPSA id s19-20020a05600c45d300b0040648217f4fsm7638996wmo.39.2023.10.16.09.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 09:54:13 -0700 (PDT) From: Dmitry Baryshkov To: Dave Stevenson , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Douglas Anderson , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Konrad Dybcio , Jessica Zhang Cc: Marek Vasut , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org Subject: [RFC PATCH 09/10] drm/bridge: lt9611uxc: implement automatic DSI power control Date: Mon, 16 Oct 2023 19:53:54 +0300 Message-ID: <20231016165355.1327217-10-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231016165355.1327217-1-dmitry.baryshkov@linaro.org> References: <20231016165355.1327217-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 09:57:49 -0700 (PDT) The Lontium LT9611UXC driver doesn't need to control DSI power lines manually. Mark it for automatic power control. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/lontium-lt9611uxc.c b/drivers/gpu/drm/bridge/lontium-lt9611uxc.c index 7835738a532e..ace7a6ee890b 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9611uxc.c +++ b/drivers/gpu/drm/bridge/lontium-lt9611uxc.c @@ -279,7 +279,7 @@ static struct mipi_dsi_device *lt9611uxc_attach_dsi(struct lt9611uxc *lt9611uxc, dsi->lanes = 4; dsi->format = MIPI_DSI_FMT_RGB888; dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | - MIPI_DSI_MODE_VIDEO_HSE; + MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_AUTO_POWERUP; ret = devm_mipi_dsi_attach(dev, dsi); if (ret < 0) { -- 2.42.0