Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp622942lqt; Thu, 6 Jun 2024 13:13:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVeuzFDPdDCkHAgf+EcvCDhHDQ5quFk50gl1hlCWABo12MdJ1jh6IJCyCHLEaiTcDoN5kv+reMIzsG/vXPj3h3nC4efgyORmEG6YdyhwQ== X-Google-Smtp-Source: AGHT+IHdT0u6cb67/N5hSiBZxyhxHPNFyQjde0uKLay4Cenuf7t71VLKNY+gpXkuOiE5erabiS/C X-Received: by 2002:a50:f68b:0:b0:578:6242:d4b0 with SMTP id 4fb4d7f45d1cf-57c509b6977mr202131a12.40.1717704781803; Thu, 06 Jun 2024 13:13:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717704781; cv=pass; d=google.com; s=arc-20160816; b=lrCw2s8qYIyxAZ8l+D8ugdsR6tc1pwd3ZpCWcwvqlJeRBszEeeL7ouaLP5P+yEfwrF BGEfsBpB2Y0dca7sKUeV7WS/Iau9Yp+ZjOyfUcW3E7v9TsSp6G4Jxuu0OIj3XHK2XSh0 46AXz6UZED0xZkFcBjvE//29Q+T88n4qck2OrSz3V9wwD+SZ9qhnx6mT6qrxCyeDzxfw zb1Ao2UQvWFbs3RdbXU5A6jA1qQ7H6V6FJPnC6b1aWZmvl/7Kz9LpAqweCV1IAe9lfyn bRhXiDWAAsPM5kGSOBXveZ5++8ItnVjMguQMddC0cG2a5p98cMDaIX3DjC8RQk4sEJvs 6Bwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=I7DTU/8PqIdoCgQiTTw7igsL5GIMKTFtrmKIh+sT+tw=; fh=RcAzpcmhfEXFX44sp93YUbWfgkCUIkzF/OVxTG4Ik6c=; b=kVEfmsMXWKB3jd99E6hN0/2OCek2KeVCRBtnsufu9f9Jc5RQI7tors+z9PYQqzTi6r PBsMHn0so/BPfyi/itG7jnMzdirV3AGHbGLPW0V3lRQCuAqA1w+reyIg+Cijp7qJyR4u 5RltOw0VkLOdFe0GHo6yHbsoK1Eg9tVMGRnCntstZ0RcMWEh7C7o1NmHj5Xzjpsw+RUS QKfpKstJmWHyYjf3tI0z1Ah0yTgQfw2FGtlz3C/KNh3ijZ16Mg+TbzjNgNMrWrZ9LiF4 I0xsqO5XGuUsG4Sj3r3rjRXMbAtdpmJleLhYuw+Ta1J0cMvIRvsMac5FLnlwnlVvtJA2 6jUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e4FvyCSO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-204972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae2281d4si1044065a12.381.2024.06.06.13.13.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 13:13:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e4FvyCSO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-204972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 410D71F21F90 for ; Thu, 6 Jun 2024 20:12:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69A5776036; Thu, 6 Jun 2024 20:12:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e4FvyCSO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 838986A33A; Thu, 6 Jun 2024 20:12:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717704755; cv=none; b=pBaDMXcNthLG06oysY249Z0zJprGN+NcMkwMju/EZerhuHJHaoXlJjyQ3lTzyTIW+/ZENqUBdRrjGryfpvluxx6yAOiMcL9GbDkrdCAPKTlP05usfUaZPMUQI68pRoCnf1btJNS2aQKB15UCzBYRLQnnqqUgs8aAolTXbpw+gfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717704755; c=relaxed/simple; bh=wHvxL/Gw5jJJxgJG8DBVyc7WxHfQ4axP9NbOc0wfTV0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MlGTvdPYMG+px9QTpg1LInqaARPblKH0ePbil5O/f9fJdBtc6CfkD9IBfScIlnCzfd1I2cojwvZpIQEFKjA978NXQPw7p2Jb0OXNOdqvy9UDPX3P6i7aX88EMcKFW9J5mi9p156IOceeh5iYXv3W6vXgpfaXv//HKDM9GHs6w5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e4FvyCSO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FBA9C2BD10; Thu, 6 Jun 2024 20:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717704755; bh=wHvxL/Gw5jJJxgJG8DBVyc7WxHfQ4axP9NbOc0wfTV0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=e4FvyCSOU4Kz4MHxKWKeSfGySXFTCuyG2wXI1Q8NIMuxj8QSiuQZQmUumKXBarmkN g5mfG5zMPI5P0UeCKWX2C5a+ETNGYrkienm9lTWJmCZR6gLk8YOfBoIb/WbVojyCQm NIfExJIDIhmqBn1Qbnoag+/mSGZ08YQi9M/g2nAb+Z2LB1KChxwzL6FSGcGlrHHKVN SxAv32KCYYs1ykZmDdhXe7HZPQdiJrW/Kzyqqe6Aa1D7xVpuxXsdELbfUxLbeRWYV5 pwOOefAgsB68/m0GgTnrhpXv+GLjhHvVMcb4Kwhieox2WPSyljbLT9xnFr+cHetA9D azflw1EXWcqfQ== Date: Thu, 6 Jun 2024 21:12:22 +0100 From: Jonathan Cameron To: Conor Dooley Cc: Josua Mayer , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Lars-Peter Clausen , Daniel Baluta , Vinod Koul , Kishon Vijay Abraham I , Konstantin Porotchkin , Richard Cochran , Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-phy@lists.infradead.org, netdev@vger.kernel.org Subject: Re: [PATCH v6 3/7] dt-bindings: iio: adc: ti,ads1015: add compatible for tla2021 Message-ID: <20240606211222.3b0f7a01@jic23-huawei> In-Reply-To: <20240604-suspend-schnapps-191d2c1ad53e@spud> References: <20240602-cn9130-som-v6-0-89393e86d4c7@solid-run.com> <20240602-cn9130-som-v6-3-89393e86d4c7@solid-run.com> <20240604-suspend-schnapps-191d2c1ad53e@spud> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.42; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 4 Jun 2024 18:42:46 +0100 Conor Dooley wrote: > On Sun, Jun 02, 2024 at 05:49:38PM +0200, Josua Mayer wrote: > > TI tla2021 is a limited single-channel variant of tla2024 which is > > similar enough to be easily supportable through the same driver. > > > > Add compatible string for tla2021 so boards may describe it in > > device-tree. > > > > Signed-off-by: Josua Mayer > > Acked-by: Conor Dooley This binding has per channel descriptions. Perhaps for this device it should be updated to include a restriction on number of such sub nodes (probably via the reg value in them) ? Mind you it's currently 8 and the ti,tla2024 only has 4. So a possible job for another day, hopefully alongside the driver support and the tla2022 which seems to be the 2 channel version. Applied. Thanks, Jonathan > > Thanks, > Conor. > > > --- > > Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml > > index d605999ffe28..718f633c6e04 100644 > > --- a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml > > +++ b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml > > @@ -18,6 +18,7 @@ properties: > > enum: > > - ti,ads1015 > > - ti,ads1115 > > + - ti,tla2021 > > - ti,tla2024 > > > > reg: > > > > -- > > 2.35.3 > >