Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4342981rwb; Sat, 21 Jan 2023 09:58:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXvZO3uJTWddgfXWFR5AIhSg0kMwktdbI+9x+v/fCnAgTzOywTX1zaHQQNzKexZ7sQSKha9G X-Received: by 2002:a17:906:eb54:b0:7c1:8ba6:6eb3 with SMTP id mc20-20020a170906eb5400b007c18ba66eb3mr19260123ejb.35.1674323908016; Sat, 21 Jan 2023 09:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674323908; cv=none; d=google.com; s=arc-20160816; b=mu5jBVAJ32DRSZisXMKq1vVBBYmZmhOemdBFkszvtLhniBOLRbc+DqA8mQvwPChrjC JVOXAR9tYilyblDoQKXZ4Ud7aStXoq2A88pkch0OApY6YckHyIh5DqhVWy+pEoGZmxlm se5k7Bav2AVSK+h2c6rvMvVuxB2y+N3kHu7c2ynXKFcZEnWKC2lrY/o9XPsXdDDCFdr6 FuLsDnBdbKUACM9VtjZXnvpo+7+viEWKnR5CnNNwwWpR+oD5MCc/aa53Fj0s7XO83T68 gMKWkqMLcB5f7egomKJEPYFg95A4Y2vFA8Y/Kce7cw2xGU62u/W7HaN4u/lb+jU68ZSE 4cTQ== 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=N4NQb4Bkm44B4gHloIl5m6DMXoZT0bq9F4fsaXWSSks=; b=Fg8zLbv8n0zhZ8eD6L5XB6m02hrhS799vR/gjjWS39bJHd0X+fEaBADZbzyZ9HCcOL FFwy5lRtq/zNmiC/D8RBOoLfA/KOrlgIAD8sMeSMd+IelyjkBktPvenjj3H7FtSXaRbp YbkpqqOwkJFTbqNvgp7Uo6VMXg20CqFx6VlEDSruRtibtYiMFnyyAd96tkdE/NDR7QnL 9XG17/DbCjjUFQ02PzYA7iLatjMXWLP1zYdWdY1+JN2kfX9aFpxx4UdRk0moKiHhidFy rmZj66fLSG5kpFWOFlixl5Z03m5qACMj6SUiEEA/fkEH4AJGf2sIJ+4qFH0WI6CsoSD3 iBeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HuAvhLjB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fj3-20020a1709069c8300b008721818a083si1280571ejc.330.2023.01.21.09.58.15; Sat, 21 Jan 2023 09:58:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HuAvhLjB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229985AbjAURDh (ORCPT + 50 others); Sat, 21 Jan 2023 12:03:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbjAURDg (ORCPT ); Sat, 21 Jan 2023 12:03:36 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2498B298D7; Sat, 21 Jan 2023 09:03:35 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D1C2AB80816; Sat, 21 Jan 2023 17:03:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC6A7C433D2; Sat, 21 Jan 2023 17:03:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674320612; bh=KDw/+vNJAi/mknOa0WX6Ng3Q/0RA2pHOSwGQq7+EYNo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HuAvhLjB/S0zc04GEtF9VGWcCB7qG5XdOX/vEN1tGnJurqUyU5Va8pjleX2BpqDMx 1DBYEjVEnjBFx5TMJxCJXI7zrpQMWIMOexR1+df1B4bLny8/4vt2pzpJZmJyEfGgpQ VaalUoUBfg8Dg4BGmjUOzfEOW1RNNXiRf2hG+bdlbc+nqCoVFoQYaZC7SIcN3wQKYS vl/n8mO8rxnNzKFz6fOMO41bk802GYjzq+d/1MlwM8VFj0YnJsDTSbb/R2tuxHnaxy qtLkTzSJsB5UF4h5o5eq5Uixb94jhF7dkj3tZNB291jWt2N+6/jKr2Cl253RK7dQIq Y9ouSKjMPjr8g== Date: Sat, 21 Jan 2023 17:17:09 +0000 From: Jonathan Cameron To: Krzysztof Kozlowski Cc: Lars-Peter Clausen , Michael Hennerich , Rob Herring , Krzysztof Kozlowski , Lucas Stankus , Puranjay Mohan , Dmitry Rokosov , Alexandru Tachici , Marcelo Schmitt , Renato Lui Geh , Eugen Hristev , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Andreas Klinger , Marcus Folkesson , Kent Gustavsson , Lad Prabhakar , Alim Akhtar , Maxime Coquelin , Alexandre Torgue , Oleksij Rempel , kernel@pengutronix.de, Nuno =?UTF-8?B?U8Oh?= , Nishant Malpani , Rui Miguel Silva , Dragos Bogdan , Jean-Baptiste Maneyrol , Lorenzo Bianconi , Benson Leung , Guenter Roeck , Stefan Popa , Robert Yang , Sean Nyekjaer , Artur Rojek , Miquel Raynal , Philippe Reynes , Alexandru Lazar , Linus Walleij , Caleb Connolly , Fabrice Gasnier , Stefan Agner , Daniel Baluta , Harald Geyer , Eugene Zaikonnikov , Phil Reid , Matt Ranostay , Stephen Boyd , Sankar Velliangiri , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, chrome-platform@lists.linux.dev Subject: Re: [PATCH 3/5] dt-bindings: iio: correct node names in examples Message-ID: <20230121171709.5eb75e94@jic23-huawei> In-Reply-To: <20230118184413.395820-3-krzysztof.kozlowski@linaro.org> References: <20230118184413.395820-1-krzysztof.kozlowski@linaro.org> <20230118184413.395820-3-krzysztof.kozlowski@linaro.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Wed, 18 Jan 2023 19:44:11 +0100 Krzysztof Kozlowski wrote: > Do not use underscores and unneeded suffixes (e.g. i2c0) in node name in > examples. > > Signed-off-by: Krzysztof Kozlowski > --- > diff --git a/Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml b/Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml > index 6c5ad426a016..12f75ddc4a70 100644 > --- a/Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml > +++ b/Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml > @@ -42,7 +42,7 @@ examples: > #address-cells = <1>; > #size-cells = <0>; > > - heart_mon@0 { > + heart-rate@0 { These are both heart-rate and pulse oximeters so measure more than just the rate (oxygen saturation in the blood). Reality is they actually measure light absorption over time, but you can calculate an estimate of both rate and oxygen saturation from that. I don't really mind simplifying that to heart-rate, but wanted to call this out for possible discussion. > compatible = "ti,afe4403"; > reg = <0>; > spi-max-frequency = <10000000>; > diff --git a/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml b/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml > index c0e815d9999e..b334f3e356ad 100644 > --- a/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml > +++ b/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml > @@ -39,7 +39,7 @@ examples: > #address-cells = <1>; > #size-cells = <0>; > > - heart_mon@58 { > + heart-rate@58 { > compatible = "ti,afe4404"; > reg = <0x58>; > tx-supply = <&vbat>; The rest are all fine. If no one comments I'll pick this up as it is in a few days. Jonathan