Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5494150pxb; Wed, 26 Jan 2022 13:21:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqrAARRTOv+B+WWhNmPiiNV3q7jRGsaJWVV0/3uczbAJzCAie2bjgFed80pIYlCyd//kSs X-Received: by 2002:a63:3806:: with SMTP id f6mr573203pga.448.1643232112244; Wed, 26 Jan 2022 13:21:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643232112; cv=none; d=google.com; s=arc-20160816; b=KTLEoQSAWiFjS+EPAwwWb01n0ZmyJgXF83DteDszT1DZMpuAPM6ncCuDowrdfN03FH wiBYdfOf6u2Knd4rWVaZ+7HoI9CrK2NHNnTGGdFITgfKdfjUwSuzIASAJ1BRyKItEQ7A ns3MlQYJ0ZvcsbsUdIT0jg20e6thCa5pH0eskwbrWY8ShyUJvUNwGj3dzHrlD/lcbNDM zJ+zMmi2Crd9Ab+lVrya0yyGc3t8QSJcP9+w6MtBuD2m0bg3OPTIfWCBvxefBoDedDRJ 5Zsoj9y3WosoAHTR9Apw1Q0ymmOzFDgwxgP2E72SWB3lZuscPmdmtnGbHhHNC0W7zoeu haVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/5ue71kmL2h4LWcj6pXkYjWtIJCP5T9x8ay3aCSwqhM=; b=PwJPazHSxcSSenoTefDNbD5IAcQTcsmsmXRE4RVV3TXXew1+GnJqgONxfHiAVt0s/i 6AX6xNBYvNVyDflPb5/TvNldVe9+8q5+fonnutjTO5LF1D0+tEmumGMwdZdW/CYoSe8V DzSkmdX4WbxeGOlT5pkc+S8K/W2b5wWinrPiRe15lyuExbDLEicQBlsVnUQOGp38SMAN jhMWuYtnhhbAf61KJnq3h7IcO/M9jg/d19+0LrMPH+GEOFxbb/BAt9JQZKZ4XeGDMl+h FIfq+9WW5A6BkUe2J8+we9r8UeVn/CCmbOZjVgET74T0hkl5CaFUi3LXBjYBsv/RKgx5 9Tvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=mHueb7dI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si353176pfu.109.2022.01.26.13.21.40; Wed, 26 Jan 2022 13:21:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=mHueb7dI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240263AbiAZNg5 (ORCPT + 99 others); Wed, 26 Jan 2022 08:36:57 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:55466 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233208AbiAZNg4 (ORCPT ); Wed, 26 Jan 2022 08:36:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To: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=/5ue71kmL2h4LWcj6pXkYjWtIJCP5T9x8ay3aCSwqhM=; b=mHueb7dI9SdXd/Oaw8DN23GYUI Ycf5aktSYPmd3r6tdSdJragw4sKlk9rLDgZVU0oIW/Pw2DgAGTeLZ6tOgAQlD6V6wK2ud5tF9/vGG 8gJOY7iBfYVJ3HCZI9ETTpDxMOWpMsFvs/D2+QmT+wGm7hh6Xxt9dCvF70gRp7GOsIfw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nCiTk-002oTB-U5; Wed, 26 Jan 2022 14:36:52 +0100 Date: Wed, 26 Jan 2022 14:36:52 +0100 From: Andrew Lunn To: Tobias Waldekranz Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Madalin Bucur , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 5/5] dt-bindings: net: xgmac_mdio: Add "clock-frequency" and "suppress-preamble" Message-ID: References: <20220126101432.822818-1-tobias@waldekranz.com> <20220126101432.822818-6-tobias@waldekranz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220126101432.822818-6-tobias@waldekranz.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 26, 2022 at 11:14:32AM +0100, Tobias Waldekranz wrote: > The driver now supports the standard "clock-frequency" and > "suppress-preamble" properties, do document them in the binding > description. > > Signed-off-by: Tobias Waldekranz Reviewed-by: Andrew Lunn However, you could convert to yaml as well, if you wanted. > +- clocks > + Usage: optional > + Value type: > + Definition: A reference to the input clock of the controller > + from which the MDC frequency is derived. That answers my question. However, in the presence of a 'clock-frequency' property it cannot be optional, so -ENODEV seems reasonable if it is missing. Potentially you also need to handle -EPROBE_DEFER, although it seems quiet unlikely for an internal SoC clock. Andrew