Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3743472rwb; Tue, 20 Sep 2022 04:13:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5W2wwpeeoBUGVmFpI54cPOUt/an108ygLJEutJkVPgwy+Q/7e0IFV+lhr8djmZepQTZbGV X-Received: by 2002:a17:906:5d07:b0:781:c281:f6e4 with SMTP id g7-20020a1709065d0700b00781c281f6e4mr1874049ejt.744.1663672407530; Tue, 20 Sep 2022 04:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663672407; cv=none; d=google.com; s=arc-20160816; b=N/hdnDDIO/3K1YcePMBMAA3RO4481iXAv3rhlzCUVuGWO0JlpEXTQyrk8Vt0K5ZukB b5/xSj1badBVlzbQ4+AvyzGgrPJISZvZRrY+d+MoEfvBt/FNRrdXCVYGqxBj0l449b/2 uwMepe3jceFPD0HkrjeRhWNCtSSpGMwgECIJyxpkdfWCNeszXX92plIVJVcysp4KPV3f fYcjF3qp6OMBwVIgo4E/EcwB3zDJJs3fIjzleVm2LovEgJO9ccRc1GOTmhM9BpcYDPZj Zs2cOTiyP6Y8dw3thSgKWoBPxfDgWSEkhnx9pcZbHKayxypDezl7f8cdDB6wyZqWwC3d DhLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=yLi9Y9lzraMMjpBP1+i+VEvrdSAb0bYIQ6O9q2fTfg4=; b=bDX+6ADT7YS+Zyr13Ju5ng8I/D0GjXti6tjerg/0BxNZ9FwmswNA/mfw7v/M5VS2M4 jtV9BSYX8kuK0wlsoTiPC6tBUqVRQI5f4bpFDDrSmBZep0vt7CxNlVHalIE5Um1Rkf2y YL8vOMasbVhLCbnGIlUJvfCIYAFKFOw3MM4rRvL6XeGtht/Bv/AX78zRwEQUjuBva0SX BV76BpLOiZ/teOoveD0feKJn1b2y5tVjpymPZZcBvmo+Jx7tbXAShAuV/eBa4qWopv0o 4+MT3snXmAYv8nGluoxj/cvWP3wS41d+1A8cOn0S9pipfvLBuN1kyx/n4mn+/sWtSMlJ CXtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hwiThbWL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a05640242c100b0044e702cd711si1759723edc.98.2022.09.20.04.13.02; Tue, 20 Sep 2022 04:13:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hwiThbWL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230487AbiITK4n (ORCPT + 99 others); Tue, 20 Sep 2022 06:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230497AbiITK4j (ORCPT ); Tue, 20 Sep 2022 06:56:39 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B69D6AA25; Tue, 20 Sep 2022 03:56:38 -0700 (PDT) X-UUID: 7aac2bc73f93435ba05548a19f394cea-20220920 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=yLi9Y9lzraMMjpBP1+i+VEvrdSAb0bYIQ6O9q2fTfg4=; b=hwiThbWLJNdNunaEUQOOCX2rWzBE26t2k4eu72MTijmpNCClRrB/aa7mA3nDknBAefeP2JSKJNvzclItYYHrt8S3fjLGz7c4wWyh+JS7pZ4bLkA2Ydz1TFLFus4aFPq/i7M2TJcZURKy4pixJA65TMaUq+DMpU4QX4Y5FL8i2LQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11,REQID:0af95adb-311f-4fcb-b5c8-17d3cc41485d,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:39a5ff1,CLOUDID:26246b70-dafa-4a42-b716-cf2cd4845592,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 7aac2bc73f93435ba05548a19f394cea-20220920 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1797377620; Tue, 20 Sep 2022 18:56:32 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 20 Sep 2022 18:56:30 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 20 Sep 2022 18:56:30 +0800 From: Runyang Chen To: Wim Van Sebroeck , Guenter Roeck , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , CC: , , , , , , Runyang Chen Subject: [PATCH v3 2/3] dt-bindings: reset: mt8188: add toprgu reset-controller header file Date: Tue, 20 Sep 2022 18:56:21 +0800 Message-ID: <20220920105622.25666-3-Runyang.Chen@mediatek.com> X-Mailer: git-send-email 2.9.2 In-Reply-To: <20220920105622.25666-1-Runyang.Chen@mediatek.com> References: <20220920105622.25666-1-Runyang.Chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY,URIBL_CSS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Runyang Chen Add toprgu reset-controller header file for MT8188 Signed-off-by: Runyang Chen Acked-by: Rob Herring --- include/dt-bindings/reset/mt8188-resets.h | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 include/dt-bindings/reset/mt8188-resets.h diff --git a/include/dt-bindings/reset/mt8188-resets.h b/include/dt-bindings/reset/mt8188-resets.h new file mode 100644 index 000000000000..377cdfda82a9 --- /dev/null +++ b/include/dt-bindings/reset/mt8188-resets.h @@ -0,0 +1,36 @@ +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)*/ +/* + * Copyright (c) 2022 MediaTek Inc. + * Author: Runyang Chen + */ + +#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8188 +#define _DT_BINDINGS_RESET_CONTROLLER_MT8188 + +#define MT8188_TOPRGU_CONN_MCU_SW_RST 0 +#define MT8188_TOPRGU_INFRA_GRST_SW_RST 1 +#define MT8188_TOPRGU_IPU0_SW_RST 2 +#define MT8188_TOPRGU_IPU1_SW_RST 3 +#define MT8188_TOPRGU_IPU2_SW_RST 4 +#define MT8188_TOPRGU_AUD_ASRC_SW_RST 5 +#define MT8188_TOPRGU_INFRA_SW_RST 6 +#define MT8188_TOPRGU_MMSYS_SW_RST 7 +#define MT8188_TOPRGU_MFG_SW_RST 8 +#define MT8188_TOPRGU_VENC_SW_RST 9 +#define MT8188_TOPRGU_VDEC_SW_RST 10 +#define MT8188_TOPRGU_CAM_VCORE_SW_RST 11 +#define MT8188_TOPRGU_SCP_SW_RST 12 +#define MT8188_TOPRGU_APMIXEDSYS_SW_RST 13 +#define MT8188_TOPRGU_AUDIO_SW_RST 14 +#define MT8188_TOPRGU_CAMSYS_SW_RST 15 +#define MT8188_TOPRGU_MJC_SW_RST 16 +#define MT8188_TOPRGU_PERI_SW_RST 17 +#define MT8188_TOPRGU_PERI_AO_SW_RST 18 +#define MT8188_TOPRGU_PCIE_SW_RST 19 +#define MT8188_TOPRGU_ADSPSYS_SW_RST 21 +#define MT8188_TOPRGU_DPTX_SW_RST 22 +#define MT8188_TOPRGU_SPMI_MST_SW_RST 23 + +#define MT8188_TOPRGU_SW_RST_NUM 24 + +#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT8188 */ -- 2.18.0