Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1258985lqb; Thu, 18 Apr 2024 05:08:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVoXb0XwiqbS/mlG/0Gdssb5tk4TBKemV1KYCR6eskPYD6rrrH+iCt1O1JwHh4NW7eX4G6HwC9gOK6ZEVHdmUpq70WL0zXdwvo1/1V4JQ== X-Google-Smtp-Source: AGHT+IEJ2D7FecyCxID6LdMS2eJQf0U4eXfDPe7wtZxbVrUU0rr1jVVFtvAUAr8dVk9+K34LCZi+ X-Received: by 2002:a17:906:80c5:b0:a46:df55:e238 with SMTP id a5-20020a17090680c500b00a46df55e238mr1513234ejx.44.1713442136438; Thu, 18 Apr 2024 05:08:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713442136; cv=pass; d=google.com; s=arc-20160816; b=XHrxUNcgFvpYoqnp0qNYH/wE/KC9JHiSz5FZF2LXSycUamehM1SknWevhe61b3tYLk n/+Hg76COA2V6jMKyZLk/U++V973iHoFQTnlvd9sTQGs5JWFj4NgZw/yo13EDzCxOk3A WihSSPyCLMX18eKc056yeXDR0OiJUfd8Dqq+y+nH6eDgTME3J7R8dSoP4UpbAwr0WiOI w/ULNRjFyFokeibiulXVMNaeFpHwsxJh4J282lLzh45+LW6cL99b8YZqHGps9UreK35F mR2gwwWvskz+nX1PioFhjw5z6h6WBqU+SKVFKpOGQVDmC337tgNq4DaPUcyvm6dWLmv5 oY2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IrT+pz9h242ho6h5cpwp9QuV44kTV1V8Z+LpieCcyow=; fh=3fsAAAtNJFFFMgTbmwtfmMlQx99BEqFuCZKFHPZ5Sg0=; b=l+KhA47d/6q/FdilV/M8Q0+FB4OzaO5fXbzSr8qRAqASzyGttD4IpALmayfcuvv7RA FxQGa12av1VG4ul99AecoJh1dxbCJczSHFA1q+L3YkiXJzTSIjgQdGFcKy7amSDMyEHi Vv2pZXDIYNaHSMD6xzzlyRosIUMIjadfnchS6qy04c7F7yuaw4DNxfcBwvnAdQf/TSEp zxW4tSXLdUHjHfa5ObDpPhh5WqNbRpo8DsewwtvKMJHkqnkl2zm02NapqfZyFyAF6nFL StJ2qxWW0cX2YYKd041pUrxht/8j666WRSPKinNOqFWyFDqPyJmzlxQW5gscQHUGfpZJ QbCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RguN3ynB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-150041-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150041-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id br20-20020a170906d15400b00a518a22459bsi863871ejb.358.2024.04.18.05.08.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 05:08:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150041-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=@linaro.org header.s=google header.b=RguN3ynB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-150041-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150041-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 16D911F21636 for ; Thu, 18 Apr 2024 12:08:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22C3F15F404; Thu, 18 Apr 2024 12:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RguN3ynB" Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 AEA1015EFD8 for ; Thu, 18 Apr 2024 12:08:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713442128; cv=none; b=RupoJ4k+kOTJqba4G5Olvmm4ccxq4BdJ7njWRlg+HnPCMQsibJSprRuRhz+GXBr9CLeSVkXblUA2YB9oraeV+LE6lYnolcVqQazvjvfc97xRggqhtOmUwWDj3LCgPNnJCAJsiBI9XsdLI3KpzLexyeNzRPn7buWygJ/Jb7VKMSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713442128; c=relaxed/simple; bh=EivacNFq0/5fLlwKTYEmDnsBy7Akbb2iAEHMxkjmh9U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=li1A0X55EI8tokyoV5cPb7csW1u8F/3liAwCTGs+qmPseS2Vz/X8Fj0pj1Bs6BGuZpysFk3Bx31kJfZiOT3jGhDnOR/X4Wj8MnBDKN8SLFMC862V8wJbzbHFoSQ/5uBt3Du5iHvlNOPk0zBoO33X6kyP0v3Vx47kHmuXrtt/A34= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=RguN3ynB; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-347c197a464so539237f8f.2 for ; Thu, 18 Apr 2024 05:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713442125; x=1714046925; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=IrT+pz9h242ho6h5cpwp9QuV44kTV1V8Z+LpieCcyow=; b=RguN3ynBfax/qkBvrCX1uyQho9papzclDb1b2QE6hQQR8mzuqxaCzoUl0PqME7l0w1 U3iGFzx0h60XvoxSkES0lx5grKalOlDr+ex04pm6Rr9ON798mfptw1eUx7x6DU9ll9KE NaBkVL4Ds3abKw7zj7oud6hiouLqGVHdqKBjVcJwaY8nNU0mIiUlxJGkIUPGPZLA5pEL oZg+2FCFk4Xp2IrQA7zVty36vpPsWlq5P1Ba0BIU/Tm+eEYoj2JXQvjJahPDzw2pNmls VBYv9F+trIFySbzvg+QEVSBHvqxWhTfyeXwMvrRPqjxgy92RoaDRWMuV+BKS8Bmsh9TF blWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713442125; x=1714046925; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IrT+pz9h242ho6h5cpwp9QuV44kTV1V8Z+LpieCcyow=; b=s10ymrKMWE0U/m4CxuaLuOxLuFKlBep6B9o7MoWdYO43ohaommvjfse/t7por2K7g9 JKX10GEKWb3Bi3zrW58J8mpAz9URNY8aRWzpysgc1hrsSKqVSAc9KDyHB4u972/j3VFG V907c7X4ehCf2IpSoJCTBzC+ZDPzGSKOE8/jid8tdgYTwwvVCrLCLve55YOZ19DRibmZ luIOxpLLS6ngdfSPcJU5wJR8/ERFVN8sh1G5+2RtehHGLdPHTeCnBP0ncjXd7BxwgtWX gLMsHoC499h8am2qKe29F0NVcLV8FvqLALcOSEkXMq3JMy7/jk7UVo/a5AmCBmBiqtWH dnXA== X-Forwarded-Encrypted: i=1; AJvYcCWhuupeBkcx7z3Vx848NjiDvnw2j5KyRSwinaHk8fK1UyOSlMIUO1Po99jowYgoFF/WphrXvdPK0W/AzZUID0eA8PjP5jFb4mkTzm4T X-Gm-Message-State: AOJu0YwlfDEIdnAAM918d8SDuzxCtG03X4oP5g7ckOJmqmROzZbCuBZU osUbxJlMvF/rQccq4LZ0RqEyUgM5Vubi1GXnHX3cm+MHixQNvEXmTJd3/CIn9Rs= X-Received: by 2002:adf:e60d:0:b0:346:f830:8a5a with SMTP id p13-20020adfe60d000000b00346f8308a5amr1520817wrm.5.1713442124561; Thu, 18 Apr 2024 05:08:44 -0700 (PDT) Received: from linaro.org ([62.231.100.236]) by smtp.gmail.com with ESMTPSA id m10-20020a5d4a0a000000b0033e45930f35sm1702163wrq.6.2024.04.18.05.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 05:08:44 -0700 (PDT) Date: Thu, 18 Apr 2024 15:08:42 +0300 From: Abel Vesa To: Konrad Dybcio Cc: Bjorn Andersson , Michael Turquette , Stephen Boyd , Dmitry Baryshkov , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: qcom: dispcc-x1e80100: Drop the reconfiguring of PLL0 on probe Message-ID: References: <20240418-x1e80100-dispcc-drop-pll0-reconfigure-v1-1-453e4e70e940@linaro.org> 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=us-ascii Content-Disposition: inline In-Reply-To: On 24-04-18 13:33:19, Konrad Dybcio wrote: > On 18.04.2024 12:51 PM, Abel Vesa wrote: > > Currently, PLL0 is configured by the bootloader is the parent of the > > mdp_clk_src. Reconfiguring it on probe leaves the PLL0 in "stand-by" > > state (unlocked), which will trigger RCG child clocks to not update > > their config, > > Sounds like this is the problem that should be fixed instead. > > which then breaks eDP on all x1e80100 boards. So rely > > on the bootloader for now. Drop the config values as well. Also add > > a comment to explain why the PLL0 is not configured alongside PLL1. > > > > Fixes: ee3f0739035f ("clk: qcom: Add dispcc clock driver for x1e80100") > > Signed-off-by: Abel Vesa > > --- > > This works, because you have (at least) partially configured hardware, but > we shouldn't assume this to be the case. OK, I think we should be safe to follow trion's approach instead then. https://lore.kernel.org/all/20211123162508.153711-1-bjorn.andersson@linaro.org/ > > Konrad