Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4693197rwo; Tue, 25 Jul 2023 09:33:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlFCwq8KhFX0bScKmN8vc+7KxwFDhirxDGd85NNYPXj343LPboJb5iFSIrgjyf3Mfxihf567 X-Received: by 2002:a17:906:77c8:b0:977:e310:1ce7 with SMTP id m8-20020a17090677c800b00977e3101ce7mr13989599ejn.38.1690302799690; Tue, 25 Jul 2023 09:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690302799; cv=none; d=google.com; s=arc-20160816; b=xbpiy8tKAmb02nbQEN9W5VLnRglFqWxhyUrkGqXniHLb+9XTUeJbHEjFwsZcgtZTqa MpwqngZTnGAnAnfaq/wE5GXYU5AUr4eeTd/wAN5JpXO+aDgETlmP/JqxJVwIopwwgTgL /ZWN9IUUo8aP4k1PNzdXjv5+Delr1i/oOfKSlY8xINqTmQiXjeMWwYg4BwbkTaFnAP8B r57jd5reX10FyKsP74+7YHFl2ZibdCBcggI9MYcPm5dxLub9UQo+IcultPisId4h5Cpq m+nM7l9Am2w6r1gIFHiPtiD1KbgS1qQnGXu7NwJwNGg6ONr4QQq8SOtV+QAm2JAWFGiA l5UQ== 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=NXqp2Hc/S76jGYiJO4wMI3l0RzXiRy/A22reiu1SWOw=; fh=DdVF+jg12jnBgVudidVwb6oEz29KBOXllE7XAsd4/Yc=; b=LCengBKOoRi5UE5uE6aprcr9jo9TJqkZQ1o7TS6/fizKyrSxuT6abVPUP+nn/umcQ+ skHT6u2Gvg5YB3eQF1dJF7epJ5qXAsl2brSzDf0QpF+B6eTdNE+Wm2qDVwJ6eHZCZTc2 //ffBB64I3mXaSJ4OdUWG4oaS8ReZa1B9ze5GKb2OEK7SxKW/tWEL6kLeVIA01FBVxPF rQXRp50P9wZHHAIpwBr49+vjSdq97+ijDrsZVYUGB7qHyuJfvVQ4M9hwVDREzWLiUQTr UOmVG/R/ISdcS9FWY9wmVWZCE8SJEL/AZo794rewNLQQ9bU8U5VbBdC/vOy0VtJAuryB ju2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JbyBladb; 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 ke3-20020a17090798e300b0098df1cbe2b1si8056785ejc.925.2023.07.25.09.32.55; Tue, 25 Jul 2023 09:33:19 -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=JbyBladb; 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 S232312AbjGYPxJ (ORCPT + 99 others); Tue, 25 Jul 2023 11:53:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231206AbjGYPxG (ORCPT ); Tue, 25 Jul 2023 11:53:06 -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 3075691; Tue, 25 Jul 2023 08:53:05 -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 DD2386606F9F; Tue, 25 Jul 2023 16:53:02 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1690300383; bh=oTwjKmbIzP/ICl+gGyGP/1DH20byUoeqWEtx/veTs3o=; h=From:To:Cc:Subject:Date:From; b=JbyBladbKjcskcYcNNABx1wJ/caoCgyx6Ixz11oqpXplKT3bjW0LG8kuPflsO/Zif renQs/CYIAVyKv7FcLymQrorKZxhcfIkkfx0njUNVb7la5dGVo5aPfPufXc2yHMnfx EXFgdsmcXTtePOR1ckYdS4t7Yhx8rKW99t/WYqbKmfVnhIKCvIhk1O1aCZ9kwnZlpZ rk8O5CW2Cspxzdr7jaEh1AfhMmA+UnY+6J3x+m2EZjvL14jcXV/sNyt+qeP4RFAWlt AEZ8UVITATGZDICbwaB/RkA4wvFERFsogJ1ew6WGVnnP1s8jtfAeOrfqFAmgZ1+Vnb 1fTcUIui7rA+w== 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: fix {tx|rx}-delay defaults in schema Date: Tue, 25 Jul 2023 18:52:54 +0300 Message-Id: <20230725155254.664361-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,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 The defaults are specified in the description instead of being specified in the schema. Fix it by adding the default value in the `default` field. Fixes: b331b8ef86f0 ("dt-bindings: net: convert rockchip-dwmac to json-schema") Signed-off-by: Eugen Hristev --- Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml index bb943c96c196..6d08260ad828 100644 --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml @@ -92,12 +92,14 @@ properties: $ref: /schemas/types.yaml#/definitions/phandle tx_delay: - description: Delay value for TXD timing. Range value is 0~0x7F, 0x30 as default. + description: Delay value for TXD timing. Range value is 0~0x7F. $ref: /schemas/types.yaml#/definitions/uint32 + default: 0x30 rx_delay: - description: Delay value for RXD timing. Range value is 0~0x7F, 0x10 as default. + description: Delay value for RXD timing. Range value is 0~0x7F. $ref: /schemas/types.yaml#/definitions/uint32 + default: 0x10 phy-supply: description: PHY regulator -- 2.34.1