From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA745606A326 for ; Sun, 29 Nov 2026 00:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=nrOHdcXh; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Nk7w1Au7 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=niu2ll9by7Ff7ySZb1daA6d8SCaxRJxLOTBgEG6QcOk=; b=nrOHdcXhXRsgg4 YVBxKO/ZgGyvifo0b1OIEge8Y62HmtE/wMaykLmrNr0tNtclCvDMs+oiXBqF8CNYBK4ruZfbI7Vbd C7jKTID6qK5B8Jwkl7zE/lDjBcE9Qq+YIaggsYjGjD/QCr6WQMAGa2H7hnI97LOaFekr/h69pUx/7 9TnbBSruIVA4PiJWtQvq7ofUg/BPoYUK2Izm8E2q+4j0dJp6TXUAHENJkyPcsDklwCA9zv4z41JK6 XpQFpsUUQdD48h+dMUejGvWlujm+el/6tnh8HlOv3k0SsNXfBFD5gCArt5Q7wsbZJY2dLpFZSHLFn DK63dyonXeWsm1ev7DKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXSXS-00000001MIL-1QPp; Sun, 29 Nov 2026 00:13:06 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXSXQ-00000001MIE-2pDn for linux-arm-kernel@lists.infradead.org; Sun, 29 Nov 2026 00:13:04 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id C9C7C60D38; Sun, 29 Nov 2026 00:13:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 285751F000C1; Sun, 29 Nov 2026 00:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795911183; bh=niu2ll9by7Ff7ySZb1daA6d8SCaxRJxLOTBgEG6QcOk=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Nk7w1Au7ihWjF2EWvaM8pjaEfe3DSMjgLp8SxmwrsJts/+Ul3wpjfUMx132KPzmvb 8upvCx2NehWXBy3vzhzlgXrNP+pInzwDHBVPF2igWTUrQ9jLcg1nDWRlNnvZrk3esf QurSX82umtXjwefIGPvWduVHh4X6My3Tt7qhyEfNwmCsS4N/MqNSema8NFlfKMcuOA fiS2SucUZ+q504HAarKPdj7gk2ZCrckAEQlEuB+T61pDep1s2mmBaAhYhfIvjrZ8BW APoaJaBi8H14Y+6p/EdTfTfbACQdt1T4oxeyhA1D3Y5kJvVNw1I+T/vgUV4rabLyYa S6Futj234UZ9w== Date: Sun, 29 Nov 2026 00:12:55 +0000 From: Jonathan Cameron To: Chi-Wen Weng Cc: Rob Herring , krzk+dt@kernel.org, conor+dt@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, Victor Chernyakin , linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, cwweng@nuvoton.com Subject: Re: [PATCH v5 2/3] dt-bindings: iio: adc: Add Nuvoton MA35D1 EADC Message-ID: <20261129001255.0a56382e@jic23-hlaptop> In-Reply-To: <8c25cc7f-5c8f-4bb7-b82f-0f2d1933e334@gmail.com> References: <20261117082832.1551574-1-cwweng.linux@gmail.com> <20261117082832.1551574-3-cwweng.linux@gmail.com> <8c25cc7f-5c8f-4bb7-b82f-0f2d1933e334@gmail.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-7.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, 25 Nov 2026 09:40:43 +0800 Chi-Wen Weng wrote: > Hi Jonathan, Rob, > > Following Jonathan's earlier comment and the Sashiko review about the > internal VBAT channel, I'd like to clarify the intended IIO channel > numbering. > > The current driver only supports external channels 0-7. The internal > VBAT input is not supported yet and does not require a DT child node. > > Would it make sense to reserve IIO channel specifier 8 for VBAT in the > binding, while keeping #io-channel-cells = <1>? > > External channel specifiers 0-7 would continue to refer to the > corresponding child node reg values. VBAT would use specifier 8 without > a child node once driver support is added. > > The current binding also requires at least one external channel child > node, so a VBAT-only configuration would remain unsupported for now. > > Would you prefer to document the reserved VBAT specifier in v6, or leave > the binding unchanged until VBAT support is implemented? > I'd document it. We have had a few cases of confusion around this recently so I think calling out that there are additional channels that don't have channel nodes but are accessible via of_xlate is useful. Perhaps add it as a description for io-channel-cells? > Thanks, > Chi-Wen > >