Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1428312ybc; Sat, 16 Nov 2019 23:22:45 -0800 (PST) X-Google-Smtp-Source: APXvYqypJVDpa8JD8RipVuD4ooz+7dZYJ2UBz1SJ7d6xDDy4a1bM/oqkElBzvFTgWxhKxoWYku46 X-Received: by 2002:a17:907:212a:: with SMTP id qo10mr12294051ejb.197.1573975364994; Sat, 16 Nov 2019 23:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573975364; cv=none; d=google.com; s=arc-20160816; b=ODvjKFoWlXt1HsqHeDHIRIVLRfyJws1XuLTpK/ekIb2dqNs95ACaq3v9rXJaK0oGKh OEmSWQ46I8ppAyycZDlSHtqwY0sFQXaZPXacw9nyztFbvD1/++HpxZxAV1a8JbskJZ4m r//n4iotXPQG1q1v5SUnG+hNXEKdBu3ONhcNi1Bzk7jajQcd5Wyjb/PQry8K3CVPp9k9 Cp9Fmhnl1QcAlS02PBUZAETAiB7gyihSawy80aasCnlXJTDNo5nDtd8IWt0C8R5E11pS /cbQ73SKvj4I6/3yKGAExieYV1LCtNcHvGIq7n9LY1RjnJTreRMAUYcuyXYvXXuIr/iA icDw== 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=ChWcO3zaE8PgvaexPPqf8GDV0G0s2CzmNdnomhtaZT8=; b=J6MsOE7e4vQuuEbfQaZSb8wil9gSZ7gd6GTCrnXwDVZzdhILUnBdX/iPvfRhkpNVYA 9gzwGBRY6fbBFkfqgdFAvc90MIzzvbZuQyB8hrLzAlYjoF/dz+om/iOgBK64W/OTVonN DnT/Q6NdPcjUqbotd5kdB/EGVjDov0o8Klykx7Kseaurgwjwl1Pu4Iy7X7YVS2CAf/97 zAQwEk2NqLEqUMnUTWbdg2w1Y/wkR2r0J6aqYYEH0nmZNCUPDa1jw8xsuHqUTS19X0Xz dG7pPrmHUgkxuhSUQTCF9PjbpgpRljtCWjpBy7t6o/P8mwPT3x0bS03SP/3FPjfw2ccw /T7g== 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 o48si10959764edc.151.2019.11.16.23.22.20; Sat, 16 Nov 2019 23:22:44 -0800 (PST) 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 S1726184AbfKQHVY (ORCPT + 99 others); Sun, 17 Nov 2019 02:21:24 -0500 Received: from mx2.suse.de ([195.135.220.15]:40790 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725901AbfKQHVX (ORCPT ); Sun, 17 Nov 2019 02:21:23 -0500 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 6C145B2FD; Sun, 17 Nov 2019 07:21:21 +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?= , Philipp Zabel , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v3 5/8] dt-bindings: reset: Add Realtek RTD1195 Date: Sun, 17 Nov 2019 08:21:06 +0100 Message-Id: <20191117072109.20402-6-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191117072109.20402-1-afaerber@suse.de> References: <20191117072109.20402-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 Add a header with symbolic reset indices for Realtek RTD1195 SoC. Naming was derived from BSP register description headers. Acked-by: Philipp Zabel Reviewed-by: Rob Herring Signed-off-by: Andreas Färber --- v3: Unchanged from RTD1295 reset v2 include/dt-bindings/reset/realtek,rtd1195.h | 74 +++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 include/dt-bindings/reset/realtek,rtd1195.h diff --git a/include/dt-bindings/reset/realtek,rtd1195.h b/include/dt-bindings/reset/realtek,rtd1195.h new file mode 100644 index 000000000000..27902abf935b --- /dev/null +++ b/include/dt-bindings/reset/realtek,rtd1195.h @@ -0,0 +1,74 @@ +/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ +/* + * Realtek RTD1195 reset controllers + * + * Copyright (c) 2017 Andreas Färber + */ +#ifndef DT_BINDINGS_RESET_RTD1195_H +#define DT_BINDINGS_RESET_RTD1195_H + +/* soft reset 1 */ +#define RTD1195_RSTN_MISC 0 +#define RTD1195_RSTN_RNG 1 +#define RTD1195_RSTN_USB3_POW 2 +#define RTD1195_RSTN_GSPI 3 +#define RTD1195_RSTN_USB3_P0_MDIO 4 +#define RTD1195_RSTN_VE_H265 5 +#define RTD1195_RSTN_USB 6 +#define RTD1195_RSTN_USB_PHY0 8 +#define RTD1195_RSTN_USB_PHY1 9 +#define RTD1195_RSTN_HDMIRX 11 +#define RTD1195_RSTN_HDMI 12 +#define RTD1195_RSTN_ETN 14 +#define RTD1195_RSTN_AIO 15 +#define RTD1195_RSTN_GPU 16 +#define RTD1195_RSTN_VE_H264 17 +#define RTD1195_RSTN_VE_JPEG 18 +#define RTD1195_RSTN_TVE 19 +#define RTD1195_RSTN_VO 20 +#define RTD1195_RSTN_LVDS 21 +#define RTD1195_RSTN_SE 22 +#define RTD1195_RSTN_DCU 23 +#define RTD1195_RSTN_DC_PHY 24 +#define RTD1195_RSTN_CP 25 +#define RTD1195_RSTN_MD 26 +#define RTD1195_RSTN_TP 27 +#define RTD1195_RSTN_AE 28 +#define RTD1195_RSTN_NF 29 +#define RTD1195_RSTN_MIPI 30 + +/* soft reset 2 */ +#define RTD1195_RSTN_ACPU 0 +#define RTD1195_RSTN_VCPU 1 +#define RTD1195_RSTN_PCR 9 +#define RTD1195_RSTN_CR 10 +#define RTD1195_RSTN_EMMC 11 +#define RTD1195_RSTN_SDIO 12 +#define RTD1195_RSTN_I2C_5 18 +#define RTD1195_RSTN_RTC 20 +#define RTD1195_RSTN_I2C_4 23 +#define RTD1195_RSTN_I2C_3 24 +#define RTD1195_RSTN_I2C_2 25 +#define RTD1195_RSTN_I2C_1 26 +#define RTD1195_RSTN_UR1 28 + +/* soft reset 3 */ +#define RTD1195_RSTN_SB2 0 + +/* iso soft reset */ +#define RTD1195_ISO_RSTN_VFD 0 +#define RTD1195_ISO_RSTN_IR 1 +#define RTD1195_ISO_RSTN_CEC0 2 +#define RTD1195_ISO_RSTN_CEC1 3 +#define RTD1195_ISO_RSTN_DP 4 +#define RTD1195_ISO_RSTN_CBUSTX 5 +#define RTD1195_ISO_RSTN_CBUSRX 6 +#define RTD1195_ISO_RSTN_EFUSE 7 +#define RTD1195_ISO_RSTN_UR0 8 +#define RTD1195_ISO_RSTN_GMAC 9 +#define RTD1195_ISO_RSTN_GPHY 10 +#define RTD1195_ISO_RSTN_I2C_0 11 +#define RTD1195_ISO_RSTN_I2C_6 12 +#define RTD1195_ISO_RSTN_CBUS 13 + +#endif -- 2.16.4