From patchwork Wed Aug 1 03:39:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 143226 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp345810ljj; Tue, 31 Jul 2018 20:40:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd72rff5WJr8m1KyzHYcfYnDxSEPerWx70qWVO9QHsTla1NJPtylGn61WEEasrQDUse2D4V X-Received: by 2002:a17:902:b28c:: with SMTP id u12-v6mr22551805plr.16.1533094844397; Tue, 31 Jul 2018 20:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533094844; cv=none; d=google.com; s=arc-20160816; b=L4KQbnT9Ftj4ENa19cDn9tkui8cX2XcRHTZrfljLBXMJL1zjncgiEovsV0AiNYSk3c rPrvzqTpjUmfnVxSBTxlQ3sKB2PZtKr/jHCOR54iGxxxddXOriw28j2anHIeXc40oETP s43K2LDlGCBa+kXT5mDrJ3gtkpnIZ0Eu4ig863EVyYsFL+Yt9KvmghN/150rTGbN9Jdq 0ybgef1ac8v7XtA4T4lYgUjvyghDuowCzal0+6lg0T3T+TC3ElrldV2UpxjkRRVZ+1UP nh+szMhc+wZJEdm60LgGXLgvA7YGYnxyN3u+0HddgQZtBpFHMhBzxuLA7I3TOtbHE5BL sFeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=EEXePn8UN7dSUqDfcuEGMAS0yjzNV2Obe2xVPKlNrSQ=; b=Io305MTOkbmoS5oxXHICc28ykNGIS/VL2rsWWX2OaGfa77wD0wY4zsE0m3IVXkEBjw 1CbgQuR+TCAnsF/61zPHffbmLC2aLm8Ufi6ojFLP6J7+nNUt9UQGnRTnvRxl777ImMgx +qY2cJlmiWSOWnc4N0pSHgCSgQcGSqI6fItz1uWaRCLVIbhO0Wma5NqRQq0/dnlzoex6 k3Wf5FKYhV5rRK+4aopvzLTxhu7MKJacUMQjfpJmwo7HkceZGYUSlBSQVP3gOeOHWE/f SEXVMMS+JVmjDEAyXT4AChY0C1LzvhFd2L1mqRNzpX94QCVkk1KQNOoxeYDZbsSsUDX0 Y8WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eQwdBQRj; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13-v6si14705366pgl.104.2018.07.31.20.40.44; Tue, 31 Jul 2018 20:40:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eQwdBQRj; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732996AbeHAFYK (ORCPT + 5 others); Wed, 1 Aug 2018 01:24:10 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:47028 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732949AbeHAFYJ (ORCPT ); Wed, 1 Aug 2018 01:24:09 -0400 Received: by mail-pf1-f193.google.com with SMTP id u24-v6so7102967pfn.13 for ; Tue, 31 Jul 2018 20:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=M7OYzCo+MTkBBAhtXTEUhwR+M+Mzm5uYQjGa03VQRRQ=; b=eQwdBQRjut1X7ipS/tHZLRByxGcWzAjH38jgUhYt5SpllPcqPF9FfHVJWjkh5Oaw1i RqoDYnAt/kEB3oIvoqyLiSVc3LN9zKeCR6SwdLTcAAuA3EoQOlYwP+21YnHL0DH3Gx/S B+dyQpgIdTHGZyW6/JMmPSmEUg4U8MODm1q40= 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:in-reply-to :references; bh=M7OYzCo+MTkBBAhtXTEUhwR+M+Mzm5uYQjGa03VQRRQ=; b=c/nenlB9IvGM2aW+d25Mk0l55VBnyaBNH7i5Rtdq5VWBUAEQVR+QTgJkUiq/w5E1ar WJ3lSsMG5W5sxCr1Nx1FrxEQGBVAEI+PKtU0aGldnBp4y6VqCckvu/TXcKtyVDD8ruDf X6c51SZDVCN4BBJ164RbbbCamqTDux5F+dlLDNZlvirLLsi5Dn8J2UtqRDhXspZ291lZ nftGJKpY6Pl82KDJ0j2to/i1Fzdov6PS08AVCXwNOE4YAAMJi5Sz+Q5UGI41mjjxleFT RqzwXT05wVou/XcCJdGUZboDy0F3ncCBNzGIboG74NDK7vzUgXSpzKs7bKH8rPIiTmvk /hSg== X-Gm-Message-State: AOUpUlE/1i8G8KwGbsfsbdSBipZTlQrzluqLgexcI/PsUHYkzDAI/ZgU +NWWlzGU7fX99wggk41JBlqY X-Received: by 2002:a63:d309:: with SMTP id b9-v6mr22821207pgg.163.1533094842491; Tue, 31 Jul 2018 20:40:42 -0700 (PDT) Received: from localhost.localdomain ([2405:204:730e:f0ae:ac4e:9cdd:28a2:4bf9]) by smtp.gmail.com with ESMTPSA id d19-v6sm34879545pgi.50.2018.07.31.20.40.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 20:40:41 -0700 (PDT) From: Manivannan Sadhasivam To: p.zabel@pengutronix.de, mturquette@baylibre.com, sboyd@kernel.org, afaerber@suse.de, robh+dt@kernel.org, lee.jones@linaro.org, arnd@arndb.de Cc: linux-clk@vger.kernel.org, liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, thomas.liau@actions-semi.com, jeff.chen@actions-semi.com, pn@denx.de, edgar.righi@lsitec.org.br, sravanhome@gmail.com, Manivannan Sadhasivam Subject: [PATCH v2 05/10] dt-bindings: reset: Add Actions Semi S700 SoC RMU support Date: Wed, 1 Aug 2018 09:09:10 +0530 Message-Id: <20180801033915.15880-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180801033915.15880-1-manivannan.sadhasivam@linaro.org> References: <20180801033915.15880-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add RMU (Reset Management Unit) support for the Actions Semi S700 SoC which is a part of the Actions Semi Owl family series. Signed-off-by: Manivannan Sadhasivam --- .../bindings/reset/actions,owl-reset.txt | 8 +++-- include/dt-bindings/reset/actions,s700-rmu.h | 34 +++++++++++++++++++ 2 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 include/dt-bindings/reset/actions,s700-rmu.h -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/reset/actions,owl-reset.txt b/Documentation/devicetree/bindings/reset/actions,owl-reset.txt index 38e2c7051d86..a29950cb2db0 100644 --- a/Documentation/devicetree/bindings/reset/actions,owl-reset.txt +++ b/Documentation/devicetree/bindings/reset/actions,owl-reset.txt @@ -7,12 +7,14 @@ controller binding usage. The RMU registers are part of the system-controller block on Owl SoCs. Required properties: -- compatible: Should be "actions,s900-rmu" +- compatible: Should be one of the following, + "actions,s900-rmu" + "actions,s700-rmu" - #reset-cells: Should be 1 All available resets are defined as preprocessor macros in corresponding -dt-bindings/reset/actions,s900-rmu.h header and can be used in device -tree sources. +dt-bindings/reset/actions,s900-rmu.h or actions,s700-rmu.h header and can +be used in device tree sources. Parent node should have the following properties : - compatible: "syscon", "simple-mfd" diff --git a/include/dt-bindings/reset/actions,s700-rmu.h b/include/dt-bindings/reset/actions,s700-rmu.h new file mode 100644 index 000000000000..8c5d4d1b8bd4 --- /dev/null +++ b/include/dt-bindings/reset/actions,s700-rmu.h @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +// +// Device Tree binding constants for Actions Semi S700 Reset Management Unit +// +// Copyright (c) 2018 Linaro Ltd. + +#ifndef _DT_BINDINGS_ACTIONS_S700_RESET_H +#define _DT_BINDINGS_ACTIONS_S700_RESET_H + +#define S700_RESET_AUDIO 0 +#define S700_RESET_CSI 1 +#define S700_RESET_DE 2 +#define S700_RESET_DSI 3 +#define S700_RESET_GPIO 4 +#define S700_RESET_I2C0 5 +#define S700_RESET_I2C1 6 +#define S700_RESET_I2C2 7 +#define S700_RESET_I2C3 8 +#define S700_RESET_KEY 9 +#define S700_RESET_LCD0 10 +#define S700_RESET_SI 11 +#define S700_RESET_SPI0 12 +#define S700_RESET_SPI1 13 +#define S700_RESET_SPI2 14 +#define S700_RESET_SPI3 15 +#define S700_RESET_UART0 16 +#define S700_RESET_UART1 17 +#define S700_RESET_UART2 18 +#define S700_RESET_UART3 19 +#define S700_RESET_UART4 20 +#define S700_RESET_UART5 21 +#define S700_RESET_UART6 22 + +#endif /* _DT_BINDINGS_ACTIONS_S700_RESET_H */