Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp365378rdb; Thu, 30 Nov 2023 06:59:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwrO8wpgjHQMIzbpqLv8Q6eL96GbLNuJQoWgv1tSv2M48AmGu/IzJm6CjZ91ZEc2cLOZcT X-Received: by 2002:a17:902:cecf:b0:1cf:a105:6a0b with SMTP id d15-20020a170902cecf00b001cfa1056a0bmr24139148plg.62.1701356367323; Thu, 30 Nov 2023 06:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701356367; cv=none; d=google.com; s=arc-20160816; b=AMmwwsGrkR98vupFPdoR/Qm6aCNCD17TflK5VIVAR7Rl7xIys3UTkGGmPHsyyHhitk q2UEjnRan9knNY07Hcm7/uhH7v4ZWdjf+0KOWj9o7ANXYBUwyfKWiiyVeWWHGRTXyjy9 QtntIlrFie3xbOKcFlP0xFtQEaCFCa3bE0Lztw0KUw1udZMnlejDsdgF6W8EDWF72eRF Ew6E4DeXC3pqKZtm2LXw9938YZ9jNftbOdCDp2yKan/nL3OgB3wY07WYTKnEpezoe3cd qaQn8Cg1n63TQfiu130Avfq7uyJj+dVQeDy5wV4xSf1cJD7Ymfg6+COnAJuRVllITHiB 3u+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=x9X/FA9QGYD26OgHhkT2M5wKXfZ6oip1GO+rBTNR7Y8=; fh=EcOSCQeIdBgqY2EVkvolbVUkszTxu+8q5auL8tvfoGg=; b=FKfL7gwHwCo8Wx/FW4ao30r/T6mOtchhnVM1jZ/5srETmIsWRyUkEj6UQRCkg2lasA ZVnHbYUIXlQGIzdF83GIsb5NG0W7m1U/X5AH6Xk1j/KD/fp2sjBosLXkZADa3EdUQi2w AIXk4yvWYyPaHUVq8mpOE3fKnTQ91RhIbf0GuZ0Q8hg/aNCfZT/Skx9q8BtHEjNMBbUa OldRdc2nuOIQH751U4HI4xTDq4ltOpd8mAcWUE7qaqR6siMnuFICWVfGZffDg7/Z/Rb0 VUQ4Au+MGrLYeSmQP0gHAFSncUVJbngrkru/TzDQFemwCCnfG0qhlf7paMoamf5cHrB7 bmww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jpNt6hKj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id c17-20020a170903235100b001cfb47fc64asi1394082plh.227.2023.11.30.06.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:59:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jpNt6hKj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 20D9383EE9F4; Thu, 30 Nov 2023 06:59:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232258AbjK3O6t (ORCPT + 99 others); Thu, 30 Nov 2023 09:58:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346158AbjK3O6m (ORCPT ); Thu, 30 Nov 2023 09:58:42 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FF39170E for ; Thu, 30 Nov 2023 06:58:47 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C164C433C7; Thu, 30 Nov 2023 14:58:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701356326; bh=8Js8Hy2kLo1L6YkFwnzWN4hkYezVwJRoYHViVMUicgs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jpNt6hKjXd68EwOlbz1pBTdNJaj7J+27Hno3vGBqWlu+gZizrLjcv7HizbZ2UACJ7 ASITdqOtS3LB7mfmk4ik5b0U4OJkQNaTEw5/X/w11xwGLogCN+SdkqBOvGMQ1xwm9D CvJV3niMs7u1kSvjFKbpJZiuQEpCM+I+h7FVBDT8nsoe+7CNZCo481jqPbUGuohsFg BpEhp8JVi9wbZjpUjwq+9GhD0bHyo815nC4O7BBTKhW5tfZaO6F01LXNVnhp7bddkP fqOM5l0H9HSKegNN9HxdDUOPlEnk2vkUzsyf7YxjbI7rES86ZxFx+Ng9oqJJnYpeMG EEAJ1+mSaNQ+A== Date: Thu, 30 Nov 2023 14:58:41 +0000 From: Conor Dooley To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Conor Dooley , Guenter Roeck , Jean Delvare , Jonathan Cameron , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: Re: [PATCH] dt-bindings: hwmon: Increase max number of io-channels Message-ID: <20231130-power-rubbed-fbf64a8c6978@spud> References: <441d9babc7042892350a58ba4300df4761876ae3.1701334008.git.michal.simek@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BPoyXFuPPPfwP3S7" Content-Disposition: inline In-Reply-To: <441d9babc7042892350a58ba4300df4761876ae3.1701334008.git.michal.simek@amd.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 06:59:24 -0800 (PST) --BPoyXFuPPPfwP3S7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 30, 2023 at 09:46:54AM +0100, Michal Simek wrote: > arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts is defining 30 channels > that's why increase it. > But AMS binding defines 51 channels > Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml > that's why increase number to 51. Please write commit messages for bindings in terms of how they relate to some hardware. In this case I think it would be sufficient to say that the Analog Monitoring system has 51 channels, the opening sentence about the dts as justification provides no actionable information. Acked-by: Conor Dooley Cheers, Conor. > Signed-off-by: Michal Simek > --- >=20 > Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml b/Doc= umentation/devicetree/bindings/hwmon/iio-hwmon.yaml > index e5b24782f448..be5c7d4579bb 100644 > --- a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml > +++ b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml > @@ -19,7 +19,7 @@ properties: > =20 > io-channels: > minItems: 1 > - maxItems: 8 # Should be enough > + maxItems: 51 # Should be enough > description: > > List of phandles to ADC channels to read the monitoring values > =20 > --=20 > 2.36.1 >=20 --BPoyXFuPPPfwP3S7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZWijIQAKCRB4tDGHoIJi 0lICAQC1KW3GVEI4tqQWELA4CLCh/wITQ8ofp4IPCooF4IJVWQD+NKt3+qwCkPnx L96KirOZwabT/HBwdu4dRpfvte7q4Ak= =DlYh -----END PGP SIGNATURE----- --BPoyXFuPPPfwP3S7--