Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4929652pxu; Tue, 13 Oct 2020 10:20:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuYOJxBOQyasZHOAL2t/nGjpptMavhfe78oNyTnpXxgjC064HYQ+3fzigIzOh6NyZLs0TT X-Received: by 2002:a17:906:a985:: with SMTP id jr5mr782814ejb.549.1602609653297; Tue, 13 Oct 2020 10:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602609653; cv=none; d=google.com; s=arc-20160816; b=vnkAgPtSTNPmXM6puBvVa0kRbos9LsWq03qO19S3INA0agohbqxZ1AhBa78k4P1iUj KhIpzXNPEbQB8sNUw7bxq1w8fLc4QNPmcHUh1jeTdNbCSeUX9SKJXxBePQRBrcYaY3ls /zCAl73py/iHLlTx6BeTTB+I3bYQ12sP9gu9CdxFA2f4xaeHfOBp+dWnvnnjg1zOPNn/ ome+gR15hEc9Ec4j5UbRA+FwqfVjECTA246ViUNLTyir+xqtjr83HzzVdw1MhYGns3Ue 4H4hLOh/JneZ2IO399I8KvXIOSSWwkZ31V7mtVBIrA9lglkUwXeYnBqUuMzRfVvzS4F7 id1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pJiypWtRSWGeA7qvGozCNTMcITV17kuSzo6s5k3yp0c=; b=V5duUwLU2IYDqlHkaWMfMiv+c95d97dpnLv00aXg4ALEIdztImWIkiE/tsl4N5QuIZ BGRjTkyotRXFvaGbXDIV7AJjAbkqqKjO5TBLeHrJuOwhXn2HD+BJ+B1xZpoDg1imaKzP mvjVXyqytDlhDnWkIdWFJ9m4/yUep0SYVovP1zeTEX/8KhF6PTXoVnwWd1BAFTS7GQiQ c28F3Egg5qJwRpcsSLE4k2qREuJGx5UvUiF94GrWL57XVY/dox0KTRrYGxzG/c4cIRog mQ6h8OavyMVmj6lkGDJyOUdqHvMmpD0OH+BFZt+UYGD+cXtrPSB0btKipvW9bSwR77sx dtvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@antmicro.com header.s=google header.b=Ap1hDLxK; 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 b11si233086edq.410.2020.10.13.10.20.30; Tue, 13 Oct 2020 10:20:53 -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=Ap1hDLxK; 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 S2389006AbgJMOpt (ORCPT + 99 others); Tue, 13 Oct 2020 10:45:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388972AbgJMOps (ORCPT ); Tue, 13 Oct 2020 10:45:48 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBD98C0613D0 for ; Tue, 13 Oct 2020 07:45:47 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id h6so32237lfj.3 for ; Tue, 13 Oct 2020 07:45:47 -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=pJiypWtRSWGeA7qvGozCNTMcITV17kuSzo6s5k3yp0c=; b=Ap1hDLxKbZkfleLmsjHoYjiy28861EusmWSvaGnN18GXwiUwqo+45d8ucMkH5ORbIf f+WP8dmVnjmPjdfCJ2ai+mdU3DJF5gQ6AW2ftlfnR7rLgm8oR1PFkRkTZnK40WFEu+Y0 shcI5xjGascCEm9BQluFvr5KMJq0AM2AQ4wOc= 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=pJiypWtRSWGeA7qvGozCNTMcITV17kuSzo6s5k3yp0c=; b=dHr+XAm5QiAuZktvfXcyFHbZZ8TZqJW9zphx16KwOlQqqqjKoXTXBwHJi521dPdDfr GOyDRRtFaqHVirX8DVO25Utt4Aojs8zOnXJmf7jPh8wrMVA2Ca80ps+aevXpl0zsJQSv va/ljvfz3ZLCU68lKv4XoMgOm7T4G9f7vW+/nw4pZfREJnmIzqaf7xh4BHRqtYXVYb9z 8h0vqEg8GQMoALQb7EvfdCZ1YWuBvVUCEwAya1CRBKKqUlUMvj35Wn+dP6+dEp/XGwNt GgSE2vO5JKR0Dte1XUvlKtUrjPHgHoj1MlZgyScZG9P1Y9LJsXIqwh1asTOtRH63S2Pv buWA== X-Gm-Message-State: AOAM531JX38Nk1+c9O/st2gBMGksppGWqhIcJQUQLL0rQXV+wNm38q7G J6PYtOHNu/WwqEhOblqQzMYNrw== X-Received: by 2002:a19:2302:: with SMTP id j2mr8897933lfj.78.1602600346272; Tue, 13 Oct 2020 07:45:46 -0700 (PDT) Received: from localhost.localdomain (d79-196.icpnet.pl. [77.65.79.196]) by smtp.gmail.com with ESMTPSA id m30sm4506250lfc.97.2020.10.13.07.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 07:45:45 -0700 (PDT) Date: Tue, 13 Oct 2020 16:45:40 +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 v12 2/5] dt-bindings: soc: document LiteX SoC Controller bindings Message-ID: <20201013164454.2002023-2-mholenko@antmicro.com> References: <20201013164454.2002023-0-mholenko@antmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201013164454.2002023-0-mholenko@antmicro.com> 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: Changes in v12: - fixed the description and the example in the yaml file No changes in v11. No changes in v10. Changes in v9: - fixed the `reg` node notation in the DT example No changes in v8. 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. + Its purpose is to verify LiteX CSR (Control&Status Register) access + operations and provide functions for other drivers to read/write CSRs + and to check if those accessors are ready to be used. + +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 = <0xf0000000 0xc>; + status = "okay"; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 7b58ca29cc80..39be98db7418 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9835,6 +9835,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