Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp778477ybg; Wed, 23 Oct 2019 05:50:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCmL/VZ8UeCtHSdqh9pqqnyjnszXyOWIpDdCDf2SAzE/0lxHTDq6wj4ufDY9DZadJgZ/nV X-Received: by 2002:a50:f683:: with SMTP id d3mr15746210edn.70.1571835016894; Wed, 23 Oct 2019 05:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571835016; cv=none; d=google.com; s=arc-20160816; b=niGsHa4kV5JL3J0WjAC6vNwiYFcGe15B7dTVXerdUt1YlnUaQF2S87xw4chVFSiH+3 ALTnZOFExknD2ak4YG+CFdxr1hFuif7fDR+08KmYEI0mcj4odrp/t/2bMOoDjsUSpfwn lq7HQ8Dngh7aKcm3s1gm/eU/+xgkxuUDPybJF9DIM0IX7V06jVgacMAC3FEbw+/lYjeD G7GX1gdL1DPqs6TwvGVA0etfnsayHk8u3qW9foTxBdfTuYZ825nVOfB9PjpDC1rIXr/B L5Byou/sKoZXu9Q8h0duurkxtnuf/68ot53OpFISvu748gllGsaYObFb0yFOalBfWf7L FcBw== 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=N59UmSjMAxn0VcmS+V7AdDHwjapZikmzMPV2SOm/FMg=; b=lJwChyshexT2BvJxOIWMfWK6wplPaRFsAVhdjQZ5uROvkccvA2Ev1xDYGFpqaF6TB+ zuJbfquu1vT2TwtnQxlrPi+EkwdUEwvFDhI9jmTzgNICPOc3x7R2lPBQ26SwkHVUTOr8 Po9Q/wcVX0x6UjeOEP6sX7TN4aVmGfbO3bNLuwV6fL5Tw3vKyHFgvotsQNBOwKBNu4Xr Cox2qN1rvQLZ8FPLBMaOVoHKaDp1bz9E1a3/psCoXWBTmz4suCFmQFTUgdyS84KPJcEu oHrdDFGyJkgScKfhcVJBYMDp43hBcJnVFKwup4LO/aj6Kr95xSm/png1MObMSrqAIrEz 563A== 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 h50si14393864ede.423.2019.10.23.05.49.51; Wed, 23 Oct 2019 05:50:16 -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 S2404323AbfJWKNz (ORCPT + 99 others); Wed, 23 Oct 2019 06:13:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:53884 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404189AbfJWKNe (ORCPT ); Wed, 23 Oct 2019 06:13:34 -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 62114B664; Wed, 23 Oct 2019 10:13:32 +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 10/11] arm64: dts: realtek: Adopt RTD129x reset constants Date: Wed, 23 Oct 2019 12:13:16 +0200 Message-Id: <20191023101317.26656-11-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 --- v1 -> v2: Unchanged arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi index 15d321d9515c..4433114476f5 100644 --- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi @@ -12,6 +12,7 @@ /memreserve/ 0x0000000001ffe000 0x0000000000004000; #include +#include / { interrupt-parent = <&gic>; @@ -79,7 +80,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <27000000>; - resets = <&iso_reset 8>; + resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; status = "disabled"; }; @@ -89,7 +90,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <432000000>; - resets = <&reset2 28>; + resets = <&reset2 RTD1295_RSTN_UR1>; status = "disabled"; }; @@ -99,7 +100,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <432000000>; - resets = <&reset2 27>; + resets = <&reset2 RTD1295_RSTN_UR2>; status = "disabled"; }; -- 2.16.4