From patchwork Thu Oct 28 18:42:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 12590887 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C503C433F5 for ; Thu, 28 Oct 2021 18:42:59 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5C31A61040 for ; Thu, 28 Oct 2021 18:42:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5C31A61040 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=pVdBsuKYjJUB+uIpQQaqSDdrMI3+UnkaWuE36lUbm30=; b=KNOF2Dwy4Qyy2D DRpeF4waXldfW+VxH4V7M2i4cfWIs/0e4zH2TyiaWN+BPGgNHlenA/P9gjQF+dbh8dUx+Mr4S0pIJ HDvc/DOqIH0ha7nl22DMXNcccWpVvPlFHJIKhpT4tpMTMm2D86HgLMRsMgsZxUchPbE6myNFUDbMy Njjbdl90wmt5QJTDgk7ey5J/1S37khmTueUMXRJq9uPv9inIPzcjKqkXSsh2G2C7JhJmhWGJw5yOS 1ZM6cuxX7UHBrRH62q/eR7JNvTJ1EaDQ2jFEAarsrOwIMudwtiWtflhVe4rawe5ukBOQqOinpR7XS AxdYlUKDX8hSLcqDgW7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgAMc-008v4L-M8; Thu, 28 Oct 2021 18:42:58 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgAMW-008v27-Qq for linux-phy@lists.infradead.org; Thu, 28 Oct 2021 18:42:56 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 47909610FC; Thu, 28 Oct 2021 18:42:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635446572; bh=COKgY/FCdCGJZ7bNKPO2We5dlVrf/wiFVEG6xmpFMmA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=awPNAcUaJ54M5DItgcRwT11ORdR3XJjIKadEfqGsqFu8mbYvX4mdqmZ0WFeC+PKbB x1MsFqrHThm5Ysw5mj2bEp946e+nbpiUZBcPezEKz/GfJjEHq5TuV4xUOz05B6k9Ro G8HHon4AiInQxC3jB3Y4z2OxPOzYwbjB2x0Cxix+dPLsza2TcnkGZKI21m93F9K4bQ khEXCHhqGjfNmdSXRPLsB8wvnpcj8fuJ1q1uVahvowKrEhaA0XDsAXX6olJiDV/DiS n2ouTiqAi/0NOS8fCBzp0oLymBuCN7/zFugaXU077hE86f+GQ4A9V/W0uibXrEk0mU YAPE+jug1SZ9Q== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Miquel Raynal Cc: linux-phy@lists.infradead.org, Vinod Koul , Kishon Vijay Abraham I , pali@kernel.org, =?utf-8?q?Marek_Be?= =?utf-8?q?h=C3=BAn?= Subject: [PATCH phy 3/6] arm64: dts: marvell: armada-37xx: Add xtal clock to comphy node Date: Thu, 28 Oct 2021 20:42:39 +0200 Message-Id: <20211028184242.22105-4-kabel@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211028184242.22105-1-kabel@kernel.org> References: <20211028184242.22105-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211028_114252_948653_36FD491D X-CRM114-Status: UNSURE ( 7.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org From: Pali Rohár Kernel driver phy-mvebu-a3700-comphy.c needs to know the rate of the reference xtal clock. So add missing xtal clock source into comphy device tree node. If the property is not present, the driver defaults to 25 MHz xtal rate (which, as far as we know, is used by all the existing boards). Signed-off-by: Pali Rohár Signed-off-by: Marek Behún --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index 9acc5d2b5a00..673f4906eef9 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -265,6 +265,8 @@ comphy: phy@18300 { "lane2_sata_usb3"; #address-cells = <1>; #size-cells = <0>; + clocks = <&xtalclk>; + clock-names = "xtal"; comphy0: phy@0 { reg = <0>;