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 06C9033D6D9 for ; Tue, 3 Feb 2026 12:09:20 +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=1770120562; cv=none; b=N+oYGMZruUbC+ACU8Rjzk/MSG2KRjbmfjqmbxxweSeHaSU6qPCbw/m5IvePqjp6du7neKt2MWD3lnRAEa6GR3sSFCDui/JMyio89quWU38AP5O7vl39MhU026Tl8bPBlFn9yy31orfPwW7A8Ax6tsty6DQ5aGdQGjZI7TVbLB7Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770120562; c=relaxed/simple; bh=LhX4W4966WbA5RsY6vvGNAKLc5ZklFBLRf+iIcs0fLA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MZgL8QDA46Uf1lenLjUXojcrYium91r/c2/7uJb7wlUKuoF07Pa+Yycu6DlUVvl4NRteVpp0I9c3D2XrLHT8UJGpYoTSK8zYTElJ1UwBLbJ7YJHTjrTAn15CfHriUoMOm+Lh2xZxSd8vU/0PgwpwxpWaz752BAxrJtGdItSmDY8= 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=UVMwo7JK; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=YL6/xAEa; 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="UVMwo7JK"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="YL6/xAEa" 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 613BMAOM2847926 for ; Tue, 3 Feb 2026 12:09:20 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= GPoB5vfU+XGoctzE9w6IbSeTVRMHd7Q6eL3ax+WmBsM=; b=UVMwo7JKrp0aSnNN MzC2V3Hmrn578A+I4RYHamWF/NMEGQ/mq+YgWorxlsvVa4nyNC34yODoazIpGE/D l/uScc8h0Z+z03Jb8FfyWWHYXoX0iHbUMjJRBksxjeKqLkzoMHHmpnEUoxD/jBJr cpTYWe48Ax5Xfz+FkvNxaAtBg/UrCEsJNJSA3die0nfn01Ve5TLbD9uKhLTfy3UT KKHSFYa8Dkomk+vWB6WzdFI4jUsxRYXHGaRwGMWZ8LhycRdfwal/ebDJ37WddCgq Jl9bur7MaXtwQmfzqKahXvqqI4uksSam3v9bpGfPan610lrDDQoq8C7iAZV9o9OQ ElB+4g== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4c3g33g45j-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 03 Feb 2026 12:09:19 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8c522c44febso131493185a.0 for ; Tue, 03 Feb 2026 04:09:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1770120559; x=1770725359; 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=GPoB5vfU+XGoctzE9w6IbSeTVRMHd7Q6eL3ax+WmBsM=; b=YL6/xAEahDazUv6MUYDt9id15vAv0h9hkg2jpyDMdsFaI/mOBC+JM6f/DLDAnqBkX+ CJcLVzHueWPOJfUZVK0WG9E2Cz0M4926hgoAryK9UuvgiTKQsJFosztpnYT59+eGxMgm 4Oc9UfNOt+2vO4b/ed8Vyp07MtNo80Ao2ltgnpALrQigmmkdVwKcN5r47WvHq6ov2M/i ze6TVRGhNOyjc95m6V3HtvaTZ2/TynPv5OtB4kqPsjkvYHVQ+ut1zXf2IQIL1piyc5LM krtuqVpqHW/aZT7DcT7xCXvR26QPEUmwjX5Y2n9HeNtQMBANKT9dBJYMG59PcCj+SZAa likA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770120559; x=1770725359; h=content-transfer-encoding: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; bh=GPoB5vfU+XGoctzE9w6IbSeTVRMHd7Q6eL3ax+WmBsM=; b=O0Hg1Z8S2mFzryqsoPjU79YDiQmZE+bzqjS+chyfNtbXemFB+NsU04T/T+RsYt/tqG NuBr8uX9lOSaMJI6/dOsYWJdf8XYZZte8+T+q92wPNtyGdgmTSr7vxUVSrbViOLbV1qO gvXFYICRd4l2Dh93tPIcGX8UkletRS0KwQL9Q35AhXm45CgW04ytWvpvjzGSKEwZ87wE ypejWmyvkKz01bI/oYM6XPZF3HonbpEM/BXZpZbT9hrQZliZC9qcWziZBk/NC3TpkZlV OVHZ8/OVYuB+RfkjDz7a/QqZ4Qyar3sU+XFvpBhSXDyT6VSgv8c4jz+slPNw2QSW1zlc wY2A== X-Forwarded-Encrypted: i=1; AJvYcCV3M754bNWk8xBlKXbiUMWWRKthAl+uCJrpxvpl1fZ3Qr9aEwTcuWb2a976I2wFq/nSdWUVBeyWFSxpP5Y=@vger.kernel.org X-Gm-Message-State: AOJu0Yz8ws04tQuCUBU7yIgoesKeAtgeRGOCdHf+spOdFYlaIFlnxZqJ TpnX1+CHRYMCF/ov8v8yEx9+sNzqQJK6fmQMaFeMb6yqs8WQmMDd25ZwsOWa/5IsLvlKrxTlyA0 YPGS5v7IKGrczapvpInjXF+96i3Oz8iVDR222a51JCaVUR9HF2EFK15XwKZE1MW/6ybI= X-Gm-Gg: AZuq6aKrAzbBiQLbV6azEmKCgL22Ycm7U6xcyJEGiYHadJSKU0L9wlanZDPm6I9lgkh v9dhK5s8uzS9/Bg5zn0Yf9sjC/dZii2Zval1IXQYMljKS4ryX9i+O89808sTSwFZxpLtzGXEAvO KuubUfth+EEt9aZfHNI7SLrU2VKk7H6GKK3QhOcFllHmqQnRNKn6qVB3sETyD513paj1TqDweWp 50YWx45tXOH0YgQzfN0nmcMOjH5o4qbyiq5TX0Rihbl/6yNtutR0FhESlNGuHJUplUhgx8gu/Mr xbOk9EPrPD8UfwR3amuaf4nHfdKzY+gSB4PCxqgwhXr7LBmmpj/2klc2RHLHaX9CQszFX1daYoO Ds/2AcICFrbxDp+B5hmXbibpfgfs3SYW+vFA9d1JgvbvsNsRfnOnit/EKIdBQ34eHjzA= X-Received: by 2002:a05:620a:bd6:b0:8c0:cec5:148c with SMTP id af79cd13be357-8c9eb34ff20mr1529518485a.11.1770120559101; Tue, 03 Feb 2026 04:09:19 -0800 (PST) X-Received: by 2002:a05:620a:bd6:b0:8c0:cec5:148c with SMTP id af79cd13be357-8c9eb34ff20mr1529515085a.11.1770120558684; Tue, 03 Feb 2026 04:09:18 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-659390c08ddsm751708a12.11.2026.02.03.04.09.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Feb 2026 04:09:18 -0800 (PST) Message-ID: <006f6c19-d923-47c8-9890-c7431c8c1e77@oss.qualcomm.com> Date: Tue, 3 Feb 2026 13:09:13 +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: [RFC PATCH 0/8] Fix TCSR representation on SM8750 To: Mukesh Ojha , Konrad Dybcio Cc: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Taniya Das , Linus Walleij , Melody Olvera , Taniya Das , Raviteja Laggyshetty , Jishnu Prakash , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, stable+noautosel@kernel.org References: <20260202-topic-8750_tcsr-v1-0-cd7e6648c64f@oss.qualcomm.com> <20260202181917.imo5lk3smwott2ue@hu-mojha-hyd.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260202181917.imo5lk3smwott2ue@hu-mojha-hyd.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=afVsXBot c=1 sm=1 tr=0 ts=6981e56f cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=mv6jPIj4YeSnJgRhVR4A:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-ORIG-GUID: txTzetw4GRLMcgvYVzFN4K5yV1XPddde X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjAzMDA5NiBTYWx0ZWRfXyBDPVcyD2yV8 TALwBwKxAvjcki4hUevyWFHMmgmdl0dVVq9VYlWRXWwuN4DZN+H8JvPDLkE+JZIya8nHPcCnMav n+Upa2B51TOBA9ZMZbbDhlh921gOuRlkmKeEnUhQaPkbU4sUSnY/wV4mDxpiglATj6BdmSbK8L7 ZCKSsOYdPEMqQybcJt4cGaQaZCUJaKSmZfsztuiAMMDz8eTKIsywuyoJC+Z9lLZASvbH7UzJpwD fc/xZpsTEgRCieWkisqz2RWtvG+mVvv3u2kOO1o7qrd/nv3cCiEPe+tbACvLdkdH+pjo7eq1Z2G 4hFpi3ySAx0OOPXtk2WfZPaePn9cGy82E+yXeogR0RcocV3iGv904hp6+FVRllJKwQ5CtCazINa 7lY46M2w0yBN6qiB9CPnEXWupfsk4NE8xL1SHP7oluqf3aQm5lymc+cTj+27+Rt8D/SUbgzoozL 6hx5MWaoAUTRRc3g4qg== X-Proofpoint-GUID: txTzetw4GRLMcgvYVzFN4K5yV1XPddde X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-03_03,2026-02-02_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602030096 On 2/2/26 7:19 PM, Mukesh Ojha wrote: > On Mon, Feb 02, 2026 at 03:57:32PM +0100, Konrad Dybcio wrote: >> As sparked by this thread: >> <20260112151725.2308971-1-mukesh.ojha@oss.qualcomm.com> >> >> The current representation of TCSR is wrong. >> >> On platforms post and including SM8550, the TCSR had a sub-block in it, >> containing gate clocks used for distributing the XO output to various >> consumers. This is what we refer to as TCSR_CC upstream. >> >> SM8750 however, is notably different. That same set of tunables had >> been moved to the TLMM register space. This is made worse, as the >> sm8750-tcsrcc driver consumes the qcom,sm8750-tcsr compatible. >> >> This hardware change had been undone with the generation following >> 8750. >> >> This series attempts to unwind that. It's difficult to merge, both for >> bindings and functional reasons.. >> >> I think it goes without saying this breaks backwards compatibility, but >> it has to be done to represent TCSR at all. The patches are ordered in >> a least-destructive order.. >> >> I gave this a quick spin on (remote) hw, the UFS (one of the consumers) >> still works, but more testing would be greatly appreciated. >> >> Signed-off-by: Konrad Dybcio > > Thanks Konrad for taking this forward, while I was also working on your > suggestion to make tlmm a clock provider. I was under the impression you abandoned that patch, but indeed I should have asked first. My intention wasn't to beat you to it, but to unblock it. Please accept my apologies. Konrad