Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4944868imu; Sun, 25 Nov 2018 13:22:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/XPWz39MUIpAcoMUtbohOmC1iledtmIt+54k5PJLjIl7EOSHrneP6iTdBIDm740tTEdZhrC X-Received: by 2002:a17:902:8648:: with SMTP id y8-v6mr24821572plt.159.1543180964876; Sun, 25 Nov 2018 13:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543180964; cv=none; d=google.com; s=arc-20160816; b=iEWwDSRYOGPRR1uEaUBu12DdQvF3Sm2Jj4b0/HbKQsX+8OG7R9LCgZ4QvfrY01l/bw iDJVx7xVzGi5oYG+Il1UuLTQDYN/HoGk+saHzDF6sye0S8c0amNG4B5GJH0g+TlOdSwE 27xmFmk95kvApRZ9cU+FJ//b3tZW8LVtDgOX6VB1HSNPwHSMMV2FgtFriXRraB5VsUZn 16h1cJGajqEx4pBUUT4OtIyxAa++OPJfFfHcJnwo3Fpn7Qai4sQ7ioYsEiUJtufEk4mp F94Ja8bohzUrPPWYDXfglDibO6bBFgEhbIZ5Wmf5llL5Yrojvh1XnDCX/6uF1dEKE2N2 16hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:organization :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=bMDavPfWrsM8Ixn5Bu+GWFh5dhTnsIk63iyZIoNG/qM=; b=nbDbTGUmWVtj5PyX/YWtVCyeKerw1tCo9yGTfZd67rPSo4QpyFNpYmle+wgaKxs7AR P3q/qfSjk0yj7oLXZwnNl2hhNwZzvwSPWdNCRGD1QSQWHHu29lFVvCYwYShr/aRuosiU 0W4OuVtaJVgB2ydXMDZpdyjZJmWR3C5h9+k9oeDG2Xf5ODHPeCsMNq5Y77gyBlSwPbdh 3v9Uc9WgcuxfnP1GxKUnzdyJ6zWpTQ1QySKB+wFSj0yrvpUKAWmN3+DBKzTvTAFW3xqK XYxKoGZPxCC2T8FxhXjIxG9idK0XdrRjzZydX1ygpy3i9GzTEY/O0RJ7IPbsYKu2Grnz /sEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4-v6si61880815pla.203.2018.11.25.13.22.29; Sun, 25 Nov 2018 13:22:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726384AbeKZIMN (ORCPT + 99 others); Mon, 26 Nov 2018 03:12:13 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:35212 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbeKZIMN (ORCPT ); Mon, 26 Nov 2018 03:12:13 -0500 Received: by mail-qt1-f196.google.com with SMTP id v11so15477649qtc.2; 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=YWmV4rFb7kn8C6qt+kP7Pvysc/TZlrPmo2wLjrWZxe0Et462q8y3ecg3/rqhv/PcSi T/9oGYgsSr4YwlfcUJPCdQmUtExJfutf0l7xuWKwVErtzE0MuQI+LNVRPLdt4D+lGZdo XgOjgASjBHuCUOBrTqHMWsuMN7zoitbz7OLIpYVp0HHuEv5QeqbteI2YdPI/UkzOmUf7 xcjoxQAoJqkcgT+ZvlEs0PrfvtLDwJlFPjpJ9TuL094H1dNZxKpKZZ2WD/wyzBvA4viT 1oFjlqR8hbAJy3QvTv51a3vZCBFA8Ga68M17hvxw5pyhARlAhGCkCCKVd6VdeSRc+tVe zNgw== X-Gm-Message-State: AGRZ1gJ/tyogYuFJg41xJvVCRXtRMy/gZhhDf5w3M5te5DOkatlk6TCc OoFQnKMTfOLOjUHiFMvC2FyVRRlp 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 Cc: Otavio Salvador , Fabio Berton , devicetree@vger.kernel.org, Heiko Stuebner , Rob Herring , Mark Rutland 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. Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; -- 2.19.1