Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2402203ybt; Tue, 16 Jun 2020 05:20:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCGRuBwm2HICI7KTTbBwx27y+lvfT0ovh4jBUGe5aW5j76b7jjlg3xnEEBcPXndz8UFmL9 X-Received: by 2002:a05:6402:3052:: with SMTP id bu18mr2201119edb.323.1592310009937; Tue, 16 Jun 2020 05:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592310009; cv=none; d=google.com; s=arc-20160816; b=mhkhgywOXVuJu/H8JRovus5pkkDjxcpnUzGwgrA/HKZRuTFPIZ4bIQwoW2ctuilCFP E1+bUf6/WZVOsUbY/KBpFR2pz2NvhIvRiSfgqY3XrTujVq/dwZgq509mCVqxE0oiRhKi UuVQaxI/9xSGq8lbPDWKrbfGLuLQXZWxjW51CIZy2yrmrB/5OhI/BuMWwmpRA7O3kIHm xKXXVxXrvBXvyiFeWyRu02+Tu7JKP299SjQ88b4tcdkb0Xd4uQ+0Ja6LoHd7iebeOI7M 2Lt5XlSqyr9cVSN9Czks8GGSlkKLnIWjH6peMXIo559wYnzK+QCbRacIy8ry15rOcoWy M13g== 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=yoQbjTtFBPIxBchoS2d5wAoJKsJYbwpoyDbqeYB9CLqhuSjxyjisCvt1LohSrWG2gh I8gTcq0wZTAinaNh06JrBn2pxD+HB9QNebgI/S8Ch6wsqESVc/s8n5V8T3doojK5fbKv MkrsfKM18E3f5pzeED/xWzsy4vXLTrYESmYBM5Do66tev116woK2GPcK9jK1PSNcJCLS NEc/VshwViXcJMSzB2HeDs2lGyyFZ5ii60d9wCs3aAdXN/q/GjcseIgBSuOIQZxzUccY Vmgq9zNq2qlxqZ8onm858OdKQC1u2mQFeTELTEwBgpVr9616Tbl32Rx33uTKHFLYtE1d 17hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=pRHoQGOi; 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 dd24si10024576edb.336.2020.06.16.05.19.47; Tue, 16 Jun 2020 05:20:09 -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=pRHoQGOi; 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 S1728849AbgFPMRo (ORCPT + 99 others); Tue, 16 Jun 2020 08:17:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728746AbgFPMR0 (ORCPT ); Tue, 16 Jun 2020 08:17:26 -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 373F0C08C5C9 for ; Tue, 16 Jun 2020 05:17:26 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id z63so8490987pfb.1 for ; Tue, 16 Jun 2020 05:17:26 -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=pRHoQGOibAbZ1yZhGC1VjydH6LsawBp9BOxAXHkYUj73VL61nHAE9LWaxMS5BnRLQD U09DfnmpkPud8r6/qyDr6JHMNsS4fUKvpjRC9Ju7IeBMQu9uoxQdwH92a7pKmcZ8PSzP EGhL6bYdu+H641fbEeINue5LO6RHJYIz8c0IM= 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=JRtWMjXiFi2hrhFofcg7h+BTooO2utxjgslIJg13VxQuP0EV/S88u6s81bkJXilZaK CEdXtSItVG4UE+AF6VmiXsKivec3FejJdPbkMDz/gYiz6t2ok73fxy9G9Jh2bPX88Ar5 ibav0SjL3oWkOYeP+ukfT6xLj51yhyqimYinuzYrApPpvJypE1QCSIyOWzT6mo4s6Ioz FMwxC0RSOsb0Gd+0/9xvQ5veAequSIUc8XpNEbruEP3sB5PDES7JNgx988RSvdp1Pst+ dm1vCJIOf1cOEscvgImwuX5RSCXD7fiuaGFDV1MMNk1QR3OdMOBc6ep9Itn4E2k9PTme BOhQ== X-Gm-Message-State: AOAM5314iUZAHYibApwxtPsP2yb5Tbs9uxYKieK4KDWmkRCyZxixAiLB eraTnQHd2mkXNbeFLq5KW9CwFg== X-Received: by 2002:a63:3e8d:: with SMTP id l135mr1833340pga.230.1592309845671; Tue, 16 Jun 2020 05:17:25 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id f23sm2360703pja.8.2020.06.16.05.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 05:17:25 -0700 (PDT) From: Daniel Palmer To: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Palmer Subject: [PATCH v4 07/12] ARM: mstar: Add binding details for mstar,l3bridge Date: Tue, 16 Jun 2020 21:15:20 +0900 Message-Id: <20200616121525.1409790-8-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200616121525.1409790-1-daniel@0x0f.com> References: <20200612130032.3905240-2-daniel@0x0f.com> <20200616121525.1409790-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