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 681C3190497 for ; Thu, 27 Feb 2025 03:53:56 +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=1740628438; cv=none; b=foeYGtbUQ1jb1cv1ScYoNa7VPc/lsxODDCd9ViJcN135Cj55g0Gh4R2+hiPyfVB1YG6iqPWwPIBYon0UTEQ6alptRac7EUv17zrdSNjGXa+LUEejO0KiXXKMCqlbvEFmni5iu2LJrgn2c6xfVF9QEXpAAFSQyoDs9BEig2uq9Ac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740628438; c=relaxed/simple; bh=u/foCfHoF4Hhis1COb7ssCDiziDNwwO0Pz383KIp1gU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GaE+ZKQ+WWsNqv76D/6a5sWx8aeTmzt6UoeOEls3WgI/8sKcquRxXlqCgu7d5MpSL++x6QPtdy1q7inGB1V2pnF4N0NpYEDwoAosbjwFSEO2/DxKKVF+q4elnKulv7+6CrYssBntubUhKKw8ruOQVqE0U55knSXVltCP3QFBiNY= 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=J1RW+1ID; 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="J1RW+1ID" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51QKOUCs025767 for ; Thu, 27 Feb 2025 03:53:55 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= n4tn9hxlyuN0T8oneJTvd5298cAkhX5piGDV4+xPeq0=; b=J1RW+1IDWNGC0D+h REZ7g99Ou5r4gIlLfbwJt8wY3RgkRyjWvJcLMLYz1hgNnj5B9x2K3p4LIh8qhqNN oU3wNYaixr2nM6IY5KkIeDyl0ANj1Ds7nwScGlK4s93LQY9rbRCe9gbGtidcAa6O IlILH1PBFYyqtQeVquLKeRgl7Gr/h4YsXrSp3HO57olhcUDyxiPHPvcFupr2Baxg nFwJjK/a9xhqO1dgJhL6aQBxX5BodzRe7faO3J2x7bw0pPVSRtz8l94SiKymABRG sok+zdeYhh47HYCPZakyZvPSM+8OyoMPc8mIuuSj03GzdUu2tJFf1LV8Exlnevus h54w0g== 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 451prmm5yt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 27 Feb 2025 03:53:55 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-223477ba158so14219365ad.0 for ; Wed, 26 Feb 2025 19:53:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740628434; x=1741233234; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=n4tn9hxlyuN0T8oneJTvd5298cAkhX5piGDV4+xPeq0=; b=h/K9ENBGt0yg/c4CNtA1QN5Jvxs7FKwZOe/YCbLD1N9K7jd8r2GmKElGBzkJrK+8uP X9xneT522svobODhAMiYiTAt3hcUrs2zxLafcQJy2hvsKc7a0u+2wVckQufAI9gSvIVX 0ZVPJb9sgv2v6rq6wTsnxZ+PxzfJChBNDJJsF2PEMUUU5thvZoa5GALUB4N/+4FzVOWV MJSUYpPmD/wuEjpqeSUT00W0biku2nQ2+6evV4wUClQEyJ2kDRJF/hNXu0lntfq6jbEO UHSgiHsAgQx37yVZX0ZNf86APyGIY0FdZnhuY7o+N6DpY6Ai3w/cJrI2fsnkbDpJMhbg Ujiw== X-Forwarded-Encrypted: i=1; AJvYcCXM9Kx2SG97f0WpYraaXOhbSNiwGYLY3g6np7txUqOux4pFMJYA7ARsGWGdV81kKs55tQB4GyNcvsJE@vger.kernel.org X-Gm-Message-State: AOJu0Yz48yAk5PbJvw22E+kKwdYBD3yFl/elQOI2fJ4TEptMgdOUnrv2 uQlxuVafZIZ2qUlOg1JLJr3sTPRleCAGXqm0fzJvMFC2/TOIuHcBYPM8zYp1O16WJm0aayF/NAr s6f//3wjhQHl16GPOotCP1BfbD46GDPR4WQ0Z6c2RaCacBMyWYnqpmEfY2eMIVfWBP1Ee X-Gm-Gg: ASbGncvNjkbR6L6tgLGZmsesjKsnEj98YP/gSxbwbJsDRwwb9G+uu7xaaXZ7db9DGSw QcJlfvgVapSo3+1C6UsEQ1ndxFYkIqFucNPqL+l0/IRmzZuker4LRpAsTxMd4zd8b/RPwZgrHsV +u8pwrA+Kj3tsjWJS/0an44Mg4jRDq8nRt9NYSXB/JHfHASSyhDXAVLZ4wCyVhrwkLMZCBxE9e8 2PprrwMyrOnjrhMMyW0HdZaj2ZvR47YP9+u1Bh6UUfhQ56CPu+XxnhAenoGY1tK/nn9xWF6GaD4 JifkRZHc0rUCpiAb/1LHhTbJrcbZDH1hUREI691OFPhg X-Received: by 2002:a05:6a00:114c:b0:732:1840:8382 with SMTP id d2e1a72fcca58-7348ba6d783mr10093712b3a.0.1740628433614; Wed, 26 Feb 2025 19:53:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFh5X7bgV3zo/n3ZH5yQ0HTLXd54y0J4VfRDomVEkH4D5IP+RagxLDPvQ42BOJMUDwWpa3BLA== X-Received: by 2002:a05:6a00:114c:b0:732:1840:8382 with SMTP id d2e1a72fcca58-7348ba6d783mr10093679b3a.0.1740628433225; Wed, 26 Feb 2025 19:53:53 -0800 (PST) Received: from [10.92.199.34] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7349fe4ccb0sm451884b3a.65.2025.02.26.19.53.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Feb 2025 19:53:52 -0800 (PST) Message-ID: <304a92ea-1a73-1400-a020-dd2e0f14bfd0@oss.qualcomm.com> Date: Thu, 27 Feb 2025 09:23:35 +0530 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v4 01/10] dt-bindings: PCI: Add binding for Toshiba TC956x PCIe switch Content-Language: en-US To: Krzysztof Kozlowski Cc: Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , chaitanya chundru , Bjorn Andersson , Konrad Dybcio , cros-qcom-dts-watchers@chromium.org, Jingoo Han , Bartosz Golaszewski , quic_vbadigan@quicnic.com, amitk@kernel.org, dmitry.baryshkov@linaro.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, jorge.ramirez@oss.qualcomm.com References: <20250225-qps615_v4_1-v4-0-e08633a7bdf8@oss.qualcomm.com> <20250225-qps615_v4_1-v4-1-e08633a7bdf8@oss.qualcomm.com> <20250226-eager-urchin-of-performance-b71ae4@krzk-bin> From: Krishna Chaitanya Chundru In-Reply-To: <20250226-eager-urchin-of-performance-b71ae4@krzk-bin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: xWGTY4riY4fSU8iZkbDTz2ocw83aQjhO X-Proofpoint-ORIG-GUID: xWGTY4riY4fSU8iZkbDTz2ocw83aQjhO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-27_02,2025-02-26_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 adultscore=0 spamscore=0 mlxlogscore=999 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2502100000 definitions=main-2502270027 On 2/26/2025 1:00 PM, Krzysztof Kozlowski wrote: > On Tue, Feb 25, 2025 at 03:03:58PM +0530, Krishna Chaitanya Chundru wrote: >> From: Krishna chaitanya chundru >> >> Add a device tree binding for the Toshiba TC956x PCIe switch, which >> provides an Ethernet MAC integrated to the 3rd downstream port and two >> downstream PCIe ports. >> >> Signed-off-by: Krishna chaitanya chundru >> Reviewed-by: Bjorn Andersson > > Drop, file was named entirely different. I see other changes, altough > comparing with b4 is impossible. > ack > Why b4 does not work for this patch? > > b4 diff '20250225-qps615_v4_1-v4-1-e08633a7bdf8@oss.qualcomm.com' > Checking for older revisions > Grabbing search results from lore.kernel.org > Nothing matching that query. > > Looks like you use b4 but decide to not use b4 changesets/versions. Why > making it difficult for reviewers and for yourself? > There is workspace issue at my end instead of fixing them I tried to create new branch. I will try to use same changeset from next series onwards. > >> --- >> .../devicetree/bindings/pci/toshiba,tc956x.yaml | 178 +++++++++++++++++++++ >> 1 file changed, 178 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/pci/toshiba,tc956x.yaml b/Documentation/devicetree/bindings/pci/toshiba,tc956x.yaml >> new file mode 100644 >> index 000000000000..ffed23004f0d >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/pci/toshiba,tc956x.yaml > > What is "x" here? Wildcard? > >> @@ -0,0 +1,178 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/pci/toshiba,tc956x.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Toshiba TC956x PCIe switch >> + >> +maintainers: >> + - Krishna chaitanya chundru >> + >> +description: | >> + Toshiba TC956x PCIe switch has one upstream and three downstream > > TC9560? Which one are you using here? > 'x' is the series of the switch and we use tc9563 >> + ports. The 3rd downstream port has integrated endpoint device of >> + Ethernet MAC. Other two downstream ports are supposed to connect >> + to external device. >> + >> + The TC956x PCIe switch can be configured through I2C interface before >> + PCIe link is established to change FTS, ASPM related entry delays, >> + tx amplitude etc for better power efficiency and functionality. >> + >> +properties: >> + compatible: >> + items: >> + - enum: >> + - "pci1179,0623" > > Why quotes? > I will remove the, in the next patch. >> + - const: pciclass,0604 >> + >> + reg: >> + maxItems: 1 >> + >> + i2c-parent: >> + $ref: /schemas/types.yaml#/definitions/phandle-array >> + description: >> + A phandle to the parent I2C node and the slave address of the device >> + used to do configure tc956x to change FTS, tx amplitude etc. >> + items: >> + - description: Phandle to the I2C controller node >> + - description: I2C slave address >> + >> + vdd18-supply: true >> + >> + vdd09-supply: true >> + >> + vddc-supply: true >> + >> + vddio1-supply: true >> + >> + vddio2-supply: true >> + >> + vddio18-supply: true >> + >> + reset-gpios: >> + maxItems: 1 >> + description: >> + GPIO controlling the RESX# pin. >> + >> +allOf: >> + - $ref: "#/$defs/tc956x-node" >> + >> +patternProperties: >> + "^pcie@[1-3],0$": >> + description: >> + child nodes describing the internal downstream ports >> + the tc956x switch. >> + type: object >> + $ref: "#/$defs/tc956x-node" >> + unevaluatedProperties: false >> + >> +$defs: >> + tc956x-node: >> + type: object >> + >> + properties: >> + tc956x,tx-amplitude-microvolt: > > You already got comments on this. > In V3 I got a comment saying "-microvolt does not work for you?" so based on this we changed to microvolt. >> + $ref: /schemas/types.yaml#/definitions/uint32 > > Never tested. > > >> + description: >> + Change Tx Margin setting for low power consumption. >> + >> + tc956x,no-dfe-support: > > There is no such vendor prefix and you already got exactly the same > comment at v3. How did you resolve that comment? > It is my mistake I taught the comment was applicable to removed property "qps615,axi-clk-freq-hz". It is applicable to all the properties I will correct it in the next patch. For some reasons there are no errors shown in my workspace when I run make dt_binding_check DT_SCHEMA_FILES=toshiba,tc956x.yaml & make CHECK_DTBS=y qcom/qcs6490-rb3gen2.dtb I will check my tools versions etc and will fix them. >> + type: boolean >> + description: >> + Disable DFE (Decision Feedback Equalizer), which mitigates >> + intersymbol interference and some reflections caused by impedance mismatches. >> + >> + allOf: >> + - $ref: /schemas/pci/pci-pci-bridge.yaml# >> + >> +unevaluatedProperties: false > > Keep order as in example-schema. > ack. - Krishna Chaitanya. > Best regards, > Krzysztof >