From patchwork Tue Sep 19 00:28:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 112954 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4292931qgf; Mon, 18 Sep 2017 17:29:45 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBn5xicDXUkZvc8mMU7c+SXte2Y+/p9xYom8qlblnNFvoG8W45TohjJjY4HvjWflh9uGgtl X-Received: by 10.84.132.35 with SMTP id 32mr333302ple.170.1505780985268; Mon, 18 Sep 2017 17:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505780985; cv=none; d=google.com; s=arc-20160816; b=ss1X1xXKNiECvxKAHFMa2HzfF2wI3A7sc4jNvQE26fUo39LPWJrnzY8vBH2Rmw/y0E 4jwoFhiZxOITi3RzvcSHfv6GKXX5mJGvNylxHkNEngxKAav2dqk6GKo6MEwnG+HCPcWd oQnCZMGQkL/KdxJBhpADcAJQrxfEfGw4BjG3dIN4IfKXgaKI6BchEn6oZkU3yAKXbMiS tNGumRxKkkTJ8R86tnadqYbk2OqY37FQjmZJN2LAYXqajMRognQO4Cw7zF6GYEbETi/l AJ8RP8Ie8nLt0S/BE6d7OnWb9RdHXvBp1iY2HqgI2uhqQn89NVU7J6sBPiUq094nOtGf Cybg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=CbOaDHNW95PL7BjgygxFsTqDqeXWhqXu2go74O5Gl1A=; b=IL6Y2/Q5AzUsZDPQEZ+9IfmcIuXqJerN+kwttWpQvKyb6rR/gGO0EG3/7JItmLrEEB KuULqnfMiLp2kZo9KDsE9ccxl0Je1rUeypvHfyrvH1lNtXsBB9OmGVJ1D/PmLIIfWJh+ RTRX06JO7iuQoaDBmO3CuvucCmn9zCMVO21PnpmCsEbIBBU2IKxq1pLLuyDbqUN2J3+Y DuZyKsggMtlDYRr26au1g6r2n+/RDRtwQeCjdFDqhYI4RnA25ZUq4Qx2ID7GKV9HHFbH KOXb9miUyzHW78eQ44HrKfCLYTwmwmAgt+6s07crlVMpEoL02uwzixqAEyctfSutgKlH Jc0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SsoOOJp5; 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 g5si5735032plk.466.2017.09.18.17.29.45; Mon, 18 Sep 2017 17:29:45 -0700 (PDT) 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=SsoOOJp5; 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 S1751516AbdISA3m (ORCPT + 26 others); Mon, 18 Sep 2017 20:29:42 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:9352 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751466AbdISA3k (ORCPT ); Mon, 18 Sep 2017 20:29:40 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8J0Sehl021029; Mon, 18 Sep 2017 19:28:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1505780920; bh=29E3+1m+uqJ8XnsEkG4LGGPP/EMZ0JnXMDa4Ut/CGBQ=; h=From:To:CC:Subject:Date; b=SsoOOJp5mhf2M1fdS0hbpozzXt4NVMRD2bL/8zsP94VvXriFNoVCvuvdOeZRsWGRu hA2Sv67qxTR0aO8+0OZ+gdp0T7CBN1/nzEjdalLJI6neZA658CbJdwl7qr6o/kE4Jy VUHCrXpXRve3HBQisKqvge+x0ZbiPnetLFdOK/3M= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8J0SZjO032611; Mon, 18 Sep 2017 19:28:35 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 18 Sep 2017 19:28:35 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Mon, 18 Sep 2017 19:28:35 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8J0SZ46008470; Mon, 18 Sep 2017 19:28:35 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v8J0SY329418; Mon, 18 Sep 2017 19:28:34 -0500 (CDT) From: Suman Anna To: Sekhar Nori , Kevin Hilman CC: , , , Suman Anna Subject: [PATCH 0/3] Add and enable DSP device on OMAPL138 LCDK board Date: Mon, 18 Sep 2017 19:28:30 -0500 Message-ID: <20170919002833.5677-1-s-anna@ti.com> X-Mailer: git-send-email 2.13.1 MIME-Version: 1.0 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 Sekhar, The following series adds the DT node for the DSP device present on on DA850/OMAPL138 SoCs. The node is disabled in the base dts file, and enabled in the corresponding LCDK board file alongside the reserved CMA pool required by the DSP device. The DT bindings and driver adaptation were added to mainline in 4.14-rc1, and this series adds the remaining dt portions. Nodes are added as per bindings in Documentation/devicetree/bindings/remoteproc/ti,davinci-rproc.txt Patches are based on 4.14-rc1. The first 2 patches adds the base DTS node and enables the device on OMAPL138 LCDK board. The last patch allows the non-DT clock to be bound to the DT DSP device by using of_auxdata which renames the device to the same as the non-DT device name. This is required by the davinci remoteproc driver to properly acquire and enable the clock for this device. Validation done on OMAPL138 LCDK board. Supported features include basic load/boot (tested with rpmsg_client_sample) using external memory from the CMA pool. regards Suman Suman Anna (3): ARM: dts: da850: Add DSP node ARM: dts: da850-lcdk: Add and enable CMA reserved pool for DSP ARM: davinci: da8xx-dt: Add OF_DEV_AUXDATA entry for DSP clock matching arch/arm/boot/dts/da850-lcdk.dts | 18 ++++++++++++++++++ arch/arm/boot/dts/da850.dtsi | 12 ++++++++++++ arch/arm/mach-davinci/da8xx-dt.c | 1 + 3 files changed, 31 insertions(+) -- 2.13.1