From patchwork Wed Oct 23 10:13:17 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: 177256 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp502784ill; Wed, 23 Oct 2019 03:13:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAFDSuis/83B//erAv52WzIYr62hnsIgftUf8ADv4Oa1Ol/3xYSLbfo8gf+qIAc1XTSYya X-Received: by 2002:a50:e71a:: with SMTP id a26mr36065799edn.265.1571825623859; Wed, 23 Oct 2019 03:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571825623; cv=none; d=google.com; s=arc-20160816; b=aAyC3oMCPD/DJY3moVSJFhCnePGXKXvbhwpY15uEE9Qo8YY1BejEveiOztTKjj/cGq k30bcxu/t9UIEKzbS9YeVRB4k9JoT0ClLYl3RR+BXX4xMb1y6+CGSDI7a8U5wA4z9NOZ ChE0/skHUuQop9SpwqnCjmuVsuineglPlN6Es8GCthX2aD4uWccVH7ir0KyE1hakdCIG WCWm0SXj2GH4AN7ZM7zxvf3da1TaeTFzETcfXIJcEPgRvEOubamISbkyggshsnWBivM0 J5+QAOS8Aiv34ar8lIt1fShV1AKW+S2fwPxOgLhCimuYH2AFCA7ao/KGdJGJSJRS1FZE KFGQ== 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 p19si4595079ejj.85.2019.10.23.03.13.43; Wed, 23 Oct 2019 03:13:43 -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 S2404271AbfJWKNi (ORCPT + 26 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_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 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 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(-) -- 2.16.4 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"; };