Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp43871ybk; Tue, 12 May 2020 14:53:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1yOEix8YKa7G24M+wot1qLdqPTJj7ASL7ZNLkM0VJCoRTqfK9H/PVw6xTcxt0tE+Ac093 X-Received: by 2002:a17:906:5255:: with SMTP id y21mr1504816ejm.306.1589320436902; Tue, 12 May 2020 14:53:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589320436; cv=none; d=google.com; s=arc-20160816; b=aSnC/FhOAjdvhf4WJeEo3VkKvpSEbysUoTgBjopOMR6iSY0sMTbgcQo0KlkjRy4ERP 6VxHrFRGESGU3wgLoW3mGCW52j2mqgUyVwRp1+u0MDvna4W0nGpDcOFw+4/r+LrPEWOE LtEbdMw0y+Rir8LM4fDpBNqrFnsyi3YaWd/PpxVg+LFkl1hOlpdKgaNLLHDD0KwB56VO vnLwwU4+HnCkAJRVhS1GoqvvypEu4sdjN3Foljtw+C6D/w+W13/BhysGFktVOM0VQdPL BNTbIbbWcjxxT1WM6EwvZSYNbXxg7RvjKAYbg802XvgNepv7LWwvROPA8AUA+qdWebRU t9GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ML06J9nAXnrGfb8Sw/sNjsFqqfba47oOWTFdhQokhaE=; b=UwOgYJV+gDt8I/mi3pBl5hFgEQtXMhRrdWSD+Se8dKw6NeYOLHFpfgF5oYKErCA4OV +bZwG9mhuCSPUMuuJG39uZNc4eo3VxbbldXQ62+8mLxILdFRKxCKkm9zBCp4tUiAFGWB 88sQuUoZHxXObg+seYcuUaKWBEx7O1Q0uY2T8L4GlzsNjLMNzKrlM6nks/vwA6EKdot0 QY0m6kuqMHtZ+nSlQOMHfphbWXRPHNN0vZ4TdY1hAKxo+OBnJWq8FDlQK7CLYKZjjYGc Ta2WjF4xEdpOHPDl5tbhwADFQ1lt5iOflWcs+fwsNuso2g2FW+5kgJijGGoUjZQ3JMZM vzjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=sqqdAXK6; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n24si8691150ejg.142.2020.05.12.14.53.33; Tue, 12 May 2020 14:53:56 -0700 (PDT) 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=@googlemail.com header.s=20161025 header.b=sqqdAXK6; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731426AbgELVwA (ORCPT + 99 others); Tue, 12 May 2020 17:52:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728313AbgELVv6 (ORCPT ); Tue, 12 May 2020 17:51:58 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4215BC061A0C for ; Tue, 12 May 2020 14:51:58 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id m12so19121996wmc.0 for ; Tue, 12 May 2020 14:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ML06J9nAXnrGfb8Sw/sNjsFqqfba47oOWTFdhQokhaE=; b=sqqdAXK6AKL3cbZ99XKBs8vbhtAITOFn3FP5urm5A9+m+E3vBxCyHzDePpPHKg5vjj LKHfYxs290ihRp1p84MmSSxnUVV+ubgjKVy09HRPONVXw0pyP2WdpBV9fuMZJQ6eh4Nb LNH67EVYxVFhj36nWZNsIAr4MZUM4VCo45Ypo+0r/hjTilR1SzePTzQQ+oG9lLx+Bxyj 7A8pjPfgVM/UuTmXTFVyqFug0Fsz7pvFsKcr766wVUk2+i3mCLqXYuCxyFH8CKCdJ+Xg CVDq61GKy/MdOLe54IBiKfX/yfXceGudA3Bmz2MbI7+HQk7Dz1MSCMhukgmoc1n6zJ/e A/HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ML06J9nAXnrGfb8Sw/sNjsFqqfba47oOWTFdhQokhaE=; b=Y++yaIswIK8qX57WLshUwMc8IJ/zqvARQVT3XOtw/L6e/LeQPqClNQvoK5ZmZSI4ic WqhMJhuy4TDGFPDqKWnFPHpKKyPUc01qlpQBFv/N8K9sdlU2oBuw+2jDZjKWIUBMxP6h +EUH2hUabP+8HPUZOJOiKHprI4UA9GkD6sYnwqXtvX5yCmOtoT4hFKhb2fwjoQ5FEJRK w4WxjDg+aMnqr/V8cfAb0ajHbfzzE90jEvRMcC7vNv4B7vZdcgEOFcmBBqR7UiybJ8lI iY8xhMV5Y0mdai6hFkSsKHtXsDCISvnrHfmJR4lgcu/E/RL6BNQ0cP0IUPxYrXOLgPaB l3Qw== X-Gm-Message-State: AGi0PuZiProtNMlXHR0IDoPxm3Q0sLM32yxaDxKvPcTCFCv6kyeyxep3 ilolahSXfWFsla00b1SjCKU= X-Received: by 2002:a1c:4d18:: with SMTP id o24mr37244079wmh.141.1589320316956; Tue, 12 May 2020 14:51:56 -0700 (PDT) Received: from localhost.localdomain (p200300F137132E00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:3713:2e00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id d9sm9154234wmd.10.2020.05.12.14.51.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 14:51:56 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, Martin Blumenstingl Subject: [PATCH 1/2] ARM: dts: meson: Add the Ethernet "timing-adjustment" clock Date: Tue, 12 May 2020 23:51:47 +0200 Message-Id: <20200512215148.540322-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512215148.540322-1-martin.blumenstingl@googlemail.com> References: <20200512215148.540322-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the "timing-adjusment" clock now that we now that this is connected to the PRG_ETHERNET registers. It is used internally to generate the RGMII RX delay no the MAC side (if needed). Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b.dtsi | 5 +++-- arch/arm/boot/dts/meson8m2.dtsi | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index e34b039b9357..ba36168b9c1b 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -425,8 +425,9 @@ ðmac { clocks = <&clkc CLKID_ETH>, <&clkc CLKID_MPLL2>, - <&clkc CLKID_MPLL2>; - clock-names = "stmmaceth", "clkin0", "clkin1"; + <&clkc CLKID_MPLL2>, + <&clkc CLKID_FCLK_DIV2>; + clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment"; rx-fifo-depth = <4096>; tx-fifo-depth = <2048>; diff --git a/arch/arm/boot/dts/meson8m2.dtsi b/arch/arm/boot/dts/meson8m2.dtsi index 5bde7f502007..96b37d5e9afd 100644 --- a/arch/arm/boot/dts/meson8m2.dtsi +++ b/arch/arm/boot/dts/meson8m2.dtsi @@ -30,8 +30,9 @@ ðmac { 0xc1108140 0x8>; clocks = <&clkc CLKID_ETH>, <&clkc CLKID_MPLL2>, - <&clkc CLKID_MPLL2>; - clock-names = "stmmaceth", "clkin0", "clkin1"; + <&clkc CLKID_MPLL2>, + <&clkc CLKID_FCLK_DIV2>; + clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment"; resets = <&reset RESET_ETHERNET>; reset-names = "stmmaceth"; }; -- 2.26.2