Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp435533ybn; Wed, 25 Sep 2019 02:11:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXuqihEBziUep0VudNT1+gxhJydKxhTmxTU2rRy3JgHEsS+B41vhVQcZhM2pS4QiPUCwzK X-Received: by 2002:a5d:51d2:: with SMTP id n18mr8053215wrv.10.1569402710143; Wed, 25 Sep 2019 02:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569402710; cv=none; d=google.com; s=arc-20160816; b=ZMtbjEZdTXcZXdDBu9wr5cvyUmQHZPaJBnvK5HNIRthq889qoeUF/uC/qo46S5xsBN sGImEuBMktcD4+ORyo+OgT3BTRLP0SB9N1nfXk8LGPNje2YreXs2cBMa48/+PlYp4P84 /LOD50UYKB7bMQGKrW5Za7Wp2guZzpdpXl4KDo/2GWbETm9d758GYmw1JqpS3dAtJMz7 sg66mKw1D5hP8dVntSWuNiz8/Drj7/SNuTnst2irrGFgSjky7nufxtiJUhCNGOZz/N+5 G368ZQVO3GuudOQBbsmOGglhdonWo1pGszCBuXllDIbWb3JqC+LQCjcCgOepNl89IDk2 Txvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=82NjmQkR8iamHka2kPbZRBub7zzEpHVICud6mJaykq0=; b=zcYbJYxlR7jwuR3U9fGsjMggO9x2Y+FFCLcKermi6DHv8NomoH3yhhm7+XKU1Sl97r ldjxJIuXX+tgfivbSqL+tNBKk6PwWfxKodVYY58dyGBfSqkNnPWPNfhAFgBjdZkZ2Nn0 1a407gYnYHWPcxthwSWs78CMbRmYS5f2/YONjB7Wj0bZWAZYEmjILw/vYp2tzYY9NvRn WIDwykW/e0qzvy3KTFxPt7TjQNiNc3XnBVRpKhra612a3uZCVRYHqYCqc+FoT2wm1+Uk /Hlau6m9RcqsFCGPKqZuO0Uh9b0BGGWh6xYEklPEXV+AgXYQ4SIDoF+pD0suWHu1FClh y6tw== 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 v25si2982695edb.286.2019.09.25.02.11.25; Wed, 25 Sep 2019 02:11:50 -0700 (PDT) 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 S2438645AbfIWIea (ORCPT + 99 others); Mon, 23 Sep 2019 04:34:30 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:17196 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390945AbfIWIe2 (ORCPT ); Mon, 23 Sep 2019 04:34:28 -0400 Received: from droid12-sz.software.amlogic (10.28.8.22) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.1591.10; Mon, 23 Sep 2019 16:35:23 +0800 From: Xingyu Chen To: Philipp Zabel , Kevin Hilman , Neil Armstrong CC: Xingyu Chen , Jianxin Pan , Rob Herring , Jerome Brunet , Hanjie Lin , , , , Subject: [PATCH v2 2/3] dt-bindings: reset: add bindings for the Meson-A1 SoC Reset Controller Date: Mon, 23 Sep 2019 16:34:20 +0800 Message-ID: <1569227661-4261-3-git-send-email-xingyu.chen@amlogic.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1569227661-4261-1-git-send-email-xingyu.chen@amlogic.com> References: <1569227661-4261-1-git-send-email-xingyu.chen@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.28.8.22] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT bindings for the Meson-A1 SoC Reset Controller include file, and also slightly update documentation. Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- .../bindings/reset/amlogic,meson-reset.yaml | 1 + include/dt-bindings/reset/amlogic,meson-a1-reset.h | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 include/dt-bindings/reset/amlogic,meson-a1-reset.h diff --git a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml index 00917d8..b3f57d8 100644 --- a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml +++ b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml @@ -16,6 +16,7 @@ properties: - amlogic,meson8b-reset # Reset Controller on Meson8b and compatible SoCs - amlogic,meson-gxbb-reset # Reset Controller on GXBB and compatible SoCs - amlogic,meson-axg-reset # Reset Controller on AXG and compatible SoCs + - amlogic,meson-a1-reset # Reset Controller on A1 and compatible SoCs reg: maxItems: 1 diff --git a/include/dt-bindings/reset/amlogic,meson-a1-reset.h b/include/dt-bindings/reset/amlogic,meson-a1-reset.h new file mode 100644 index 00000000..8d76a47 --- /dev/null +++ b/include/dt-bindings/reset/amlogic,meson-a1-reset.h @@ -0,0 +1,59 @@ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) + * + * Copyright (c) 2019 Amlogic, Inc. All rights reserved. + * Author: Xingyu Chen + * + */ + +#ifndef _DT_BINDINGS_AMLOGIC_MESON_A1_RESET_H +#define _DT_BINDINGS_AMLOGIC_MESON_A1_RESET_H + +/* RESET0 */ +#define RESET_AM2AXI_VAD 1 +#define RESET_PSRAM 4 +#define RESET_PAD_CTRL 5 +#define RESET_TEMP_SENSOR 7 +#define RESET_AM2AXI_DEV 8 +#define RESET_SPICC_A 10 +#define RESET_MSR_CLK 11 +#define RESET_AUDIO 12 +#define RESET_ANALOG_CTRL 13 +#define RESET_SAR_ADC 14 +#define RESET_AUDIO_VAD 15 +#define RESET_CEC 16 +#define RESET_PWM_EF 17 +#define RESET_PWM_CD 18 +#define RESET_PWM_AB 19 +#define RESET_IR_CTRL 21 +#define RESET_I2C_S_A 22 +#define RESET_I2C_M_D 24 +#define RESET_I2C_M_C 25 +#define RESET_I2C_M_B 26 +#define RESET_I2C_M_A 27 +#define RESET_I2C_PROD_AHB 28 +#define RESET_I2C_PROD 29 + +/* RESET1 */ +#define RESET_ACODEC 32 +#define RESET_DMA 33 +#define RESET_SD_EMMC_A 34 +#define RESET_USBCTRL 36 +#define RESET_USBPHY 38 +#define RESET_RSA 42 +#define RESET_DMC 43 +#define RESET_IRQ_CTRL 45 +#define RESET_NIC_VAD 47 +#define RESET_NIC_AXI 48 +#define RESET_RAMA 49 +#define RESET_RAMB 50 +#define RESET_ROM 53 +#define RESET_SPIFC 54 +#define RESET_GIC 55 +#define RESET_UART_C 56 +#define RESET_UART_B 57 +#define RESET_UART_A 58 +#define RESET_OSC_RING 59 + +/* RESET2 Reserved */ + +#endif -- 2.7.4