Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1211249ybg; Thu, 4 Jun 2020 04:06:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYKk2BYJXdWVQ/X8cORHE7AVDrpIPTtEKJMlFmkQya49pjYrQ6G/VGh3NZX57bENTmj4H0 X-Received: by 2002:a50:f60a:: with SMTP id c10mr3707736edn.295.1591268786049; Thu, 04 Jun 2020 04:06:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591268786; cv=none; d=google.com; s=arc-20160816; b=gOAgce1bTM1TBDQWxjavLBTpQNG5MxZUD8cHEfvrcMDgmfytc9U6CnX7dvgqmdV63h QFaaL/OjmQIjNhncalx75Rc1bGRrTVj6Aw4zocG+SmdOHAOSfsziVqKmcoct+jQdkuYA MSLOfACUZlcIMoThU7DBfkdYKCU3ettVMGANX/ksYebqNYgX8VohPkNZvtSeQ9NjPFrJ o0IdRYs46d0bTZcsAz4II5x0Es/SAv6VHhBnADLN30Yv28wS+nUYBaNq3Sd1mXDI+d5v gfYOBA3MeNWwcQ3FsRFaVBLMuwq+XvzLt5ggF0rG9lrt8UsLA8nxB5t1nctBRBccQay0 iJXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QYui7ZerK26a460cGOoZXzgizKRsj7qIogyulB6bf4Y=; b=QdARg7l+wWPYup+7OO4g7gLSiXTTEGAZYirR9pqNX0c1P1pVE4eoApZNDk+gUR5ABN CfCqc5oAcka9BJOBkglT9B/AspaL3dxrjxjsNx3WjRd0vj0xXoVabeDVlBzZTYVmGpsx H/uNib7yPQrocx9KYCmfCErilYse845xQql9+DtRE7kubKQ2X6zo0Vw2KSNV9CUMPhOI orLaDEjfwzIqqEDtNKor47p6eyhE/s7RqNzdLqGbNIoxJ37xTklF8WhcsvVNeAq3OsBr pxSacXGsOBabQ3boFIJLwCVR26EFs06X/Lz3l7NBQNYB/yTxas/tT7CUR43BM+w/zbrR grwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@antmicro.com header.s=google header.b=JnWKTfsU; 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 h15si1400935ejc.125.2020.06.04.04.06.02; Thu, 04 Jun 2020 04:06:26 -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=@antmicro.com header.s=google header.b=JnWKTfsU; 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 S1728112AbgFDKNo (ORCPT + 99 others); Thu, 4 Jun 2020 06:13:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728082AbgFDKNn (ORCPT ); Thu, 4 Jun 2020 06:13:43 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64AD3C03E97D for ; Thu, 4 Jun 2020 03:13:42 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id r125so3201514lff.13 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=q34fsZ5TwoO2OcBVVo/PxR059NfijKvaqKZteIgJ58bc/pscJdG58g8VUgA2d9JjS0 e1kxudGsBcgi0EcF3agXwk8yWUyDqM3AQAVA8wuthmh8RyZjnsC4khYygn7qJn1iUrRF ns0WZ9YJOP/fUUGr3hEKKuZWBtEy7BSM9SZ3cELLk3nwhk+WaJ37OQrWcLaVA/uvswr9 e0YRyU6GqHPkUd84OGu/uv2A8m0aZCO2fHjJhH7gaHakCQvgNRp7uK9ObUCXw9x5865Z fsGNY63MZFXxnaLKcLp9MvXG6DkPAHQ6kVT5K+HLV8nfU4JMLTinrK1YNpHbNsZAYq2g xP7w== X-Gm-Message-State: AOAM533NFqQTJw3CxJI99AWdDosptqM5YuhFJUh0+ifIZfcxrNFRec7U ZGcHkmL82sxzQw7ZUhTVca41nw== 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200604121142.2964437-0-mholenko@antmicro.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.25.1