Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp535267lqc; Fri, 8 Mar 2024 05:12:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVSTiHiz9QSO1Alkdgb9PlehwYW2sLHfQhmdBbROQ7BcBB4Cumt0Y53H/nLUN4ZQfH/bY8M35ODkkTC53BXuPi3NCgbv2jMHyGuWUBR0Q== X-Google-Smtp-Source: AGHT+IFgCo+LX1Y1zv91Iqo4YXZeyIsspBh2umLiK6U/IHn0WqZMTB2lO1X0IJRnnH3TuKwmXBQJ X-Received: by 2002:a05:6a20:3ca1:b0:1a1:3fd9:e531 with SMTP id b33-20020a056a203ca100b001a13fd9e531mr11767267pzj.4.1709903538451; Fri, 08 Mar 2024 05:12:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709903538; cv=pass; d=google.com; s=arc-20160816; b=lh5ZcsUMZHnk2axgPM06mAespMQ4OAKNEF+v1y8rjPNGhynN2Kb4j3RR3FyRNghwqS offEBxyRy2J8cP40n/hBZuuIDaP2fRivSSExXjXiv1BJ9eS/UrasONEKSvdV5W5W0M92 0II3Ww96pFNIFls13NHRBJBTwNpiRLo6MCT8FzfAufekl4jqfX1L+7J+VIF/1XJ3fL4p OwUs9uAP4jrJDqdV1q1eUmtf2L3iOkQsJ5geNjQxPHwqc3SD2cIeNaOrXcm9W+R9+AWu zX4jm8o+cW280s5+pi7HWcdpqxX/SIOwkrqtSSdaC757iUO/Q+h0Yr5ViixgIV38WMMn 71Ww== ARC-Message-Signature: i=2; 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=QQ57E0ArmK/bVUfP0mzi0MhsZFrvk857kv7W7dfFr2Y=; fh=xvFkp3hzoXhnTFvxM1pet9VAHQyJ7qov75d9vWvjm1g=; b=h3TF2F/8xHu4mI57i3+p0pF741Du8eAahoe80UMO5Msg3zDvzcEmQt23nIOHM5+rfC YQAz5lg3Dk4N95PRURKf+TAYOBY+WiTbxIcs+H2pFbuDVZaKSYmBDTCctEuHupqH/2O9 NtzU+OMgZMd8PcLUddjrFr5LMNo9DLoMr3Dpq2nif9aWo4jNfmYy3iU0pF/jvOKnD0/6 QmwespqIc/VSqeVnsUIuF3tI0zEmXd1SlBJ6fITdhzcaRqkaZAJnerNMgsuf0Aw4nMry uvmgNYH9qEEyqnaMhMXR58rQgWoAXE4HLcT7cYADdHcm7vBGe+/eTbZ0Dtxo/klgEVBt 8jpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Web9H/sb"; 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-97035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z3-20020a631903000000b005cdacf9065fsi15731362pgl.720.2024.03.08.05.12.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 05:12:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Web9H/sb"; 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-97035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97035-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 767A7284347 for ; Fri, 8 Mar 2024 13:04:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A18241EB5F; Fri, 8 Mar 2024 13:04:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Web9H/sb" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 2F6EF1BF37 for ; Fri, 8 Mar 2024 13:04:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709903070; cv=none; b=qQDQcb61H4w/pVkY4b/81Tlo0565iW27gjAgGqtYWvsgZ16utgLKN6pFy7K8nbkN8WFiBXD8rE94JaF9C7FPwKIjQqXpdKCBeHwDVc52NlUioXtgk+ZyaTh2jK/N086GmDWVgr0+kPTFnXeC/Xhu46wMNynmLcBYJIDtWzuSE2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709903070; c=relaxed/simple; bh=yRWdVfpQxqHtySeHiXZsB0Tjfqjdc3FOYFaeh5FUKVI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TxFsjC/HMZ6NaG8niAdfFMLO7xEiR8PxcAxVdVxsjmmFFuqKW20af3F66ZJPAFhMrpbQQn9DqJmL6mFTs34cMd/yx8AOTY6+XyBfjPjMz7BKfagws2YT4+Nr8PUCqdVcrkMiSaNuUBdUGPkXiBODb+wTVqOq6boGgemOxGleZWc= 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=Web9H/sb; arc=none smtp.client-ip=209.85.221.49 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-f49.google.com with SMTP id ffacd0b85a97d-33e7ae72312so95927f8f.1 for ; Fri, 08 Mar 2024 05:04:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709903067; x=1710507867; 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=QQ57E0ArmK/bVUfP0mzi0MhsZFrvk857kv7W7dfFr2Y=; b=Web9H/sbGFVzPeK2q4KjbOJ3YpE5RP1lRrxdMX1V5YQSrhYZpypHYccoZ/5PwoTacg o2kHRszVATHZckNnJLMPCRMvK+9xhIWOh0BYaSzAH/gibpKbNYzsmQTaYM9kFvPW8yVn zjtNOqKb5uv+ynLTEuJJHZ+4C02qAq1GTFQ2QIt5JryBRQAP6yXMp3eXrVcv5FMIZyy4 b1SS7+uKp1A79SPzC7V6Kpthy3nWyOI8qy5J8onb/HXS8/D1kb8SG1X2gwJbA0rTrhvI xpI2KpK6FhYosMP5Yx1NW8Ou34Bkp8G3yEpquKoIkiQE1JCSIP7sR4yY1yWVBvFIjKsN cFuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709903067; x=1710507867; 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=QQ57E0ArmK/bVUfP0mzi0MhsZFrvk857kv7W7dfFr2Y=; b=gPUUMKdG2xXpbVnGiIC2oEqfxLI9XnxJrk2EqmQC/rTKgHslexvYc0LQzaxYxevJQE NAUIV0WGU57oxqIO4ckA/rJfLaKXMJDkKT/BZ0lhmgn5bOsBxItM6WZedZLIvS4JWu76 SYBp4/xD0pGOM6KcZLxvAkR/56qmEbt+RJKBxxoR+koI8LPegZu1hwXtwbsC+hNCtKYc yxrxXUHKaSRD5oAFq68Pp6TF5fL+C7WPlFnS3FKce9NqxPNJD3CI/5Ha/rrCL3ARa/QJ TouEHVG08zqNJaWAazxf7EdSFGOR+Imqn4opNcCxD51SEULAJjlHQNjKGGDHN680tqJT uXxA== X-Forwarded-Encrypted: i=1; AJvYcCUWtY8tz+XJhpReMt7eIGiZk9Uuwa5ZC317FaZ03+Zjf0FunUniVPuztUBwAwgsSlL6XtRzd25BLeRqkJU620NCarDirMXMkLlPBUnB X-Gm-Message-State: AOJu0YxOn8v0lZM/ZeW8oRI7JRoyDJRF7DG4swmF2li7BHoiqidwLka9 S9Yr9no57qnUhFI+auT2ynYY1KOfhK3a6jsuOXq+NW9V7JM9Wi2LHU1PLNpfgqg= X-Received: by 2002:a05:6000:180c:b0:33d:be6f:7dcf with SMTP id m12-20020a056000180c00b0033dbe6f7dcfmr14295647wrh.24.1709903067129; Fri, 08 Mar 2024 05:04:27 -0800 (PST) Received: from [192.168.0.102] ([176.61.106.68]) by smtp.gmail.com with ESMTPSA id f10-20020a5d58ea000000b0033d4cf751b2sm22772090wrd.33.2024.03.08.05.04.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Mar 2024 05:04:26 -0800 (PST) Message-ID: <291279e1-7abb-4614-91f3-af9ede349817@linaro.org> Date: Fri, 8 Mar 2024 13:04:25 +0000 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 4/5] clk: qcom: Add camera clock controller driver for SM8150 Content-Language: en-US To: "Satya Priya Kakitapalli (Temp)" , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Abhishek Sahu , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Ajit Pandey , Imran Shaik , Taniya Das , Jagadeesh Kona References: <20240229-camcc-support-sm8150-v1-0-8c28c6c87990@quicinc.com> <20240229-camcc-support-sm8150-v1-4-8c28c6c87990@quicinc.com> <18567989-fb60-49ae-92e6-94e1bc2fa1c7@linaro.org> <83fd1995-a06e-b76a-d91b-de1c1a6ab0ea@quicinc.com> <4817a5b0-5407-4437-b94a-fc8a1bfcd25d@linaro.org> <35a7ad40-aaf4-476e-8582-b83bac284881@linaro.org> From: Bryan O'Donoghue In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08/03/2024 12:40, Satya Priya Kakitapalli (Temp) wrote: > > If BIT(0) is set from probe, during any active usecase, the clock gets > turned ON automatically when the power domain is turned ON. Sounds like a very dirty hack really doesn't it. Can you point out where ? > But when we use CLK_IS_CRITICAL flag, the framework keeps the power > domain ON and doesn't let the power domain to turn off even when there > is no active usecase. --- bod