From patchwork Thu Jan 6 03:31:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liang Yang X-Patchwork-Id: 12705062 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 389C2C433EF for ; Thu, 6 Jan 2022 03:33:02 +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: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:In-Reply-To:References: List-Owner; bh=zetOZrvi8On2kZgDnuhRx1OBvxKsB+7j47PAQUVfQxM=; b=K4LKHsdTW+xotM LRO8a6s5f6PwsxsAaHPiY4f/JV8Pjs35qW5DX2cI9Jx9L20JsRelcegsatGHnAdcwZZ7mjXEhX65S IO5+k3S2O0aaFKpwnTmuz0jLAKCiosyYNKCZw+GWsUf60tO4s4c7Ms/YqsWR1gEXVNbOQinNv/Gri YnQEx5pnTl7460UCUPKs4zw3scawoMolq3K6qHDsdz5H+lRSTx/4Fgev3/4UYDRMGcTrFJOAC8ulJ Zx9qithqf95cqlCsv+qaLfZTJRRJnpBknEpOO8QQn/Dl7XH6pgRGucBApFI5cDWvGRhRgFPNQB9QH //kiIEEVrY1SNh9XgGRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5JVE-00GKS2-41; Thu, 06 Jan 2022 03:31:48 +0000 Received: from mail-sz.amlogic.com ([211.162.65.117]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5JVA-00GKQD-06; Thu, 06 Jan 2022 03:31:45 +0000 Received: from droid11-sz.amlogic.com (10.28.8.21) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.2176.2; Thu, 6 Jan 2022 11:31:42 +0800 From: Liang Yang To: Miquel Raynal , Vignesh Raghavendra , CC: Liang Yang , Richard Weinberger , Jerome Brunet , Neil Armstrong , Martin Blumenstingl , Kevin Hilman , Jianxin Pan , Victor Wan , XianWei Zhao , Kelvin Zhang , BiChao Zheng , YongHui Yu , , , , Subject: [PATCH] dt-bindings: nand: meson: fix controller clock Date: Thu, 6 Jan 2022 11:31:30 +0800 Message-ID: <20220106033130.37623-1-liang.yang@amlogic.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.28.8.21] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220105_193144_085437_BC28F6CF X-CRM114-Status: UNSURE ( 6.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Change-Id: I1425b491d8b95061e1ce358ef33143433fc94d24 --- .../bindings/mtd/amlogic,meson-nand.txt | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt index 5794ab1147c1..37f16fe4fe66 100644 --- a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt +++ b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt @@ -14,11 +14,6 @@ Required properties: - clock-names: Should contain the following: "core" - NFC module gate clock "device" - device clock from eMMC sub clock controller - "rx" - rx clock phase - "tx" - tx clock phase - -- amlogic,mmc-syscon : Required for NAND clocks, it's shared with SD/eMMC - controller port C Optional children nodes: Children nodes represent the available nand chips. @@ -28,11 +23,6 @@ see Documentation/devicetree/bindings/mtd/nand-controller.yaml for generic bindi Example demonstrate on AXG SoC: - sd_emmc_c_clkc: mmc@7000 { - compatible = "amlogic,meson-axg-mmc-clkc", "syscon"; - reg = <0x0 0x7000 0x0 0x800>; - }; - nand-controller@7800 { compatible = "amlogic,meson-axg-nfc"; reg = <0x0 0x7800 0x0 0x100>; @@ -41,11 +31,9 @@ Example demonstrate on AXG SoC: interrupts = ; clocks = <&clkc CLKID_SD_EMMC_C>, - <&sd_emmc_c_clkc CLKID_MMC_DIV>, - <&sd_emmc_c_clkc CLKID_MMC_PHASE_RX>, - <&sd_emmc_c_clkc CLKID_MMC_PHASE_TX>; - clock-names = "core", "device", "rx", "tx"; - amlogic,mmc-syscon = <&sd_emmc_c_clkc>; + <&clkc CLKID_FCLK_DIV2>; + clock-names = "core", "device"; + sd_emmc_c_clkc = <0xffe07000>; pinctrl-names = "default"; pinctrl-0 = <&nand_pins>;