Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp26602ybj; Wed, 6 May 2020 10:45:19 -0700 (PDT) X-Google-Smtp-Source: APiQypLFPmudpjCuA2bRJCuZi8i8ywf6uo0EOlz/WYA7BUfHxEdo9DcyHmTspLA+7zjBRGDaYHL4 X-Received: by 2002:a17:906:355b:: with SMTP id s27mr8614599eja.184.1588787119536; Wed, 06 May 2020 10:45:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588787119; cv=none; d=google.com; s=arc-20160816; b=ZW36jwjvBLrPfDs3hG2Jw+Q8Dk6wqJLHJHof/2kCyH/gSgECQMOBKtEImxmqomJZnu ZplnGJghf+Tv9Qwcbk9n1uEJ2puRD6a1Vwaq64zUQD2s65+t89jzFq9K9Z7n4miqbuib H0VrTOfgRuCp3fy/4C653nIqu9BxUtvBXxWqTohe3Aa87ZhGBs1tafNSAfkWFMQxuEot TMlFrFvvF1iOoMo+AUCczS3C3lwND5MJiPkKkQRSg2LtA3m/7aCNgjFx7poDQnZ2JnIr LoNJ6ewzKNFW9ZgFEjcthbLt5ywbUw1qCKIvGtC6CCnhrCD9Hn4BW4FXVQ9lBbc3PiWs 0DhQ== 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; bh=C+QAhcYSBIzw1ej1pzlKk7VXjomkHbXdtnCycy2ry3M=; b=TDhFF4nUFq3BEz9Fce/aCLnxQ94+nTDumTQ1fdeGTBccXJYxtUO8Nt8986GgK4cIbx QjhG9i6H/CX8efjGlsmKdeBa1R5XUuUb03fpwRouFGPNdfnNdxweZWXv1nBuNv9qaQbn LOOP2+ctgmrkwbIraQLm7FI9CWWjiWPnhp7nwmuF1WEZxq3aLCJHXEMkLKsv3KpSV9+b /pwRjN2BnqQW/NIA2GJisi8DosbuMz0CH2/BP+KP6nnFoqlVL4/vO3IQ2ZF+sPknIu+A aPPHO4hYooarijdb4xnMP4oFeahwd4IZBg0zHkqk9ATYnT7Hv6Xk2/QE5NjB8pQpK8hu Fwjg== ARC-Authentication-Results: i=1; mx.google.com; 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 q20si1437039edb.36.2020.05.06.10.44.55; Wed, 06 May 2020 10:45:19 -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; 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 S1729701AbgEFRn3 (ORCPT + 99 others); Wed, 6 May 2020 13:43:29 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:60656 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729579AbgEFRn1 (ORCPT ); Wed, 6 May 2020 13:43:27 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id C305A80307C1; Wed, 6 May 2020 17:43:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z0jaeVeQ11PD; Wed, 6 May 2020 20:43:20 +0300 (MSK) From: To: Thomas Bogendoerfer , Rob Herring CC: Serge Semin , Serge Semin , Alexey Malahov , Paul Burton , Ralf Baechle , Arnd Bergmann , , , , Subject: [PATCH v2 02/20] dt-bindings: bus: Add MIPS CDMM controller Date: Wed, 6 May 2020 20:42:20 +0300 Message-ID: <20200506174238.15385-3-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20200506174238.15385-1-Sergey.Semin@baikalelectronics.ru> References: <20200306124807.3596F80307C2@mail.baikalelectronics.ru> <20200506174238.15385-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Serge Semin It's a Common Device Memory Map controller embedded into the MIPS IP cores, which dts node is supposed to have compatible and reg properties. Signed-off-by: Serge Semin Cc: Alexey Malahov Cc: Thomas Bogendoerfer Cc: Paul Burton Cc: Ralf Baechle Cc: Arnd Bergmann Cc: linux-mips@vger.kernel.org Cc: linux-pm@vger.kernel.org --- Changelog v2: - Lowercase the example hex'es. --- .../bindings/bus/mti,mips-cdmm.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml diff --git a/Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml b/Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml new file mode 100644 index 000000000000..d28d65ae57b2 --- /dev/null +++ b/Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/mti,mips-cdmm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MIPS Common Device Memory Map + +description: | + Defines a location of the MIPS Common Device Memory Map registers. + +maintainers: + - James Hogan + +properties: + compatible: + const: mti,mips-cdmm + + reg: + description: | + Base address and size of an unoccupied memory region, which will be + used to map the MIPS CDMM registers block. + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + cdmm@1bde8000 { + compatible = "mti,mips-cdmm"; + reg = <0 0x1bde8000 0 0x8000>; + }; +... -- 2.25.1