Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp238286rdb; Mon, 18 Sep 2023 13:33:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYj2d7c265mVrcMhPKnxBdHFgHHheE2Q1t8zAgs6Cyo8DljMor8Pglz2H5wSUUipb1y0Gg X-Received: by 2002:a05:6a20:e594:b0:122:10f9:f635 with SMTP id ng20-20020a056a20e59400b0012210f9f635mr4391426pzb.19.1695069198547; Mon, 18 Sep 2023 13:33:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695069198; cv=none; d=google.com; s=arc-20160816; b=VtL4SXkcQ1B5jg1nvZMS4F6w9O6zzwVPniXwPz2lN8wLT6eVGNh1qgZ4qaKSCLb6H5 JOoE8DIyZNvnv5uxEm0RfI05oW3A+1HTF4OUKaAUUuxeZGo21fSLqQDMAwv5NoV6hCIy c7Epvf8EQDrCyTghMfQnzoaYXuXTPFptpBlLMfhKqcS6MFKSPPz2Lhl9udUJ5sFevUSS xL4yeZJdkEUiBmeYMCfw0CnFPLw9Y0bn4oxS1qyDamQsP6bZUAAGBqPIJGhxwwBf0+jn HLblIO2D7odu0fZZ3V61AqDOn62EYeTC12GkZFlCLvHQzp/mBGgJAiPnTXDNH+OWa2WT mOdw== 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:mime-version:date :dkim-signature:message-id; bh=I7CCUtzpFyVJe8OYH3sV6PVFJjf3eVrAFsKZXKvWBQs=; fh=9yGkbyYZfW20vQk3aJi8t9hbZnnBzrOMbtz0IAiAypY=; b=nfD+faLODXp2JrMKYxK5AS97CZYmH7NqlYnzhWGYSXha7cgBwRnDvZ8fNfnO6pQGfg WkRSL5/ce0WBRbwgejo2t7H3XjsF4czNwzmu2T029EvnQAM9FNaQhsI7p4OXpFlBE4IZ qvOj9lQF0yjb01qfplqedO23thn8OhcNNywWnj0BE7jg54R2WqPgF9pl9FhkCockSawY +iFCM/2SnTnurDgOdQojKkukKXvTGcrA7daJeRKHU5rNl8crgHmiO7GqBfrvDhs8ipXF VbHG+O1XIWwb6kuxvHSWFnZR1Amtm/zypr6DRMIRkXZv7rjR2bNzfM/hEkj40STfkbG5 EU1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=FuCVJodP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f6-20020a17090a700600b002743b58483asi8414336pjk.66.2023.09.18.13.33.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 13:33:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=FuCVJodP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 584A98029551; Mon, 18 Sep 2023 03:04:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236952AbjIRKEQ (ORCPT + 99 others); Mon, 18 Sep 2023 06:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241158AbjIRKEG (ORCPT ); Mon, 18 Sep 2023 06:04:06 -0400 Received: from out-214.mta0.migadu.com (out-214.mta0.migadu.com [IPv6:2001:41d0:1004:224b::d6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A20101B5 for ; Mon, 18 Sep 2023 03:03:27 -0700 (PDT) Message-ID: <63f877b6-1142-82ac-a723-5dc276137283@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1695031406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I7CCUtzpFyVJe8OYH3sV6PVFJjf3eVrAFsKZXKvWBQs=; b=FuCVJodPWMzfz9YkUl9Zi6jjOAjS5DVNBa70Yer3aVnRhDly6/83fNJelMLEzsVVAHpFlx xwZBKN1qEGxIlMw46t58pyPZIEDaQqYEX8FF0dEzGu8RYp7mmXzo4pqF9M50UOhtR0ehgh 9YI937b16fUv3hIq2xBQ5q1zPiOn5/c= Date: Mon, 18 Sep 2023 11:03:22 +0100 MIME-Version: 1.0 Subject: Re: [PATCH 2/2] Documentation: dpll: wrap DPLL_CMD_PIN_GET output in a code block Content-Language: en-US To: Bagas Sanjaya , Arkadiusz Kubalewski , Jiri Pirko , Jonathan Corbet , "David S. Miller" Cc: Linux Kernel Mailing List , Linux Networking , Linux Documentation References: <20230918093240.29824-1-bagasdotme@gmail.com> <20230918093240.29824-3-bagasdotme@gmail.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20230918093240.29824-3-bagasdotme@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 03:04:51 -0700 (PDT) On 18/09/2023 10:32, 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. > > Signed-off-by: Bagas Sanjaya Reviewed-by: Vadim Fedorenko > --- > 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