From patchwork Wed Aug 7 07:48:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 170733 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp6780743ile; Wed, 7 Aug 2019 00:49:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqx89TG+CD12F0Ij5WE5tv9dLEyh7UOW5RETbQluDJl/jwZLLZBD62nmdMeR21FsYHssVVVe X-Received: by 2002:a17:90a:bb0c:: with SMTP id u12mr7233205pjr.132.1565164180865; Wed, 07 Aug 2019 00:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565164180; cv=none; d=google.com; s=arc-20160816; b=sV1ehn0wlp6Z5akdMdqYyZU3aDvBpnvWVF0TDAlLAdP206Ufsn6s2u4iHnHwYCD8fD nKU0ezAMHjZmNC/i0GRkQ3gnJkT4vktkS11QL+lCpFtvROKdXeCqR88SyJmO/xR5rr3/ 8KDjWmDb9ahFtrR/jbb2JL31bAKehKXmtz2vxHvGq30Y4Tp3S1nMus2M1fPA37scI8vh PqxX4/XDWWUKPdrYDz/oBniXEQR7j8zfcZKl637ygIj73csvRH+E61IHdQHceDyBaN0q EhHgj507dmY95diEkMGBQBc01f1pVTiAuBWz0OVTdbeOGbC/3bu2KkMiDjmRmth7ErrN hCiw== 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:dkim-signature; bh=CqHLqeTvLwqY9yjJT7RoxOx9D6Uv+3KwF7okndJxyzM=; b=dM+q+Xhe0uQYjHn9SvWkD9yM/leuQ3SJzjLcc55Yrp/4B9alu1eq1CKddsdiV62dZc awFqnY799SRIkM/7waDyfGcPgzE4nJDlkWHu0/1KAoSYdoHc+hDyMovmkNEr23tjlbeA 6Ai0dzMQkxlXcmxn0glTRKWPjIz4RnZBiHd/UF7d4t0dOGZK1FwMKkNDBu+4wgajeHNp lzuYcMHRwDaZj7w7yfAth+3lqF/qG5/3oZHi0CxzQ5mpreFSae8kyuQtE5oyEobnEaJr 07baeIJ9zX+TzixdjTysPbTxUA6H5ahFc4FbqyvMpDKkh5ckZr3Jb/3rzA+Fu0zkuRfW M+7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nlM39Huc; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si367847plz.89.2019.08.07.00.49.40; Wed, 07 Aug 2019 00:49:40 -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=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nlM39Huc; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387396AbfHGHtj (ORCPT + 8 others); Wed, 7 Aug 2019 03:49:39 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:57910 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387402AbfHGHtj (ORCPT ); Wed, 7 Aug 2019 03:49:39 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x777nYsn026506; Wed, 7 Aug 2019 02:49:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1565164174; bh=CqHLqeTvLwqY9yjJT7RoxOx9D6Uv+3KwF7okndJxyzM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=nlM39HucyCjI3kq5RvBT+Tcjdgeso1P1eyTCjh7sZuYgj5wloqH63Qv2M+vxGImD7 qDmP3UHsiqkdSnzTeOuSyR6FbI2UKfXevk6nr3YJf7HEnxF+lp+rBUDRQBtjkDNu0R XdAUZjmHq+bVSBFK8dPXcWsjwq5G7yoTWVEs8EWc= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x777nYMs078588 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Aug 2019 02:49:34 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 7 Aug 2019 02:49:33 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 7 Aug 2019 02:49:33 -0500 Received: from gomoku.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x777nNHh118711; Wed, 7 Aug 2019 02:49:32 -0500 From: Tero Kristo To: , , , CC: , , Subject: [PATCH 5/8] soc: ti: omap-prm: add omap4 PRM data Date: Wed, 7 Aug 2019 10:48:56 +0300 Message-ID: <1565164139-21886-6-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565164139-21886-1-git-send-email-t-kristo@ti.com> References: <1565164139-21886-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add PRM data for omap4 family of SoCs. Signed-off-by: Tero Kristo --- drivers/soc/ti/omap_prm.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c index 870515e3..9b8d5945 100644 --- a/drivers/soc/ti/omap_prm.c +++ b/drivers/soc/ti/omap_prm.c @@ -54,7 +54,27 @@ struct omap_reset_data { #define OMAP_PRM_NO_RSTST BIT(0) +struct omap_prm_data omap4_prm_data[] = { + { .name = "mpu", .base = 0x4a306300, .pwstst = 0x4 }, + { .name = "tesla", .base = 0x4a306400, .pwstst = 0x4, .rstctl = 0x10, .rstst = 0x14 }, + { .name = "abe", .base = 0x4a306500, .pwstst = 0x4 }, + { .name = "always_on_core", .base = 0x4a306600, .pwstst = 0x4 }, + { .name = "core", .base = 0x4a306700, .pwstst = 0x4, .rstctl = 0x210, .rstst = 0x214 }, + { .name = "ivahd", .base = 0x4a306f00, .pwstst = 0x4, .rstctl = 0x10, .rstst = 0x14 }, + { .name = "cam", .base = 0x4a307000, .pwstst = 0x4 }, + { .name = "dss", .base = 0x4a307100, .pwstst = 0x4 }, + { .name = "gfx", .base = 0x4a307200, .pwstst = 0x4 }, + { .name = "l3init", .base = 0x4a307300, .pwstst = 0x4 }, + { .name = "l4per", .base = 0x4a307400, .pwstst = 0x4 }, + { .name = "cefuse", .base = 0x4a307600, .pwstst = 0x4 }, + { .name = "wkup", .base = 0x4a307700, .pwstst = 0x4 }, + { .name = "emu", .base = 0x4a307900, .pwstst = 0x4 }, + { .name = "device", .base = 0x4a307b00, .rstctl = 0x0, .rstst = 0x4 }, + { }, +}; + static const struct of_device_id omap_prm_id_table[] = { + { .compatible = "ti,omap4-prm-inst", .data = omap4_prm_data }, { }, };