Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3668473rdh; Thu, 28 Sep 2023 21:05:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETzuFqIWDm2Yq7rPpTcUFQ9FDvLQFARWug9kGXzw4jqyfnx0xAfaolEvB5NnXc93aSvKF4 X-Received: by 2002:a67:fd65:0:b0:452:4e56:5e19 with SMTP id h5-20020a67fd65000000b004524e565e19mr2454080vsa.13.1695960333811; Thu, 28 Sep 2023 21:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695960333; cv=none; d=google.com; s=arc-20160816; b=TloJuelhA70Dg+dIoKL89b9oo/iJZMnBv/ETXSNL0ShjENt24yiBGjbTmmuqxRilnp rJOR+kwpBGhVTydoHVB7jSqkXFtIuR+yRqBaRO4mCqea045kgwZroocbS0c2LLeqe0Xn DTLTVOPaCbt/jl2MJLrCG6CCt9CXRbauHD7zy76zIe5Zqo1UFuyNHQe+nOxfM5gNAqDP PA+CRmLmXuqEnfH9PHktGtd8qgESqaEVAz3xDh7Xx2Pk7eKab48cceE5a696HGbpcHuT 3fUGpZgy/bIofEZ94GQYai7hEFWg+53ueTYFyxIEy9nQWgXWV2qPN3hn7NdvM4Ju5XpD CrUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=uohcHr7u7pMqM2o2/Gx8STvthCVsA+nnKExQdSb2SQA=; fh=wmu6O3REIUkdlFjx9pLXGNq9B9NLfwcrvt9KqwH8iaA=; b=KJUe3fsnHmPpBdseTwXXhyDypFhp0pHTK9UBWqRXQmwHb+vj172bJvYOPOc87m1TRu w8kwHBAXWzn5NBAHYEjUjQbx29tGsOw8sjOdZMX70+HmA7myMhJisvjdtcdmKTl7XiR5 4eSZDSzUb7aEq6Cvb8jCwUIVGFj3iO/QSV+kqeMd3ZqwnvHaq1EX1fqtX0Pcy+DRDzTL 6c2lkO+fwIpxag163T9bBcoPjbazLD8nx2AeM+NGCk6x1PUIneSwmQfM9VRC2UENDvxL L39Lnrt7ABoij0GdRmtIlm98jUxAiLrydbbvQ7Ut3DIC2Y+J+s1j2H/XgPwDcmLkrY1r 0V9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Jbd1Wr9A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id l195-20020a633ecc000000b0057ab7f473d7si19273947pga.41.2023.09.28.21.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 21:05:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Jbd1Wr9A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C5DFF80BF1CF; Thu, 28 Sep 2023 13:42:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232180AbjI1UmK (ORCPT + 99 others); Thu, 28 Sep 2023 16:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbjI1UmI (ORCPT ); Thu, 28 Sep 2023 16:42:08 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7DDC180; Thu, 28 Sep 2023 13:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=uohcHr7u7pMqM2o2/Gx8STvthCVsA+nnKExQdSb2SQA=; b=Jbd1Wr9A2d72D1He73iGyRdglY w5qbirxdbvXC5fM+xibzmTrblxHY9GH6BEP/AaDrvPFqlJr/I7+lMN9+NZOdkKCjBurK7wnAxV264 0uZk1B1QndRMTADHIwU8Su/zr6Q6VtfXPYH1nj4/H8f3QFvUcsaSf6T54JXe+joFOrYPfZJDW75cO lF785VE2gWN9EeaAs4LAtN7IEmYXUwqHdwa6ONXrDQYYjG2eAdXMBZ6UHyiCT8giKJAwDAFeh9axT Hg2snf7rnfZPgVemOW5W8nIDsVCmcSAxIVTA9hhsv4fMCoAG3CSYE97tPPCbBsZs+zNLXMAR7wybj rxT61bvg==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qlxpi-006eoe-19; Thu, 28 Sep 2023 20:42:02 +0000 Message-ID: <830fb2f0-7965-4156-82e4-5328df0c612c@infradead.org> Date: Thu, 28 Sep 2023 13:42:01 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2 2/2] Documentation: dpll: wrap DPLL_CMD_PIN_GET output in a code block Content-Language: en-US To: Bagas Sanjaya , Linux Networking , Linux Documentation , Linux Kernel Mailing List Cc: Vadim Fedorenko , Arkadiusz Kubalewski , Jiri Pirko , Jonathan Corbet , "David S. Miller" References: <20230928052708.44820-1-bagasdotme@gmail.com> <20230928052708.44820-3-bagasdotme@gmail.com> From: Randy Dunlap In-Reply-To: <20230928052708.44820-3-bagasdotme@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 13:42:38 -0700 (PDT) On 9/27/23 22:27, Bagas Sanjaya wrote: > DPLL_CMD_PIN_GET netlink command output for mux-type pins looks ugly > with normal paragraph formatting. Format it as a code block instead. > > Reviewed-by: Vadim Fedorenko > Signed-off-by: Bagas Sanjaya Acked-by: Randy Dunlap Tested-by: Randy Dunlap Thanks. > --- > Documentation/driver-api/dpll.rst | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/Documentation/driver-api/dpll.rst b/Documentation/driver-api/dpll.rst > index 01eb4de867036f..69670deb8c4e09 100644 > --- a/Documentation/driver-api/dpll.rst > +++ b/Documentation/driver-api/dpll.rst > @@ -119,19 +119,19 @@ with. > If a pin was registered with multiple parent pins, they behave like a > multiple output multiplexer. In this case output of a > ``DPLL_CMD_PIN_GET`` would contain multiple pin-parent nested > -attributes with current state related to each parent, like: > +attributes with current state related to each parent, like:: > > -'pin': [{{ > - 'clock-id': 282574471561216, > - 'module-name': 'ice', > - 'capabilities': 4, > - 'id': 13, > - 'parent-pin': [ > - {'parent-id': 2, 'state': 'connected'}, > - {'parent-id': 3, 'state': 'disconnected'} > - ], > - 'type': 'synce-eth-port' > - }}] > + 'pin': [{{ > + 'clock-id': 282574471561216, > + 'module-name': 'ice', > + 'capabilities': 4, > + 'id': 13, > + 'parent-pin': [ > + {'parent-id': 2, 'state': 'connected'}, > + {'parent-id': 3, 'state': 'disconnected'} > + ], > + 'type': 'synce-eth-port' > + }}] > > Only one child pin can provide its signal to the parent MUX-type pin at > a time, the selection is done by requesting change of a child pin state -- ~Randy