Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3672454pxu; Mon, 30 Nov 2020 08:01:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlKHUg7DMpjzA7iv/6jRmef3s+q+FzAWQfongm+4bkaG4ivopwjA8GzRjuT5bVOaAABM6V X-Received: by 2002:a05:6402:b45:: with SMTP id bx5mr22601601edb.193.1606752087656; Mon, 30 Nov 2020 08:01:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1606752087; cv=pass; d=google.com; s=arc-20160816; b=UUK0sXvEWKq3inPwmWmeGcFoHWjkZCKred2BB6LHgNzsCqDn+7Y92xw78835OHdb7a SqJjINAxxWJ9b3uds5KcsRQnEfewcA5yvK4NuTuw7WvGcp6b9yGK+wOFPXBjL8r9H3x3 IoqQVE3zeX7pRkHosndmE8T7eakaXIUkvYOf6+OpBMMZZNcig1kfewRg0dXiEOr1R3fg e3/+c81svf1i2z8S7YPV3sxrSsTD/2yaCo+VDsGJW/hxaEjASaEyMFHsZvHeW05RCLS2 BNTFB6CLUKNIcVa5Y6stU06/WCoFJDccG+VkJ7yHzdknrLQCYlSnHK/0gHaK5/+6Q5rf 7zpA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :envelope-to:dkim-signature; bh=TIULJmF7wjtlaGevAKRRqKeEwv9aSRzQj+Yo/L7n4Wk=; b=yLrTSI8fL6FqB8gxSVRnUYwdo86VPPokE3OiDPiXTBY36hapGVwLXouhb5f2OSPMFw j61kQqP5nqcyuj9ca8A9GE3KmVJNvIALgkJbKIH4fsZrfCKXE6Rt2XTC2QuBcFqNrgT5 VLq9NNuhaRS851T0kdgogVllKecy1gXAcWAI7Quj0XuTtQRb9nhqTqJ42wkEqObWreoS J49M8ZNVDU8O9DXN8j+xAJO7FT/P2YWOCMhF55Ed6I8wfmRGu1hWZ8KTe3zcl/ZiR88H WbvPG02poIduUulmhPLGH+A9xP3f/1GZn24ksICt1gE33Uaci41RYxAC5H5yVUhVahKI KGYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=XsWf4mOx; arc=pass (i=1 spf=pass spfdomain=xilinx.com); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i59si10822606edd.308.2020.11.30.08.01.03; Mon, 30 Nov 2020 08:01:27 -0800 (PST) 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=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=XsWf4mOx; arc=pass (i=1 spf=pass spfdomain=xilinx.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728549AbgK3P6P (ORCPT + 99 others); Mon, 30 Nov 2020 10:58:15 -0500 Received: from mail-dm6nam12on2060.outbound.protection.outlook.com ([40.107.243.60]:21525 "EHLO NAM12-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727373AbgK3P6M (ORCPT ); Mon, 30 Nov 2020 10:58:12 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jp481aXJPOMCWLIQF/NrY/EpHjpvTeYLxpv5o6HvZdZtwTl23d6YoBMwk63hjE3Fl7JRL3C07t7WabVBauwQ+qXG1vI5rbwrvpkB4iisDAlvsjafYYC7xz3P1k2+chNJgiNfXjaCK5QGlvnK+6B/v/AH3JNtuqq8VGhabEsIp/vwZzs5ifh2/+NvVJiQNzKs+6AzliNt/oVVc2X+xCN8Skl3W0pOFopN9DrYudwJC74TQ8nhUk2L+HD072ou+OaOa0gGKJBqqd/AkgD88zqkVPn1xu+B2mQn7cCe65s7E3EtJv5aAWRSvvoZPUotzNu07/tE7xBHri2RV5p2dptsow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TIULJmF7wjtlaGevAKRRqKeEwv9aSRzQj+Yo/L7n4Wk=; b=RUObsu6cj1tW37t5LFcP4CA2JgAnL8OUHfKbEFoEW+WRU2COudyqyx6haz4h+XNZbpmuBiufKwVZKWsJ+/U5youD2R2mbTPOF33/aFwQWmcTDD4J7w2YNxC+sI1WVIVCivlfgU5EfO0Sbo5da5jO9cb68GQezvV/2z0UqdUeX7ZyJBEZCyFPUlAm7spoiOPnexMkb82RTCCCLUhsfV95cJj7yI2JZNwEQ96pvakjBvKdbWYEFRXFDj2Qz4oqQ+inwyF+bFNxhOjyiKpukKM6G7GURwY7PKmox3X3xq1pQMirV6uhyzSJtuf+DKjZY0xWXStSMj4x5nmvzOknbkwXLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=linaro.org smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TIULJmF7wjtlaGevAKRRqKeEwv9aSRzQj+Yo/L7n4Wk=; b=XsWf4mOx5r5lFtz+3YVgjazErSj9EH8y+uEWH+ZpI/TQDBvSpwO3bt6RGw+a4FCzRPZNH0Hw9To+4oCLEjjLs54I/oEsMYjZCSoGLrdEuHz6FvHJS9cmH2zWShTJvxYRnLbDkQg4ISNUZSj1Mg9bAczr5hGpWbOzFZoChtA4nRU= Received: from SA9PR13CA0046.namprd13.prod.outlook.com (2603:10b6:806:22::21) by PH0PR02MB7653.namprd02.prod.outlook.com (2603:10b6:510:5e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.25; Mon, 30 Nov 2020 15:57:18 +0000 Received: from SN1NAM02FT018.eop-nam02.prod.protection.outlook.com (2603:10b6:806:22:cafe::3e) by SA9PR13CA0046.outlook.office365.com (2603:10b6:806:22::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.9 via Frontend Transport; Mon, 30 Nov 2020 15:57:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by SN1NAM02FT018.mail.protection.outlook.com (10.152.72.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3611.27 via Frontend Transport; Mon, 30 Nov 2020 15:57:17 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Mon, 30 Nov 2020 07:57:17 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Mon, 30 Nov 2020 07:57:17 -0800 Envelope-to: mathieu.poirier@linaro.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Received: from [172.19.2.206] (port=47338 helo=xsjblevinsk50.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1kjlYD-000342-75; Mon, 30 Nov 2020 07:57:17 -0800 From: Ben Levinsky To: CC: , , , Subject: [PATCH v24 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP Date: Mon, 30 Nov 2020 07:57:12 -0800 Message-ID: <20201130155717.26008-1-ben.levinsky@xilinx.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d77b04b2-d701-4aa0-e030-08d895489d17 X-MS-TrafficTypeDiagnostic: PH0PR02MB7653: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eo1Pw5X5OVa5SsoIVZcwG52KHOjeAdiDMY/jVNc3Y/9pV2TEkazM+sMjiSt/h790aSxbwbpt/z7ymLwRYoNzNOPlpx8BAzyu8m1q0w2o3BmXfuzIwBVhpPtRYNf2hDeih9Adrm5rMI9jThnp0DzOS82tKlolFLYD6ejRi8zEx8dtgIqkUw68BzvXnGMh3mCR4+KojLBmZmSBZwG0bxBzrRikbMrmx7HDfzHM+niJamQ7J+aY+hkq+PlxRP2y6lAroj8W5+9sStWko/j3NAKizwRW7sGWRmVoHkl5Lgy3iP3X42BLl/hlYN9UMbRcIN/vEV6IhHXp7uE/lM3hATP2ANwcRQxlyJg8De2QKHGLuXuUjGyGQ9tR6Omwvw9QxCstPYEiNj5mI/Y/vvQfp+EY22MAPZ46c0OtN8X0kFs0OLIOeXJBFnqJJ7rKyGUeQJEFB3qpxsOkauuuIaDC/fhWALBpPLN7wGsliHh+YDsOugTqkvqLmIPSz3IAjbD5WV2q X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch01.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(4636009)(396003)(346002)(136003)(376002)(39860400002)(46966005)(83380400001)(4326008)(36756003)(8936002)(7696005)(82310400003)(82740400003)(6666004)(7636003)(1076003)(47076004)(356005)(2906002)(5660300002)(44832011)(70206006)(426003)(70586007)(26005)(36906005)(316002)(8676002)(336012)(6916009)(966005)(478600001)(186003)(54906003)(2616005)(9786002)(102446001);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2020 15:57:17.7877 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d77b04b2-d701-4aa0-e030-08d895489d17 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT018.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR02MB7653 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v24: fix 'make dt_binding_check' errors v23: - add TCM Nodes to xlnx-zynqmp.h to be used in R5 Remoteproc Driver - Update grammar and capitalization in device tree bindings and R5 remoteproc driver comments - Update device tree bindings and driver to align with TI Remoteproc R5 driver - fix minor comments in v22 review Previous version: https://patchwork.kernel.org/project/linux-remoteproc/list/?series=384227 Ben Levinsky (5): firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration. firmware: xilinx: Add shutdown/wakeup APIs firmware: xilinx: Add RPU configuration APIs dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings remoteproc: Add initial zynqmp R5 remoteproc driver .../xilinx,zynqmp-r5-remoteproc.yaml | 223 +++++ drivers/firmware/xilinx/zynqmp.c | 96 ++ drivers/remoteproc/Kconfig | 8 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/zynqmp_r5_remoteproc.c | 872 ++++++++++++++++++ include/linux/firmware/xlnx-zynqmp.h | 64 ++ 6 files changed, 1264 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/xilinx,zynqmp-r5-remoteproc.yaml create mode 100644 drivers/remoteproc/zynqmp_r5_remoteproc.c -- 2.17.1