Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp399993ybt; Fri, 10 Jul 2020 02:47:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFi5rjgM0KC9gnuVJX/LVSqOEZ2FK2qdURQxKKke2X8PSn2YbPKMcozMG0kqdb2mA/Q5gs X-Received: by 2002:a05:6402:b9b:: with SMTP id cf27mr75698753edb.84.1594374447039; Fri, 10 Jul 2020 02:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594374447; cv=none; d=google.com; s=arc-20160816; b=b6Lqpbbuz5uNIJhYDvN4TB4T2jXhsHHnlKRz1cHoqlXyy1LXldj2F3yztH7fr3bocK 25PbtxZQWs5iza+lBeUVQRUbD+YJ4lhNPCVLZx28ZaqXwAtBYRPdJOYtykJzPqxQumYB 0b/TDyBG0xNi5W4VrZJp6qv2bSvEkeLbsCahM3DJ76IntxDX4ZwbrklA7USBfC864iLd 8ddilWD4rJXpCcyWKAnf1uALVM9l4A5QHqVXZtfOd7lJB532NKDRUFrDRmxHpQPh+Oni 0dilFa934AQkaTkg98c87KTYvzd00rhG/kk/e2m4Wh5KOuDBSBilcbZN2VGCG2g4OeQW MafA== 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=3QX7mr2czZhjXYilcEPsm3JJuQZMY4I8zbNHVBoLG5o=; b=uOxq/mq3920Imq9tDoFoueKFaHGLkeaEERO8dCHJmdBQOfBXgtBL5YK2fGnTAi5py8 oV+aLTJd3zq1K9wRSUN9MkLZTS6P4Vv9JE7UAmP8Ctuits/KIgmlr10l52OZ37wIzxRP Xl175apzzLmDyPRWI+sGXWj+w1pxwufMd8xoV2R0R8l5LLal75f+Iq8aeTWsfQb8axhA fFQ7ugf53cocBLOXP4yX0zcMHcK8jSn4D0aP0b59IKFXmPvQhSOTbkbY2UQEcfYj/eyd 39DFMd2RBtnWjDQmON0OySfVYKI07EJKSpOWtGqbKngv7nj5HcDnBLpJCJGG0Y9SIQ0v tg6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=kfa1c32Y; 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 q6si3560361eja.511.2020.07.10.02.47.04; Fri, 10 Jul 2020 02:47:27 -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=kfa1c32Y; 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 S1728065AbgGJJq2 (ORCPT + 99 others); Fri, 10 Jul 2020 05:46:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728002AbgGJJqY (ORCPT ); Fri, 10 Jul 2020 05:46:24 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD2A9C08C5CE for ; Fri, 10 Jul 2020 02:46:23 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id u5so2313117pfn.7 for ; Fri, 10 Jul 2020 02:46:23 -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=3QX7mr2czZhjXYilcEPsm3JJuQZMY4I8zbNHVBoLG5o=; b=kfa1c32YEKjeTfDKHQAKtV8FgiuI1D8K0yOcy05VLxl5eFkOU4UF6V22Xj7GeoczAp ai941cnu1m42k3FmtXaAzEeP+jb4mRKbSKx+z4gSG+uULsOkZsWQ8VN+2RqHVZzr4KAC qGDjCEotAwW9ianPnMePwrDXejhy6qY39DuVE= 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=3QX7mr2czZhjXYilcEPsm3JJuQZMY4I8zbNHVBoLG5o=; b=X5PZTzDm4BUXZx0kt6e8j8Fpc5dxnnwyxv0laqz0Chx6GndM2HULR34nFmWsy2MInR xthlQb86j/F633Ocb2mkPgNjzeGxGrUp5EU2DBikOB9CxZ08lIj4jYOxcV7FF/ftA6jm xPgn8bSozPY5YcRAP3FBOkg1bZdv0XZsvZJjduhKoDgGNpzZbI0hKcVrnqWJ6Ab0pVx9 x02By27oTgweRWuO0xWFplJXQMUuUWQYxvCtKJGuVytwRQJKlKFui+GT41zaAY5Q3r4r w5mRGExnhDot4w3Y+as7nCpbAM7ectKLMRGYoySBx6Xgr7TLTi0mir+cwV7Pn/jzyUp2 tAPg== X-Gm-Message-State: AOAM530OVCoNYkd2iTy4B7eAFcxSeg+7inGy+5yR/3H2QSb5XEyMnus0 DPa5gaqv5csAqXPwEJQG58emRQ== X-Received: by 2002:a63:bf04:: with SMTP id v4mr59776470pgf.212.1594374383340; Fri, 10 Jul 2020 02:46:23 -0700 (PDT) Received: from shiro.work ([2400:4162:2428:2f01:7285:c2ff:fe8e:66d7]) by smtp.googlemail.com with ESMTPSA id z9sm5133213pgh.94.2020.07.10.02.46.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 02:46:22 -0700 (PDT) From: Daniel Palmer To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux@armlinux.org.uk, arnd@arndb.de, afaerber@suse.de, maz@kernel.org, w@1wt.eu, Daniel Palmer , Rob Herring Subject: [PATCH v5 07/12] ARM: mstar: Add binding details for mstar,l3bridge Date: Fri, 10 Jul 2020 18:45:39 +0900 Message-Id: <20200710094544.430258-8-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200710094544.430258-1-daniel@0x0f.com> References: <20200710094544.430258-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 Reviewed-by: Rob Herring --- .../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