Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp323246pxu; Wed, 7 Oct 2020 04:13:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxL2+bbJnBkXDPfAqVufiLqSiQoVd1C9JEHL4TG5ZBIOcZOfhUqMQRpT2JuMV86dv4Z+ls7 X-Received: by 2002:a17:906:d8e:: with SMTP id m14mr2882918eji.448.1602069225592; Wed, 07 Oct 2020 04:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602069225; cv=none; d=google.com; s=arc-20160816; b=lzKRADK7+fRaHdfhchLkEmO2R8h6W+Uyqon2l9f9Y1zDgpEZNeSIpZHGnii/+jyLLo zVeH89Sa2YTfhitpc7LmO4p/oYVFSDxvW+CZzACcI6t5JcU/yRwlsM383UZUfX0IkXcE f/gKT0tw3DAl7Ywo+l/MBoy1Vgkw4g4Rctu8H6r54zrZDyJwh4Qrb+Y2s+0ek9tjSrgT Sxe8ZNGZZTtvqgV+aKFrqEoCj6BSrB/RCDy1p3MKXrv57EBriICSLZ9Zv1IgEesM3bl/ E4WCoAzgGNvWiYvSJ6XHsCA2g06jisbR4q/wvShkOONiuTsUhlE6HZCHV2jwKYds25B7 JcYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=YS8226Htm9ko0Ats7MeGXgjJvtrjL50Us08IzsgXxEY=; b=Y9zAC7RKu7NSNJbHSLsZOIEzwbEzZJiHhndX4A++Xj2IjnXyZ5hYtwJ0E2NNtlazJL yw+uFXuKPR1KNx1FdqciYVGW/kTm7nvaGsNDu882RtmJjyY7ftOorZEl59ccU4O/Kb2w Wj0gM8D5xwlIGBMJWCJIUEdiD4JjJV1B5YT8x8NKRU1j7fm02ye5m1fYFioNv1+LlCdv 8r0wAqSE2rMWNPo3ClAkiNtSo0SF0uz2h6kgIPnBH733eUCvUKxTDqweHc6O6OdclZLR YcGD8/ClxWiz+N0nTYFDRxa3c+9T6S4WB7wRT7D7B/cYb0sMriGLBsgo13qomdUSk0YE aq+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sgod0wBK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr15si1257274ejb.183.2020.10.07.04.13.21; Wed, 07 Oct 2020 04:13:45 -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=@kernel.org header.s=default header.b=sgod0wBK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727898AbgJGLF4 (ORCPT + 99 others); Wed, 7 Oct 2020 07:05:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:43982 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbgJGLF4 (ORCPT ); Wed, 7 Oct 2020 07:05:56 -0400 Received: from coco.lan (ip5f5ad5a2.dynamic.kabel-deutschland.de [95.90.213.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C244520870; Wed, 7 Oct 2020 11:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602068755; bh=8fjmSp49cKh0wfDCoSeaYG9gAubXCSGeNCp550twzME=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sgod0wBKkbcZXEbenUHnXhSX5tyaGZ+fKjXAXo13RX3GLdVkK0kua0nKzLlMxRx6V aewwVG9unLpFWAOg1W9yOXAy2Vu5VGr1VbSP1RP+vnZvcBRhdiTIIGFq45Lyqc5dqF hxm0AuGJg9GwPAmD9s7JtbQBd4UYlLLT3zptHyzE= Date: Wed, 7 Oct 2020 13:05:49 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman Cc: Ivan Zaentsev , Evgeniy Polyakov , Jonathan Corbet , Akira Shimahara , Dan Carpenter , Colin Ian King , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Evgeny Boger Subject: Re: [PATCH 2/2] w1: w1_therm: Add support for GXCAS GX20MH01 device. Message-ID: <20201007130549.6ca57af0@coco.lan> In-Reply-To: <20201007090619.GA613204@kroah.com> References: <20200904160004.87710-1-ivan.zaentsev@wirenboard.ru> <20200904160004.87710-2-ivan.zaentsev@wirenboard.ru> <20201006151915.77d044a4@coco.lan> <1561045277.20201007103227@wirenboard.ru> <20201007105702.67988846@coco.lan> <20201007090619.GA613204@kroah.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, 7 Oct 2020 11:06:19 +0200 Greg Kroah-Hartman escreveu: > On Wed, Oct 07, 2020 at 10:57:02AM +0200, Mauro Carvalho Chehab wrote: > > Em Wed, 7 Oct 2020 10:32:27 +0300 > > Ivan Zaentsev escreveu: > > > > > Tuesday, October 6, 2020, 4:19:15 PM, Mauro Carvalho Chehab wrote: > > > > > > >> diff --git a/Documentation/w1/slaves/w1_therm.rst b/Documentation/w1/slaves/w1_therm.rst > > > >> index f1148181f53e..00376501a5ef 100644 > > > >> --- a/Documentation/w1/slaves/w1_therm.rst > > > >> +++ b/Documentation/w1/slaves/w1_therm.rst > > > > > > >> > > > >> @@ -130,4 +131,12 @@ conversion and temperature reads 85.00 (powerup value) or 127.94 (insufficient > > > >> power), the driver returns a conversion error. Bit mask ``2`` enables poll for > > > >> conversion completion (normal power only) by generating read cycles on the bus > > > >> after conversion starts. In parasite power mode this feature is not available. > > > >> -Feature bit masks may be combined (OR). > > > >> +Feature bit masks may be combined (OR). See accompanying sysfs documentation: > > > >> +:ref:`Documentation/w1/slaves/w1_therm.rst ` > > > >> + > > > > > > > As warned by Sphinx, this cross-reference is broken: > > > > > > > .../Documentation/w1/slaves/w1_therm.rst:125: WARNING: > > > > undefined label: w1_therm (if the link has no caption the label must precede a section header) > > > > > > Would this be ok? > > > > Yeah, sure! > > > > > > > > "More details in Documentation/ABI/testing/sysfs-driver-w1_therm" > > > > > > > Not sure what you wanted to point here. > > > > > > A link to a driver's sysfs interface, but sysfs docs are text > > > files and seem to not be included in Sphynx Docs. > > > > I sent upstream sometime ago a patch series adding ABI to Sphinx, but I > > was not merged, not sure why: > > > > https://git.linuxtv.org/mchehab/experimental.git/log/?h=abi_patches_v5.6 > > I think the raft of different patches floating around at the time made > me totally confused as to what was, and was not, the latest versions. Yeah, there were lots of patches floating around that time. I also recall that someone (Jeni?) asked if the best wouldn't be to just convert the ABI files to ReST directly. > I'll be glad to look at them again, if you want to rebase after 5.10-rc1 > is out and resend them, as I think this should be showing up in the > documentation. Surely. I'll rebase them after 5.10-rc1 and re-submit. What strategy do you prefer? Keep the files with the same format as today (allowing them to optionally have ReST markups) or to convert them to .rst directly? In the latter case, the best would be to apply it as early as possible after 5.10-rc1, as it may cause conflicts with other patches being submitted for 5.11. In the former case, as there are a few other places like w1_therm that want cross-references to ABI, I'll try to automate a way to generate identifiers for processed ABI files. Thanks, Mauro