Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp775995ybg; Wed, 23 Oct 2019 05:48:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXh30OEx1H4xDndFzM5Bauh/KIdrB36T7/N4xzlpevcPRP7B7tUfTKAZl9AcNTCfozV+z+ X-Received: by 2002:a17:906:95d6:: with SMTP id n22mr13127904ejy.295.1571834889601; Wed, 23 Oct 2019 05:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571834889; cv=none; d=google.com; s=arc-20160816; b=KYELhCb6MBLSGlpO1EEoonm3bmu1yzC3rWesP5xczw1yXmvLuFBYHveZ2gkp0KuuyS qLD/IF/etbZPSN1+6ZEFeBgmg2MzTq5JmqAbqwYDt83wZqYZDFXIQSPgieg5Ix975eKT B/2H3J2EebyOvSLmujZ2v6K0ghb/b1edqUvh2Lj3VdD+WkIDHM0DuheX84SS2DKlGZ8l QwyfkBYjf102AXYLuJ3rXNd+5PQ/+fYNN9uECbBl6gMNXgKgHdPGtXW/IiJ3aQ+yP5uf VyU5VWQulBLbroiOxrqxk0FUHxPPF/QgWn6GPf4L2dbFTQDdda9MSbcnzEEWfF/V6g/P QkSA== 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; bh=tuv+L5RqL/M95xTpGdOwtBkonQCenOnesHedJ3ahSsE=; b=aDdE7tNUDwX9rHlgY3+G9NKltEcf0zv0V6VyQp4VSHkzr5k3+JR9Nz+6m8k7njgBuL 9CSzIzm3u3CQkLqRY/ZHBmbG/5e2pk6KUsrTc+0zuOt0kFn6oDCy2E/cWEL3EsFFsOaH HuYLhy0/cmMXmToTbeLMftrcqUllyvCPX7yhuXCG8L39ed1syNqIzheBXSi8ueVcFVmb oDHGxoI7WrP55W58D3De2QAlscerYIHiw7FWlHhaM76nfaQ0Vkmmls1fmMHU9aQ6mdUq Gl+LFgfiOaXewdS94/2Qd15x1vF6HLzmzhDqurpCCy0ITNhFpMzOzhebW4+lxo27n50U ifHA== 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 h91si15975126edd.270.2019.10.23.05.47.45; Wed, 23 Oct 2019 05:48:09 -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 S2404260AbfJWKNi (ORCPT + 99 others); Wed, 23 Oct 2019 06:13:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:54006 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404204AbfJWKNf (ORCPT ); Wed, 23 Oct 2019 06:13:35 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3EFF2B67E; Wed, 23 Oct 2019 10:13:33 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v2 11/11] ARM: dts: rtd1195: Adopt reset constants Date: Wed, 23 Oct 2019 12:13:17 +0200 Message-Id: <20191023101317.26656-12-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191023101317.26656-1-afaerber@suse.de> References: <20191023101317.26656-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- v2: New arch/arm/boot/dts/rtd1195.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index e2cdcbcf70f4..9ccf8fa04718 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -13,6 +13,7 @@ /memreserve/ 0x18100000 0x01000000; /* nor */ #include +#include / { compatible = "realtek,rtd1195"; @@ -128,7 +129,7 @@ reg = <0x18007800 0x400>; reg-shift = <2>; reg-io-width = <4>; - resets = <&iso_reset 8>; + resets = <&iso_reset RTD1195_ISO_RSTN_UR0>; clock-frequency = <27000000>; status = "disabled"; }; @@ -138,7 +139,7 @@ reg = <0x1801b200 0x100>; reg-shift = <2>; reg-io-width = <4>; - resets = <&reset2 28>; + resets = <&reset2 RTD1195_RSTN_UR1>; clock-frequency = <27000000>; status = "disabled"; }; -- 2.16.4