From patchwork Wed Dec 8 02:40:35 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: 12663287 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 14165C433F5 for ; Wed, 8 Dec 2021 02:40:54 +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=pVdBsuKYjJUB+uIpQQaqSDdrMI3+UnkaWuE36lUbm30=; b=AGH7yrGPJQ07Md 9NH+BdKH4xPasj6j+rpgVWTHV32yqbapUstrqkbFtYtIBtoFKZ8huW/gPTzH73TCBoznY3pcz3uRl BfMe/1BruV2cF5egoOXFe9dE8hTL8bLtjZlh6lUpONB+jIwn7xvIQh0YRYmvpPscXibX607tWMhBC LwB56WR+kULGRXgZBcM8GUjC/joIQxB/1bWx1MvsKoRQU1AIFtQ71bF50jsRZUSaXMlNyfBjB8D3Y i9qI4e1zs9lVxwoOyGCoqSmv/iOoXEM3gEQzP4flBZHHvNL3/1qF21sTtcOVYXCoijYytN4pO5uU4 nurfXjBEwTxuslKJzNJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mumt3-00AiCq-Gd; Wed, 08 Dec 2021 02:40:53 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mumt0-00AiBi-NZ for linux-phy@lists.infradead.org; Wed, 08 Dec 2021 02:40:52 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 79B98B81F47; Wed, 8 Dec 2021 02:40:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8B49C341CB; Wed, 8 Dec 2021 02:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638931249; bh=COKgY/FCdCGJZ7bNKPO2We5dlVrf/wiFVEG6xmpFMmA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WYhRFzRVSnqpDxTFUPF8Dya6/7lQJQ5+H1u9giwDrrF9838RzTaRQ/HHWioMUUd1Z q9zP/4awN9bnIHOyaHQTfDcLRvzwYKm2hXS2r9V7RSx4GQMtOTj4WQPqhpw+zJjfhE cqpwoXI+N6sNzzmmalqeQtYQsj8NklrERk4Cg2Tk9kgQMreNh74IX603d5SjR1Nuaf mTXqK33To+ebMCuy6M82tEW2hcwRYYKfBLSYlojJN0RKCKfvzwSaAXj/xoCum36V8l 403uibBPJJKFNC5+fBnyU0lKrL1PuDtuKu/muKC6RYDP2FplJBMI/ZSxtVy275vjKm k9A5+8x0NDdtg== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Vinod Koul Cc: linux-phy@lists.infradead.org, Kishon Vijay Abraham I , pali@kernel.org, Miquel Raynal , Gregory CLEMENT , =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH phy v2 3/6] arm64: dts: marvell: armada-37xx: Add xtal clock to comphy node Date: Wed, 8 Dec 2021 03:40:35 +0100 Message-Id: <20211208024038.8797-4-kabel@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211208024038.8797-1-kabel@kernel.org> References: <20211208024038.8797-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211207_184050_927494_4585691C X-CRM114-Status: GOOD ( 10.34 ) 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>;