Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3518157ybh; Tue, 17 Mar 2020 01:27:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvhIL4+7TBgA0QI0r1+7PnZxkGsaVvJLFENyTo1/qu4zQIcwViheblugUzroHYeIFez9/m/ X-Received: by 2002:a9d:6443:: with SMTP id m3mr2692974otl.20.1584433645510; Tue, 17 Mar 2020 01:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584433645; cv=none; d=google.com; s=arc-20160816; b=lmQcezZs2YczVcOSk9WLZNu5XOoBCiHKFiu0Af5/v0PfXLTJdApdooLPQEliE/lOyE T8/oaEdukNdHqyP9wxnTOiOZhRwsv2BY+M+bcyOcAIkD+PJGVSVV/Cy9Ua7BgXYQ1h9B GOFlrOCqqxFoohAHWSJc4ejnt4yKNhNv0WW01jQgvckF1am5Z26bVqf0EZ/Ur19aYQRO bxzcOfECv1Z77NsJJZLbmm/Ka583GAwJrWRhVdQ+/PJFhrenZiFTUBEOaX9jc+eMHizx dSpjf12FJifTykrV2Ghz8ef0ZQ6BKz46iwYN5I+1mjzxaVmbG++pmgy9PkOMNrnkMyzZ oL3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8aOuyJoCrMzyvXHSlDSwNMADBZRpY3b4ROkMfslZB48=; b=S72paIYTKITzVUtGAta4KPBdL891lbGAIXfySx8CiJZ+Z2r+6gLZzp5WAaU2MjG8qZ 0Lmi//FvOgpDvTZmBxLIURgWXZHhaOGE61UliBs32DXk7TctHITKueGfL5SXPcvzEXlq Tt6vC2lcL+o1ILzd6/cGypUv+PAKZtB8zGcz7owYD7+TXlxyJlSLged+m0Xj0zSSWtwa CZzifj6JR1j3ICZlLlmgjKnxraYlMmTNWtEsjklS1z68yYQOz6KGNviGTw6Jm7uIJ81s cOaZKc/xAEVpUxReITrGGQwHLoVBlCx06leJO1u5ETWicDdOOH9w9G1wCFwHveo6VOU2 nAfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@antmicro.com header.s=google header.b=k5Hee8so; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7si1275392oia.120.2020.03.17.01.27.12; Tue, 17 Mar 2020 01:27:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@antmicro.com header.s=google header.b=k5Hee8so; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725870AbgCQI0y (ORCPT + 99 others); Tue, 17 Mar 2020 04:26:54 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:44970 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725868AbgCQI0x (ORCPT ); Tue, 17 Mar 2020 04:26:53 -0400 Received: by mail-il1-f196.google.com with SMTP id j69so19235578ila.11 for ; Tue, 17 Mar 2020 01:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antmicro.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8aOuyJoCrMzyvXHSlDSwNMADBZRpY3b4ROkMfslZB48=; b=k5Hee8soUFcdVO+I6avboQHDvGJamIlUdtAa9jEGpo/uilBwzwba3lZorbRHrpeJs+ mzKIQfYEFlUJV0c+PS9u9SAKiPnnQHcx/GKTSsS+/FvQ7KD99ukdr+RAXLPE10oyBPMR lKCeNAO5CTAV9TWFxlRb+ob9I6bGndxQbo7FQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8aOuyJoCrMzyvXHSlDSwNMADBZRpY3b4ROkMfslZB48=; b=JVtbY9X/+5XpZ2z+hXi1ZhghXqoEEXhxoPUzeh0Jas2Qtz73vTbeXCD8zZa9CuCTkD 3stOMV1fxQZMBLzUlyknEYe3L/bj1+4DuCIov8xvzcFCJK8oQWbmMRoBiCcqO9Bdzpwh eB3mOFIyuaczYL88M0+2F5Rcj0uW1Wpc69iN3lhrHW4yvT6QCKtX7Gtt4AYZJbRhOhA8 ji5ivR9ofFz7pc6AltbLSG/HhfV6KGiiVTGVvI/g7hWHimJ36Ggl4j+PbgBEpoAbgoZV x9b2h6Cwwm1ISu2aJ1ECAxeI5TF6+pMom7MDNDqYCkdLT0SGV8jiXeyUmVq1jj+M+cKn PuiQ== X-Gm-Message-State: ANhLgQ2ZxizEYl7f7PSXZgYMINRfnExr+KwQMarEmZE0BgI0KAjT60eT 3epB5m8GHmHll2JFsDEpx6S0madUMDOiiLBXdrBn5g== X-Received: by 2002:a92:778e:: with SMTP id s136mr4076428ilc.256.1584433612716; Tue, 17 Mar 2020 01:26:52 -0700 (PDT) MIME-Version: 1.0 References: <20200225094437.4170502-0-mholenko@antmicro.com> <20200225094437.4170502-3-mholenko@antmicro.com> <291b0a18-2b50-515e-d6f8-31f766dbe567@infradead.org> In-Reply-To: <291b0a18-2b50-515e-d6f8-31f766dbe567@infradead.org> From: Mateusz Holenko Date: Tue, 17 Mar 2020 09:26:41 +0100 Message-ID: Subject: Re: [PATCH v3 3/5] drivers/soc/litex: add LiteX SoC Controller driver To: Randy Dunlap Cc: Rob Herring , Mark Rutland , Greg Kroah-Hartman , Jiri Slaby , devicetree@vger.kernel.org, "open list:SERIAL DRIVERS" , Stafford Horne , Karol Gugala , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 25, 2020 at 5:16 PM Randy Dunlap wrote: > > On 2/25/20 12:46 AM, Mateusz Holenko wrote: > > diff --git a/drivers/soc/litex/Kconfig b/drivers/soc/litex/Kconfig > > new file mode 100644 > > index 000000000000..22c78cda0b83 > > --- /dev/null > > +++ b/drivers/soc/litex/Kconfig > > @@ -0,0 +1,14 @@ > > +# SPDX-License_Identifier: GPL-2.0 > > + > > +menu "Enable LiteX SoC Builder specific drivers" > > + > > +config LITEX_SOC_CONTROLLER > > + tristate "Enable LiteX SoC Controller driver" > > + help > > + This option enables the SoC Controller Driver which verifies > > + LiteX CSR access and provides common litex_get_reg/litex_set_reg > > + accessors. > > + All drivers that use functions from litex.h must depend on > > + LITEX_SOC_CONTROLLER > > Hi, > Please indent the help text with 2 additional spaces, as explained in the > coding-style.rst file: > > 10) Kconfig configuration files > ------------------------------- > > For all of the Kconfig* configuration files throughout the source tree, > the indentation is somewhat different. Lines under a ``config`` definition > are indented with one tab, while help text is indented an additional two > spaces. Example:: > > config AUDIT > bool "Auditing support" > depends on NET > help > Enable auditing infrastructure that can be used with another > kernel subsystem, such as SELinux (which requires this for > logging of avc messages output). Does not do system-call > auditing without CONFIG_AUDITSYSCALL. > > > + > > +endmenu > > and then end the last line of the help text with a period ('.'). > > thanks. > > -- > ~Randy > Thanks for the comments! I'll fix the documentation and resubmit the patch after addressing all other remarks. -- Mateusz Holenko Antmicro Ltd | www.antmicro.com Roosevelta 22, 60-829 Poznan, Poland