Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1394470lqh; Mon, 6 May 2024 06:38:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXZ46wuFTj+xgzi54V+4CeUB8ZABkKQxr4G/Dx0TRxYBqq6DWTo+6bK7AcKhJd4YQtaxtOi46uV69nq4ohrE5Db5LKULrcxoYrgUr1EGg== X-Google-Smtp-Source: AGHT+IENqRwHjDQ7lKtqkgsMmQCGk05hFcDE9/4IsK71aLLBnuF3DP39JPa63h/8RtvWy270hGSG X-Received: by 2002:a17:906:f586:b0:a59:b4e8:d927 with SMTP id cm6-20020a170906f58600b00a59b4e8d927mr4622975ejd.15.1715002683306; Mon, 06 May 2024 06:38:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715002683; cv=pass; d=google.com; s=arc-20160816; b=jFzdCzUaUI7qdPj0orjx7Ez5U45vn/+2gmYITZ1rPl7I5vo/caAyZkPprVoVzLFgz5 B54ssIS3mwGOAdfEUpl3xnoNsLDCWObD3SEsjPtaPnReipKtr7iyCfNBDHW54xjgM7On nwY+YRIndoxCX26ukAP0VnurpTRur9JBmwT6C8ZWW1nOEPV1n0xzDrO8B+xYlC92mSQX hsLq1k0KczpPYeYZtafADmMt+trf7YKK2p8C8uhlPpc+w4L9s8aC4ufivlHbRm1KhUbf W+GD4SQ0Clsi+6icxX6Y/LbmHTIhLtMxsUUsMhPWPsFiKpqKdZs+M/Web0RwT2yB3CVs uuwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=9dPxi5eULgQtjUJEWm5XQ/stzKXsCGde2+bCkQjq5p4=; fh=SuRMajwH7N2ZLVBLirbkCwTFKIhKCObxyHKAw4nU6hQ=; b=Wl3cuFDUpzjtArlmMg3FQWt/6Pv6hJMP/DaivEbDwyy8bLzLLl6Y7uYAKUUyhy6beQ FW7Ze5yVNh5YLZZxry13BjnAI1NSzZlvecO6LZ2GeCJGd0/IVcuYLJt62cbqYloovkVb jBuETkpSHmXsEgG3fV9n2SjUmVY8IJxMfZv/zJg2JT9swNEptngqWyCsFVgsTAiJHNHo x/4wVrGFOs+LhY33l7SnW6rhzyoIKqJs91NYgjlhsSPThA92VDgiCkIWGjG5wjQ2n0M9 xMwGjZktGTeWFLKLbheEn+ub4cGBUyfSrEZ8mmHNpvNxDAedfuXmp++WRw+UloGNRQtv Z98A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aoVRIpuM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169899-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169899-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id oz41-20020a1709077da900b00a59da1067d8si697287ejc.456.2024.05.06.06.38.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 06:38:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169899-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aoVRIpuM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169899-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169899-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 56EEA1F24426 for ; Mon, 6 May 2024 13:37:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BF2E7C6C0; Mon, 6 May 2024 13:35:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aoVRIpuM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DF287C6C6 for ; Mon, 6 May 2024 13:35:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715002523; cv=none; b=PKqzuaiFwHtIByUpzd0V7r40jMzHnGD1r2yvLiTrNOABMWk6o3MJdtBdoriVCSy1ZvarfXbKXFUVWMD+PwGHxDl6cHC7+sSOh86uaic9GERj/00Yh9zTmka4lz2XomPMl1B7HGOyFSciLxNykp0HCWtsq3yZgx3cOTd4TFhugXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715002523; c=relaxed/simple; bh=yYJipGADf8UJHcchwZluJd8e0AxButwRdoUdpxl7l5Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JTZMZ2POU6KLwCC1b4alZ83zq/LCK0+gattgim2aUCgTZqGoe4gdJ1CDESfW67Xh+L9+7Bdpjcogn9vOXLZPHz23yo4ARKChnba2KjeRnHo+Q+yD6SyZTyUsXlOdSpBn+GPrB9cL30O1quDF7xNQgVilDZDf1aVXBAvj84pWULE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aoVRIpuM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 775B7C116B1; Mon, 6 May 2024 13:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715002522; bh=yYJipGADf8UJHcchwZluJd8e0AxButwRdoUdpxl7l5Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=aoVRIpuMXfmKxTrrGGCBOz/nNDclfDeb3r8oq/8cGNaMUauqFc6TvCTxMWYoqLp/E a4nWfgjh6HayGaegeyZ98S6GpU4KldaRIloHqEfuIt7hKnaxXCQh1qF4/D8cXGg+Nd Zd4DBbnx2msAtHLmPP0jQB3wgtHs6Ox0ln9bE9ibwLUWM0UzkJxM92q+7yF9jvUCDu 14WOuZ6O5oGE3ga71J92BHv509CN80KR2qf/qAxWygZ1xZAe8PEigeFxBGBMDIn8vw IMaTlAZq0ZF6YXWfO0SFI/u0PvUIQ9a3VQyzwALosJthO29zjoAQG3sSUnGVnbQ/7J awDu2v5DOzH3A== From: Michael Walle Date: Mon, 06 May 2024 15:34:33 +0200 Subject: [PATCH 04/20] drm/bridge: tc358775: fix regulator supply id Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240506-tc358775-fix-powerup-v1-4-545dcf00b8dd@kernel.org> References: <20240506-tc358775-fix-powerup-v1-0-545dcf00b8dd@kernel.org> In-Reply-To: <20240506-tc358775-fix-powerup-v1-0-545dcf00b8dd@kernel.org> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Chun-Kuang Hu , Philipp Zabel , Matthias Brugger , AngeloGioacchino Del Regno , Sam Ravnborg , Vinay Simha BN , Tony Lindgren Cc: Daniel Semkowicz , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Michael Walle X-Mailer: b4 0.12.4 The regulator id is given without the "-supply" postfix. With that fixed, the driver will look up the correct regulator from the device tree. Fixes: b26975593b17 ("display/drm/bridge: TC358775 DSI/LVDS driver") Signed-off-by: Michael Walle --- drivers/gpu/drm/bridge/tc358775.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/bridge/tc358775.c index 3b7cc3be2ccd..980f71ea5a6a 100644 --- a/drivers/gpu/drm/bridge/tc358775.c +++ b/drivers/gpu/drm/bridge/tc358775.c @@ -680,14 +680,14 @@ static int tc_probe(struct i2c_client *client) if (ret) return ret; - tc->vddio = devm_regulator_get(dev, "vddio-supply"); + tc->vddio = devm_regulator_get(dev, "vddio"); if (IS_ERR(tc->vddio)) { ret = PTR_ERR(tc->vddio); dev_err(dev, "vddio-supply not found\n"); return ret; } - tc->vdd = devm_regulator_get(dev, "vdd-supply"); + tc->vdd = devm_regulator_get(dev, "vdd"); if (IS_ERR(tc->vdd)) { ret = PTR_ERR(tc->vdd); dev_err(dev, "vdd-supply not found\n"); -- 2.39.2