Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp254450pxb; Wed, 6 Oct 2021 04:25:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMp2fTk1bibyqw6ptTHoPYOb8Jx4trL5JwqyjMMUbS8Bup+lvbK3rtHqq87/KwxPtcYmWO X-Received: by 2002:aa7:80d9:0:b029:2ed:49fa:6dc5 with SMTP id a25-20020aa780d90000b02902ed49fa6dc5mr36292439pfn.3.1633519557740; Wed, 06 Oct 2021 04:25:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633519557; cv=none; d=google.com; s=arc-20160816; b=IjYriYeWavxtuVdIFbsKYNwhXwzxf34poeACMwepMwp20NY/QuWsh0yKul3ktgBlBB EgYkf8tP9yzWoScnzN+mQlczxLOyBCxi95/hY7mY0+9TqogVYIxXkLCXoHfzxM9STADf iQbifRSnzfvrnsUkzeFhdxlzMNb9ugCoy8oRGhTHFgPfqRFjV76J3u3QwSO6K7E5Hb+Q apHwoChMaBCgob0qobst3s2235A7Ip45ely/a+uGdnCdSF4XS6ijHk/SPnNxX6KmrWi2 TYASRXRiwmUlpuFfiBRS7/f+vu6RTNURqUg7h3N9ODxTLjCX1A42coo4lXg/UQ/3VLzT Wdjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lMW4foefc6bEFLqLQ2H0asFN0IF8jIbnNoNDfv9QTpo=; b=tGJ5Sm3jPZebOZSitnWbPrVvlwag3ckpzeg9497DceRTJZSTNOVJTe/yFv3Peiueo4 4TepvqeTBDaDm/v1MHS1qh0yKb5uc8/R3rBTpOtEbYeXgm/KtHjARI1d90/muMVLb1ir T5W4n5EQ6E4AUEls70nb7A4ORSyhjj7WlHWc7BVrux1FYxcwDoRK29rt6i2xDhXWwyOE rZt1YGUM/k/403LPtRM9X/mgKqUA3z1f9nPCHi6poUa79pz/TBN5HzRoRTHPS4mfSCKj ucyrPU2yU2VbfONekUqTDjbAwm+yahTHmOLH5tc4QRQR4qfm3sic0Z3BHE+74c18cavV 6WLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fqdoZhMJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si14137425plg.46.2021.10.06.04.25.44; Wed, 06 Oct 2021 04:25:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fqdoZhMJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238405AbhJFLZR (ORCPT + 99 others); Wed, 6 Oct 2021 07:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238286AbhJFLZC (ORCPT ); Wed, 6 Oct 2021 07:25:02 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E02AC061749; Wed, 6 Oct 2021 04:23:10 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id v17so7734220wrv.9; Wed, 06 Oct 2021 04:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lMW4foefc6bEFLqLQ2H0asFN0IF8jIbnNoNDfv9QTpo=; b=fqdoZhMJ2rxSvh2lAg5TQLQ6khL0EhpVeNi4HptuzUZ1DC3nJNGIPgvplHbMR76SeG tE+zzecpcLnJU5QQF05MnQrHtQbUemmbu1R6HLp8c9S47FR70J57K6ovtyOM65f8M6ih PFZUHsOON6/HLhhmHOHAr6wdjR+GkNljvpSXtIm1QpL5Gti0XljT56KRRtf/G6RsqTFB y6u3ydnPQpjnlIQA2q/9pnH5T2uqARPPc5mY7feGiQRBaP4xeVtbGGn6SjmKuoCTtx06 HVk7gdoqFC7wgyRkwpLkqY46OkBcZh0OnWuNb1pJCr8W6FKR4/G3z7ty99I7PY2w1VYP KZfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lMW4foefc6bEFLqLQ2H0asFN0IF8jIbnNoNDfv9QTpo=; b=2PdPYCZXndpd/kVPuaEpiXvIc2XfJxjeokS0LMTzd9JkDrCF4VdncZZuUKL6y/HqRV 2omdA4X6/W8omr9Wr0L2DtSMfvq67eHZcFcMfKuMiH7bHya6fcBBU4SzWWnbBPnXSUVX AReD+6LfG5Xmsebzxi0Uoymgx2lmlgtcVAtlAEyUCsckEtw4Eu+pgkgpNnfYw+tyGz73 IcyzZnNaTbW31CkCPEZZpAbcrXDKCC01RTBIJKtLd7tdQUCBjxIbBGq2isIxbKLX21L5 fG04HdVesEx0SLz4Ch5iLuv45uZQbuyCUglVFMqwYsTuTIs794a4Mdx4i52DDpGEPUKs i2Wg== X-Gm-Message-State: AOAM532K/33rfdzmrL9urJ3VBhfE1Pp04/8364MgTQEUYUYq9eKOH5NA rO4NKHUsf+4x+fHp0MRS1WSFzJLQgzA= X-Received: by 2002:a7b:c954:: with SMTP id i20mr9314376wml.126.1633519388877; Wed, 06 Oct 2021 04:23:08 -0700 (PDT) Received: from localhost.localdomain (252.red-83-54-181.dynamicip.rima-tde.net. [83.54.181.252]) by smtp.gmail.com with ESMTPSA id e14sm10801985wrw.33.2021.10.06.04.23.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Oct 2021 04:23:08 -0700 (PDT) From: Sergio Paracuellos To: sboyd@kernel.org Cc: linux-clk@vger.kernel.org, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-staging@lists.linux.dev, neil@brown.name, linux-kernel@vger.kernel.org, john@phrozen.org Subject: [PATCH v2 1/4] dt-bindings: reset: add dt binding header for Mediatek MT7621 resets Date: Wed, 6 Oct 2021 13:23:03 +0200 Message-Id: <20211006112306.4691-2-sergio.paracuellos@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211006112306.4691-1-sergio.paracuellos@gmail.com> References: <20211006112306.4691-1-sergio.paracuellos@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dt binding header for resets lines in Mediatek MT7621 SoCs. Signed-off-by: Sergio Paracuellos --- include/dt-bindings/reset/mt7621-reset.h | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 include/dt-bindings/reset/mt7621-reset.h diff --git a/include/dt-bindings/reset/mt7621-reset.h b/include/dt-bindings/reset/mt7621-reset.h new file mode 100644 index 000000000000..7572c6b41453 --- /dev/null +++ b/include/dt-bindings/reset/mt7621-reset.h @@ -0,0 +1,37 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (c) 2021 Sergio Paracuellos + * Author: Sergio Paracuellos + */ + +#ifndef DT_BINDING_MT7621_RESET_H +#define DT_BINDING_MT7621_RESET_H + +#define MT7621_RST_SYS 0 +#define MT7621_RST_MCM 2 +#define MT7621_RST_HSDMA 5 +#define MT7621_RST_FE 6 +#define MT7621_RST_SPDIFTX 7 +#define MT7621_RST_TIMER 8 +#define MT7621_RST_INT 9 +#define MT7621_RST_MC 10 +#define MT7621_RST_PCM 11 +#define MT7621_RST_PIO 13 +#define MT7621_RST_GDMA 14 +#define MT7621_RST_NFI 15 +#define MT7621_RST_I2C 16 +#define MT7621_RST_I2S 17 +#define MT7621_RST_SPI 18 +#define MT7621_RST_UART1 19 +#define MT7621_RST_UART2 20 +#define MT7621_RST_UART3 21 +#define MT7621_RST_ETH 23 +#define MT7621_RST_PCIE0 24 +#define MT7621_RST_PCIE1 25 +#define MT7621_RST_PCIE2 26 +#define MT7621_RST_AUX_STCK 28 +#define MT7621_RST_CRYPTO 29 +#define MT7621_RST_SDXC 30 +#define MT7621_RST_PPE 31 + +#endif /* DT_BINDING_MT7621_RESET_H */ -- 2.33.0