From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 823BD41F358 for ; Thu, 16 Jul 2026 12:42:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784205732; cv=none; b=lG6uDT3rPpUF5/rNwjE/gTkOnKDjGwP7KGzPQUi5UGKX6jXhjmACMu3TTBu7PZdbvUZ9Dw6PYnVAnyht3nKGzqn/dgjnDtDwb8Kr+zU/M+AHp0DuLJmkDNlrFVXkkUfUa3uLHpWHateH37MLLQNgJXufilVYZCIoMO2EdtLqyfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784205732; c=relaxed/simple; bh=aZjkUe1c55qeNoGRtdIQ8tMN4RZ/ApDiNCpm9RMNjTA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ubg9ZsMifnFfvRdIcbJSWlhXbfPCKEVGckA5X9bp/1+279JAOb9gc21+9psUY+BlicE/l2azkSP/ZW47W/pBmnGQWITA5O6O60fp+5U/GIeT8AV4izSxsWfuhhVdrqU+fqKE50Zxit1a1JOGrNzwdW4gtADbe10ytH4DeLEy+GE= 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=Sc6oB/ym; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=IKMxmzU6; arc=none smtp.client-ip=205.220.168.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="Sc6oB/ym"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="IKMxmzU6" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66GBisxa2730783 for ; Thu, 16 Jul 2026 12:42:08 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= UYlz6Mik5/sZA3dGlhiKFDmqJjZEM76yBtlXFsw/ze4=; b=Sc6oB/ymyLzsoFOZ 7w7deN6jYSkeazoBRke2QxbYKBTYlt2IXVzdXdlbEFqrsxhckRCwm3POZLJwoaCx v3FzEFUHXZ8nE68GhMaMIneieMhX9Wr3mjATIjGH2uKb0rgcdbABpcTbs0pkUD5o 4pmpEFMiphd8OBkQCPOAJgwEz9kxp8wAQv4XtLEUOMZduvXTvks2mIwWyoEdQTF8 t5C9NU62GWelUujS9WW7skAm0FvWyKZ4rcLfSi597Wjsl8LAP5RhP23+EQ3G49EG BBPAfNeSCoDlgchXMpGHznbErgCMfW3DUYI/jyQu7fpRx3JvGBxvK2f6xz1506Uj gCppGA== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fen4waeh5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 16 Jul 2026 12:42:08 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2cc8bde6318so120093145ad.3 for ; Thu, 16 Jul 2026 05:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784205728; x=1784810528; 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=UYlz6Mik5/sZA3dGlhiKFDmqJjZEM76yBtlXFsw/ze4=; b=IKMxmzU6/2PDBakxWwjUQ425JhHhOvcBIqVWDZvDLvk15mKUU3mTI/36V6gDBkKU2O B8ltHAJ12f8YuX9qJuPspRcxCc+yCKNCsJ71gNQkv6RrOelL/LfGxyQm+OkzAajS9Hxl +eUu7DRuMyx9jTAA+CjJb7jtPElXTRUofMLRxQnibPOCbwlo7iXSO8kYn+zhuj5N6GnX 5KVpGzVv0WBD0YWM3e4O+4CoEbSlZV5JRdnapMVrpymeW845pAiSHxwxefUXNwL+N1XN 47jYmar+xUVrLoGA4RkSYfNwhk63sitrQpPB4nsK8kQwKJp39Adkbyo3URSmkxLQ92qG 33Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784205728; x=1784810528; 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=UYlz6Mik5/sZA3dGlhiKFDmqJjZEM76yBtlXFsw/ze4=; b=ZX8reu/x7Gz1RT9yHSXCtik4ryP04tcZXht+YeCoE/lVLsSkZnnrGOCCmLpbvPXriv mox/QLELEIxUKFkA2ocZKy4/oSq3rta5TrhjZU/GRPpuk+y66mgS8IOIXtWWMm2sjNZq JndxBbiMBraB6O7MXztTvamLOiefYb9doV8VmS5oY8KAbye/ZmspO8k8T+7d+YNJmzPD YE6Rpi9PKac5KPN9W0Twia9L/kiIrOSCIvj9MDAG+guIO4fB3WFOBLxZESOAVheJPgp4 SowJ22xJN7hJqnOjuG5/rh9gS8TxBetVdOQjY5YQCByv69qX56ZGQd8WNhy+ERF8cnVn N7wQ== X-Forwarded-Encrypted: i=1; AHgh+RqASnSoUAVzAyzGmAcy0HWZb1RDbgvRuoW5jlIyX+lOWCMgrBxv86x9IOeiSRCdK7wgpzXrdFMq9c8=@vger.kernel.org X-Gm-Message-State: AOJu0YySqhX9PWYozhaCitFVR6zKvgKPJn2sF91fh7w//LC/bEme+J5k cbeOw1kLe6ES1nC0urq9GT55amazIqyWQEDSeNlO4djqRd8o3tWR4+zhp3MD3LXkKfJ1+74jqXn uMPSYCh2FL9t2lk7xiAbGKceBTET5hpRBP927uXLLqnT8akGZM3ptRt2VH0uLIf0= X-Gm-Gg: AfdE7ckQ0pxlp6o7taxhPkQXVO0gyABjeREmXSusHXY4WdRXJPf+QeLm3JxnpAEFSKG 9OTrky8dp7feztQkRlLXX9MOabObIpwNeP06Wz9fl7SEfxGq6DHRgJRWCQeA8KUXROrzSeXq47g 6fI6m6uIUEJGBeSpMPP+nAoLNJEqVgXPS2rvZ6bNZ5xCPot7OzZFjmtrNelvgMXrzxVYQNbFHCq Bqt5jFYhMOb2eBs4NFt4Gh9FjZV6MSW9r14WtHa4QAadqI3rj2g2MaZn7emfKizov4GeOSUblbp zTZhZf7zp3TLlvOFY3wky65vpayjZdABq7V+jOX5XDK25erYxkWXgPDJw29n72FG1Uan8mni41I YNZvwrtPbD7EOIk6PaG2IgqNdRCrIRFfmKQ== X-Received: by 2002:a05:6300:6698:b0:3c3:9df8:2eed with SMTP id adf61e73a8af0-3c39df84eb6mr364399637.31.1784205727733; Thu, 16 Jul 2026 05:42:07 -0700 (PDT) X-Received: by 2002:a05:6300:6698:b0:3c3:9df8:2eed with SMTP id adf61e73a8af0-3c39df84eb6mr364351637.31.1784205727287; Thu, 16 Jul 2026 05:42:07 -0700 (PDT) Received: from [192.168.1.9] ([106.222.231.43]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3140e6c10dcsm13466080eec.23.2026.07.16.05.41.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jul 2026 05:42:06 -0700 (PDT) Message-ID: Date: Thu, 16 Jul 2026 18:11:57 +0530 Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 1/4] dt-bindings: i2c: qcom,i2c-geni: Document multi-owner controller support To: Bjorn Andersson Cc: viken.dadhaniya@oss.qualcomm.com, andi.shyti@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, Frank.Li@kernel.org, konradybcio@kernel.org, dmitry.baryshkov@oss.qualcomm.com, linmq006@gmail.com, quic_jseerapu@quicinc.com, zhengxingda@iscas.ac.cn, kees@kernel.org, agross@kernel.org, linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, krzysztof.kozlowski@oss.qualcomm.com, bartosz.golaszewski@oss.qualcomm.com, bjorn.andersson@oss.qualcomm.com, konrad.dybcio@oss.qualcomm.com References: <20260708051023.2872304-1-mukesh.savaliya@oss.qualcomm.com> <20260708051023.2872304-2-mukesh.savaliya@oss.qualcomm.com> Content-Language: en-US From: Mukesh Savaliya In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=PsejqQM3 c=1 sm=1 tr=0 ts=6a58d1a0 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=OlrBKP18NtReKxGUJ9moaA==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=gVzQGNjsJTxi2T7I5nMA:9 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-GUID: 2_lvzQb-c1KVH2grpPfzPdNr73wphtNP X-Proofpoint-Spam-Info: AW1haW4tMjYwNzE2MDEzMCBTYWx0ZWRfX3kXWBRfQu7Kl xBNxoPxMLsuPBK6sU2nf1BHQUQqxdBUU4HbGINvT0qrk2u2LjPKb/N4A+tuAVGRBB/VsktIuzfE AzQSASquwy3uUmJQ2XuHBLjyGYItENQ= X-Proofpoint-ORIG-GUID: 2_lvzQb-c1KVH2grpPfzPdNr73wphtNP X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzE2MDEzMCBTYWx0ZWRfX8dpap0OE1EPX ZfDuCXgPa1OxIm6KF4dihwUOTAhaW/Yvc8Mum2IOXp++hLlKKi2LKO4mpf1tVD+Azqpj3qhQKE8 uq29c2eLptNz3EKFfI6qfI200MJ5tcjXzmWbQVJJqs9xShQJtkq8o3ck2/tkAGXOa9QQ4990L/8 gS5KKq4ZXcOuqWxFR9E48GYKeyPuMucdr7Lc9wvRs/Ic6dC3s/YxZkyhEkLbg8p7xCtlvJvi15G cnt8RjawVrsWlwFY39s1Gajjf6XLU1IQxkeUl0byBc6VoR4Odtk2yQtJzXAKgZY4XjtfryyUrgW QGWO9J716Sgu0eig4CpPiTON+HC5A8fD+9Nd/tzyeTBkZAmF6yTUmsv/0ZNHUUaYNJT5rxhe/yg qn6MG48zSxHAXMICwis5aodpjV/7ljJCdlprViJGDgEdZycN6M9cJTxMhxu+Wat1Qer2ixkmr5P /R72x7ne/OUyv25Fw4Q== 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-16_04,2026-07-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 clxscore=1015 bulkscore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 suspectscore=0 spamscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607160130 On 7/16/2026 8:44 AM, Bjorn Andersson wrote: [...] >> --- a/Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml >> +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml >> @@ -60,6 +60,22 @@ properties: >> power-domains: >> maxItems: 1 >> >> + qcom,qup-multi-owner: >> + type: boolean >> + description: >> + Indicates that the QUP-based controller is shared with one or more >> + other system processors and must not be assumed to have exclusive >> + ownership by the operating system. >> + >> + The associated GPIOs must not be reconfigured into a sleep state >> + during runtime suspend, as doing so may disrupt transactions >> + initiated by another owner of the controller. > > I think this should be made even clearer that this defined a requirement > on the operating system. I also think that "sleep state" is a misnomer, > it's not the sleep state as such that is the problem (what happens if I > define a sleep state with functional settings, or what happens if I > define an "idle" state?) Agree, only mentioning of sleep state may misguide. Rather, will make it reverse, what you have pointed below. > > One way to handle this would be to declare that only "default" state is > allowed, when this property is specified. > > If we still want this, I think it should be rephrased something like: > > """ > When this option is present the Operating System must ignore any > non-default pinctrl state configuration, as reconfiguring the associated > pins might disrupt transactions initiated by another owner of the > controller. > """ > Thanks for clarity ! Will update in next patch. Let me finalize Patch 2 with alignment to DMA. > Regards, > Bjorn > >> + >> + Each owner is responsible for maintaining any resource votes >> + required for operation of the shared controller (for example clocks, >> + power domains, interconnect bandwidth, or other platform-specific >> + resources) >> + >> reg: >> maxItems: 1 >> >> -- >> 2.43.0 >>