Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp394177rdb; Thu, 8 Feb 2024 08:51:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiS1ZjpYPESjD00YyKodyEfFsnHRHDBTFFA5ARTD37nxSNz5ZXBynQOmYXVXSsvuGu7mwn X-Received: by 2002:a05:6a20:939f:b0:19e:a9c5:2ef6 with SMTP id x31-20020a056a20939f00b0019ea9c52ef6mr199863pzh.2.1707411070256; Thu, 08 Feb 2024 08:51:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707411070; cv=pass; d=google.com; s=arc-20160816; b=LOqpmzgOGJn3yejpZ91cMjnsd19J6N82b6I0qGeweqTsFeD7ZnvtVD4zbaA+h4DLpH d3d1HWGlpGypFZoM5f+u/Fp2++RluSXNGIOUy1YC1wgE/RdcCjZDIs0sO/55D5Wsb2XW rrt9RoDNban1gqrltzrLEmczwFoKo3N58UJApQKm0LgVWhIRlbUDbG1WiXDCLVWWuA9x J8/1hpG3P0CVZOoXuVX6TyasoNV/vPQ5IX5CovvVHDnSiC6AUFKqVQXJ3sLq7hY6LKKU 3fN8QmMXwmQxZ/jAG4kPxIJXzRQJ+B1Z3EH+Uoep03d7/5brs0mPGiCGyR5OQpGYto0X sobA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VFlLZXO5D/bkJdcVm5PdbHGTQa3JUoin3uH1z/Cctyw=; fh=sdtrGD1XqTZPIdA2TQQ0toRkKgy3q4LLwX5O+Z6nJhQ=; b=bWadsdaEU3DvFYmkeKYM5WEd3H4kMfGGqxCIjOALRrKFYt3HBCX5Im6gFD5saKzTQF kgM+e/K0C3u61NPrDVUeHye0+TJUXHaTtyHRM2V4o34tmXUa8PzH+QSMOlnDE9zZihcc P3H/589Vh8eK/wUoMM6TXHtRSt9af9DnF7JcH8r1lyqP5gjMJlCBvTxMCJ2QP6P68ioP 6YpUSZV8h8gvmB4mquaUCVRuKXr2VrC8c+pLLk81Yc2BSXAlj5dmf+JyrV0CQz4XOwk0 SvUGieS/T2UPnPvc3ZdOWS5ee5xt96qEfQZMzOUQWMxcpRldQhPJnoRun3Yw393keOXt k4zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=p+yzr3Te; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-58376-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=2; AJvYcCVH1/b0FSdXnglUd4wAqygAsgbeY4ZAc6bvlloEjEcWS7+QRWHKt4/cR6ThW713vAH2i2OgEp04ZJPtvGidDM7FEY0dn77dShS/FSZyWQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f20-20020a056a001ad400b006e0465879besi348234pfv.155.2024.02.08.08.51.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 08:51:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58376-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=p+yzr3Te; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-58376-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D39E2281C7B for ; Thu, 8 Feb 2024 16:51:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A7FF7B3F7; Thu, 8 Feb 2024 16:51:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="p+yzr3Te" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 EBBC12033E; Thu, 8 Feb 2024 16:50:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707411059; cv=none; b=h02Ea78dOL9w8SM04bkZfHDRf3O4N3BSlykX5FTWLxsYZbywv3WXoSP+nfzjfU34t3yJ3kYMpOCTxmmc2Z7HF3imXwqqZQs9rFL77tzP/ZOzgVEKFnXmUr1cTLYcE9gTamgHxgojkXs4jOmwZS+Dz/Jth4f3pDNtWl2CTAAmLP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707411059; c=relaxed/simple; bh=IpTWOJ7jw1jce6Nm7HL8Rn2M6zfevU0umwNI6t7pqKw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lu7qrmHmyCzuMNBl3pQhWcdAeWq3j7S21HO0RFUWLRrhXbeXJpYAcmCCseVhSoUtgVek2LwOq/L+jgEt2aPUq5czvSXQPk9GnKJy6oG7WRB17UhdcjZ4CqVkMGa90d+2iiIz7GEXMTk+g382FiR+n/F/Y9SAA7gF0TxEuX9H0Dc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=p+yzr3Te; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=VFlLZXO5D/bkJdcVm5PdbHGTQa3JUoin3uH1z/Cctyw=; b=p+ yzr3Teo7i/V4oJ23K8x0SfIj/Ve6c2Orr5VsA+vT4e0YQGaeW2NHntnqOuagBU34EfK1nqlF5dRD0 rjfSn/QHulJQ9Oj92l7vtFtch205J0Ln+maSyR0JE6vV24GNNbwCxnRv5WiRPU1bSkRq8jKIw8cEx NsbQw3SFlNBPHVk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rY7bq-007KKQ-AL; Thu, 08 Feb 2024 17:50:46 +0100 Date: Thu, 8 Feb 2024 17:50:46 +0100 From: Andrew Lunn To: POPESCU Catalin Cc: "davem@davemloft.net" , "kuba@kernel.org" , "pabeni@redhat.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "afd@ti.com" , "hkallweit1@gmail.com" , "linux@armlinux.org.uk" , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , GEO-CHHER-bsp-development , "m.felsch@pengutronix.de" Subject: Re: [PATCH v2 2/2] net: phy: dp83826: support TX data voltage tuning Message-ID: <71efc6d3-bef1-4c2e-aa6c-195e26f791dc@lunn.ch> References: <20240207175845.764775-1-catalin.popescu@leica-geosystems.com> <20240207175845.764775-2-catalin.popescu@leica-geosystems.com> <4dc382bd-3477-45cb-8044-fc5c2c7251f4@lunn.ch> <145e1c28-af2b-4aca-9fd3-f9d7a272516c@lunn.ch> <68f0b7ce-6c77-41b2-9749-1cd8f72c253d@leica-geosystems.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <68f0b7ce-6c77-41b2-9749-1cd8f72c253d@leica-geosystems.com> > Now, I understand your question ???? > To answer, DP83826_CFG_DAC_MINUS_DEFAULT will indeed leave the register > unchanged. However, dp83822 driver exports a PHY callback soft_reset > which does a SW reset which actually has the same effect as the HW reset > pin according to the datasheet. Since the PAL enforces the call to > soft_reset before config_init, in dp83826_config_init we can rely on the > registers reset value. Great. Please add a version of this to the commit message. That shows we did our due diligence and we don't expect any surprises in the future. Andrew --- pw-bot: cr