Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp307698pxa; Fri, 21 Aug 2020 07:48:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9lh8oLSuE5M+FBnkYEHX7GQ113DAFOLnkJYCSFZCe0K800kH/uVmNw+zPRv9WD2+E3fH1 X-Received: by 2002:a17:907:11dd:: with SMTP id va29mr3336584ejb.470.1598021334834; Fri, 21 Aug 2020 07:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598021334; cv=none; d=google.com; s=arc-20160816; b=aVEuAeKNorAych1tI49cQPrTVUoLi41onvnpU+tLrYp5PhGUgIOR7k0x5BTXRElX9z 9i+GLajCclzuAsaLvtJoOR74lT+H6D9MRt4NnasHIz5EmoHhT4K+v/jX4GgqndGN41lB uAgk8m/JPGZd7CJVseLQypiKcrul4kdZ43nFw6Jz9ya9T2peV+zVYm1DsKG99SrruP/V PSA5FVD8EznLH+zukCPkmbPt8kx8uRd9CSWxB1wZZlD0vOlOWJZ8d6LcYx05B7NlGlum CpewbDV2hb0+m8bPxEHJUvS4GyIRmGDv5lQd2cYZqQOaPLLvvW7SEa7nkRYA5CyWr7fu mfMw== 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; bh=OsJasaQyy7/E+kPEpA8PlFznj7k6c2w5j5pqgaCetRA=; b=G/5dTCK2IQLsJhYK5Sxo6mO38lBLIk0Z8Z7zXTcjo0BISWkfvmyHEDFAw5O7OMwwHP H+6SCWO80AlqjQ+/EUVtoX2Udp6aI30DDHOHVH1uWx/2kkqKvcGx6yXPIpMIlRquR3ZA mCM+KhyOfkNv7Ccs1EiqrIm8F2G3fYzJaDc9t+Dz11Tq1Fya6i6A/Ad85g5peK64b534 MpIYWASC1NV10fXmX0Rrh+fEqoWjTPIqyLKvvtC3628EmpuRaWbzMxM7TqOohwjKbE3q qrIhN79GYf6PEg8/vzdB8nkVRSZRZXU3AqOCa4vEFawWv2DSC4wS/7ISabRCcDnRFAov 3+GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tnmSau2z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co25si1370271edb.151.2020.08.21.07.48.31; Fri, 21 Aug 2020 07:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tnmSau2z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728015AbgHUOpM (ORCPT + 99 others); Fri, 21 Aug 2020 10:45:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726542AbgHUOoi (ORCPT ); Fri, 21 Aug 2020 10:44:38 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40EA7C0617A0 for ; Fri, 21 Aug 2020 07:44:34 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id m22so2128617ljj.5 for ; Fri, 21 Aug 2020 07:44:34 -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=OsJasaQyy7/E+kPEpA8PlFznj7k6c2w5j5pqgaCetRA=; b=tnmSau2zUkTpgpUzOkknDCLR9TWzijsVx7GOYiahq4Ohc031GC427oYP5lnbTSJAMK 22fIY12Q77SJlGbp8+yLmrvZHhI8z3A5WiPPMAMQnpk+nf/q22aD5KnirywVU8dlHime d3/uEdm2pvtNJhWs5lSfN1F8p7/TCzrEOFem8u7326iPcdfRxudvh/ehrEUoCrqAn2+p TgimM2cnB5klT3KSzAWKLpiAvkGPLjFLzJEU3kJ9Lg02GGAEvgkamtbsxWUIQpFSUY5t 0KxIiBC6REcvToucSJ/BUnE2dRwkT1XZykuBYFXt1CDQmtukt7yC9yseK7elwufxljPG Y9DQ== 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=OsJasaQyy7/E+kPEpA8PlFznj7k6c2w5j5pqgaCetRA=; b=PkfFI0M2fOZz7dqHifiOKX76hGRpa4NPSJp+q+xcnZpcNfS8VZkW/y3wvcDGOZEx0R JSH8gAoNPISWItqKZETSxm/zaEyJqII93Wy5ZQ8Fol/tfzdNr7qEbk6vs3VJAHVHXQUP 5+yZiRNi+T8PxPbG1TnmjtY5ib5wJALEdWVOCZ7w2ULIAX5sdexVmFkpXj+rADs0ZIRM IRqm6P+kh96DRp1QHSMYOgyvjPLHAzXdqE4X54Ybp74NuyIe/4iW9A/+IwdH2FoB4kIf hIe9AKozw6ezA6JZH1h9r9/mrq3sIzntBGEiIFgM0n2VMJovGGf8xDIyojrCaflh637H tAIg== X-Gm-Message-State: AOAM531pJXNuxhp9C1FO+h90VniAOoBaMqvHd0QMOUUtoCeeQfoGOsj/ noTcxmdDg3bhqZQkPf6owPOhAA== X-Received: by 2002:a2e:95cc:: with SMTP id y12mr1581561ljh.138.1598021072622; Fri, 21 Aug 2020 07:44:32 -0700 (PDT) Received: from gilgamesh.semihalf.com (193-106-246-138.noc.fibertech.net.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id u10sm425301lfo.39.2020.08.21.07.44.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Aug 2020 07:44:32 -0700 (PDT) From: Grzegorz Jaszczyk To: ssantosh@kernel.org, s-anna@ti.com Cc: grzegorz.jaszczyk@linaro.org, santosh.shilimkar@oracle.com, robh+dt@kernel.org, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, praneeth@ti.com, tony@atomide.com Subject: [PATCH v2 6/7] soc: ti: pruss: Enable support for ICSSG subsystems on K3 AM65x SoCs Date: Fri, 21 Aug 2020 16:42:43 +0200 Message-Id: <1598020964-29877-7-git-send-email-grzegorz.jaszczyk@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1598020964-29877-1-git-send-email-grzegorz.jaszczyk@linaro.org> References: <1598020964-29877-1-git-send-email-grzegorz.jaszczyk@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Suman Anna The K3 AM65x family of SoCs have the next generation of the PRU-ICSS processor subsystem capable of supporting Gigabit Ethernet, and is commonly referred to as ICSSG. These SoCs contain typically three ICSSG instances named ICSSG0, ICSSG1 and ICSSG2. The three ICSSGs are identical to each other for the most part with minor SoC integration differences and capabilities. The ICSSG2 supports slightly enhanced features like SGMII mode Ethernet, while the ICSS0 and ICSSG1 instances are limited to MII mode only. The ICSSGs on K3 AM65x SoCs are in general super-sets of the PRUSS on the AM57xx/66AK2G SoCs. They include two additional auxiliary PRU cores called RTUs and few other additional sub-modules. The interrupt integration is also different on the K3 AM65x SoCs and are propagated through various SoC-level Interrupt Router and Interrupt Aggregator blocks. Other IP level differences include different constant tables, differences in system event interrupt input sources etc. They also do not have a programmable module reset line like those present on AM33xx/AM43xx SoCs. The modules are reset just like any other IP with the SoC's global cold/warm resets. The existing pruss platform driver has been updated to support these new ICSSG instances through new AM65x specific compatibles. A build dependency with ARCH_K3 is added to enable building all the existing PRUSS platform drivers for this ARMv8 platform. Signed-off-by: Suman Anna Signed-off-by: Grzegorz Jaszczyk --- v1->v2: - No changes. --- drivers/soc/ti/Kconfig | 2 +- drivers/soc/ti/pruss.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soc/ti/Kconfig b/drivers/soc/ti/Kconfig index c290343..f5b82ff 100644 --- a/drivers/soc/ti/Kconfig +++ b/drivers/soc/ti/Kconfig @@ -103,7 +103,7 @@ config TI_K3_SOCINFO config TI_PRUSS tristate "TI PRU-ICSS Subsystem Platform drivers" - depends on SOC_AM33XX || SOC_AM43XX || SOC_DRA7XX || ARCH_KEYSTONE + depends on SOC_AM33XX || SOC_AM43XX || SOC_DRA7XX || ARCH_KEYSTONE || ARCH_K3 select MFD_SYSCON help TI PRU-ICSS Subsystem platform specific support. diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c index d5f128e..ccc9783 100644 --- a/drivers/soc/ti/pruss.c +++ b/drivers/soc/ti/pruss.c @@ -163,6 +163,7 @@ static const struct of_device_id pruss_of_match[] = { { .compatible = "ti,am4376-pruss1", .data = &am437x_pruss1_data, }, { .compatible = "ti,am5728-pruss" }, { .compatible = "ti,k2g-pruss" }, + { .compatible = "ti,am654-icssg" }, {}, }; MODULE_DEVICE_TABLE(of, pruss_of_match); -- 2.7.4