From patchwork Wed Oct 23 10:13:16 2019 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: 177258 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp503105ill; Wed, 23 Oct 2019 03:14:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2PJHF6SCcRc4BQO5y1Iq2O3P28IwU22gGxTCKpx/qUUorpiQuenxCN+F1DZcypm7Lf2Xt X-Received: by 2002:a17:906:4448:: with SMTP id i8mr30961940ejp.298.1571825639912; Wed, 23 Oct 2019 03:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571825639; cv=none; d=google.com; s=arc-20160816; b=Qs7scfs68GwL8uk87v1kfIyJ9zMM+Jhx/+r7qK6c2MJZxGaVwowrTiP7NRNCWDwF7i ZOGmRegL/zwk8E1BL8NbrvkYgoBCTMwQhGRtstZe/t8+4U5pnaZVH0iVXJ1erRObgiRv bXd4TAmv5S4+LQrjkibSissYHXyp/TtCQXUKkOG3gGn+05Tu7mqr2sOpm2SFCLZrt0P/ /b3EldGYKxgwZFo5xYX7VmnJB8/ZSnz/lnyCFvAP3Pt0H3fctnkunJFlqAcAFR3BJZjO uUNhAfsexZb3mIGGAAb/DDKwNwZmFc498lXlDQ1SaFu4AJ1U9fxLZ6c9qcba4owo7LNw Eeaw== 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 d1si13502873eds.148.2019.10.23.03.13.59; Wed, 23 Oct 2019 03:13:59 -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 S2404330AbfJWKNz (ORCPT + 26 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_F=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_F=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 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(-) -- 2.16.4 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"; };