Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6316765ybl; Wed, 15 Jan 2020 02:36:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxa1vcllCouKczypGJ486qQH7ncJzAUC2mhP/rGpHbXxeo1IxY4CO9Z+UjvLjSCtLmy0Wcj X-Received: by 2002:aca:814:: with SMTP id 20mr20822936oii.159.1579084592439; Wed, 15 Jan 2020 02:36:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579084592; cv=none; d=google.com; s=arc-20160816; b=ZFruMpmTtg5ZLq5Bel58ko8ZoGTfWwegdXB+B3jzktfomlOblyty46/g7tlmGyg9U2 h8hvk5JVKCx9rKUAFVc1/QKIqjgG05nxUZRY2W+MJD8BrmHYBgtUDopTkX9sRR9ZvjYB hz4UB9tLuV2hfzte8lT1/GM1zLEerdUEX7TWKlXdKWDmWEPWi160+bNztIS5s8j+71qI zItLWiHJUGDIdss6ps0KW7/BsaULS1ljfqm4jnkolF00rHjhRRkTGq9t35mXD+wd2uDn VYp+pWXKimnACjRVus9sYxipVd/hCzuiH0J7SoOD3h/MpJ3LPcR6KAvqE2gaD/YNNkhr 8eSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jHHq6tBvJANy25bIWbt9if2gvhapze0d8vL3P10H55E=; b=nZSzJIHEtSl7VpyZiu/xyWEPmSVF/QlZZbWd6f1fV9BfXiSsLfaWGyvyXj+Ga4hWgx 8jKdESrNVlbjaSzuohFkKdCx+FdftMqBtqXHgm1+Rn+mDx6LZX3SVn8B3gxIbUHfR01c 9CnHYQvXuPbjTIKyBf9fNGtk1jopOvDrpxQ5txxmQilu4PQf5DqWfV+CM3NzE+7K8JNn szns+2AbJEIUF8ePqXbdrdbBE+bhiWgxT5k7o+m+eRHzre23mG0KVdWOThTSLbbV2Eia hw+gLY3GstRz/Sgev24sV4dyRqPPiXZXk0f8OXpSs4GyLI/tjhuUS9cM0WvioDt3BDII W9Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rUA4+c20; 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; 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 z14si9841791oth.15.2020.01.15.02.36.19; Wed, 15 Jan 2020 02:36:32 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rUA4+c20; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729792AbgAOKfY (ORCPT + 99 others); Wed, 15 Jan 2020 05:35:24 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:35352 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729640AbgAOKfY (ORCPT ); Wed, 15 Jan 2020 05:35:24 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 00FAZDPA015455; Wed, 15 Jan 2020 04:35:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1579084513; bh=jHHq6tBvJANy25bIWbt9if2gvhapze0d8vL3P10H55E=; h=From:To:CC:Subject:Date; b=rUA4+c20fAlJXRl1t6mQbvbS7Ue5WT2ZjXSzmaLd/IWLxydnuzpHa9mX4pDzRa8tN +By3s0U8sXAUTMeu6HiO40wgZx93iOj9vLz/ohFMXuGS/pQMDPPM11MFTly/1ZydXt 2cjKfrWRVK0x7Qvv1QSgY8ZdfVFi8OM3eze0fRTg= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 00FAZDEZ128815 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Jan 2020 04:35:13 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 15 Jan 2020 04:35:11 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 15 Jan 2020 04:35:11 -0600 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00FAZ8vm050211; Wed, 15 Jan 2020 04:35:08 -0600 From: Peter Ujfalusi To: , , , CC: , , , , , , , , , , Subject: [PATCH v9 0/2] soc: ti: k3: Introduce ringacc driver Date: Wed, 15 Jan 2020 12:35:43 +0200 Message-ID: <20200115103545.6363-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Santosh, as you have asked I have sending the ringacc driver as a separate series from the DMA support for K3 platform. I have picked the patches from v8 of the DMA support series. The changelog regarding to ringacc: Changes since v8: - No change, picked from v8: https://lore.kernel.org/lkml/20191223110458.30766-1-peter.ujfalusi@ti.com/ Changes since v7: - Added Tested-by from Keerthy - Do not allow it to be built as a module for now as two exports are missing from kernel: - devm_ti_sci_get_of_resource() - of_msi_get_domain() Changes since v6: - No change Changes since v5: - No change Changes since v4: - clarify the meaning of ti,sci-dev-id in the binding document - Remove 'default y' from Kconfig - Fix struct comments - Move try_module_get() earlier in k3_ringacc_request_ring() Changes since v3: - TODO_GS is removed from the header - pm_runtime removed as NAVSS and it's components are always on - Check validity of Message mode setup (element size > 8 bytes must use proxy) Changes since v2: - fixed up th commit message (SoB, TI-SCI) - fixed ring reset - CONFIG_TI_K3_RINGACC_DEBUG is removed along with the dbg_write/read functions and use dev_dbg() - k3_ringacc_ring_dump() is moved to static - step numbering removed from k3_ringacc_ring_reset_dma() - Add clarification comment for shared ring usage in k3_ringacc_ring_cfg() - Magic shift values in k3_ringacc_ring_cfg_proxy() got defined - K3_RINGACC_RING_MODE_QM is removed as it is not supported Changes since v1: - Added Rob's Reviewed-by to ringacc DT binding document patch Regards, Peter --- Grygorii Strashko (2): bindings: soc: ti: add documentation for k3 ringacc soc: ti: k3: add navss ringacc driver .../devicetree/bindings/soc/ti/k3-ringacc.txt | 59 + drivers/soc/ti/Kconfig | 11 + drivers/soc/ti/Makefile | 1 + drivers/soc/ti/k3-ringacc.c | 1157 +++++++++++++++++ include/linux/soc/ti/k3-ringacc.h | 244 ++++ 5 files changed, 1472 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/ti/k3-ringacc.txt create mode 100644 drivers/soc/ti/k3-ringacc.c create mode 100644 include/linux/soc/ti/k3-ringacc.h -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki