From patchwork Wed Aug 16 00:38:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 110196 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp184005obb; Tue, 15 Aug 2017 17:39:54 -0700 (PDT) X-Received: by 10.99.100.132 with SMTP id y126mr28310573pgb.173.1502843994870; Tue, 15 Aug 2017 17:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502843994; cv=none; d=google.com; s=arc-20160816; b=ErFPWHlQVJCB8fpaIOgMoGahJ9A5bhUgRsWcHrMbhPYK21MS5kXasNtepq9sJ4TKBN SKPv/qGugcjkh8r7yzDv79k6D+q8rt9VjXCu0DZMLXlc9M2pJFMJE0gt0dlE0V7Uqqgm zxOfeRCZw91Y+0lZcO6MR8gzqWKmUlUXM3xDpkcRJrMuxuSFsU9CQUknJTZgNHBJM4Iw inqsYNtjRUoj36+LKq3quAYzDInVass7IMJElhVjUszNmN9DRdUXVkE0JUPJSN8b69mq FjrNuisFs+mAgLsyyuLb/PeskHVc+MxZ8Ruy1BvLgeYLMfNBEMT6pB7Fq0TugM4kIuHi f3rg== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Kkv7GQLqNKwvptD0ngLY89tiCZHNBau+lwSOnZhuFFE=; b=C3ZraDmTB+DacEdG3BIiS9Gs5GF03qbIdvrESW1etjEfGLrpnxMBTlmjG1IVFgIfVv 1ciCjey4EuPaqzQ/xDezmeTBmpYz/bHA5vc373XZazJlCrTy8BL5VjObw2+auyJZxj6n NLduFCwt7OqsaDNlZgmosAUFfjm9C5gBeSmUbeYXujiJDdrm0floqQolR/Gg3Rtg0/cl eNn/8ApwdInnpoZ2S6GS7eutrUf58ZVIwoME8dJ9UeHlTJW9uoGPB1JCYaxm40n1vdex /iTxqeKszUnqtg3QQB4/XrZYFMPzSP2ivtcXET+E7eg0Vgb7JC0MrGnzUh/jzqp1fYdZ XOqg== 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 y3si6168076pfa.545.2017.08.15.17.39.54; Tue, 15 Aug 2017 17:39:54 -0700 (PDT) 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 S1753519AbdHPAjw (ORCPT + 26 others); Tue, 15 Aug 2017 20:39:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:45395 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752964AbdHPAjF (ORCPT ); Tue, 15 Aug 2017 20:39:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 26434AF39; Wed, 16 Aug 2017 00:39:04 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: Philipp Zabel , linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Roc He , =?utf-8?b?6JKL?= =?utf-8?b?5Li955C0?= , =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: realtek: Adopt RTD1295 reset constants Date: Wed, 16 Aug 2017 02:38:47 +0200 Message-Id: <20170816003847.6208-6-afaerber@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170816003847.6208-1-afaerber@suse.de> References: <20170816003847.6208-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace reset controller indices with constants. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.12.3 diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi index e777200d84b9..2d2d84b573e3 100644 --- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi @@ -7,6 +7,7 @@ */ #include +#include / { compatible = "realtek,rtd1295"; @@ -123,7 +124,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <27000000>; - resets = <&iso_reset 8>; + resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; status = "disabled"; }; @@ -133,7 +134,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <432000000>; - resets = <&reset2 28>; + resets = <&reset2 RTD1295_RSTN_UR1>; status = "disabled"; }; @@ -143,7 +144,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <432000000>; - resets = <&reset2 27>; + resets = <&reset2 RTD1295_RSTN_UR2>; status = "disabled"; };