Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3289312pxb; Fri, 12 Feb 2021 14:31:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlAAjEPoBINETmLmUsI8LuKDH2YWGeu83xQFjKF5bs55WO14xBseWDq+oM2Qm9N2gEweqn X-Received: by 2002:a17:906:4bc2:: with SMTP id x2mr5126444ejv.143.1613169063796; Fri, 12 Feb 2021 14:31:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613169063; cv=none; d=google.com; s=arc-20160816; b=m/x8JrNJPgwrSTnWocqgXqBcWfmCb7JzH0+ZK3Ya/9CLb1Lh3HqXj5aIE7c43ibxVo TN/uSMRrLT5KJKzaYaVahP/44PbNTmJ3cY5fc8IUgB4hM47XsvuPwlhTr+lt+/ZyULkA QsUZ5lfAWXFrZGQBg356cpAmJ6UqRcyx5a1Bwn03cr3xgfjAO2w7sBRUmChg1onpy0hy tPS4wO9wj8sqT5oDQTelNuPxE1ltkeI3zfzufVPfsgmcYzx2PXErRJMVW+6cyyLhohUO xpw0Thi9Rjf7mGu5353sAj5TRIMFX5AQz19wg5MLbqeUH2E71Zv4S6NO+UIVyUzonjOC TKwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:ironport-sdr:ironport-sdr; bh=aVcH9ZPswMku7tszsaeae2PFWPNNbSuMN22pBy1Z/L0=; b=uCD4EI5OfSYm0s3uYxbO7hi7T5UeZnNv5vUlfyy+x/prKdvSd2ABf7IoghLbRILKIr CD3khoVW0CGmeX1F9XNHOEb2Kkm0HN7UCCcYML8u6r7TqayZjOsw/Gn8/oRtHyQLOnRz 9TdzUPdqkelPSGqYdW90OSmqGLFEt/NXoMc4DExtlcdjtrSa0W5KGn/kdW1Cy0tBCcmK Ygb46V2p+26QYbYiLo6ziLL6vztCoVoi1GKP83u3kuLc4cueiFmHWvabe5l4BDb03UTd rVYDaIjYwA3xeI2mTk9dZWQ8QAAvbpTQo7AN3EKdh260EDOctt3JVTf7q3tCs2n/9qpS dEgQ== ARC-Authentication-Results: i=1; mx.google.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o16si7232184eds.116.2021.02.12.14.30.39; Fri, 12 Feb 2021 14:31:03 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231551AbhBLW1m (ORCPT + 99 others); Fri, 12 Feb 2021 17:27:42 -0500 Received: from mga12.intel.com ([192.55.52.136]:39769 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231317AbhBLWY5 (ORCPT ); Fri, 12 Feb 2021 17:24:57 -0500 IronPort-SDR: XEpW8v9mjUGbMmEgDsgBsAxaZTyJZlvuZ0/u00tXQP3ziOjih5pBQZmWOnF8zokgIvE25+Ndvr 0JTM1Hwl6leQ== X-IronPort-AV: E=McAfee;i="6000,8403,9893"; a="161628098" X-IronPort-AV: E=Sophos;i="5.81,174,1610438400"; d="scan'208";a="161628098" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2021 14:23:08 -0800 IronPort-SDR: XMcJL+Rk4brBKBAKZfQvhluVFm6VlIBeUD8kCTSAgUPW3X0MQvYx/d1psQGp5Kw5Eec3UC1vh+ oU+UINm1iOpA== X-IronPort-AV: E=Sophos;i="5.81,174,1610438400"; d="scan'208";a="362963878" Received: from smtp.ostc.intel.com ([10.54.29.231]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2021 14:23:08 -0800 Received: from mtg-dev.jf.intel.com (mtg-dev.jf.intel.com [10.54.74.10]) by smtp.ostc.intel.com (Postfix) with ESMTP id 612D26372; Fri, 12 Feb 2021 14:23:08 -0800 (PST) Received: by mtg-dev.jf.intel.com (Postfix, from userid 1000) id 59C60363700; Fri, 12 Feb 2021 14:23:08 -0800 (PST) From: mgross@linux.intel.com To: markgross@kernel.org, mgross@linux.intel.com, arnd@arndb.de, bp@suse.de, damien.lemoal@wdc.com, dragan.cvetic@xilinx.com, gregkh@linuxfoundation.org, corbet@lwn.net, palmerdabbelt@google.com, paul.walmsley@sifive.com, peng.fan@nxp.com, robh+dt@kernel.org, shawnguo@kernel.org, jassisinghbrar@gmail.com Cc: linux-kernel@vger.kernel.org, Seamus Kelly , devicetree@vger.kernel.org Subject: [PATCH v6 17/34] xlink-ipc: Add xlink ipc device tree bindings Date: Fri, 12 Feb 2021 14:22:47 -0800 Message-Id: <20210212222304.110194-18-mgross@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210212222304.110194-1-mgross@linux.intel.com> References: <20210212222304.110194-1-mgross@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Seamus Kelly Add device tree bindings for the xLink IPC driver which enables xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Cc: Rob Herring Cc: devicetree@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Seamus Kelly --- .../misc/intel,keembay-xlink-ipc.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/intel,keembay-xlink-ipc.yaml diff --git a/Documentation/devicetree/bindings/misc/intel,keembay-xlink-ipc.yaml b/Documentation/devicetree/bindings/misc/intel,keembay-xlink-ipc.yaml new file mode 100644 index 000000000000..70a3061d024d --- /dev/null +++ b/Documentation/devicetree/bindings/misc/intel,keembay-xlink-ipc.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (c) Intel Corporation. All rights reserved. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/misc/intel,keembay-xlink-ipc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Intel Keem Bay xlink IPC + +maintainers: + - Kelly Seamus + +description: | + The Keem Bay xlink IPC driver enables the communication/control sub-system + for internal IPC communications within the Intel Keem Bay SoC. + +properties: + compatible: + oneOf: + - items: + - const: intel,keembay-xlink-ipc + + memory-region: + items: + - description: reference to the CSS xlink IPC reserved memory region. + - description: reference to the MSS xlink IPC reserved memory region. + + intel,keembay-vpu-ipc-id: + $ref: "/schemas/types.yaml#/definitions/uint32" + description: The numeric ID identifying the VPU within the xLink stack. + + intel,keembay-vpu-ipc-name: + $ref: "/schemas/types.yaml#/definitions/string" + description: User-friendly name for the VPU within the xLink stack. + + intel,keembay-vpu-ipc: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: reference to the corresponding intel,keembay-vpu-ipc node. + +additionalProperties: False + +examples: + - | + xlink-ipc { + compatible = "intel,keembay-xlink-ipc"; + memory-region = <&css_xlink_reserved>, + <&mss_xlink_reserved>; + intel,keembay-vpu-ipc-id = <0x0>; + intel,keembay-vpu-ipc-name = "vpu-slice-0"; + intel,keembay-vpu-ipc = <&vpuipc>; + }; -- 2.17.1