Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793019372; b=3YcqntfWNUvSX0Nio2cIOfXgsiT/1tn3cRQ3+UyrfWBxoJAF2UDehQetBRmsujssY8q4 05RATAajtYtA+0ZnXcJO2Lp4gmuIlXJ0VYQJSxLrMAuQ4ap0ugKM6oebayVoJpl1nXBPB qZTRAj07NiUxnr/VWW79wQHQmzFlQSiUX9lE5ucRf6V7+8m1cuX3AkiTgKGPdhiHjRUIP Yinhko62JUVLhV5mBEfBITtw93N6/vSYUCq0j2+NhQe6zryF0HzdrL3MJDYIiCYC1vSfC kTUad23yjH/Tb9bOv/XclmQx50kuYcCytA46ICekVhRk5QoK0tm96WrD5LHVQ5JcaIQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793019372; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-GUID:X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID: X-Authority-Analysis:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=hNO7pC1kz63YSDMIEHWfeIC3Vw71SJAFnz98jQKeibQ=; b=SKh7wGk1GkeEBmd6u4lhpzwGsCx462/dQCMAFYc4k17GSTnybo1qj9zkYgWadyYvZOnu 8SHg+jMURBNx0dPBTU5fHd5J7xMiZ+7atWBbP+R9mWgIAtoU1urLUQaPUhIrlq/Fev6/w /eL3Q9BkUsQm/x4IO6DUSane6zdNZf3AeF5H2wphiWFd55AaF4NvYxYBknN3N7bnhiXn+ ZbJ4Kn4UQrcjsH/Rfp+urR5UIMDSELEsUwfiqVAd6WLeTiXIBIy6BXfs42ymjzscbugLN OHa+8TQldr3AGqSsuRiDxtgj5vsVyLJ/AvN5OEW4wfke9uPmFTI218X/PQL8akArvPg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=temperror header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=S7dphAUN; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=SOiE8on6; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 390E5606A31D for ; Mon, 26 Oct 2026 12:56:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 390E5606A31D 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=temperror header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=S7dphAUN; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=SOiE8on6 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69QAt2pN2733255 for ; Mon, 26 Oct 2026 12:56:01 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= hNO7pC1kz63YSDMIEHWfeIC3Vw71SJAFnz98jQKeibQ=; b=S7dphAUNgcPfraAP C0b5lgfQz5b7erEFF2J9VlbAHAgRnqdbDzx019x+jZOMGjhmQBorH+m9nLX6oHMo /Kv7fcGKb9aEUzlfbRRcBYUDRlqPd4k06AQ3RpUhtIowFj9V6sodpWPF9cIvz52E IVNi/QSu7G347o48RP6pR6helreuSq5PXXpjmwM6+GTeVnlgzdCbD8duBvEJONjf EHFCF42+7tvzC2a6nzpCc4yR4DsIuE/5qCeqTD7W0/oqws5SfqiOOiVk9+M9MTD6 6db5HZEEarz1QcTAKpM3KDN2uiM9dxFyAPo4N71HLjQKAOUh/HsfD1fcc3khbUHw ruTkgg== Received: from mail-yw1-f200.google.com (mail-yw1-f200.google.com [209.85.128.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hj4cp8qvm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 26 Oct 2026 12:56:01 +0000 (GMT) Received: by mail-yw1-f200.google.com with SMTP id 00721157ae682-8b0cfe694c3so42248357b3.2 for ; Mon, 26 Oct 2026 05:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793019361; x=1793624161; 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=hNO7pC1kz63YSDMIEHWfeIC3Vw71SJAFnz98jQKeibQ=; b=SOiE8on6/2eq5QAaVYBFR2ax2fTnX+VOp0P1uh/RlK7lrm6ax3ZpJV2e6mFWIalJwX W8b9E225LuNW3GBsxkl91hCQPqIEjW9yrf7l/Hsf1kajNjTGxDeXboGSuGncHLNLb8kz uOeJmENHg1zx+Mc2QawiJ0KFLmej7QkE9qTM9aUHM2aX7b8G1TjHg/ja8TNtkS/1vC06 QZ6vzuSxanh9Gz8BW2O24GYtFKHfSdbCreVu9D8TcYOPZRaYPmuAZ1Qa6cpXa28At9BN T45u+bCc0Zbqia+WvKRoXdpgkMEc3jBvqcgS/eB0YUw/HOXNsh3unSU2Eb4W8WfFHJdp jEzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793019361; x=1793624161; 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=hNO7pC1kz63YSDMIEHWfeIC3Vw71SJAFnz98jQKeibQ=; b=n3XsD650CQ9UyTWib6AkFX/mThdgCv2SlKJsjQQe6Cp3Ex5meGEXGp1qmYHR6UMxoR chrxbf8uoxAh0xZjUS+gaOg6LI//p4Snu4ff3t0oWIPJnmgCL0eLyH5SRMPSBaQ5c3n9 /j4VRRHPrfF9uHaYYoECLkmV+VA8mfcuswICoBu73UBJh7qMJvCcQ2rcGQYBDA8kUtsg KB9U4qDI7NpnMNzUISoKlI7g9piexkvYhXpLXuHer3yGmnccv6sAmDvJjgR5dj7RFd0I LzPNlxgZv/CfTcMluzfs9BLmLC+AulABnGEeO9hLfv2xcByJhc5OgRzv290fLMeHD71Y eo4A== X-Forwarded-Encrypted: i=1; AKwUvBz9OqmTcHajL45LYXZanmOOugFn2BMyO9UxQkIGTwR6JHQ9BQciUF/cLjwRdwvpzEgrFOaVzJGYFC8l0sgw@vger.kernel.org X-Gm-Message-State: AFq9FYK3mL3lx5tRycqdzIYLXP2ohCgpAvhU6CYrKy7uRJ5dYeyVYrb+ 6UdQhU9epVvmSe5fRY4v3GnpfhnlXVZSvetMJ+LYufi/uFlhclj8hK3ovfpfi1Xg52fvvq06uLr bSfFss4T2stu/XXN+kl9DvKjq4GeOYV+eU/9auQNKi4PXOIKIRGIV9btWXW5FCqVi7CSq X-Gm-Gg: AYBFou07E/A85MUObBhRfwptwNrbBosIlu1yRxQdLfMSBSOelOl8Hbgm4jHaU7WDwmS x4fo67GAMDM6Pq+3Ib4N2M9QxM6ioXxgkeqxMcOMAYx4bfJzmVFe9A15xXUYPwAc/6mjPPZaqye RoyQm6oqLH73JD4TCXtNd87uZAQATkltS0iZO7APOvBa8jXGfrLG3AY/9lrMfrhigSN9RScagx5 Szceibls6wdnC2VfU1o8TmQifpsNW2x306TNhqqiyoMnFy6SePzeViSclc/gTcS1J7J+COjSz0B vSDdcfenGmmc+MF3JZoaDDk4VCka0S/dmZWCo7rDt7/NPsPjivYjLu6m8gTUCnYJzZ5LWHXuhe0 B2mhmqsGcxMLAMWEC83X2+Khp4t0= X-Received: by 2002:a05:690c:d8a:b0:8b0:ad62:198f with SMTP id 00721157ae682-8b166bea5f5mr53579947b3.20.1793019360457; Mon, 26 Oct 2026 05:56:00 -0700 (PDT) X-Received: by 2002:a05:690c:d8a:b0:8b0:ad62:198f with SMTP id 00721157ae682-8b166bea5f5mr53579767b3.20.1793019359974; Mon, 26 Oct 2026 05:55:59 -0700 (PDT) Received: from [10.217.216.70] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 00721157ae682-8b166e28704sm31507357b3.23.2026.10.26.05.55.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Oct 2026 05:55:59 -0700 (PDT) Message-ID: <237b2f74-4a9b-4df2-a0fe-a7b783ed5267@oss.qualcomm.com> Date: Mon, 26 Oct 2026 18:25:37 +0530 X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/6] dt-bindings: ptp: Document the TSCSS on Qualcomm Lemans and Monaco SoCs To: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Andersson , Konrad Dybcio Cc: Ajit Pandey , Taniya Das , Jagadeesh Kona , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org References: <20260727-tscss-v1-0-beed14e72510@oss.qualcomm.com> <20260727-tscss-v1-1-beed14e72510@oss.qualcomm.com> <02792987-7ad8-4a6b-81ad-559c63174bb0@kernel.org> <640acacb-1704-4ee6-aa34-d6be3b30b44b@oss.qualcomm.com> <7f6839fb-59b0-4f6d-a3f8-7579f6d40857@oss.qualcomm.com> Content-Language: en-US From: Imran Shaik In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDI2MDA1MSBTYWx0ZWRfX6FvfrjMg9sgD jq21fBSiLwnLXjbIYq9D7O0VAVQwwELFuPDG6Y4movrsYojMqm9WmBeKrpiWpJlrFS1DKBmTZEv EYr29l7T6QW8ymc/tBcvasKMcyc/EFf8pyQFqkHxyThKTrTTgq7lJInibWOqjH1CGALxuBKzwIH cR4ye0k/XrKfdqbJwz677cJoaXrz+6QrJMXMnE4xC/J6ySb/P2NXNHJEgitmNSNNo/aGaxeSW01 XbPf5yrJC6D3jTpJ6CZbU7+1PMQlSen+ddDM+PIeIAne1+GUC3GNTBUvJPls+N+cMZkHk2i3Av4 yNnjlhxZqcpE+M3cc94JtEEiBoEsyxgfgAEtSN3dY4VfNXpplUh1k86BSxkrpc/YrgdzFOaDzKJ 8gwWJ6dHW2BDcJgsyb/WxEGmXr17QYF9rZPcUenSSYczCC4Tc1SPNw72OBASlcsZ6+vaK8DVc5i bWe+SOM1OnnAuzq2fTA== X-Proofpoint-GUID: 2NWKHqjcLVlD7QiF6GjOGlmXzKuuqR6B X-Proofpoint-Spam-Info: AW1haW4tMjYxMDI2MDA1MSBTYWx0ZWRfX+/Jso3yl1+xO K0w/hqProVcCbfBw7NRBhCuZWmjDI6qJG1gr1xVYTRHZ/Yvd8NcXD+65tA+YQ/MNDheOuqQc6Ho GTeju9I4qMQA0RsnyHvA9JG7o9izRL8= X-Proofpoint-ORIG-GUID: 2NWKHqjcLVlD7QiF6GjOGlmXzKuuqR6B X-Authority-Analysis: v=2.4 cv=TboDJhQh c=1 sm=1 tr=0 ts=6adf4de1 cx=c_pps a=NMvoxGxYzVyQPkMeJjVPKg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=ebbTEIlB-icwTnaok3IA:9 a=QEXdDO2ut3YA:10 a=kLokIza1BN8a-hAJ3hfR:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-26_02,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 adultscore=0 malwarescore=0 suspectscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610260051 On 23-10-2026 03:09 pm, Krzysztof Kozlowski wrote: > On 13/10/2026 13:49, Imran Shaik wrote: >>>>>> + >>>>>> +patternProperties: >>>>>> + "^etu-slice@[0-9a-f]+$": >>>>>> + type: object >>>>>> + description: ETU slice configuration >>>>>> + properties: >>>>>> + reg: >>>>>> + maxItems: 1 >>>>>> + >>>>>> + pinctrl-0: true >>>>>> + >>>>>> + pinctrl-names: >>>>>> + items: >>>>>> + - const: default >>>>> >>>>> Heh? Which code do you copy? >>>>> >>>> >>>> Each ETU slice has its own external event pin config, so kept pinctrl-0 >>>> and pinctrl-names on the slice subnode. Please suggest if you prefer >>>> otherwise. > > Just drop both pinctrl properties, because you should not need them. You > define them only if they are different than default. > Thanks for the feedback, will drop this in next series. >>> >>> No, from where did you get this code? Why are you sending bindings which >>> are different then all other bindings? >>> >> >> I was referring to the example in [1] when adding the pinctrl properties >> under the etu-slice sub node. >> >> [1] - >> Documentation/devicetree/bindings/media/samsung,exynos4212-fimc-is.yaml > > That's like 13 years old device binding, so unfortunately likely > antipattern. > > > >> >> On checking further, I found that our etu-slice sub node deviates from >> that example, since we don't have a compatible string for the sub node. >> >> Please let me know if we should move the pinctrl properties under the >> tscss node with per-slice names, or instead keep them under the >> etu-slice sub node and add a compatible there. > > etu-slice does not feel like device at all unfortunately. I see only > address space, so one resource, which might be enough but lack of > description for the subnode is not helping. I have doubts that separate > subnodes should be there in the first place, but if they stay, describe > the child node fully - what sort of device it is. Just because there is > independent timestamping counter does not make it separate device, just > like independent interrupt in GIC is not itself an independent device. > The ETU is an independent hardware block within TSCSS that captures/ snapshots the TSC timestamp in response to an external hardware event trigger, for each slice individually. Hence the subnodes approach was followed and will capture these details in the description as well. If we drop the subnodes and add everything into the parent TSCSS node instead, then all the arrays here must stay index aligned as per slice mapping. Example DTS node looks like this (QDU1000, 3 slices): ptp@1da0000 { compatible = "qcom,qdu1000-tscss"; reg = <0x0 0x01da0000 0x0 0x2000>, <0x0 0x01db0000 0x0 0x10000>; reg-names = "tsc", "etu"; ... interrupts = , , ; interrupt-names = "slice1", "slice5", "slice6"; pinctrl-0 = <&tod_pps>; pinctrl-1 = <&gps_pps>; pinctrl-2 = <&hardsync_pps>; pinctrl-names = "slice1", "slice5", "slice6"; qcom,etu-slice = <1 5 6>; qcom,etu-event-sel = <1 3 2>; }; Please help suggest which approach to follow here. Accordingly, I will update the bindings in next series. Thanks, Imran