From patchwork Sun Nov 25 21:19:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697083 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FDD01591 for ; Sun, 25 Nov 2018 21:22:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EE7A298A2 for ; Sun, 25 Nov 2018 21:22:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2331E298AC; Sun, 25 Nov 2018 21:22:08 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 CAA65298A2 for ; Sun, 25 Nov 2018 21:22:07 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=L/4PMpBdn0LUvUxXTLT4fTBJBVp4qWHpRL8Ab/29rjw=; b=G0V7sQtCN42XVs mo4ts15WTFtV3zbAPmzTbdR9xvmDiVNZEtuoUN0ZeF4r0ulIPsgiXOtF8sYdps2XTMwNku1XNTKAT 2m0B0Q6BXaQ/GcsabSy4MTu2xH2BV+uiCkyT5nb/BH49eDcdCI7Z6K4cacoMjqP8nrO+oDRQLiuL0 iLzLsMpXma3X+Y7uTYZnR323S9gbmfS+dOP1jlM64JtR47+hQnvmrz/vIbgZt/LV0OmOy3fHj7NLU Pv3a7ZzRyhyk/c9pvanHHcFSudDPfNYUgHv3FMhge8E5oRa3I39UVNtLOpAC0tb6E2oqXvr0aU9fi QQ7TXmJwAkKzI8QixSWw==; 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 1gR1qu-0006Xg-6V; Sun, 25 Nov 2018 21:22:04 +0000 Received: from mail-qt1-f195.google.com ([209.85.160.195]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pI-0004C8-Ej; Sun, 25 Nov 2018 21:20:44 +0000 Received: by mail-qt1-f195.google.com with SMTP id p17so15474073qtl.5; Sun, 25 Nov 2018 13:20:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=bMDavPfWrsM8Ixn5Bu+GWFh5dhTnsIk63iyZIoNG/qM=; b=H8Y3J8k4Mfz3bwx+86Bp7kEiKcuUuRCpSqDDpXIeBUrwlyoZ8ZAD24cwGJULQSW2n9 uyJZSmF7YTWzKHMYWTwSe+oDC/8tXRUjxRyRu68whLJLYakw278I4eflWY/U4kSxkH5v GkmHtJRpqD/Xzfxqtwcza4xIIh+O5DMoWrFw2/okYyjz/qkB5PyZN/KBCm2NM8j+Mxsg 7fPzO7rNU9AJS2PmRR17/VaTMFM5GJaaLlRVTRA99eymySLeCJ9D0UKZ4LjkAJ2WUAn6 DPfQX57hgIt2J6FejnpEPZXxqCmKLTX4mpOKpNVHqTjlNXsv7zZD+jhSUwZu1Qyf6WYk PYzg== X-Gm-Message-State: AGRZ1gLg4Zr1a1JXQrZYHzhx7ghlUpNRrTZyNPnr3We1sitY/U5cSeSO 6gV/OQjKbwH5XfdpZ/btHPY= X-Google-Smtp-Source: AJdET5ehrnKYNl92IhKGQXm06BE4lEDzBj7bTgKraracbc8A57IERLFnKl8nlx2UJZ9iRsYTMS7RVA== X-Received: by 2002:ac8:5392:: with SMTP id x18mr23058268qtp.299.1543180813485; Sun, 25 Nov 2018 13:20:13 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id j95sm27438526qtb.74.2018.11.25.13.20.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:20:12 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:20:07 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 09/13] ARM: dts: rv1108: Assign the proper GPIO clocks Date: Sun, 25 Nov 2018 19:19:03 -0200 Message-Id: <20181125211907.9895-9-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_132024_762139_F8692596 X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Fabio Berton , Heiko Stuebner , Otavio Salvador , Rob Herring Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP It is not correct to assign the 24MHz clock oscillator to the GPIO ports. Fix it by assigning the proper GPIO clocks instead. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 442b749eb2e9..ce5509c4657b 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -562,7 +562,7 @@ compatible = "rockchip,gpio-bank"; reg = <0x20030000 0x100>; interrupts = ; - clocks = <&xin24m>; + clocks = <&cru PCLK_GPIO0_PMU>; gpio-controller; #gpio-cells = <2>; @@ -575,7 +575,7 @@ compatible = "rockchip,gpio-bank"; reg = <0x10310000 0x100>; interrupts = ; - clocks = <&xin24m>; + clocks = <&cru PCLK_GPIO1>; gpio-controller; #gpio-cells = <2>; @@ -588,7 +588,7 @@ compatible = "rockchip,gpio-bank"; reg = <0x10320000 0x100>; interrupts = ; - clocks = <&xin24m>; + clocks = <&cru PCLK_GPIO2>; gpio-controller; #gpio-cells = <2>; @@ -601,7 +601,7 @@ compatible = "rockchip,gpio-bank"; reg = <0x10330000 0x100>; interrupts = ; - clocks = <&xin24m>; + clocks = <&cru PCLK_GPIO3>; gpio-controller; #gpio-cells = <2>;