From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C2447C76196 for ; Mon, 3 Apr 2023 18:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: 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-Owner; bh=ORHIYYLgI4n9+qtRpsivWIoll5PxmuoSEHSW4dO7d44=; b=nYRofvBHUnjo21 aFLVyBcWX4q2oPURB0NphkIwCpI0usJ1S/tYfOGB9CfTDTYvnAnteIKq9wUDKJcz2nGo/Yl6OdI40 wdUjpsXoQbLkTS0drpJp10nKZ1F2ycnz6x+y+WD086TBsBWpbegmM7TXXyqHEg3dP4hpFbuyfTiar YYgUmgxf7hW8H0nLDy++t+ZchyB7e8JLhIpUQPLOZXcldM3CYwt1CtOI5XDfNoCC8KEdVAgxmWydn 6spA8RbxYSRtDKFXJSq2GrseVDwm5oSol0g1WJ1bRMiVylBTYJQHFQxfSOC3N/gLxy08Awl27V22q Zw53Pdx9zEjhvRSGOh5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjOh2-00GAQw-2Y; Mon, 03 Apr 2023 18:14:12 +0000 Received: from mail-ot1-f50.google.com ([209.85.210.50]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjOgz-00GAQ5-0p for linux-arm-kernel@lists.infradead.org; Mon, 03 Apr 2023 18:14:10 +0000 Received: by mail-ot1-f50.google.com with SMTP id o25-20020a9d4119000000b006a11eb19f8eso14920626ote.5 for ; Mon, 03 Apr 2023 11:14:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680545648; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=diAU2gDNpfvEkf0KkvkJMk9DSdJLB8pM+UR1PjlRd1Q=; b=CWP7iMB6HVkCDHqaMeprg4n1DT99anMi1C3jW1GIl+riWNoqEyBB8vqQAoVeCxep98 ODSo6c4gU8XXHaxIzfCkQxyhH5w0oQz1pKiCgojMe9z94+bEx+IRa1OmdFNQdO4dgXkA EZlc70copT4DHQan0ey7qZLsmPOPA0EjgdTJxJWKBYFqVg3dWhsxgupanR7vVywr65R2 7+8zvIWSxZV4fx5RvXKR4JS1pYBKxCVQnroVqUoN6KfGR/XCF33FQYj4FK4MkPPtR9qm +rOfY4sL7QtdSx+JJllX9xXtfVEYrJv+GE3rPJF+TT3zf3sSRvc9JRQHIVdtMEpFHYUz 2v0Q== X-Gm-Message-State: AAQBX9fXGVAYfykiFOBM6xDu4K8UZxcixSt4I/DgYSSW4FsiQaliA5tJ aU6KJukSoC2mRdgvzGpczA== X-Google-Smtp-Source: AKy350YIttDvDJ7Vo5p8cx/PBF4e+AWAEha5v/UWeHolpwFR8Usk5pByB0bDAyqoZKGl66OTAz+Yfw== X-Received: by 2002:a9d:6f8f:0:b0:6a1:7eaa:3836 with SMTP id h15-20020a9d6f8f000000b006a17eaa3836mr56953otq.5.1680545648143; Mon, 03 Apr 2023 11:14:08 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id i26-20020a9d68da000000b0069dd3d98ec6sm4635107oto.44.2023.04.03.11.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 11:14:07 -0700 (PDT) Received: (nullmailer pid 1277282 invoked by uid 1000); Mon, 03 Apr 2023 18:14:07 -0000 Date: Mon, 3 Apr 2023 13:14:07 -0500 From: Rob Herring To: Stefan Wahren Cc: Krzysztof Kozlowski , 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, stefan.wahren@i2se.com Subject: Re: [PATCH V4 2/6] dt-bindings: w1: Add DS2482/DS2484 I2C to 1-W bridges Message-ID: <20230403181407.GA1242137-robh@kernel.org> References: <20230331210840.4061-1-stefan.wahren@chargebyte.com> <20230331210840.4061-3-stefan.wahren@chargebyte.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230331210840.4061-3-stefan.wahren@chargebyte.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230403_111409_293434_D8E2C76E X-CRM114-Status: GOOD ( 17.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 31, 2023 at 11:08:36PM +0200, Stefan Wahren wrote: > Even this binding look trivial, the actual hardware supports more > features (e.g. sleep mode control GPIO). So add this as a dedicated > devicetree binding for the Maxim DS2482/DS2484 I2C to 1-W bridges, > which can be extended later. > > Signed-off-by: Stefan Wahren > --- > .../devicetree/bindings/w1/maxim,ds2482.yaml | 43 +++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 Documentation/devicetree/bindings/w1/maxim,ds2482.yaml > > diff --git a/Documentation/devicetree/bindings/w1/maxim,ds2482.yaml b/Documentation/devicetree/bindings/w1/maxim,ds2482.yaml > new file mode 100644 > index 000000000000..fd692a3a7400 > --- /dev/null > +++ b/Documentation/devicetree/bindings/w1/maxim,ds2482.yaml > @@ -0,0 +1,43 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/w1/maxim,ds2482.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim One wire bus master controller > + > +maintainers: > + - Stefan Wahren > + > +description: | > + I2C to 1-wire bridges > + > + https://www.analog.com/media/en/technical-documentation/data-sheets/ds2482-100.pdf > + https://www.analog.com/media/en/technical-documentation/data-sheets/DS2482-800.pdf > + https://www.analog.com/media/en/technical-documentation/data-sheets/DS2484.pdf > + > +properties: > + compatible: > + enum: > + - maxim,ds2482 > + - maxim,ds2484 > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false To allow children, all that's needed for 1-wire is: additionalProperties: type: object > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + onewire@18 { > + compatible = "maxim,ds2484"; > + reg = <0x18>; > + }; > + }; > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel