From patchwork Fri Feb 1 12:50:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10792669 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8B30E13B5 for ; Fri, 1 Feb 2019 12:50:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B8C231859 for ; Fri, 1 Feb 2019 12:50:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 799CA31A1C; Fri, 1 Feb 2019 12:50:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7E17531859 for ; Fri, 1 Feb 2019 12:50:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=83PQNHPJi208MYeJ/Y3YhOY9Pkohxh67jS8ySl9TGMM=; b=PW2XlHhBxaXaag ooux2z98dWsF3nDPY5NQJZmPIIjXN/Bc6HNFnc4jFrg/uCgihTz/Gv55Tso3PYmi1OgUscAPhsDs4 d/6BXHgY6U94DCxOo00hFYamcQykUbBavJs9x9DjODfJ7Rbhp0nhuRZv29rwAaEMqpBaE+H2KmHu5 QfnUerJSqFwS6IbdqHh639HoF6rV1lwXdgR73aYZI6WZ8/Hiz7IEZhNCj8QH42l1dxf/liW1mu6pn PfpDnUnEpT/T4mtQRwQcehMpmDMfsBALCZinGAeQbP/rhtlF/iLvev9LSYPW4ROUXMSje/AEXJfQg DLpQ2mez/EM38X5bH/Ug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpYGt-0001TP-Vg; Fri, 01 Feb 2019 12:50:15 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpYGp-0001Sn-RC for linux-arm-kernel@lists.infradead.org; Fri, 01 Feb 2019 12:50:13 +0000 Received: by mail-wm1-x342.google.com with SMTP id r24so4477754wmh.0 for ; Fri, 01 Feb 2019 04:50:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yI5dyFXD0eCpqICzl94AW1c+UhnXLPpf4lVwvl+KCoM=; b=Y4Jt/4xMCEgiOTu0QPE/DzgKbL1z6clS0ZyJp2ss28pRxNNk8n/gvQxw9aezLog4Im MCD6T0mleFBR6kE8SS7sKd75uy7R+O4VzYqrGPcBMXrgX/kwqd/lQDLoJtGpy7NZ/C5v QzCRY8mAxq3vnjeE/8Hn/VixXd5dj7LKoAVz6wV9zB+pmyPV0WhJPMvyyvdlK8m4FdDh VhMddhv0WvdddG8aBgzVfVP9D3hsdCFyjlRW6Os+IBdJjJfQu1Uj0VY2jKJmucAy0bff QFBNK23SMOdAaXINh2qyO0CENUH/fbWnqY1y4MemREIropXR5JJPcz4wbJMLxamrYkjl Ux8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yI5dyFXD0eCpqICzl94AW1c+UhnXLPpf4lVwvl+KCoM=; b=FMDDiH+jFDQNdBURxnkeCbUMvK2xpEH5GKXLS0BcgMn/x0/i8Yfb9ha51ULqtXe4Vb AyOt/F6C/IGydtENvUWyPmvMOoEnKv8wxHEAc55OPjWyVdQdVhDnmLocaP3GjKR4Gduy 9HJEBKkUDmSHqfnouuWGkFfvZRZgOIK3DNAz91cHSu4SFbtcMCAYXLiGKfjekjKT4S5k wqktGywr3oPBC0gKxsQPIVPmZAIkAu5iDDz0dFnyLDVwYiD5pQXPoRQJA9u+/fjEe/GC cwiuyQBYyqNPTTyqYRDFIiuMS43UEqcsb6BvlnEYLCOXp8t9uzjlot5+vww7wIAu97KF CCew== X-Gm-Message-State: AHQUAuYwDwCV72d3J1BDuB+RdUUKYfJBISPHwMWrBjgmPIVvYmZy3spl LXvnhPesARKn3Hwn7MS0IqJPIg== X-Google-Smtp-Source: AHgI3Iagcxe5g+mTm+PlYI+lapgobHLUmmz5WFNAIkFaWEE4g5QJgWZZLBmL7mXUlnjN1TJFipaTGg== X-Received: by 2002:a1c:b455:: with SMTP id d82mr2425856wmf.78.1549025409830; Fri, 01 Feb 2019 04:50:09 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id w10sm4115884wmb.1.2019.02.01.04.50.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Feb 2019 04:50:09 -0800 (PST) From: Jerome Brunet To: Philipp Zabel , Kevin Hilman Subject: [PATCH v3] dt-bindings: reset: meson: add g12a bindings Date: Fri, 1 Feb 2019 13:50:03 +0100 Message-Id: <20190201125003.25022-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190201_045011_937970_A49FD804 X-CRM114-Status: GOOD ( 10.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Neil Armstrong , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add device tree bindings for the reset controller of g12a SoC family. Acked-by: Neil Armstrong Signed-off-by: Jerome Brunet Acked-by: Kevin Hilman --- Changes since v2 [0]: * Dropped useless g12a compatible [0]: https://lkml.kernel.org/r/20190128181316.30814-1-jbrunet@baylibre.com .../reset/amlogic,meson-g12a-reset.h | 134 ++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 include/dt-bindings/reset/amlogic,meson-g12a-reset.h diff --git a/include/dt-bindings/reset/amlogic,meson-g12a-reset.h b/include/dt-bindings/reset/amlogic,meson-g12a-reset.h new file mode 100644 index 000000000000..8063e8314eef --- /dev/null +++ b/include/dt-bindings/reset/amlogic,meson-g12a-reset.h @@ -0,0 +1,134 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ +/* + * Copyright (c) 2019 BayLibre, SAS. + * Author: Jerome Brunet + * + */ + +#ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H +#define _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H + +/* RESET0 */ +#define RESET_HIU 0 +/* 1 */ +#define RESET_DOS 2 +/* 3-4 */ +#define RESET_VIU 5 +#define RESET_AFIFO 6 +#define RESET_VID_PLL_DIV 7 +/* 8-9 */ +#define RESET_VENC 10 +#define RESET_ASSIST 11 +#define RESET_PCIE_CTRL_A 12 +#define RESET_VCBUS 13 +#define RESET_PCIE_PHY 14 +#define RESET_PCIE_APB 15 +#define RESET_GIC 16 +#define RESET_CAPB3_DECODE 17 +/* 18 */ +#define RESET_HDMITX_CAPB3 19 +#define RESET_DVALIN_CAPB3 20 +#define RESET_DOS_CAPB3 21 +/* 22 */ +#define RESET_CBUS_CAPB3 23 +#define RESET_AHB_CNTL 24 +#define RESET_AHB_DATA 25 +#define RESET_VCBUS_CLK81 26 +/* 27-31 */ +/* RESET1 */ +/* 32 */ +#define RESET_DEMUX 33 +#define RESET_USB 34 +#define RESET_DDR 35 +/* 36 */ +#define RESET_BT656 37 +#define RESET_AHB_SRAM 38 +/* 39 */ +#define RESET_PARSER 40 +/* 41 */ +#define RESET_ISA 42 +#define RESET_ETHERNET 43 +#define RESET_SD_EMMC_A 44 +#define RESET_SD_EMMC_B 45 +#define RESET_SD_EMMC_C 46 +/* 47-60 */ +#define RESET_AUDIO_CODEC 61 +/* 62-63 */ +/* RESET2 */ +/* 64 */ +#define RESET_AUDIO 65 +#define RESET_HDMITX_PHY 66 +/* 67 */ +#define RESET_MIPI_DSI_HOST 68 +#define RESET_ALOCKER 69 +#define RESET_GE2D 70 +#define RESET_PARSER_REG 71 +#define RESET_PARSER_FETCH 72 +#define RESET_CTL 73 +#define RESET_PARSER_TOP 74 +/* 75-77 */ +#define RESET_DVALIN 78 +#define RESET_HDMITX 79 +/* 80-95 */ +/* RESET3 */ +/* 96-95 */ +#define RESET_DEMUX_TOP 105 +#define RESET_DEMUX_DES_PL 106 +#define RESET_DEMUX_S2P_0 107 +#define RESET_DEMUX_S2P_1 108 +#define RESET_DEMUX_0 109 +#define RESET_DEMUX_1 110 +#define RESET_DEMUX_2 111 +/* 112-127 */ +/* RESET4 */ +/* 128-129 */ +#define RESET_MIPI_DSI_PHY 130 +/* 131-132 */ +#define RESET_RDMA 133 +#define RESET_VENCI 134 +#define RESET_VENCP 135 +/* 136 */ +#define RESET_VDAC 137 +/* 138-139 */ +#define RESET_VDI6 140 +#define RESET_VENCL 141 +#define RESET_I2C_M1 142 +#define RESET_I2C_M2 143 +/* 144-159 */ +/* RESET5 */ +/* 160-191 */ +/* RESET6 */ +#define RESET_GEN 192 +#define RESET_SPICC0 193 +#define RESET_SC 194 +#define RESET_SANA_3 195 +#define RESET_I2C_M0 196 +#define RESET_TS_PLL 197 +#define RESET_SPICC1 198 +#define RESET_STREAM 199 +#define RESET_TS_CPU 200 +#define RESET_UART0 201 +#define RESET_UART1_2 202 +#define RESET_ASYNC0 203 +#define RESET_ASYNC1 204 +#define RESET_SPIFC0 205 +#define RESET_I2C_M3 206 +/* 207-223 */ +/* RESET7 */ +#define RESET_USB_DDR_0 224 +#define RESET_USB_DDR_1 225 +#define RESET_USB_DDR_2 226 +#define RESET_USB_DDR_3 227 +#define RESET_TS_GPU 228 +#define RESET_DEVICE_MMC_ARB 229 +#define RESET_DVALIN_DMC_PIPL 230 +#define RESET_VID_LOCK 231 +#define RESET_NIC_DMC_PIPL 232 +#define RESET_DMC_VPU_PIPL 233 +#define RESET_GE2D_DMC_PIPL 234 +#define RESET_HCODEC_DMC_PIPL 235 +#define RESET_WAVE420_DMC_PIPL 236 +#define RESET_HEVCF_DMC_PIPL 237 +/* 238-255 */ + +#endif