Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6607640rwp; Tue, 18 Jul 2023 03:11:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlFd7cmH1FJZAR3sGpo9CEk+7ylxsBGoUDIeCIB5fPjLJQhLrrRHX7NHK0bLsZJeU5qHYvVo X-Received: by 2002:a17:902:d4ca:b0:1b8:936f:c346 with SMTP id o10-20020a170902d4ca00b001b8936fc346mr15822649plg.30.1689675114750; Tue, 18 Jul 2023 03:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689675114; cv=none; d=google.com; s=arc-20160816; b=a2/JpIUBD1WOReT3ugAPXmOfa4xE40qKPyKhfIcrC2uUcXBePYSABA5PU67O/CAy2A EI2UC+N+9cVuKhVWmaw30WA8yVzVwxBXmIo+FkG4/9je2ESVi6CqwO5BToh7N6jAC/jA T3TKHdZJ1guoEQnZ3JNwmAh/Trx7n95MVovWmWAeBSTc6q9S37ItLfL6xTvLk3T8dWMP 4rgk4QTrK7z79J41+/v/ugTOOTh7+GxaafPhctuuhKGvzjAInaFo2oI5wRldIwwYG8k4 ICAaWONSSw0GrrwmcULs6jmwRmI2paEJW2cTPGfunc+nYj+vAw7/Bl89fLcrqFwKfnPh tZLQ== 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=SKDO8fLABEy4nIQ1F8M+WG1j17Tp8D6xm4F5bsxJbUc=; fh=0+UI8qy/7JVYxX7Acps7fAn3M/QXLqq50a0tT8xoA6c=; b=aKPOpQmTZQunIzKrueQD1Xwy1BHhx6cLVypsDMaqgkdmgulZhFMKgazpcgfouGtnoG 9x66cF8k9f4N8QkF4/QRau0TXa0vwYWZ6LWZPtqbwRGRlyNMOKngR6EbzhdN4E4aAlX8 1Ne2LLOEe2PljthAaCalxEZIZwVU39djUpb33XlJW3McO/Pi0o95WWRBkcI37zjmCKUz 2k1AFSZ9QrgTwrF3emPznuElokDYk5cP50wMeuOE9qn7pGs4YJ6LmC/aVfhtZq6fqQyG GBsEt/QmQAXmcz7rLHm6nVAV823Z0lytQcpU2mUMsZEd0UFxYReVp7MPHKjiYLmSeISG Jo3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OfHkRS1F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a63e855000000b0055fcc0c7a0bsi1321368pgk.847.2023.07.18.03.11.41; Tue, 18 Jul 2023 03:11:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OfHkRS1F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbjGRJeg (ORCPT + 99 others); Tue, 18 Jul 2023 05:34:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230479AbjGRJee (ORCPT ); Tue, 18 Jul 2023 05:34:34 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79C48E0; Tue, 18 Jul 2023 02:34:33 -0700 (PDT) Received: from mercury (dyndsl-091-248-212-239.ewe-ip-backbone.de [91.248.212.239]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id E103A660703C; Tue, 18 Jul 2023 10:34:31 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1689672872; bh=pDdoHgD/R4j/O2UCXvRlSSP9z0NmI3OdmRQNP6aFg30=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OfHkRS1Fnn2sxv+9ZYTgwkAvWjw4/zzVsMiwQ/4Gdpil0vhSHhiMpF70TpvqNPRCx czb43+nlO876FJId7eHvLkuwNv6XEl/S6KOT68IL8Fcjnob0znAhqOdrmilUseyPyF paXOpv93DV1txJfP089cQv2Am6jjhnAVapnajoZwekrfj1bT5eewHDaFZdM48oGVCb MlzuY8rPaDY4UWxlhgVSFcwKUIHazMS5FFU/t5xQm3nWKJohWUUxGqAPjvowUioQnp R8MdzbuPa1jyx/Jq1SGdRLfQ79aIynMdmkAoX19cfJSVUhqrUNCXIZF4bSACbuGZZY /zsNQJjMMkXLg== Received: by mercury (Postfix, from userid 1000) id EEF551060D95; Tue, 18 Jul 2023 11:34:28 +0200 (CEST) Date: Tue, 18 Jul 2023 11:34:28 +0200 From: Sebastian Reichel To: Eugen Hristev Cc: linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, david.wu@rock-chips.com, heiko@sntech.de, krzysztof.kozlowski+dt@linaro.org, kernel@collabora.com Subject: Re: [PATCH] dt-bindings: net: rockchip-dwmac: add default 'input' for clock_in_out Message-ID: <20230718093428.ofld4ywhwbpmnw5w@mercury.elektranox.org> References: <20230718090914.282293-1-eugen.hristev@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p4uagyzg7ikm4k3p" Content-Disposition: inline In-Reply-To: <20230718090914.282293-1-eugen.hristev@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --p4uagyzg7ikm4k3p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Jul 18, 2023 at 12:09:14PM +0300, Eugen Hristev wrote: > 'clock_in_out' property is optional, and it can be one of two enums. > The binding does not specify what is the behavior when the property is > missing altogether. > Hence, add a default value that the driver can use. >=20 > Signed-off-by: Eugen Hristev > --- Reviewed-by: Sebastian Reichel -- Sebastian > Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/= Documentation/devicetree/bindings/net/rockchip-dwmac.yaml > index 176ea5f90251..bb943c96c196 100644 > --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml > @@ -80,6 +80,7 @@ properties: > "output" means GMAC provides the reference clock. > $ref: /schemas/types.yaml#/definitions/string > enum: [input, output] > + default: input > =20 > rockchip,grf: > description: The phandle of the syscon node for the general register= file. > --=20 > 2.34.1 >=20 >=20 > --=20 > To unsubscribe, send mail to kernel-unsubscribe@lists.collabora.co.uk. --p4uagyzg7ikm4k3p Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmS2XKEACgkQ2O7X88g7 +prE4xAAmh5G/otIOOGE3B28pMwGVdmjdOwa1BRNEfNCHvSeWkh12GQ+Eswe5kqG BSB2DE/QqMNTqcrBTOlarZ0BWEMGKnWlpm2W0cBzDHro9ASDyikGy5MyNFtb6Pa2 kc8L9JGhZB8NN/GD+qWLTnkg0HB056GGBcZF4pediWVSjJERDM8WXEVkEMjxARa2 PRMpAknIO5kZpHzsekietpLOW4RpfuYCiVVmnCQpURUNK0FH3+la4hLWjvzuiEcM rUyTJ9MZwx73KEuKDrCPhRfS8bk6gC+QwSbtjTiIn/ZsUOWbcz0ovkzSpEg3ytrM pwLOCNM127Pvhitp9hV3lqad1yn5cioVfM4lmHjBNKxGxBPdQdiFBVWlczWT//p0 Mg90MJtmkWMqF5OzLQ5UZhRS9Vf9rFROwnrGo6Pl++zAzIesUe62+oSvv2hMo/XG 0UKo1Xwnl8edOORpjuSMtHbyJXIcpQ+hXRF+C21gZT268wWmxC6mBJi5r6Iunp/I uxqYNAxd3Jtd4Kq3D8omE6f0fewzQL+t4cegcKqEdngl9c+a8FwzkEOHa2RDRReB 1t6XWKsHbgRbrWjt+PmatvnN8Ei/V4gFszQSIWYMhalviQCwqcqBqDKOi33kpFfh OZFltVUI6Fj1SZCMsAGBaozAXQ+FZF73haMosgXiWPUwQmr52EM= =9u/K -----END PGP SIGNATURE----- --p4uagyzg7ikm4k3p--