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 DFA53256C76 for ; Tue, 27 May 2025 10:59:26 +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=1748343568; cv=none; b=mvSsPMML0DL5iYdfjbVY2yRdDXQ7ITBTWu5V/DOeBrD0/UWUI3fNgY0uyMVzhOimiRnngw+4WaX8M9An0+FsWQvUH4VIpR98zKH7xAZBLBm3wbjujfigBxiu+dMkEIJcSmbB/qzTYm9JkyRVXzuijEz0aQO2hFwTDIDYXhyAiCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748343568; c=relaxed/simple; bh=nAhhNH6vu5VSXZoeXbMVn7GYF7eDAXmR/I2kCc4UShE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=poyEAInqXWEsyAfeEdwSLx/nJKXxMkGG7iCLO8ffrG61k9S7QvYWbfOt020UFXtiQB+CeqNnJurv6LMVCqKTtwZQ/xC4Lq8WgVFzDre8LXTFqzISnGG3q0L0vfFg11HGtiDlw8U0ZG9CqGojDWIq+0zS0SLaEnFE2gVF/pcvfN4= 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=RTRsl6f+; 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="RTRsl6f+" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54R4KrL6013744 for ; Tue, 27 May 2025 10:59:26 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= dVRH8mgws61DCnh4JmBYd/UFPtwOI3PX+7lhuMe5vMw=; b=RTRsl6f+rxZwqFg2 crtUAHbU2YP3TKS1eFoMYKeeqPfoel5yumU3H/6lRRMbAFGPBH8jZDB6BK3bTnGL 6gjWDHUip6UHUgS761v5RtuACJLjmJxtMm5czUfz04/bY0uPyWcbPYsjc6Hd/11s AJ/7DgWU2Z6JevyKjGl8oTiFUFrzmAZHF78UBh9BDA+CdaEyVOvQNQxXIIIjFkhw 4fR8heZWPboq5piWRgmLUv3Ps54u0yXI5Y1QuEpsk/2Xyc7cPmM/NcZZM3nI/fOJ 4R/SPrRkyicqsAuCVSIFCKCxMxoGZLew2ebZ1pIYyLUr2ClEMsa93HUI0hsu2iuj YsPcTw== Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46w69190ae-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 27 May 2025 10:59:25 +0000 (GMT) Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-6f0c76e490cso1121966d6.1 for ; Tue, 27 May 2025 03:59:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748343564; x=1748948364; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dVRH8mgws61DCnh4JmBYd/UFPtwOI3PX+7lhuMe5vMw=; b=E3DDT3nx//wC1G9ajV41xYTgiekRmC0kq7anbtBx5EuVBPrYrjg12YeNFKomaJlMK7 S893qXAqat2LlXFstfQ5BzhiBRxt8coM16/l4vzGS5ysnjyShK5wKTqYVYaL03QXeU1x 0sibh4qExnBMH5HZzTd/oMAz5otRNhHB3LcmadsB76f7qptLmu0SQkPOYSiAvIZ/6692 WIp3B0HCT7qvMxztG4AxINgbTUccFaTlxQrVZV83vB34Ge7A/uWZQFgQpsuJM+b8Knmb /GDldDddIuxnF1cFjKHWnDPlWeYG8YJ85zmCr602tCukAla9b/u8i2Vp60ok3YVsJ+qX t08w== X-Forwarded-Encrypted: i=1; AJvYcCWGHGUN1Ya7O6hVjV//jY9qp87cKAPO7JbDe1iPI3fYjhJfVAmMvXcWV8a4T40+x46L3DejJqJpXns=@vger.kernel.org X-Gm-Message-State: AOJu0Yzk1kQuaOY9/6Be6zgRCvgKYgvAhk7OPn/D7hsS9RZYTqihA/z2 us6frh0GReGWY/AxeCgCtVozoHzOj1wk1q0Ak/8p1Y6ClZIxBzoVYYh2tdyp4dyVq7VLo2PPINv 5e/YWGGjXKsWA7vgp/EdfAncEnHewKKqMwM1N39fk4n+rEncCKjs9nV0OPdo3KR8= X-Gm-Gg: ASbGncvWEOP/SRJMivJw6jNhMV7HK4a9MqCgefeQieUEqWvabuGUhGSeNZymlQVVmI0 52Mf6EKHEpiICcK2ra2Odu2KxefQ3GIhxEDT9eOULulApI6L4dyBoFVi1ruP7qwJohLRtgO0Ss1 hBfjo+G0euorxkqf7YCk57YkflS4UM3CkxVpjwMygBvvx2DeYNbjneMq0ypY3A5ZvzkwWxNYjjv QXGjhBlreQe85fWmgZLi03ZJMAOp5T7uVwXcMWRrSpbOgqHAkSiS1FnXFnPUirkGkR0gCeflMBK pMTxIXkj9G2BoJyJLYv+hsc1oKrL8X0d3b1PoTqKoRjGb9lzzBo1N+AKENJxp01TVw== X-Received: by 2002:a05:622a:148a:b0:494:b829:665 with SMTP id d75a77b69052e-49f4703eb42mr68702191cf.9.1748343564552; Tue, 27 May 2025 03:59:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEbqhUM+kngM9h8FOZPZbOSvqul+W4jdRKAgtAArw3nUiRXyCMh/+aUX7lcOuXcL6YHsU61/A== X-Received: by 2002:a05:622a:148a:b0:494:b829:665 with SMTP id d75a77b69052e-49f4703eb42mr68702021cf.9.1748343564099; Tue, 27 May 2025 03:59:24 -0700 (PDT) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ad52d44205asm1845574266b.100.2025.05.27.03.59.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 May 2025 03:59:23 -0700 (PDT) Message-ID: Date: Tue, 27 May 2025 12:59:20 +0200 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/5] dt-bindings: net: qca,ar803x: Add IPQ5018 Internal GE PHY support To: Krzysztof Kozlowski , George Moussalem , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org References: <20250525-ipq5018-ge-phy-v1-0-ddab8854e253@outlook.com> <20250525-ipq5018-ge-phy-v1-1-ddab8854e253@outlook.com> <9e00f85e-c000-40c8-b1b3-4ac085e5b9d1@kernel.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <9e00f85e-c000-40c8-b1b3-4ac085e5b9d1@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=WfoMa1hX c=1 sm=1 tr=0 ts=68359b0d cx=c_pps a=oc9J++0uMp73DTRD5QyR2A==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=dt9VzEwgFbYA:10 a=_VzbdjocUJMGqeFO5uwA:9 a=QEXdDO2ut3YA:10 a=iYH6xdkBrDN1Jqds4HTS:22 X-Proofpoint-GUID: ZIPIx4k7TuPkKpSqsGICvQh-Zhyry-vi X-Proofpoint-ORIG-GUID: ZIPIx4k7TuPkKpSqsGICvQh-Zhyry-vi X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTI3MDA5MCBTYWx0ZWRfXy0MiMlPoIlD7 6V67osKCGs58GmfcdgR6GTbFFA3QO5F3THUpFeQC78bIPSCVEtoGHRVPO36TEQ9IgnttW/F3Iz1 kiZUruxtX93KPEDIigbxx5fddItwA0xtdylkvzwBaec9vv1IkLkS3Lmqa7iA6nZtaSPK0IJ8O/T SDYvTovJj3WWEUaNi174ykNe1eunE9MsgnUJ3HWM7Z8LWsjPq7YPS5KSHcfVhIzBCf97w9JmpIM IDZStO41U2KiLMm12bPK5XcZ4JWoqnF6lYVV4Ng5Xmh1Ap/qJBQoOqHxh59OEOK4Hvm49CT2QLR MsM6HOYxmZfO4w+NPj4h+XPLVSk22TXkwleRwtH2xLFQQUM/116M8zt5I2dFnNaTME631dpRHPa mQGVbE07+lxO9WWbEzVYjbKXGepY9bFvMz21QhiF3LsLsLG54vrOddCNiYaZ0CPwMsFmZEtN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-27_05,2025-05-27_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 bulkscore=0 adultscore=0 spamscore=0 suspectscore=0 malwarescore=0 clxscore=1015 impostorscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505160000 definitions=main-2505270090 On 5/26/25 2:55 PM, Krzysztof Kozlowski wrote: > On 26/05/2025 08:43, George Moussalem wrote: >>>> + qca,dac: >>>> + description: >>>> + Values for MDAC and EDAC to adjust amplitude, bias current settings, >>>> + and error detection and correction algorithm. Only set in a PHY to PHY >>>> + link architecture to accommodate for short cable length. >>>> + $ref: /schemas/types.yaml#/definitions/uint32-array >>>> + items: >>>> + - items: >>>> + - description: value for MDAC. Expected 0x10, if set >>>> + - description: value for EDAC. Expected 0x10, if set >>> >>> If this is fixed to 0x10, then this is fully deducible from compatible. >>> Drop entire property. >> >> as mentioned to Andrew, I can move the required values to the driver >> itself, but a property would still be required to indicate that this PHY >> is connected to an external PHY (ex. qca8337 switch). In that case, the >> values need to be set. Otherwise, not.. >> >> Would qcom,phy-to-phy-dac (boolean) do? > > Seems fine to me. Can the driver instead check for a phy reference? Konrad