Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp956089rdb; Fri, 2 Feb 2024 08:58:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzaB0mHxMLkhCSApKtPoNuuZ9iOoO2wLtpgpIFtZyrYsc78UmNuivM1Hp/j0/ZMqOoIDgA X-Received: by 2002:a17:907:7882:b0:a37:23af:f9bf with SMTP id ku2-20020a170907788200b00a3723aff9bfmr852618ejc.40.1706893133447; Fri, 02 Feb 2024 08:58:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706893133; cv=pass; d=google.com; s=arc-20160816; b=LQWEpbO2+LgVcZgTHdekzWTh99SZ9c12he6JEAxyvt50ZrRu2nzRlonCji/xnt4dV6 rshwNK8RvamlPO9kaMikFZSeYLRbJjBynh/5e4XVgb1Sil0QXtH/HYE9RLSUvoM5b4y2 sJ7N63Baswgy37Qn/iLkpuo4N1Vm8Cy6CbTw1OaiLXPeI7yM4DK6q5ywIGPyYXAu5nv4 o2ZggXbz9WvL8HBZp+bjfHgD2gLNsxJ0eD5XG/RegqKE8fo8YyhLKvPkvHtGXw5Kb/nC HYsz12We0fD0HXWp/KEk+ScRemkBaCbLRrsjrsfdJeCFzw+eHtFSMkuaYnycQK20occw XLwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xLmWyK3hRvKsCeRSq8pypomT0im9DiignN1kTbvMcrk=; fh=YMFGbzjyToHKXD0cHXRutiWjByFGru/I9gqAbsrUnTo=; b=FdC8ieOZLDe//Nq60VC0w8I0Q49SOCTnPC5c7Bi0AfgOoxFIKrpNMAYeJmQSukSujs Ml0+WVtMJEDdofEZwmYkIw8hrMxg2mk3M6syHkNTBBGgUCtEFuHzGnIA4NS9rMjl8UoS Nokf7/pp5y0d7lVrwpVmHuXyAfvR0bOkQwYtYH3ufQwshO7wN2fwXw8yrleQZDeyhELr i+JvvWEAS24OG+HvMdmU3JIdcvw/EWA9vS8E2lGyS2FPUzBeeCUo/dpuwhjqJJuSVqjF u/ocpEXI4mniVfZn16uJ3CkA1K0Q4BgaxTufW14QnVgiIAEC1tCKzCuh0STIMvVXVDlA C5HA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xk3JHPK1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-50187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUGMhv7IPw3MIFEPQsElmmD85QuOzjD1tvuvA8cycPWirqrHNc/u/MI20/5bty9w74qgPF98bMFHZSOmr7QfRdZpJVR5R7JurPC3wyZVw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t20-20020a1709060c5400b00a36695e60a0si967534ejf.640.2024.02.02.08.58.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 08:58:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xk3JHPK1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-50187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 33ED71F243DC for ; Fri, 2 Feb 2024 16:58:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C836114A08B; Fri, 2 Feb 2024 16:58:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Xk3JHPK1" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DA2E023BE; Fri, 2 Feb 2024 16:58:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706893119; cv=none; b=AaiQgp1RBimlsRAg9OEeowlPKQB7aC7o2rBYLUXFEwzM7fuZ4BhYTzNOsZ6R+a5V4Xr8bha0IGtE+CttQr73/r0eO9E0XyHaO3I++7rFmlc6TCRVTH8NlJRb99fYnaB7sXuc2cvaNl9FKkkevMFCv+J5cLT4ySAkCHwwFtyuxe4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706893119; c=relaxed/simple; bh=LH+trp+KZItbwSJmSPY12pLjo+Wsr9tUoiXQ6/C7tJ8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i5KeZI2HZmLjnXlzjBjdz8kfcC64aj0Z61ApQ+baTQm+t41luf0Afejw1DNulc2ARI2rPJl4POL0gnveEgBTr7lNQ9i5BqX7oZzM5q8DylwoSq1EaREg1mL9rw2tBBefywW++ID/eHitqaRjS/ZTssMESDp5pNkWDnpNmbiediA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Xk3JHPK1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71753C433F1; Fri, 2 Feb 2024 16:58:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706893118; bh=LH+trp+KZItbwSJmSPY12pLjo+Wsr9tUoiXQ6/C7tJ8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xk3JHPK1ZB+t0LRPUoe+3rFObXyreLE5gOpq8w8eYKqMU0I/DpKgynQcilh1SDk5n FRpms05V+kySq4FIP87xnxf1M7HkhTFp+7Mxhr1VMJiAH1h7pvsEphqzIKu2UOIh+h XYenUNCBq5Hw4Xq3HY+csWhhC4CUTj7Cf1AoyuZIL5tAPP9gH/SOocnXQDvX/hul9c G7V5M7WvbcpY1nOj6aIkJx2kojHpKFN0vCpZFMRt+RJFzaJQehkHrEDnOQIajP42M4 gTqRb7qEG5uI6p0/jRXt5NNJvkqhK7TFBGz9HHFktEev5lF4anJcJ/1l36/7AgsZAe 5cvwQdQCVYrDg== Date: Fri, 2 Feb 2024 16:58:32 +0000 From: Conor Dooley To: Christian Marangi Cc: Krzysztof Kozlowski , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Andrew Lunn , Heiner Kallweit , Russell King , Frank Rowand , Robert Marko , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [net-next PATCH v5 5/9] dt-bindings: net: add QCA807x PHY defines Message-ID: <20240202-absurd-guidable-527a3f3147bb@spud> References: <20240201151747.7524-1-ansuelsmth@gmail.com> <20240201151747.7524-6-ansuelsmth@gmail.com> <9933685a-5265-467e-aa39-d2c92a12edca@linaro.org> <65bd07f7.050a0220.e8e5e.9e28@mx.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7QgArvBGeLGdMaMK" Content-Disposition: inline In-Reply-To: <65bd07f7.050a0220.e8e5e.9e28@mx.google.com> --7QgArvBGeLGdMaMK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 02, 2024 at 04:19:15PM +0100, Christian Marangi wrote: > On Fri, Feb 02, 2024 at 08:41:56AM +0100, Krzysztof Kozlowski wrote: > > On 01/02/2024 16:17, Christian Marangi wrote: > > > From: Robert Marko > > >=20 > > > Add DT bindings defined for Qualcomm QCA807x PHY series related to > > > calibration and DAC settings. > >=20 > > Nothing from this file is used and your commit msg does not provide > > rationale "why", thus it does not look like something for bindings. > > Otherwise please point me which patch with *driver* uses these bindings. > > >=20 > Hi, since I have to squash this, I will include the reason in the schema > patch. >=20 > Anyway these are raw values used to configure the qcom,control-dac > property. Maybe I am missing something, but a quick scan of the patchset and a grep of the tree doesn't show this property being documented anywhere. > In the driver it's used by qca807x_config_init. We read what is set in > DT and we configure the reg accordingly. >=20 > If this is wrong should we use a more schema friendly approach with > declaring an enum of string and document that there? Without any idea of what that property is used for it is hard to say, but personally I much prefer enums of strings for what looks like a property that holds register values. That you felt it necessary to add defines for the values makes it more like that that is the case. Cheers, Conor. >=20 > > >=20 > > > Signed-off-by: Robert Marko > > > Signed-off-by: Christian Marangi > > > --- > > > include/dt-bindings/net/qcom-qca807x.h | 30 ++++++++++++++++++++++++= ++ > >=20 > > Use filename matching compatible, so vendor,device. No wildcards, unless > > your compatible also has them. > >=20 > > > 1 file changed, 30 insertions(+) > > > create mode 100644 include/dt-bindings/net/qcom-qca807x.h > > >=20 > >=20 > >=20 > >=20 > > Best regards, > > Krzysztof > >=20 >=20 > --=20 > Ansuel --7QgArvBGeLGdMaMK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZb0fOAAKCRB4tDGHoIJi 0utUAQDk41YOhs1sjqAy6bFX702DP85otH58BZUsZ3NwVbEwTgD/Ysf9qMXV5PBc uT2MM+l5vuctHqVwqJMcOHmlkwxKngo= =LyYE -----END PGP SIGNATURE----- --7QgArvBGeLGdMaMK--