Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2533329pxv; Sat, 17 Jul 2021 16:50:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSv25iQgUG3bflYlACYs/b4mjq8u4GNdezhCx+zkgk5AGf0pwbbtI7JHqaFp42wdD4v1R/ X-Received: by 2002:a92:d5cb:: with SMTP id d11mr11153973ilq.133.1626565802946; Sat, 17 Jul 2021 16:50:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626565802; cv=none; d=google.com; s=arc-20160816; b=bduy+04aSQhkLotXJRZ6hgJJ5fFJIVnuN4oNFAJR7i6jBJn0MDHn37g9/eD+gqEjm5 Ptpbf8bsIQZDZQRo5rwPZV7BC9uwLAL4F6nXchb4ofV4aE9eBRbgNAR9vrgZjk6H3VN/ 6yIzKwkTrw7llThEL1AfdyQdI243fE69dpvBQttXODfbnhC3w7jTaK4wUgeVHx2sNgF8 cNYOqoo7FJUKgRDsYhHGy/D1P74ewvxNybCNVgLe7sDaWFrcoGIbfAMOeHigE1oPIfiK 9mCFnjQR4lLGrnMeKT0L1WqsGWbayv6GGiUH/59vkHmi2/0oGutXKAUo6PSY7y62IBi5 B0NQ== 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=bT1+fPwFJ9flWJpalc9w5DJNPuQ3S3336QWUFAF7Nzg=; b=W1Z2IOlXin2iSZOfXyNumLGxpTn/2gehKmIw1CaF1Y15Hzo2Uyn9sPN2v8bIsUb4tU unqY2+xVwBlSRNN1GwCucLA8rPNJTTcz9MEA6RHPMI9TgLnMA15lt14KppA8Ja7EysJD k7H5FsO+BoegBWyjGKUZzaFuptmMhkO2Q2aZ+vxk4hgsFrZF10ZbiFrhRHBFrBHxojA5 rv77SJxJmEzaCaA9aGw6wuUbFPRglZGDj5Q4f6YvDPjiM01e8F4W7a/neR7uoGZ4BEHg OAbkFMlkYEd0qzSxkeMXprFaj/7eWdHdBt1O2GH0PunIzMkCHrOmHJpJ6w/F298BzVt0 XcJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=MX4ao7Fs; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si17243844jad.124.2021.07.17.16.49.51; Sat, 17 Jul 2021 16:50:02 -0700 (PDT) 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=@googlemail.com header.s=20161025 header.b=MX4ao7Fs; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232288AbhGQXwK (ORCPT + 99 others); Sat, 17 Jul 2021 19:52:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232013AbhGQXwJ (ORCPT ); Sat, 17 Jul 2021 19:52:09 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F77CC061764; Sat, 17 Jul 2021 16:49:11 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id f9so16518494wrq.11; Sat, 17 Jul 2021 16:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bT1+fPwFJ9flWJpalc9w5DJNPuQ3S3336QWUFAF7Nzg=; b=MX4ao7FsMDbMFDHM0HBg1o5Vka3eWBtFWTATqUoGK7Tv01xDX8zaRsuG9sr3csWNQo r3GjNQWjHEO1M7/GR+vU8rBy9gCAH/4ae9BJLARD8QqSh4wQXry7JJBsthQ7hazbFhrt moUU/AvbYyYg9cig+IAIUwKsALiQ5chduykZ4r0bO2u3JED9utY95Uimj2Qll2Li6rPs bv+3MoRQkFnRUCYErJguo5lA6AjhcLL7AV1nPdG0Xi0JzeJDflFn01x34Ih3ILjsMWz/ xEBMDU6H6gjC52h2ujbqPtR1vaMJwOmtIpyrkGcFdofeA5fHdSTjYPoHKbT8FRXn3nqb KVcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bT1+fPwFJ9flWJpalc9w5DJNPuQ3S3336QWUFAF7Nzg=; b=faJMMuPUZGxhFha2nYMkbLrPSGVDeLT/lJbWkUXPRc9Wef3HJxpptpDT13pEZTxpkq i/RM8OFIxpNDq99YxiEBubchifpxwMgRt/C3aQddQMeyQsrJTVNGGqVpip+DGd0bxzoz GyXj/jHqLnaEdA2HtlUCXIJvdJ0ce23EMCZ1BGQ7mVgA3BSWm6Bn8X3FxqdC+ZTHtqLV 33e/V+xR6Ph753TNNicyIbt/5VwoMDzzdXvbH1aFyqt5qLk7A6fy0mh2HHSYB71Vo3W3 5r0lXElr1eUKQREvA2XlafkK4YDha5AzNdMjyAts3ZtQQRZQxazW5yF1bFAcrmZkpDiw g4Pw== X-Gm-Message-State: AOAM530QLahRffrYhQCN9ckza7Q3bn6r1pozHJ/qdnMHHifT1XCdZwv/ tqBOVauHvOnUCwM5ZztUcSRFRvf+mzQ= X-Received: by 2002:a5d:64aa:: with SMTP id m10mr21395971wrp.351.1626565749759; Sat, 17 Jul 2021 16:49:09 -0700 (PDT) Received: from localhost.localdomain (dynamic-2a01-0c22-7602-4e00-f22f-74ff-fe21-0725.c22.pool.telefonica.de. [2a01:c22:7602:4e00:f22f:74ff:fe21:725]) by smtp.googlemail.com with ESMTPSA id p11sm14505044wro.78.2021.07.17.16.49.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 16:49:09 -0700 (PDT) From: Martin Blumenstingl To: linux-remoteproc@vger.kernel.org, linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org, bjorn.andersson@linaro.org, ohad@wizery.com, Martin Blumenstingl , Rob Herring Subject: [PATCH v3 1/2] dt-bindings: remoteproc: Add the documentation for Meson AO ARC rproc Date: Sun, 18 Jul 2021 01:48:58 +0200 Message-Id: <20210717234859.351911-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210717234859.351911-1-martin.blumenstingl@googlemail.com> References: <20210717234859.351911-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC EM4 controller for always-on operations, typically used for managing system suspend. Reviewed-by: Rob Herring Signed-off-by: Martin Blumenstingl --- .../remoteproc/amlogic,meson-mx-ao-arc.yaml | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/amlogic,meson-mx-ao-arc.yaml diff --git a/Documentation/devicetree/bindings/remoteproc/amlogic,meson-mx-ao-arc.yaml b/Documentation/devicetree/bindings/remoteproc/amlogic,meson-mx-ao-arc.yaml new file mode 100644 index 000000000000..d892d29a656b --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/amlogic,meson-mx-ao-arc.yaml @@ -0,0 +1,87 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/remoteproc/amlogic,meson-mx-ao-arc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Amlogic Meson AO ARC Remote Processor bindings + +description: + Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC core + controller for always-on operations, typically used for managing + system suspend. Meson6 and older use a ARC core based on the ARCv1 + ISA, while Meson8, Meson8b and Meson8m2 use an ARC EM4 (ARCv2 ISA) + core. + +maintainers: + - Martin Blumenstingl + +properties: + compatible: + items: + - enum: + - amlogic,meson8-ao-arc + - amlogic,meson8b-ao-arc + - const: amlogic,meson-mx-ao-arc + + firmware-name: + $ref: /schemas/types.yaml#/definitions/string + description: + The name of the firmware which should be loaded for this remote + processor. + + reg: + description: + Address ranges of the remap and CPU control addresses for the + remote processor. + minItems: 2 + + reg-names: + items: + - const: remap + - const: cpu + + resets: + minItems: 1 + + clocks: + minItems: 1 + + sram: + $ref: /schemas/types.yaml#/definitions/phandle + description: + phandles to a reserved SRAM region which is used as the memory of + the ARC core. The region should be defined as child nodes of the + AHB SRAM node as per the generic bindings in + Documentation/devicetree/bindings/sram/sram.yaml + + amlogic,secbus2: + $ref: /schemas/types.yaml#/definitions/phandle + description: + A phandle to the SECBUS2 region which contains some configuration + bits of this remote processor + +required: + - compatible + - reg + - reg-names + - resets + - clocks + - sram + - amlogic,secbus2 + +additionalProperties: false + +examples: + - | + remoteproc@1c { + compatible= "amlogic,meson8-ao-arc", "amlogic,meson-mx-ao-arc"; + reg = <0x1c 0x8>, <0x38 0x8>; + reg-names = "remap", "cpu"; + resets = <&media_cpu_reset>; + clocks = <&media_cpu_clock>; + sram = <&ahb_sram_ao_arc>; + amlogic,secbus2 = <&secbus2>; + }; + +... -- 2.32.0