From patchwork Mon Jun 27 17:07:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 12896924 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 53A9DC43334 for ; Mon, 27 Jun 2022 17:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iyC+x7gwa+J2KTVKXs+9yltvsRb9rWkMSARaq+R38x4=; b=ep9eUXJekyFwpM wXv8J2FAUF440nuypdWEvyW3SveYDQLvnqMzuS5iGvNeDVqZ+ouQsi6bl7eghnCNYAc90XorSdqLi dHrPGGjz1Ye36GtSsZkJgRxA9SzjSN9ZPq5VTDaXoODOP/VNKEsgs6d7vQCzvbmmR0trLBETg+FcP I3hW7utms78Y7FKXNnWCAqL+Q8fk5U/8pKFAi2Hqp8hB5OAxKpWNw2gjI0NxeBmyRLESaWMPIFH/n 7IYqd7AVgWQq4sQxcQVG7Qy7joIiUWUJGl9cRA7nMkMY0ojKKurY0sXkKWjLt71Qu3KgGOssgocgE mJSdWTlyKuypHIEe+10A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5sGA-0024jD-PY; Mon, 27 Jun 2022 17:10:50 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5sDN-0023Ip-TW; Mon, 27 Jun 2022 17:07:59 +0000 Received: from jupiter.universe (dyndsl-095-033-171-114.ewe-ip-backbone.de [95.33.171.114]) (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 50F71660184F; Mon, 27 Jun 2022 18:07:52 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1656349672; bh=8EUZhSokoUy572fOzha939IV7xaBmGQX0rZAPrDlbp0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ANSQI2d3dDVsTENU4yz9KnX6IyapF886hc3bNee50cTvzvW4uz5psj1pc846U17Mp rRQF7kz5d3J431CQN6ekI7F3dcuKVbrHjnx8w0RVy2cSJSFD0MuQJ+ZRBPHkRLRVRW MG3TJqHqrtd+jMOgvE4djCmcniT/QyKccSNKfDp2y7ykBTfqnIpSxhgP9tKnkZ9wYR SjbdC61WEhFN91i2jyHp4LQEkfTui9SEH8oNdvJ0ciyKYy2DHl+IPs0OSXOO78EH8E wu/+uIEyV1+buqFV7/uK4Gq/r8Mkz5smpitCxRFQeHKskCiWEA1clj0Pj+zNOnwVIO QprgLnnJfr2eA== Received: by jupiter.universe (Postfix, from userid 1000) id F0F1448010C; Mon, 27 Jun 2022 19:07:49 +0200 (CEST) From: Sebastian Reichel To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , netdev@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv2 2/2] dt-bindings: net: rockchip-dwmac: add rk3588 gmac compatible Date: Mon, 27 Jun 2022 19:07:47 +0200 Message-Id: <20220627170747.137386-3-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220627170747.137386-1-sebastian.reichel@collabora.com> References: <20220627170747.137386-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220627_100758_125722_0E7C7753 X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add compatible string for RK3588 gmac, which is similar to the RK3568 one, but needs another syscon device for clock selection. Signed-off-by: Sebastian Reichel Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 6 ++++++ Documentation/devicetree/bindings/net/snps,dwmac.yaml | 1 + 2 files changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml index 083623c8d718..1783f5eb9e50 100644 --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml @@ -25,6 +25,7 @@ select: - rockchip,rk3368-gmac - rockchip,rk3399-gmac - rockchip,rk3568-gmac + - rockchip,rk3588-gmac - rockchip,rv1108-gmac required: - compatible @@ -50,6 +51,7 @@ properties: - items: - enum: - rockchip,rk3568-gmac + - rockchip,rk3588-gmac - const: snps,dwmac-4.20a clocks: @@ -81,6 +83,10 @@ properties: description: The phandle of the syscon node for the general register file. $ref: /schemas/types.yaml#/definitions/phandle + rockchip,php-grf: + description: The phandle of the syscon node for the peripheral general register file. + $ref: /schemas/types.yaml#/definitions/phandle + tx_delay: description: Delay value for TXD timing. Range value is 0~0x7F, 0x30 as default. $ref: /schemas/types.yaml#/definitions/uint32 diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 36c85eb3dc0d..b5aba399ca5d 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -72,6 +72,7 @@ properties: - rockchip,rk3328-gmac - rockchip,rk3366-gmac - rockchip,rk3368-gmac + - rockchip,rk3588-gmac - rockchip,rk3399-gmac - rockchip,rv1108-gmac - snps,dwmac