From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 3CF7B3FB077 for ; Tue, 28 Jul 2026 09:32:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785231146; cv=none; b=SyRQZUUIRaEDF6eqvhZPowbwKVXC/AD6aA3ShvA7q17f+ntmUE8X4Kert9uMgQ1OUDzPow/KkQlwUnBjmMrPCNOx8tRkIgoIw+ssbsTZbS3iiLkT03lwsmAE5oB7sU/H8gvrnA91qb8n475RKF76h6ittu0PxxzPLW0ypbCm+hk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785231146; c=relaxed/simple; bh=U76fj7KOyjCv+TI0P1EkomwWv2FVIj0e58YuahYfQ1A=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=G2+MVVakNu+5pM4riW56WQLtrEJpipNB9aNyqD9tfYj9r52q68/jPNM4mGkfIjTvH+lbwpeN4usELdIlb2gv7sRA5FtZitBePz7+CP7fQtcH9nuwjUyhQBa23Tat+1mGfb9/gC846HFUh5ovZVW2kpD06jpQ4ADGxk5XHnUtyws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=FwGEsm9L; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=fqe/zWcU; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="FwGEsm9L"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="fqe/zWcU" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66S82BX52358523 for ; Tue, 28 Jul 2026 09:32:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= U76fj7KOyjCv+TI0P1EkomwWv2FVIj0e58YuahYfQ1A=; b=FwGEsm9L14tIqU34 8JT86Xw9NsHPUDED6BSAzbeV77w0HJQTPPIc/fXecEUHiYR1IuaDMAMIXeWeUxi/ feZNTCesIvr98vPyp8uHXeGAQfR3uotybbL3LnR3tmdW9p0FC9IF+Bl5NwYL3GEc 8910FyR1+lxHED9MG2NHYh1HNTxVjaKO5E9ZDGKQcSP3nYNYtNHfUul9RDmkAPKv 2tBpQMopzrmtd1IRDACOwVIw70+A2gWlKKUbvuA4WC0IAvwWak8jyoyJVW16LAUn dY3gSig19aIsvSj1LqADyMIWnyd14qT/K5HmAuTZB0fPu0yd1vjpac5kcpQ17Ryi 8WxIZQ== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fpn3y17hy-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 28 Jul 2026 09:32:24 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-51e9d892f0dso11890881cf.2 for ; Tue, 28 Jul 2026 02:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785231143; x=1785835943; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=U76fj7KOyjCv+TI0P1EkomwWv2FVIj0e58YuahYfQ1A=; b=fqe/zWcUinBO6JNzpSdTRXKvR4AOxnGKvK0jAuZ0/UGM3vpUuIs0rzf4hn0ivmYhNr 0lkUKI8wnGg5oo8k6dusOfke6mAxgHEWFl2jwxs3zMZyyJipkH3fq7WpBFje9x4iWei4 qhtrwQxz5BzmO5O2gQn1ZMD1L/1WUhdwiyocxVyU7WKfXbuiqSOZXs9KG2yQRfPL/n6s CEIQsgWZVyNsqPIU58VgScDxEn+V7bgemYWIXPvlTHJAs9p4wgDtWvk76aV1VMOYQbZo Dzb11sBznGbchpGqWqoArqWOD3vjnOAr6oCTSVg6wUt1U6NpHugd8q1SHFXVfnlhzj/c pIQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785231143; x=1785835943; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=U76fj7KOyjCv+TI0P1EkomwWv2FVIj0e58YuahYfQ1A=; b=L466ULyNFrt0aDlq9t8Of19ldXAQKLjPbKZBctka3uMpVRWKr06/Z4saAG9mjswtHz Xia2l4aU5wV1b7TqMXW8uvmtvXumHtYcgtUjzjoFRBFVPGxt3v36SS9OCpleVY2h4qFi t8GUzZ1jLH+9gCFp7QjFPrE3yb0sGrIBL/4xKw1LGYunAtylBT5JBNO+qhndyFR98Pt8 dZ3fHtbqzKmK9pv7MD3ahLVgF8ltkGmPsckFxd28tN1/RuO+24Zr1cibVS+Qhr5i7szP Vslo6/C925mQ4iIjlEbq6UxOebOv+nrdn5zUpHqNKQelhjcgGzpk8fomjmKUq6S9EE7h N0Uw== X-Forwarded-Encrypted: i=1; AHgh+RpTfrBvrD7w8+RQB/BxAn1wQkpmQ1BM+JKJSMOZ3JmdDFBaukCNl6Qrcv+Igyw29WJIFQkewPyPI05/xd8=@vger.kernel.org X-Gm-Message-State: AOJu0YxKgQ4XRzQDK8xXYlNhlqFrkKY1LbA4SKQztb3KOLdIGSQtjnKO hMw9Gg+jTjpzFYr6VU+/iu+KZywyrVdvssmUvnx23yFdN43ux8nm+wK+/LiCuFMXYQEeAsvrrDU YZVvIElb7f5MMsDHiGE+OOil5+Mpvl5ErsG+CyYkR63ssQcGEpZoiIQshWlxz4fP7wsU= X-Gm-Gg: AR+sD11AVg6LXCECxopaVv0Te+yR6ANge2uRH4Q9x4vNmRAzvONAtKNuvig66v0H5jq /EQ4MhLixcBhW7FBP9VWWTfZ8rZenxL3Y6NbhJG5eofu9W+hEZZGPO2UA53eHARTb/rK8BUPDja Woy4yCFuJbszST6VsxBFv9tbG/bmYErspCZA4cKoWK3apSvGV3NuR4eyrOVGEmuh0bx4Q1wJTxJ ZIC3QiiOSk1UUuINcCSLvly/rGcv68WB9ldVZpCUVHSNdGPHJ20tNbele3Puo4UFotuZjxUWquD bp8tVC8GrMLUv76tuGWxMwuTMseFk68HO10EMAau8dBVIiMk3DwxHV6pPqqaVee8FqSHeQg3gr3 aeG3wH8XodrI4QkMCvI1L7oct X-Received: by 2002:ac8:5e54:0:b0:51b:f40b:2fa2 with SMTP id d75a77b69052e-529d708f340mr9811381cf.1.1785231143489; Tue, 28 Jul 2026 02:32:23 -0700 (PDT) X-Received: by 2002:ac8:5e54:0:b0:51b:f40b:2fa2 with SMTP id d75a77b69052e-529d708f340mr9811021cf.1.1785231143029; Tue, 28 Jul 2026 02:32:23 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-69fb59468dbsm3835627a12.28.2026.07.28.02.32.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Jul 2026 02:32:22 -0700 (PDT) Message-ID: Date: Tue, 28 Jul 2026 11:32:18 +0200 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/12] clk: qcom: ipq-cmn-pll: Add clock gate support for fixed clocks To: Luo Jie , Bjorn Andersson , Michael Turquette , Stephen Boyd , Brian Masney , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, quic_kkumarcs@quicinc.com, quic_linchen@quicinc.com, quic_leiwei@quicinc.com, quic_suruchia@quicinc.com References: <20260724-qcom_ipq5210_cmnpll-v1-0-a8b8679d215f@oss.qualcomm.com> <20260724-qcom_ipq5210_cmnpll-v1-9-a8b8679d215f@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260724-qcom_ipq5210_cmnpll-v1-9-a8b8679d215f@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=fbidDUQF c=1 sm=1 tr=0 ts=6a687728 cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=XRWevJX1GK7jOFrGjf0A:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzI4MDA4MiBTYWx0ZWRfXyj3tkwudLzee 2/5w5OCXWgcHMjRYTqzQYsltuN9BTeSCNb5B4zrGJDPITpqcpvh55w8DIU72McAXYsMrm/smPMr /zm8q/PuU6cTRKByLxb5uy4K+8EnuJw= X-Proofpoint-ORIG-GUID: 2pnPqYZfYx3b9EuHpHZc9q21JdW9S-sp X-Proofpoint-GUID: 2pnPqYZfYx3b9EuHpHZc9q21JdW9S-sp X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzI4MDA4MiBTYWx0ZWRfX3a+KBF//fPJC rU2LnDpYWEjRQpqYmnKv6zsGzFBEkyTJhtE+PrwEzO4kQiOJmdJQDfHpJfBcOuUymchpzSvn3MR tpQwxbaOXK7kV0umK+Y1Nj3karXbbkhE5Eniqjq6hZSOkFK0U5hq2ADxbG7NIcksJ2UnWcihbzy e55IujqHHe8BG9QEQ+kEFdIaVMnGOPiw7+iZmBW8ZYEMfRvGRtFX+8klvybKQ/3nlTNWbSKV3dX Ip0uukznqdI82cFxC+2n7pxptlel6+kDGOZrRNC7Lmh0N7IbfQ0UoRsgjY9mZmyJjF2K8hKEeFP XaO5ZOUWQ5vnRHS2KosEDYyD074DMPdMBCdW7uyEqp/0r53pddNcuTqqpboIjH60QMESDnPdxxi s9m/K8GpTVFQc+oLrKtWIc1I2dGEDjYnFhmSx3SAN8I3fnS9dMYiLVGmm5qPm8lXpY5yVI7QF+4 Ypqcj9uAPgsy1jH649g== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-28_02,2026-07-27_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 suspectscore=0 clxscore=1015 impostorscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607280082 On 7/24/26 5:00 PM, Luo Jie wrote: > Some CMN PLL output clocks require a hardware gate in addition to a > fixed rate. The gate control bits reside in the register > CMN_PLL_OUTPUT_RELATED_1 (0x79c). Each such clock is registered as a > composite clock combining a clk_fixed_rate provider with a clk_gate. Would toggling this register in .enable/.disable not be good enough? Do we need to register a separate gate? Konrad