From patchwork Wed Jul 29 06:30:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Crystal Guo X-Patchwork-Id: 11690393 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A0DE14DD for ; Wed, 29 Jul 2020 06:31:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3F00B20825 for ; Wed, 29 Jul 2020 06:31:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Mld/gkse" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbgG2Gba (ORCPT ); Wed, 29 Jul 2020 02:31:30 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:52502 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726816AbgG2Gb2 (ORCPT ); Wed, 29 Jul 2020 02:31:28 -0400 X-UUID: 5b1173f6ff6345429c19a9826aab50cc-20200729 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=8tvvtJkUNQwkHhqk8KQuaR8AggmTBYNhX5fZW/pno7U=; b=Mld/gkseXutwsk6fiVrO3dzsUzOhHWWKvByj+bkeBeKg5sIRuwoyzoHmPm+2lsylpi/ERzwLz/FBnwQmiBppaNj+mEL0TqtexereCe9dB/TbjOFDiSqmGHVEhTfqKpHa1YXxhYssFrjKzSFyu/Shb1WdTXn44Y+DthwVUynk4QE=; X-UUID: 5b1173f6ff6345429c19a9826aab50cc-20200729 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 258468352; Wed, 29 Jul 2020 14:31:22 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 29 Jul 2020 14:31:20 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 29 Jul 2020 14:31:21 +0800 From: Crystal Guo To: , , CC: , , , , , , , Crystal Guo Subject: [v2,2/3] dt-bindings: watchdog: add a new head file for toprgu reset-controllers Date: Wed, 29 Jul 2020 14:30:48 +0800 Message-ID: <1596004249-28655-3-git-send-email-crystal.guo@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1596004249-28655-1-git-send-email-crystal.guo@mediatek.com> References: <1596004249-28655-1-git-send-email-crystal.guo@mediatek.com> MIME-Version: 1.0 X-MTK: N Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org merge all the reset numbers in one head file. Signed-off-by: Crystal Guo --- include/dt-bindings/reset-controller/mtk-resets.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/dt-bindings/reset-controller/mtk-resets.h diff --git a/include/dt-bindings/reset-controller/mtk-resets.h b/include/dt-bindings/reset-controller/mtk-resets.h new file mode 100644 index 0000000..d73a4ba --- /dev/null +++ b/include/dt-bindings/reset-controller/mtk-resets.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020 Mediatek Inc. + * + */ + +#ifndef _DT_BINDINGS_RESET_CONTROLLER_MTK +#define _DT_BINDINGS_RESET_CONTROLLER_MTK + +#define MT2712_TOPRGU_SW_RST_NUM 11 +#define MT8183_TOPRGU_SW_RST_NUM 19 + +#endif