Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp377861ybh; Wed, 15 Jul 2020 04:31:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1wDsxBOy6vxhPhuG1w3TzEBBT26rYU9xGAToBF8qLW7LRRA9iOAcqFELVET1sSPph7JiZ X-Received: by 2002:a05:6402:1ca8:: with SMTP id cz8mr8818876edb.55.1594812691959; Wed, 15 Jul 2020 04:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594812691; cv=none; d=google.com; s=arc-20160816; b=WH3GakrNcg41zzIPcbQvj+bfo9n3/UtDoWrKqvRNo6cye+7Wi6kJV40ouBDPrp4KbA gYNbIoG6Cx5dtivLXYo/D7L/9mK0+jp1VTAnDwTutXP85bFDh7cAMTVxuaEywtLcyG3C eLuidn83MmiTON5XyrDfv4oc4p2vt9Gg4Ds+IZNGLfwqCr1zzFZpvChtZEJW/MLABY69 NMuhqSIb0dUnOF7QL9KBkKkintiELffugHKK6rMqtYQ2eb0YCGFOf27IjT8jdGb6aA/+ I3VKVbW2mF5aLfJQwxqMvhWcf2L7j7nHKgurmCn0zZZ8OQ3CM22ozIYHShwxCAyUpg1g 0DJg== 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=xgs4X7HHEAr6N5thQhhuocvXIaftVqd/gnnd/TxJOOw=; b=krNYYBLhBpYnVNJTQjaYjTQVrdTaqKzT90elu26yFl7I8/SW55D/Vb68DtNEUE9Gbu pndwRq7keyITVvI6L94/GQeeNH/JxAWl3S30zq5BnTA5sfeGDXqc6CukInCtC6q6Me1m uc63BnnwqWtZRbbpaxUzOxxu2mqMjrBIHNdLJFzyiQxiUjLQ/gvpb0So0AnUo8czvdBL MhTuJBQmnU4EsOzhAjN+Mbpb4WW603EgZ6J7DKkngaUdHLdEMVE7yvuDNvuEzDYOJuGl iMssfenPBq/Zs7lImqKhD1TB/sqE0FakgowviMyTwLLqSTLYcR9CQUG1QXSzAL7YLnEv SXRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@antmicro.com header.s=google header.b=e9C692Vz; 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 ot25si1017336ejb.647.2020.07.15.04.31.07; Wed, 15 Jul 2020 04:31:31 -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=e9C692Vz; 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 S1731387AbgGOLHh (ORCPT + 99 others); Wed, 15 Jul 2020 07:07:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731383AbgGOLHf (ORCPT ); Wed, 15 Jul 2020 07:07:35 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EA8BC08C5DB for ; Wed, 15 Jul 2020 04:07:34 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id e4so2121074ljn.4 for ; Wed, 15 Jul 2020 04:07:34 -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=xgs4X7HHEAr6N5thQhhuocvXIaftVqd/gnnd/TxJOOw=; b=e9C692VzqyKZUmpm+3ZcG+Irmwy+XFn17tvb5j4TSNtLsmIb1MGeR3nSZq/z2oJLxv 5UY4/i+a8Vil3syZr+zNqxjjlBsaDqRDV9+AfRvlSi5kVqC4Ko/UbOPG2h+bbFiq1xh5 k2U/GA8bHzPkMORNMi7L/2s1FfESInz/Z/aBg= 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=xgs4X7HHEAr6N5thQhhuocvXIaftVqd/gnnd/TxJOOw=; b=EaSVPm6T7/drkpoHNcyhHyn0jYupOTcnOYg5BKLNmdOwgmrP0qd2neJYX3p1H0MiTL WJjD4x3uX7KDsLgekFpBPWwAPOj7JuKqck+G2MXuT7yWvBqTVhcPElH/OnN4gtah8R9u 4oNRASWBVXLOBwbQfmcXvy4lRZa0uCkwCwyKARuopXSiWrS7tle70v3S9d3ncc7MHhSG 6C6zzbQ5lLFwuODfj5dyqxb2W5vXwo3A3j873mvw5lt5mZ0ECORY2obnf85f/cybpg43 nnyWkA0TE1k71kBnTNrPCLylkSDrTVDRVBXDgLRWPcqFviJ+9EawFzw6mG/uIamtjJWP CatQ== X-Gm-Message-State: AOAM532lMdv9wHDpJGe2rk2viChxibJLyc/O0NvwvqKlJ0n85QPEfsBC 2w2JS7UaSeL7yEPTTmo6lEWlyA== X-Received: by 2002:a2e:9eca:: with SMTP id h10mr4622605ljk.273.1594811253113; Wed, 15 Jul 2020 04:07:33 -0700 (PDT) Received: from localhost.localdomain (d79-196.icpnet.pl. [77.65.79.196]) by smtp.gmail.com with ESMTPSA id n4sm425471lfl.40.2020.07.15.04.07.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 04:07:32 -0700 (PDT) Date: Wed, 15 Jul 2020 13:07:27 +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 v8 2/5] dt-bindings: soc: document LiteX SoC Controller bindings Message-ID: <20200715130641.1953227-2-mholenko@antmicro.com> References: <20200715130641.1953227-0-mholenko@antmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200715130641.1953227-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 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. + 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 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