From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.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 911A4249FF for ; Sat, 20 Jul 2024 08:33:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721464428; cv=none; b=Ao7MNlf6xyyZtL1sd85dAcL4fny3nHmxvNU2XunBMtn+0FSYQSupmx5h2wKpocOov1n1DFGYffqMhKscF7mVEy6RRH70oz1LU0/GZNhy+mXCzibIebaHBmt9XuU7RqLNgb98qZFOUqKFxnLDEZB+wmjCUTgTP/rJhisI/ZlV4/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721464428; c=relaxed/simple; bh=nqrWYQU7W5hDIjZF3fNUNbhLlw4BjHaXyoW1VQG/clE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qvIMyYZZqbZTa2BIB25EESsLITUM5ps0Z1t4XGe8JWSrTklQF83JYJV2/7SHc+aCtT9PX8wjfqHEcHc7yDgZbQMmIt2kSEBOkxm8ONVmIlQLh50eoxAaOFkHCMDWhZ1EjBluAUDU3TToFBY+8ntAkgqgEnMv8d0HaBfCKSyeEmM= 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=CQsGO5AB; arc=none smtp.client-ip=209.85.218.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CQsGO5AB" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a77bf336171so437377866b.1 for ; Sat, 20 Jul 2024 01:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721464425; x=1722069225; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SafSONIEoJzZyDytK/reQ3AEKLpvdJTl/uNZNxo24nw=; b=CQsGO5ABN7KRj+1n4i7pnhDOQLY/v6YPoEdu8SpL8TiIK7ZU04ArYIQO4EfNPWB1Id /AieuwQa6mEPdSihtAhjIYSwlYdw/j9YEfptF6ApytMlGKdXW8d09U1ZXuQREC1ZLQHo TtRe/y7Vz7EEpOglVenlhdUUzWheVI+urDGMikYfaaLyoRemu4E8TYUJpVe8w+/6rtHc 1PlThJYH/bcc5TmfSNjjuQZ7NE9eR9HsN08+z3qXsmoNKbMDup868N0jLqVdsNRnGPIa p1cYsUIxjKkpEmlGC7JHieWq1jXqA2qPpxLRwqM2gCuL2laH+8JQKY7bzA90tWtn+Tge fOcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721464425; x=1722069225; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SafSONIEoJzZyDytK/reQ3AEKLpvdJTl/uNZNxo24nw=; b=XAqtlSUjN5hp/BAUY99GKrvhwJFXHrjzc7RIsvqEKMEd54+olX+mPkHOGGtHMaCA+V 8+G6nuFW6EtxVU44pguC9BT4/Wy5GQCknFVZEBSN8WJURf+6LwBXnYZc06StuIKq06HV 58pB5FMUruqR5qrFR+WdkxXF9G2XQchDbXhCovAPBo3qayLtUhFPkMlPtkGR14xKyObm B16DTuHFqBSxM07dzgHLZds5f8wHER0a2UdH5dn20ic4MM+YMsI/+hXTld3ljxTScvnG hrcej5ZAQpktaMivj5xrxGdQ22Pr/7vGVy13/FwPSRVYtMUL9ceCfdiSAdE2Fjhb7q15 2azg== X-Forwarded-Encrypted: i=1; AJvYcCWeFGo1TXMQEdtAAtJxIvh/KBMwaXuxq+FpaWT9r1MFaxtOmFIZEe7YdqovFmkbAJuBhaFhvsLx236JtxWsRcG2Dnz7I2IsfbkRKlH8rw== X-Gm-Message-State: AOJu0YyYFYSX65YQ0NnH/4VnDjaUH50jU/1HyTOrT4MI7bDuM0ugEQAn 2iKBKsGBVIv1beskBr+3RfKQhO0IfkxN01J1qWEC45RR0+lAsbz8Ffqq0ruK+UI= X-Google-Smtp-Source: AGHT+IEA12YF0QSCvG5aEc6J8CnkmX3qbqj58vcHZA5t9dq9xmvvs/1oXFehHPsfv4jKAUtnSblLnQ== X-Received: by 2002:a17:906:4686:b0:a72:afd9:6109 with SMTP id a640c23a62f3a-a7a0f13cb46mr841839266b.16.1721464424948; Sat, 20 Jul 2024 01:33:44 -0700 (PDT) Received: from [192.168.0.3] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5a30a4d7265sm2587562a12.9.2024.07.20.01.33.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Jul 2024 01:33:44 -0700 (PDT) Message-ID: <610efa39-e476-45ae-bd2b-3a0b8ea485dc@linaro.org> Date: Sat, 20 Jul 2024 09:33:43 +0100 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] clk: qcom: camcc-sc8280xp: Remove always-on GDSC hard-coding To: "Satya Priya Kakitapalli (Temp)" , Bjorn Andersson , Michael Turquette , Stephen Boyd Cc: dmitry.baryshkov@linaro.org, stable@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240715-linux-next-24-07-13-sc8280xp-camcc-fixes-v1-1-fadb5d9445c1@linaro.org> <86068581-0ce7-47b5-b1c6-fda4f7d1037f@linaro.org> <02679111-1a35-b931-fecd-01c952553652@quicinc.com> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 19/07/2024 08:25, Satya Priya Kakitapalli (Temp) wrote: >> >> What is the use-case to keep that clock always-on unless/util someone >> wants camss ? >> > > The clock also has dependency on MMCX rail, this rail anyway will be OFF > until there is a use-case. So the clock will also be OFF. arch/arm64/boot/dts/qcom/sc8280xp.dtsi camcc: clock-controller@ad00000 { power-domains = <&rpmhpd SC8280XP_MMCX>; }; > > >> I've tested this patch on sc8280xp and it works just fine. >> > > Is the cam_cc_gdsc_clk clock ON after the boot up? I have no idea. Why does it matter ? --- bod