Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4836278iob; Mon, 9 May 2022 02:48:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFS2pyMzKYdBs1gD5QaWnayXeo/M4rjmsJvLFmZ46AiQrg3P7Q86zaPNThedlqW1uJ1OLx X-Received: by 2002:a65:4185:0:b0:399:4c59:e3b1 with SMTP id a5-20020a654185000000b003994c59e3b1mr12438628pgq.154.1652089718615; Mon, 09 May 2022 02:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652089718; cv=none; d=google.com; s=arc-20160816; b=y4aBWrOs2AgcZAto/NFR+UNHhV47e7mtc4iyDHf9KDFooi8LqWRfz69r61T2FxIKqt Dyz6StmVKy+czumRGuWOyhEgoeaYi4SB/LrW18Elc5oFc5lnQ0IfyMNJn9kIBPQ60yWz bTlYvmbkffKSM6M3n6ff2l9Dt1yvPZQy853d0mqvjc0heKX1RaWG9RA7WOb/jnU9T3sC oYZ6GL6sTFb3Xa52vhib+SX8G8o/ymhcW6tEd5tkxEQxKhvgUSz3I4nOMVsF9HFAYHz2 +Xw/XECCSAHFPcgF1ZpMbw/GHW85CZUXYSpdyJm1lvUEu32MPSWgVlZEGgytiBOgnEmn xaTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=doKL9t4KhUM8XEHbcPRj43mBSTSYEzDXADW8C2ymMhY=; b=cWYgidTdKSbuTC+KyQTvPo/w5JMYqvRmV0j1dVT6+CXakZhh6UoLbNg1/rzuwuqDYQ hqzgLFQ+o3jekvNKu9zNncgwTRO4mkBUMg0zTCTgGG0VLkYhSvVTekXrjt5yQ4Vb09oH zwVtfdhi9B1nYH/V8W7TpTmd3w1hFVYkMq+Xd/h6z8msr3FesD39cD2dYOSmmJ4HzKTj LXx4GVKUA2y75EZNvZ2qO0+XJLT8lt5L0BMj505UwNfbe1u16GMT2dp29LOvMp1mIB0N sawwRjg1mHkaBV7cgqTyIKzFBYOcJzbJs0sbjLrsPSwbgguCAEuq/yutSJMMWSlRVmCq sBng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ewc2a2Pe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g62-20020a636b41000000b003c144fa99cdsi13425100pgc.543.2022.05.09.02.48.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 02:48:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ewc2a2Pe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 47A1F224692; Mon, 9 May 2022 02:33:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345596AbiEFPpM (ORCPT + 99 others); Fri, 6 May 2022 11:45:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443015AbiEFPpD (ORCPT ); Fri, 6 May 2022 11:45:03 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15EC35A5AF; Fri, 6 May 2022 08:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651851680; x=1683387680; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FWT6jw3GZouNsnsxe8PgLhXGFpHvTWFkYY8DekcvT40=; b=Ewc2a2PeMfWrcFFw5rui6jTZB73Os1kvenn48cDlYzIC5hhNHnFDRCSt dvxaHTqcc391ipWJByWrXeuRPJ0bw+KqSwoK/5FMMkGiaz434sfSvUAhE 1WB15QBZ7YTtMyRr9m/rno2dyIXo5Rkh1VmbPe2+7BJfCgn52Q2y7MVU7 dlGc/Db/u9lHt7vN/g6Cxxs4aPHJnH9tkfgx0hgDAI1AreH67hQkM5j95 OxDQZ7s3azGtP7YR62FsRObMgwLWhgXt7jxpfOscCaCRwX8v104uHK4L0 y7IDmKwc0qlMIOV/gR80xETWdqEgvJzcTGbBedi33snj3mH5C1YSb6Xh/ g==; X-IronPort-AV: E=McAfee;i="6400,9594,10339"; a="354932054" X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="354932054" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 08:41:18 -0700 X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="632980315" Received: from rhweight-wrk1.ra.intel.com ([137.102.106.43]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 08:41:18 -0700 From: matthew.gerlach@linux.intel.com To: dinguyen@kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: Matthew Gerlach Subject: [PATCH v3 1/3] dt-bindings: soc: add bindings for Intel HPS Copy Engine Date: Fri, 6 May 2022 08:41:14 -0700 Message-Id: <20220506154116.365235-2-matthew.gerlach@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220506154116.365235-1-matthew.gerlach@linux.intel.com> References: <20220506154116.365235-1-matthew.gerlach@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthew Gerlach Add device tree bindings documentation for the Intel Hard Processor System (HPS) Copy Engine. Signed-off-by: Matthew Gerlach --- v3: - remove unused label - move from misc to soc - remove 0x from #address-cells/#size-cells values - change hps_cp_eng@0 to dma-controller@0 - remote inaccurate 'items:' tag --- .../bindings/soc/intel,hps-copy-engine.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/intel,hps-copy-engine.yaml diff --git a/Documentation/devicetree/bindings/soc/intel,hps-copy-engine.yaml b/Documentation/devicetree/bindings/soc/intel,hps-copy-engine.yaml new file mode 100644 index 000000000000..606208233b67 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/intel,hps-copy-engine.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (C) 2022, Intel Corporation +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/intel,hps-copy-engine.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Intel HPS Copy Engine + +maintainers: + - Matthew Gerlach + +description: | + The Intel Hard Processor System (HPS) Copy Engine is an IP block used to copy + a bootable image from host memory to HPS DDR. Additionally, there is a + register the HPS can use to indicate the state of booting the copied image as + well as a keep-a-live indication to the host. + +properties: + compatible: + const: intel,hps-copy-engine + + '#dma-cells': + const: 1 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + bus@80000000 { + compatible = "simple-bus"; + reg = <0x80000000 0x60000000>, + <0xf9000000 0x00100000>; + reg-names = "axi_h2f", "axi_h2f_lw"; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0x00000000 0x00000000 0xf9000000 0x00001000>; + + dma-controller@0 { + compatible = "intel,hps-copy-engine"; + reg = <0x00000000 0x00000000 0x00001000>; + #dma-cells = <1>; + }; + }; -- 2.25.1