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: 9902663 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 8947260231 for ; Wed, 16 Aug 2017 00:39:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C4FF28950 for ; Wed, 16 Aug 2017 00:39:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 70F9328954; Wed, 16 Aug 2017 00:39:36 +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.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 0BB8F28950 for ; Wed, 16 Aug 2017 00:39:35 +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=eITxW2mjr0Fx6ztjHfpwR74blsboTt5dX8HlmKYrtkI=; b=jTc81xyWkIwW3K sS7CNF4cmdj9vdeI7TMULrFR8wvGJUtVDLNymZVDCE08zvzv+hQJgO6NfcjDyBP1/ZQZbD+lClEw2 8j781BCimcoMBjE58oaOCkxWiYamQsSdMTY/l1R2/pUvGYPkM08gK8A7yXWte60tcum60VFR+7lrT xZB1ZM4nvfWGn3t5oc9isZtbAqDACWShUX2NZ+AGacTb2AXgRNNNeOsnSnKjE9+gUL4JPSq3UtoA4 Exw8D8oxQetGnkUdu709csMF2HDhlPGmSH9K/11Fps/ZqNaqm4qr4+Flo+I39DJUzYVbffwEPEa/b 5gjmfQTAJduin3S2y64A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dhmMr-0007nk-AT; Wed, 16 Aug 2017 00:39:29 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dhmMn-0007Pu-14 for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2017 00:39:26 +0000 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=20F=C3=A4rber?= To: Philipp Zabel , linux-arm-kernel@lists.infradead.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170815_173925_361623_77C82E7B X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. 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 , devicetree@vger.kernel.org, Roc He , =?UTF-8?q?=E8=92=8B=E4=B8=BD=E7=90=B4?= , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Rob Herring , =?UTF-8?q?Andreas=20F=C3=A4rber?= 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 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(-) 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"; };