From patchwork Mon Jul 9 22:41:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinh Nguyen X-Patchwork-Id: 10515861 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 619A76024A for ; Mon, 9 Jul 2018 22:41:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50FCD28872 for ; Mon, 9 Jul 2018 22:41:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F23828D57; Mon, 9 Jul 2018 22:41:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 090C928E0C for ; Mon, 9 Jul 2018 22:41:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Zue26jQkFNBe3S4oNBmT3uIou8TtQFkFBOFlFoAW9tY=; b=J543FLS2CgVjxj63YmYl15UiBC B7HwCTAkZnshY+ETKVYnnQ4nSmdrNGFjcfUX6BcjrJqRgG/c5XbpPBAU3wxAZPqP66u/ec8urg9AX /uPM6wEwkaBwmUEucBUFvq0NANxMNsaW5QJs0IE0EACmXRY4vgQbV6HSft5OVsMhqlVP+rwxx8KTt bLO9irTzwiDpaF/YGSRRHiMF6yAtDY0X2uL8/Vt7blh0mTy9N4KJ+WKg8IrWKcekmTrMPH2cYUoEs zrUfxGu/aC2Ec9/T2dhZ4HAp/GFn/u18JNI65IPLKmcMwJqtGw0LseQ16eKdez2TtTVqd1HiVrp1S 6SBfgPYw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fceqk-0006Nb-4G; Mon, 09 Jul 2018 22:41:42 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fceqa-0006CC-AD for linux-arm-kernel@lists.infradead.org; Mon, 09 Jul 2018 22:41:33 +0000 Received: from localhost.localdomain (cpe-70-114-128-244.austin.res.rr.com [70.114.128.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D98F9208E3; Mon, 9 Jul 2018 22:41:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531176082; bh=Bsd/qAoz2rl0Lqdt+g696nu3wl8gL585ipLts0ayzeE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AmvwWKpZOVHyQVAPw5pzF4bxEfEhXBv14QC0sw8NPfEYtaNlL43/DjJpLx8R5DtIa ppUgyzlz0VzHvXcv+RFLe2oHh/s6EZkjDP1nNo/xnRDdQIZTXtOmESzIBhkO7WMJmp FnSamBAvlzXwgSWNZEhhcq21eZ3mM29Qz/hRUZ6A= From: Dinh Nguyen To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: dts: socfpga: update NAND clocking for c5/a5 Date: Mon, 9 Jul 2018 17:41:03 -0500 Message-Id: <1531176063-30140-2-git-send-email-dinguyen@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531176063-30140-1-git-send-email-dinguyen@kernel.org> References: <1531176063-30140-1-git-send-email-dinguyen@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180709_154132_374191_CDA63D10 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, marex@denx.de, yamada.masahiro@socionext.com, dinguyen@kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The nand_x_clk is derived from the nand_clk. Also, update the NAND dts property with the correct clocks property. Signed-off-by: Dinh Nguyen --- arch/arm/boot/dts/socfpga.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index b38f8c2..ae432b9 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -486,7 +486,7 @@ nand_clk: nand_clk { #clock-cells = <0>; compatible = "altr,socfpga-gate-clk"; - clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; + clocks = <&nand_x_clk>; clk-gate = <0xa0 10>; fixed-divider = <4>; }; @@ -754,7 +754,8 @@ reg-names = "nand_data", "denali_reg"; interrupts = <0x0 0x90 0x4>; dma-mask = <0xffffffff>; - clocks = <&nand_x_clk>; + clocks = <&nand_clk>, <&nand_x_clk>; + clock-names = "nand", "nand_x"; status = "disabled"; };