Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6566363rwp; Tue, 18 Jul 2023 02:22:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlEJdOb4UhtUYvSdqpeHIAbXnXGux3qPHtUa4feElDBouQDUoYTepZLxRJv4tFPKYQzrM320 X-Received: by 2002:aa7:d88a:0:b0:51d:914a:9f43 with SMTP id u10-20020aa7d88a000000b0051d914a9f43mr12786098edq.36.1689672133583; Tue, 18 Jul 2023 02:22:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689672133; cv=none; d=google.com; s=arc-20160816; b=M3MZ79EdxIuOTa3Jwl0Wa0mwS/Ua1ZTRO0IooEFlYAFf6YbP1lKNjJlP4VPYenQIF4 MlY2/v+tSMTTEiJjQ9MqRn5lhqL7S35I8H4yPav2D9c3gQ+UDOkqMxAfafCE0VXEgBIx +ioAqkb4TK1ctqzliXathTpNdCpkeRgGV0hhfARNCS6Qffta3GopqiLCq25eNoJXyN6V 6WlmsW44CLNkHmmp2+tFJ+PFasAn5AwNnUFBWxT3EwxILVjDKIG+SnHYhm34a87ny30P iGmza2m80fPMJeCxRcoNWgkuTKkdRqKMYuEapyNquaFQ7uHDiO+SG8yt4/4WkKELTvdL PtDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/6a+tXFxl3r/5auV72BobxwkqzuxuuRZS1JxLDwxIno=; fh=DdVF+jg12jnBgVudidVwb6oEz29KBOXllE7XAsd4/Yc=; b=jiAd7PK6C/C1qd7PTMgB/Urpu9g5hZxQrH8Frl4eYK5kjPzIwm6YgfUVml8zDXHRb5 /hXJhvuv5Fvfd3bpaNhKHm6uSyM8dVD9ek85ZHghw85L2nX4M3qOAAKz3bZQ9sH+3X60 QCTsklNisU6V95n39xeDnLbpZQrdR3ShaKIUI8Zu2PwfwMRRphQoVZyM0cQdjg6dJj37 JPOrQztRmuMdBikqTafhiwtaE8zZe6iVaBbOJX9qGXgISXy9DYV0SKcePPX5VqeLoNx5 yQ5OksmdRuWT43xfBhPN94C/u5a/w1/xObM8cVnfLfMC+K4kLmNaE9r7M8ljr6NgLG68 gLsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LA3ZsJ3+; 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 n3-20020a056402514300b0051e56a4cccdsi922554edd.648.2023.07.18.02.21.48; Tue, 18 Jul 2023 02:22:13 -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=LA3ZsJ3+; 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 S231875AbjGRJJg (ORCPT + 99 others); Tue, 18 Jul 2023 05:09:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjGRJJf (ORCPT ); Tue, 18 Jul 2023 05:09:35 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0B02E4C; Tue, 18 Jul 2023 02:09:31 -0700 (PDT) Received: from eugen-station.. (unknown [82.76.24.202]) (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: ehristev) by madras.collabora.co.uk (Postfix) with ESMTPSA id 02201660702C; Tue, 18 Jul 2023 10:09:29 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1689671370; bh=LRgumKXnd6HM84mjqPVewOO4GAbvkbnnAGnSqH3ASMI=; h=From:To:Cc:Subject:Date:From; b=LA3ZsJ3+9vkedXXQOHUVhKKF9X4DaU/+cqVSkYFPUm3vYxLoFvr2h7SIFCwNPxCs8 BslBR6YzrSsk5soWRFYnoozpj49DLm5bY6IolMENAqGg4o5QOgrThCL8XjDVIrZ8HI rC05vfQ55eYePb4uM3gSwhywP8gYY83c9/hGiGFfgp3I1mxWsKEaogCAtVqZSDXhMt WTFhrm3tmVTR2eqvY1gOhlbmfpbMFQ+wFSfrYzst7sM79t6MaD8p2hs7fyOdX+2Kxx 2CvqLHepOq43ZHmJlaAJk5sS2pk23bkKSyOi7W7q2zAw3dCNpf0lD6p2kqu4kxuUpc i49kF5T8bgD/g== From: Eugen Hristev To: linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org Cc: david.wu@rock-chips.com, heiko@sntech.de, krzysztof.kozlowski+dt@linaro.org, kernel@collabora.com, Eugen Hristev Subject: [PATCH] dt-bindings: net: rockchip-dwmac: add default 'input' for clock_in_out Date: Tue, 18 Jul 2023 12:09:14 +0300 Message-Id: <20230718090914.282293-1-eugen.hristev@collabora.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 '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. Signed-off-by: Eugen Hristev --- Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 1 + 1 file changed, 1 insertion(+) 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 rockchip,grf: description: The phandle of the syscon node for the general register file. -- 2.34.1