Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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.lore.kernel.org (Postfix) with ESMTPS id 0C105C76196 for ; Fri, 31 Mar 2023 18:25:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id C9E83C4339B; Fri, 31 Mar 2023 18:25:31 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 99A7AC433EF; Fri, 31 Mar 2023 18:25:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 99A7AC433EF Authentication-Results: smtp.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=i2se.com Received: from [192.168.1.141] ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M5Q6n-1pgvr03b2D-001OOK; Fri, 31 Mar 2023 20:25:03 +0200 Message-ID: <5e203deb-4415-0c7f-72b6-e87cc4e61472@i2se.com> Date: Fri, 31 Mar 2023 20:25:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH V3 2/6] dt-bindings: Add DS2482/DS2484 as trivial device To: Rob Herring , Stefan Wahren List-Id: Cc: Krzysztof Kozlowski , Lars-Peter Clausen , Arnd Bergmann , Olof Johansson , Evgeniy Polyakov , Shawn Guo , Sascha Hauer , Fabio Estevam , linux-imx@nxp.com, soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Steffen Trumtrar References: <20230331095715.5988-1-stefan.wahren@chargebyte.com> <20230331095715.5988-3-stefan.wahren@chargebyte.com> Content-Language: en-US From: Stefan Wahren In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:DU1Hi95Fqei9Ae3G0s9n0ig26gJ8wcVR7wrK/FO38vA9Z4WGIWT cSZdfB5Ncw5SXOlY4cy9fC/b0navQAEVZZMRtPCvfUlc/IV6xYt1h9brM7nQEaB9jaUEbUo I85FEHrcOHe9MHHf+h2VarYVkWOwcvCGf+aINfiWbgWvAxzi8TiBahYHz7MeA7grR0S2dQT GJhWegzGbD18lcQqcXGIw== UI-OutboundReport: notjunk:1;M01:P0:STfmCvhAC4w=;VFrHzV41Cb7G5Vvu1AnfAdv/go9 zmZaDip/mqJrJ4OgKfbUJA4Fb7i12enpTPzD7NRdEBJVTBJEGiqC+2+IUhniamfizSlc+TlTt 7IZnwch3NYkYEDw3GgrvuzFIMTvA6nPsNA0NOoH467qzn0LVfLSRYZkFfNcevA4PhpHN38UqC 58BXe0aurf5G8cIJRsmGiQUEK0lWDtl3QmyVDY6ote69NC0qkBRYWIumJ+9Rew6TI7z4Q+VTP 3MlWe4+W+28BrFey9pQitMYm7n7pSx/aX186ZC5rCL9JIR1OdjHTnFh3ZnH40EWG56BS54Cyg Y78+46XrIRGc2ThhW8idd+AlHSFz3LO33CJoVINPZ7UK/ZKK1+R51tAIwp+4pPKuwxXrljyiF PpMQcwhnmkk3NjnW8Lil+a4662r1slgYDPCEE0wl594RA6zy/y0PWQmfgfSPDV0lRreDUyu6g 0n4lf977LRKz9f8G0NxXyqSvQjHlwHXhQLmG8B2TDDRFknWtLKDwwCBLBG2wQ4ZyyMi6fjYqx jVypujtKrD9ayi1fE8K706yNucIWPD48ZpUHL0rXJVqbBbdNYpyP4TRt4RERfEW+KcKFRajGq 9yy6dhvt2WQfPQ+tRV0OsJF3PbhqrCIFYSBCrM4devywp3ggm9s57NdQYczwam3VfclQxZH3B XbA+TXlDgk5JhgTCtuxfnp7difSoTfVeq5FEiDhxgQ== Hi Rob, Am 31.03.23 um 17:49 schrieb Rob Herring: > On Fri, Mar 31, 2023 at 4:58 AM Stefan Wahren > wrote: >> >> Both chips are I2C to 1-wire bridges. >> >> Signed-off-by: Stefan Wahren >> Cc: Steffen Trumtrar >> Acked-by: Krzysztof Kozlowski >> --- >> Documentation/devicetree/bindings/trivial-devices.yaml | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml >> index 6f482a254a1d..9b7b24989359 100644 >> --- a/Documentation/devicetree/bindings/trivial-devices.yaml >> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml >> @@ -183,6 +183,10 @@ properties: >> - maxim,ds1803-050 >> # 100 kOhm digital potentiometer with I2C interface >> - maxim,ds1803-100 >> + # I2C to 1-wire bridge >> + - maxim,ds2482 >> + # I2C to 1-wire bridge >> + - maxim,ds2484 > > A 1-wire device isn't really trivial because it can have child nodes. > You're probably not the first here, but don't add more. > > You could do a "trivial 1-wire devices" schema similar to trivial RTC > device schema. okay. After thinking more about this, it isn't a trivial device at all. I will make a dedicated schema for this. Best regards > > Rob