From patchwork Wed May 18 14:56:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9120021 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 183F19F37F for ; Wed, 18 May 2016 14:58:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4506B2034F for ; Wed, 18 May 2016 14:58:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 329D92034E for ; Wed, 18 May 2016 14:58:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b32ug-0002pY-H4; Wed, 18 May 2016 14:57:30 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b32uG-0002eC-Bt; Wed, 18 May 2016 14:57:09 +0000 Received: by mail-wm0-x241.google.com with SMTP id w143so13507583wmw.3; Wed, 18 May 2016 07:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=SiFHiWngxLCJGtdEtCNQK+a061JD371A7AxCBpUaOT8=; b=0mXbCbAQWXxGXOjb4qt8ADAOm7O7YcwwG21WRcAXVGliOXF8fosR8bSgLOvLirDcpJ r/dHfM5J7NWVaXjzMR1AqXg+A1MVouwcLkWuHqu4LGxXcp8pm+8fkCZ0OylenJTY3X/y fIG4Bb5GZ6YA6OypOTjDY6XwSYZbm2JENOak/fOLrU9v1dEc/EoOlkJe+fxYatthmRSt 9JqytouPLWvqRHKKfsAIY2+i7FYwbgnY8rZ7AH1hbvP7qCcZKFqT/p9Z7qdXDwXBj5Vt hZxcZy4njW2/YY2kKYzy1DB7B1s7KJc92mP1YFFnIERn++JpBONE851oZQWwciiMfGx7 HvSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=SiFHiWngxLCJGtdEtCNQK+a061JD371A7AxCBpUaOT8=; b=D62yPgySEGbRt1HmaC3K1gEcIYyITrw4/OI9R4ggkvDUL8iORndy85u5ZT+bn4UgOd xsFLDZ5/zBz875vPFik3IaRzdkXBawzvKbyinr2lBSl6Ci21C4Mt785KL3LygmNPtMlo nvoZTWWkQ+t9MYOw+u2HAdVrGsV1ALl13Sj7vyaqjJmSbQi45TomR7Bdal+jL8P+LCfh 2mWsWxLQrfJnvjR63JPBP9SFxLEf2XtgvisXZtw0byFSk7ND29Nf0sVD/+TukNQYteRz kzh9ORqkLreh2KgERqLOzTQHMGeXeRxdO4jiAsr+SIdXyLzb5FqAZTREEk5yWWxMs4IF J2RA== X-Gm-Message-State: AOPr4FUPSfYKCeqtlzoUE0kgMSuSQu914SxNvqxtPuLC3mltT4luc5TXF9L70/dVlzfP3Q== X-Received: by 10.28.148.149 with SMTP id w143mr8069908wmd.10.1463583403856; Wed, 18 May 2016 07:56:43 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id c16sm9588283wme.16.2016.05.18.07.56.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 May 2016 07:56:43 -0700 (PDT) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux@endlessm.com, devicetree@vger.kernel.org, khilman@baylibre.com, afaerber@suse.de, arnd@arndb.de, jens.wiklander@linaro.org, mark.rutland@arm.com, robh+dt@kernel.org Subject: [PATCH v2 2/4] soc: dt-bindings: Add secure monitor header file for GXBB Date: Wed, 18 May 2016 16:56:20 +0200 Message-Id: <1463583382-15614-3-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1463583382-15614-1-git-send-email-carlo@caione.org> References: <1463583382-15614-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160518_075704_552847_8B360D8B X-CRM114-Status: GOOD ( 13.19 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione This patch adds the header file describing all the SMC function identifiers for the Amlogic Meson GXBB SoC. Signed-off-by: Carlo Caione --- include/dt-bindings/soc/meson-gxbb-sm.h | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 include/dt-bindings/soc/meson-gxbb-sm.h diff --git a/include/dt-bindings/soc/meson-gxbb-sm.h b/include/dt-bindings/soc/meson-gxbb-sm.h new file mode 100644 index 0000000..b7d02df --- /dev/null +++ b/include/dt-bindings/soc/meson-gxbb-sm.h @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2016 Endless Mobile, Inc. + * Author: Carlo Caione + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef _MESON_SM_GXBB_H_ +#define _MESON_SM_GXBB_H_ + +#define SM_GET_SHARE_MEM_INPUT_BASE 0x82000020 +#define SM_GET_SHARE_MEM_OUTPUT_BASE 0x82000021 +#define SM_GET_REBOOT_REASON 0x82000022 +#define SM_GET_SHARE_STORAGE_IN_BASE 0x82000023 +#define SM_GET_SHARE_STORAGE_OUT_BASE 0x82000024 +#define SM_GET_SHARE_STORAGE_BLOCK_BASE 0x82000025 +#define SM_GET_SHARE_STORAGE_MESSAGE_BASE 0x82000026 +#define SM_GET_SHARE_STORAGE_BLOCK_SIZE 0x82000027 +#define SM_EFUSE_READ 0x82000030 +#define SM_EFUSE_WRITE 0x82000031 +#define SM_EFUSE_WRITE_PATTERN 0x82000032 +#define SM_EFUSE_USER_MAX 0x82000033 +#define SM_JTAG_ON 0x82000040 +#define SM_JTAG_OFF 0x82000041 +#define SM_SET_USB_BOOT_FUNC 0x82000043 +#define SM_SECURITY_KEY_QUERY 0x82000060 +#define SM_SECURITY_KEY_READ 0x82000061 +#define SM_SECURITY_KEY_WRITE 0x82000062 +#define SM_SECURITY_KEY_TELL 0x82000063 +#define SM_SECURITY_KEY_VERIFY 0x82000064 +#define SM_SECURITY_KEY_STATUS 0x82000065 +#define SM_SECURITY_KEY_NOTIFY 0x82000066 +#define SM_SECURITY_KEY_LIST 0x82000067 +#define SM_SECURITY_KEY_REMOVE 0x82000068 +#define SM_DEBUG_EFUSE_WRITE_PATTERN 0x820000F0 +#define SM_DEBUG_EFUSE_READ_PATTERN 0x820000F1 +#define SM_AML_DATA_PROCESS 0x820000FF + +#endif /* _MESON_SM_GXBB_H_ */