Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp526424pxb; Wed, 3 Mar 2021 08:54:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH+0iexgv15DGkNhXLqINcGCRF7kwBY1xlPPZgJV1K61UVC2GXGf6KAS3ICozv13o556RE X-Received: by 2002:aa7:ce1a:: with SMTP id d26mr208199edv.206.1614790478090; Wed, 03 Mar 2021 08:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614790478; cv=none; d=google.com; s=arc-20160816; b=wffUM00aUUAJFc73yBu+rHKMKwvI8+7oaGtEpbPq0IMZZKcBTfePNpUifkboZTD+wl ag3uyLBJCduBcWJACAbNEyWO5KytQSr8PaHI6bb3+RRDULSIEkzDPyO3qDvF7bEVeYM4 9Fjfky336aTieo1+Z2ammoTldX1dNH1IgdYtn+T08ssZVdpcnM0i4BY52HxEyCV9Gi8l 8ey5jhH+IiVa4UE60yllYKDYLCEeUW7xfWvyGO7py1puL/ETdSx9EKg/VRGPNznRmzyH oOX5Yekyfv8AXrgd+mufwhjowRWsaTMQAxL0WaJqqpFvks52mjRbs+0PhL//ganE1mWp q8rw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rgxgTCN3CVjJfVvbk6yxueO0BlS+dI8EbA7pEKdukdc=; b=cE+U7BGohTuTCEaxZs+a6j9Q8GatfSPTKG1MupsnVCo7+7nQSJRZPtlCFF8EQoxniU KWvR+o+t7Qw7/UdmdndNp4sBDHRBogJCPoY2GoIrWvDgg8tpyG4HP92dQEbHWhryAUXt C8OOku6YQ8oJj6h7E8WF45QVLdG8jhwyvudJEXPZbMB60r+UxVWylXO8GBffwMaMeE1A LHm3A7aaTwbhTdn1HY59IRXfQU9yjhC/r7p10yQdXW6SCKVKdPKsNFat/Ki0NINgdHH7 vH7fnmch/rG1x/fMVFERNYkETL76c/YaGxbtjvpjhDWALSxpl0HH9v4bzgmHLcQCMm7c egCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lXJxuYto; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ke3si7024007ejc.747.2021.03.03.08.53.55; Wed, 03 Mar 2021 08:54:38 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=lXJxuYto; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348085AbhCBA2b (ORCPT + 99 others); Mon, 1 Mar 2021 19:28:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:43154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233158AbhCAS3G (ORCPT ); Mon, 1 Mar 2021 13:29:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id AADEA65159; Mon, 1 Mar 2021 17:05:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614618343; bh=FuZJLOVRkD+XGRz9qS1NRIB3qa7LT/2s/xHFh43HFfU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lXJxuYtoYEu2Zwnh/NjXuM9qQnQ0I5UvAcXvuRZSLbPuZMJxbxQBPJeg645UYo5JB OEzxXc4ZzE2zcsU2DJNPCfC5ybp7mUXXfJYvdGIgfINAKfDKDC2FN85ZOJfugVHy9Q mONRDo25lHIinZyHFZSjSmi4WR0Zsmf/Jggn6ZcQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , Heiko Stuebner , Sasha Levin Subject: [PATCH 5.10 052/663] arm64: dts: rockchip: rk3328: Add clock_in_out property to gmac2phy node Date: Mon, 1 Mar 2021 17:05:00 +0100 Message-Id: <20210301161144.338737545@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161141.760350206@linuxfoundation.org> References: <20210301161141.760350206@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai [ Upstream commit c6433083f5930fdf52ad47c8c0459719c810dc89 ] The gmac2phy is integrated with the PHY within the SoC. Any properties related to this integration can be included in the .dtsi file, instead of having board dts files specify them separately. Add the clock_in_out property to specify the direction of the PHY clock. This is the minimum required to have gmac2phy working on Linux. Other examples include assigned-clocks, assigned-clock-rates, and assigned-clock-parents properties, but the hardware default plus the implementation requesting the appropriate clock rate also works. Fixes: 9c4cc910fe28 ("ARM64: dts: rockchip: Add gmac2phy node support for rk3328") Signed-off-by: Chen-Yu Tsai Link: https://lore.kernel.org/r/20210117100710.4857-2-wens@kernel.org Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index db0d5c8e5f96a..93c734d8a46c2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -928,6 +928,7 @@ phy-mode = "rmii"; phy-handle = <&phy>; snps,txpbl = <0x4>; + clock_in_out = "output"; status = "disabled"; mdio { -- 2.27.0