From patchwork Thu Jun 4 10:13:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Holenko X-Patchwork-Id: 1303431 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=antmicro.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=antmicro.com header.i=@antmicro.com header.a=rsa-sha256 header.s=google header.b=JnWKTfsU; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 49d1p12pyFz9sSc for ; Thu, 4 Jun 2020 20:13:45 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728083AbgFDKNn (ORCPT ); Thu, 4 Jun 2020 06:13:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726288AbgFDKNn (ORCPT ); Thu, 4 Jun 2020 06:13:43 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C7E3C03E96E for ; Thu, 4 Jun 2020 03:13:42 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id j12so3238989lfh.0 for ; Thu, 04 Jun 2020 03:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antmicro.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QYui7ZerK26a460cGOoZXzgizKRsj7qIogyulB6bf4Y=; b=JnWKTfsUdzbZB9H6MpFQSPhuCXmsJ5y4XtvPFHCIm4gjxkGi4uWzMha6+fiaTaP6NW vhMUska8wiSUlwjK12jGll9l2iqn38Nx7Ldu0vczGU+4aV/w9moVyU0Jj3R9bKWsKcz9 T1Yhcuh1AJRlZPQjtbxdNNitzQyMQTvHtgsAQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QYui7ZerK26a460cGOoZXzgizKRsj7qIogyulB6bf4Y=; b=uNjyMirK2ORhGWuLU3z1WlQYGsOsDjlSkUbCyiLoQgl/jkB2vxmPpG0ULIXJX7g2DP 0e3RK9uy0Mt4/5rcrFy3x42m+UEBHZZIC/98KnfpeGfH0qpS/QlJRAD/x7ApLDYfapKi kSRpvyL1dPCBkFkSeqGQnztiTTkmsAToCr/cNDnqu8qRixGoAh4jd3TOcJZ7hS84ejQQ +pkR37swpvJQBOuH7a+Hf8JLBhhCenUa8VdT8EQmmoqCqgtO/K+lZUtRnhQmjNTqMOf6 AFsruei90AwRpYNFaOD4LUbmMJJVwn9WbZD3xULSgjH9CwCH9oC7vWz9Uw3zZoSeaYGi ShsA== X-Gm-Message-State: AOAM533NVrHYpsqRIPcxoypOdnpWrZyZCCG2AxYcYQFRZ8XN6sONiEic kUUvwNnN9z/U+HYC5wuxnmNVdg== X-Google-Smtp-Source: ABdhPJwij+JC4DOAVIVV71coO2P3NYjkxsNFWFSM8/dc+4RgWeh/5QOCnb7Mo59Dfi1SHNvgL+jRxQ== X-Received: by 2002:ac2:59c3:: with SMTP id x3mr2149997lfn.117.1591265620601; Thu, 04 Jun 2020 03:13:40 -0700 (PDT) Received: from localhost.localdomain (d79-196.icpnet.pl. [77.65.79.196]) by smtp.gmail.com with ESMTPSA id v28sm1362150lfd.35.2020.06.04.03.13.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 03:13:39 -0700 (PDT) Date: Thu, 4 Jun 2020 12:13:34 +0200 From: Mateusz Holenko To: Rob Herring , Mark Rutland , Greg Kroah-Hartman , Jiri Slaby , devicetree@vger.kernel.org, linux-serial@vger.kernel.org Cc: Stafford Horne , Karol Gugala , Mateusz Holenko , Mauro Carvalho Chehab , "David S. Miller" , "Paul E. McKenney" , Filip Kokosinski , Pawel Czarnecki , Joel Stanley , Jonathan Cameron , Maxime Ripard , Shawn Guo , Heiko Stuebner , Sam Ravnborg , Icenowy Zheng , Laurent Pinchart , linux-kernel@vger.kernel.org, "Gabriel L. Somlo" Subject: [PATCH v7 2/5] dt-bindings: soc: document LiteX SoC Controller bindings Message-ID: <20200604121142.2964437-2-mholenko@antmicro.com> References: <20200604121142.2964437-0-mholenko@antmicro.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200604121142.2964437-0-mholenko@antmicro.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Pawel Czarnecki Add documentation for LiteX SoC Controller bindings. Signed-off-by: Pawel Czarnecki Signed-off-by: Mateusz Holenko Reviewed-by: Rob Herring --- Notes: No changes in v7. Changes in v6: - fixed license header Changes in v5: - added reviewed-by tag Changes in v4: - changes compatible to "litex,soc-controller" - fixed yaml's header - removed unnecessary sections from yaml - fixed indentation in yaml This commit has been introduced in v3 of the patchset. .../soc/litex/litex,soc-controller.yaml | 39 +++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml diff --git a/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml b/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml new file mode 100644 index 000000000000..53121c1fbe4d --- /dev/null +++ b/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +# Copyright 2020 Antmicro +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/litex/litex,soc-controller.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: LiteX SoC Controller driver + +description: | + This is the SoC Controller driver for the LiteX SoC Builder. + It's purpose is to verify LiteX CSR (Control&Status Register) access + operations and provide function for other drivers to read/write CSRs + and to check if those accessors are ready to use. + +maintainers: + - Karol Gugala + - Mateusz Holenko + +properties: + compatible: + const: litex,soc-controller + + reg: + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + soc_ctrl0: soc-controller@f0000000 { + compatible = "litex,soc-controller"; + reg = <0x0 0xf0000000 0x0 0xC>; + status = "okay"; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index ddc1dc7e535e..e3f8804c08d7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9918,6 +9918,12 @@ L: kunit-dev@googlegroups.com S: Maintained F: lib/list-test.c +LITEX PLATFORM +M: Karol Gugala +M: Mateusz Holenko +S: Maintained +F: Documentation/devicetree/bindings/*/litex,*.yaml + LIVE PATCHING M: Josh Poimboeuf M: Jiri Kosina