Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp456480ybg; Fri, 12 Jun 2020 06:08:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0EIqgcDZQWUOrtCU/PyCdT0R34Q2qSA9ofwJsmJ4/hd6QFtNTtEJZp9EcliDetIabcucS X-Received: by 2002:a17:906:481b:: with SMTP id w27mr12788605ejq.27.1591967323683; Fri, 12 Jun 2020 06:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591967323; cv=none; d=google.com; s=arc-20160816; b=smhv7JD3CvkgPqJyCcq369SgZS44xka+wP3ZS4xtDNtXnhZMPfKUovTbdZ5x5TXA1L v6L8S75VHgd6+DMQ4hTP0TCiFSQV3lTVgz8rLrspMqS1W20bsZt6ZFFAFf/CuC88upsG mhLFKBNrGuVmnSjNES3bBPAYwTtSB5adWF5WXigP6cjoVVzeqBuMjz3MvsJRVsl1bImR x6DfpyRsD1Ekaoqu+XVWwx2OXCn0vwPqW7kIMp6Ik8dqjGpj7L+0L0tQV2WbAahlgdII kcFph2ovwfLKpMk7GpI0P03jz+8vycnDLHJOMfOxQ39v915KdxHJQ9aCEbneUjszihss LvPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WPc9wn7ciRL1/w7YcmkKxstKF3mhNYu9SS7UDFpaIkA=; b=tLwn1ZI7AZpP6YNnr26AC3oiYTetbEHsV2i24lqivfkARYmyGQsGfxVyTZUoZarQGP wBbdYpW5sC1ftvN2KccoyCR0Db9bmcTW561L+T5+4DUJXa0fS8UPkUrCOmeAYdAToikN /3DDqt6rtxBnUunxbQuVVSB2L1pomNAJ0aK99sGszGKsIW1INBoY9ZI4SEsy++jt2AdW shsK80aciIRJ+IFSUCz1K1QfUsUvH0+zccJ096IdjWhHsyM2C0/18q2Iql81YTxZkabH rjqM2B2ao1QcdxRU93Ngu0DADQQtjv0r3+5iULT5T4rrn4358eZwD1ounw/cTjYpVFWA yr3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=nUjvkzZr; 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 m27si3949166ejd.630.2020.06.12.06.08.17; Fri, 12 Jun 2020 06:08:43 -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=@0x0f.com header.s=google header.b=nUjvkzZr; 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 S1726363AbgFLNF6 (ORCPT + 99 others); Fri, 12 Jun 2020 09:05:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbgFLNF5 (ORCPT ); Fri, 12 Jun 2020 09:05:57 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 222EAC08C5C1 for ; Fri, 12 Jun 2020 06:05:57 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id s135so3437855pgs.2 for ; Fri, 12 Jun 2020 06:05:57 -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=ZBb1TZWKQ5AYzaRjzuEXaD7ACcBnk6+S5rQbrMEjNdUF5WYrqxPigF+5J/CMUUvn8x 3mf8Tq5XwGOvEQcTWfFFAqco2qRBCinqSVQLxBC2NRmsyw2h0x9uW/WE8Wtq70U9KXmj VOF0qRQK73o6rxHEPP+8IQ7kHnfzD/7brKgL69dnmzrIK25uiINh2aJhgQjmHf6EovTG pZuWHLozXBThNAQsGphqldLdmVwoszvh999x0brixQjLomYIdYk8JQAG/1do9fBVGf8k 3cQjU2WLr7jZ3mS1wvffhszNeCkadhBeoOMVVXjyEb9q/HgeTiRwpEVjfRTNG8fLyF38 sQKQ== X-Gm-Message-State: AOAM533zrylsKKo3uIB2W+9YjjL/7Mk8Wc5hSMEjn18v7LHexBk/jrxE fTrvy4L91wvRycZNqGSEX7oESLA5p3vaDQ== 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 Cc: daniel@0x0f.com, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Jonathan Corbet , Arnd Bergmann , Mike Rapoport , Andrew Morton , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nathan Huckleberry , Ard Biesheuvel , Marc Zyngier , linux-arm-kernel@lists.infradead.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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; + }; -- 2.27.0.rc0