Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp214657rdd; Tue, 9 Jan 2024 01:33:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMV4zPdkoPi2kvsyTMGp/FiDvonXYJxmqUa2aMW5UPK5Vxcunwe+rB/oWha5PUjvmEast7 X-Received: by 2002:a0d:df08:0:b0:5de:7a72:3577 with SMTP id i8-20020a0ddf08000000b005de7a723577mr3105928ywe.58.1704792833293; Tue, 09 Jan 2024 01:33:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704792833; cv=none; d=google.com; s=arc-20160816; b=OTYj9vV9WTbxG105FxdHNMskyv53h1gppTRfGSvYeYUigjhICDQ62wY7eGcVxXOvbZ kmjmq08RzRxKibgd9BuX/J8BKGnkbw2Yg7Nh0/zgCG3XBX174/OZN6PU3nrCeb3tkp2f zfY1GozildJ1ZozYa8ITcUbO+x/FTnS8h+k8b+P4ZGiJmbQK+QLCDSyuaAIRi/iOoZMi Qwg6axo+0PKuwhw0hVO+6nF4RpVJAUkJAqrEaQWHuS19RdTxlg41NXAh6+acmJO06wGF eeQN7XLBPW4U2Sre79ohCgKFiIXL1AWNRWQ0j/iw0dmn7lpF1XnXKwVprvQKD3ZIJ7SI kgwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=XVeS9dNi5F3UQMp7NbVYNXBADspqfRiuuFMETtP0Ze8=; fh=OIE1fkl8UDVBqq4v81AvI0ek7qLIhxndUdU83uQjVmA=; b=AAtPRhCPE0TFxm2IUUIRmzE01fMX+ts5DrFlWd5aB29c3oFJJNSqNHK1qsDenthYaf pOtC48ug5H+epsjK8PJebZf881MWNLJlp5Yx/bwZ4YM85FVP9FZ9S6srjr0FKjfNTT58 oeKDCLrbnJD2w2q0LeVqhCYbT6EhYIK15h+23gBM6VgTMd+GJgKeDw4Yh72ROp87XaNe JnWak8AF5FQ299OQaat6izd4nCULvrYg1qNxTYSVLM7tDe4ZnYql5d1WV16DfMHg8j1a wkcXFvrqTk3St3v4gOJb1YAyc0RI6yEWtOum+/Uz9+vZB7wV2dd9STtVlKmvhMHaSE7q 3Buw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="P/qX1q0f"; spf=pass (google.com: domain of linux-kernel+bounces-20668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20668-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y15-20020a05620a25cf00b0078110c89ae6si1668297qko.84.2024.01.09.01.33.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 01:33:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="P/qX1q0f"; spf=pass (google.com: domain of linux-kernel+bounces-20668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20668-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0FEDD1C23F53 for ; Tue, 9 Jan 2024 09:33:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFBEF33CFB; Tue, 9 Jan 2024 09:33:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="P/qX1q0f" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 93F1F33CCF for ; Tue, 9 Jan 2024 09:33:43 +0000 (UTC) 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-lf1-f52.google.com with SMTP id 2adb3069b0e04-50ea9e189ebso2684157e87.3 for ; Tue, 09 Jan 2024 01:33:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704792821; x=1705397621; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=XVeS9dNi5F3UQMp7NbVYNXBADspqfRiuuFMETtP0Ze8=; b=P/qX1q0fsI2rQxko6x9iJdIGwJHoukE6zBOvFw0owVsAPEo0xtTzCawrIkAz2wJiQz kp559S3IS8bnyd7YZ0CJoo39x0wpgPKf/FZat1xDW6kwaAD4ot8Q8YJkvHzSMIWq/NMj QPVsbgNvteUIgd791gYFi8ra+1rVcwZ/ymeZFeF0+Lp1CkGGe6CYa2SSNsyN6S0ndNvy p0Oj/K6DMcddezeHTpF6+wV9CciyNwVTckpaL0/DGnhQ3UlULtn+2IqrSOlOQn9Qh1o0 SZVt8GgL9yzp/oK+3liA4mp3bdgN5UJRJ6rF/Qk88azGkbvIJLAwk7dym7sAekbYHQm8 0OwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704792821; x=1705397621; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XVeS9dNi5F3UQMp7NbVYNXBADspqfRiuuFMETtP0Ze8=; b=YWK0+QemI9Rkr4ZMmvIkhT3vXf8ZdpZvsdmVqkWsF/be7CxaKLhsXNbUJfBH9yvcVd qZ7136jAmOepMesPwCs+LAm+AB4EcOj6jrtSGesGFO8DARIuiQkWPIN4bz1LBbwbmCWy DRn4Nd5Kic7+YZaOnudSbEeCrPnkJc6zwkPvu/4N8kkNt22635iSKPNUypxkwvK60NGo lEYPd9Mmhjya7m5g68XQuJBZCTNC8xt3A2Jzp3aYe6qygSMiCalEp8oSWlwuoy/oMoh7 Fs/gyjxIOHzjLIfDFZ3m9pivzLxOLf7hbHEj5OVmhSkzYlZgYbMJaJbs5jmyuf0COJyf P38w== X-Gm-Message-State: AOJu0YyjrSE6NAtC5PfzcK6gq8NnyjeSoSy+HYP2m8YHU1JXvLcbGkNj iPbP5bNVAtS/jNIVD+GjdM/BtGMxo9vVNw== X-Received: by 2002:ac2:4e12:0:b0:50e:9c17:24c8 with SMTP id e18-20020ac24e12000000b0050e9c1724c8mr2414289lfr.7.1704792821587; Tue, 09 Jan 2024 01:33:41 -0800 (PST) Received: from [172.30.205.119] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id b11-20020a056512218b00b0050e7bee0787sm248909lft.234.2024.01.09.01.33.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 01:33:41 -0800 (PST) Message-ID: <19eceba8-dfc3-40d0-a681-8c47a0248cfd@linaro.org> Date: Tue, 9 Jan 2024 10:33:39 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 09/18] clk: qcom: gcc-sm8250: Set delay for Venus CLK resets Content-Language: en-US To: Bryan O'Donoghue , Bjorn Andersson , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Dikshita Agarwal , Vikash Garodia , Manivannan Sadhasivam References: <20240105-topic-venus_reset-v1-0-981c7a624855@linaro.org> <20240105-topic-venus_reset-v1-9-981c7a624855@linaro.org> <0cbedc75-cacf-43f8-a1f9-284546ad548a@linaro.org> From: Konrad Dybcio In-Reply-To: <0cbedc75-cacf-43f8-a1f9-284546ad548a@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/9/24 01:34, Bryan O'Donoghue wrote: > On 08/01/2024 12:32, Konrad Dybcio wrote: >> Some Venus resets may require more time when toggling. Describe that. > > May or does ? > > I'd prefer a strong declaration of where this value came from and why its being added. > > May is ambiguous. > > "Downstream has a 150 us delay for this. My own testing shows this to be necessary in upstream" Alright > > Later commits want to add a 1000 us delay. Have all of these delays been tested ? No, we don't support Venus on many of the newer SoCs.. > > If not please describe where the values come. They come from the downstream Venus driver as you mentioned. I checked a couple different downstream SoC kernel trees and tried to assign the values based on what I found in a kernel for that platform. Some are fairly educated guesses. Konrad