From patchwork Fri Jun 12 13:00:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 11601637 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6246F92A for ; Fri, 12 Jun 2020 13:06:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1EEAA20792 for ; Fri, 12 Jun 2020 13:06:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IFGkXy4+"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="nUjvkzZr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1EEAA20792 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8LoRaAwn81ZBgoqAXntBEUZG1wVm1D9w4FnCgxCOzXw=; b=IFGkXy4+Q4fG13 JLTICSHqw40zkYmdU+c5y86XG/ylh6p4PM7dx4UKuIaUdhsWqVARJZCRyshEot7xGWC9vfLjVNGSn xkE3oJZFKIXKiOonXrZv/T+Yk7iK2AQ4LAB4xfaPvS/oKYrkVtDnCHzGmB0CMIjWPP3Lg66lvw3f2 JdwQk4TV0LJSPrajU2/hrBxXEiCJtlVmdHHckCsxEM7BvgpMG03X/0K77Nqo7s2eWR211eS0//TPh Plz4LnjuJF/85u1BBr84n4OA/GkayURtWog6xzELq64tjt0aEPXDSGg+ZeJSWRzeSlT+jriiBjZ4i Jdr5iUOtAVIiAPovVK9Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjjOI-0000aa-Rl; Fri, 12 Jun 2020 13:06:38 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjjNe-0000C6-7B for linux-arm-kernel@lists.infradead.org; Fri, 12 Jun 2020 13:06:00 +0000 Received: by mail-pf1-x444.google.com with SMTP id d66so4274488pfd.6 for ; Fri, 12 Jun 2020 06:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WPc9wn7ciRL1/w7YcmkKxstKF3mhNYu9SS7UDFpaIkA=; b=nUjvkzZrPNUxwZXt4rddj1k8k11Ut+O8vNlUvODyzPA5TRw+69KGcqYsPZ2G62F8Y+ jzeH5qlPBMohmEll60co1xTFxhjueauzIrYC6s43YQZvhTZLQrKMj6I11sfQ294FeN7o 1Cu8BgHXOYm6//LunIaFVzyeszvlCLlSWTqTQ= 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=WPc9wn7ciRL1/w7YcmkKxstKF3mhNYu9SS7UDFpaIkA=; b=HdVpah4cYr5Qjee9hZDGHMQy43nEbqQedqcsYS5ErD+aopPIZxDbueM2916wmB9A6E x9/fezkDz0rHNAD6CiDMg7xngX7cyN0IraLY2XoDFBMMMZkmWNkbZlLSsXvzdmdpce+h zHr4LYYZ2lKeRyzkDy2LtDnzw2miqTteoeEBWjJNsgeDpiV9/RlhI30sLn2z3E6Gc99g RNfycHJdCez81UZNkHTAYwNPReii9CG5Yq4A7dgyUPJhBraZWl+VTakc2MmdHCHhWudS uI3JvgDf7vC3AHLvxFXXYknQQ1ZmCwDJkLC1Iu9QUGfBEzUX3mo7VW13N1Ng0ojFzH/2 TiXQ== X-Gm-Message-State: AOAM531CzPsvEJcnRG/ZPqEyF7J5R+Hs2E77ZRrk9NVlz0tFdAjJvm2v vzYm4N1o68yEtdoDrx8qQQaEwg== X-Google-Smtp-Source: ABdhPJz1wFdIUTrlUYxHra18zo59hPt+Ljqw4iZ1xFCh8+Ip1RV9JHwrv4UOCHYaJcYh4KYJzR2RpA== X-Received: by 2002:a63:a119:: with SMTP id b25mr10659528pgf.10.1591967156245; Fri, 12 Jun 2020 06:05:56 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id k12sm5481939pgm.11.2020.06.12.06.05.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 06:05:55 -0700 (PDT) From: Daniel Palmer To: linux-kernel@vger.kernel.org Subject: [PATCH v3 07/12] ARM: mstar: Add binding details for mstar,l3bridge Date: Fri, 12 Jun 2020 22:00:07 +0900 Message-Id: <20200612130032.3905240-8-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200612130032.3905240-1-daniel@0x0f.com> References: <20200610090421.3428945-1-daniel@0x0f.com> <20200612130032.3905240-1-daniel@0x0f.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200612_060558_314924_0D913F4C X-CRM114-Status: GOOD ( 15.39 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , Masahiro Yamada , Daniel Palmer , Benjamin Gaignard , Sam Ravnborg , Ard Biesheuvel , Stephan Gerhold , Jonathan Corbet , Mauro Carvalho Chehab , Heiko Stuebner , daniel@0x0f.com, Russell King , Bartosz Golaszewski , Nathan Huckleberry , devicetree@vger.kernel.org, Arnd Bergmann , allen , Lubomir Rintel , Rob Herring , Gregory Fong , Doug Anderson , Nathan Chancellor , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , Nick Desaulniers , afaerber@suse.de, Mark Brown , Marc Zyngier , Andrew Morton , "David S. Miller" , Mike Rapoport Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This adds a YAML description of the l3bridge node needed by the platform code for the MStar/SigmaStar Armv7 SoCs. Signed-off-by: Daniel Palmer --- .../bindings/misc/mstar,l3bridge.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml diff --git a/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml b/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml new file mode 100644 index 000000000000..cb7fd1cdfb1a --- /dev/null +++ b/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 thingy.jp. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/misc/mstar,l3bridge.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: MStar/SigmaStar Armv7 SoC l3bridge + +maintainers: + - Daniel Palmer + +description: | + MStar/SigmaStar's Armv7 SoCs have a pipeline in the interface + between the CPU and memory. This means that before DMA capable + devices are allowed to run the pipeline must be flushed to ensure + everything is in memory. + + The l3bridge region contains registers that allow such a flush + to be triggered. + + This node is used by the platform code to find where the registers + are and install a barrier that triggers the required pipeline flush. + +properties: + compatible: + items: + - const: mstar,l3bridge + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + l3bridge: l3bridge@1f204400 { + compatible = "mstar,l3bridge"; + reg = <0x1f204400 0x200>; + };