Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2578251rwb; Sat, 29 Jul 2023 09:22:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlEu8zYzJcvRWgz5n2mboivW9rQsq0IplQQtE+zAb1+eFhjYHUZl9L1cBi9jjZnjWoqjRyL0 X-Received: by 2002:a17:907:2c4d:b0:99b:5e5f:1667 with SMTP id hf13-20020a1709072c4d00b0099b5e5f1667mr2524899ejc.15.1690647764690; Sat, 29 Jul 2023 09:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690647764; cv=none; d=google.com; s=arc-20160816; b=Gfmm3RFv/dAaTBVoDSTcPTgEU96ePP5UWDF2fiPA4RTAqinUbhJyNqZF2qGk7RbIdx Ql9CNkr3Lhg85yRNXlHSaKe5XgDImsEKzRimx2CeyZO7va+iacr00ZNfL7DiXXFBH7ST YapjCI+m6hdPnYL1LDrpEdLqi/lxpaRzndUpZJnPXwA5rPMwC5xFDEc4EKbRwDJOYKtC dSZ0xJYFfOGM4bJXk0o+OlaU7wF59inrahBZDX712t9ysjglBd/yWOJ87+55KaXbnuPw PrJb8X619gb2wx3ZfZaPngRWkJmpE0nL6g8RVUGCsvIfldudwMYSxEsyAgkE9TPw4pDi N3bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=7LyyG1iya0TK3hzn1sz1vz2ztnTw5rxQOjlg3OWMh8Q=; fh=FYRdAOCOGpdALRtUgcB+8UJaeeYM/JUTuEv3woHSv74=; b=0eb0iu7E3bTOp1+b5geEH+j11xgVIf86qZkm3LQ2TQndmmqm/IzJCITZTWWQZer8ku CIjR0oWld/0jE1IUeawAdwrI1ZLinX89Kv+HPUUTGPofn+GsLY0sOOjZIyefE+Hq+/gs PBslPvGtgC2FWoWnqqTiG0pgolXrxMANgGssxlY72JX4GBRNvopTrfuIhnCPSBKj8ust CTKj0cwF9Jv67W3RLVTnM2jkch9Fl4EuiwsA1pNplj05E/ugmeG9kNq/sZnnP9bDmtYl tVPwncHg/vtotfY9tfdNH+K6Y6CgCqRh4u//fPS0bvz6e4fQvEFf6yB5V46YShcuqlm8 QHrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b="o0dNC+o/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gh13-20020a170906e08d00b0099414f17dc4si443959ejb.431.2023.07.29.09.22.18; Sat, 29 Jul 2023 09:22:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b="o0dNC+o/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229472AbjG2N5r (ORCPT + 99 others); Sat, 29 Jul 2023 09:57:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjG2N5p (ORCPT ); Sat, 29 Jul 2023 09:57:45 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E6EB170C for ; Sat, 29 Jul 2023 06:57:44 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7658430eb5dso277743585a.2 for ; Sat, 29 Jul 2023 06:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1690639063; x=1691243863; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7LyyG1iya0TK3hzn1sz1vz2ztnTw5rxQOjlg3OWMh8Q=; b=o0dNC+o/0b42oJq5tleuplcjRU8ahwiiWvtp5gjH8R63pJIip7sgzuZcf9WgdL4LOl 2Z1z6bbhlzT5e5dHUkdZH1n62Rta5CgEySVb5PLAfbz+XNXnrwvSrWXWdtn+gcWqAMdz Nk/mU1FhIQlRd70oI7dhBNDRn82NwMqxNz3CQR8E4BDta9egTLqTggp1aqAtlEohzH/s x0KuUZxQ4JMlr8zU5A0awwNFKWopm1XtfUNNuaPKam4BHKF7QnIqDLEAefl76/mCh/7N M38mNHqnJEgKL68isMyg+hJbZRFc4VFoUcF1NDk6a7pDJeC/42EtdJRWIjh+xtc4dkiB ziOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690639063; x=1691243863; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7LyyG1iya0TK3hzn1sz1vz2ztnTw5rxQOjlg3OWMh8Q=; b=Sd3ImalPI7uP8azxldjWiszHk/Q5z9VIcK4zgack5SBDYqvJ0+uSIWpOQZjV9QgX0D 9TCaxY36hE59NsfZQvqRbpyBdd5muWZbshZ3N9qi4TW099wCbQlzpZisv2JkMMU2AhtO qjy4E8A8XOxyXzoqTQybCLNpfxkMsKjbrQTqBNNz9IyH8ilaxxT185Dwt19bjm6lysPX 7Pu8+e7tO4oa2tY3K3iLZlWtWR29tummDYbE75w8vOvv5gZLIE8OfHT65z8BnWUmJdPs i+qafeYOQUb55MvZbHGKxta6Fa17DV/Ld4w8tok0I1u/r7Mt96z3KG/lrJYK4EYlwtFp +yQA== X-Gm-Message-State: ABy/qLZDgg5vs6xlQkarY+DoxaJg2eQvRP1pxzUtL93doHBzauWmztQ9 6OLT5pqJtISR7ZxnHZGk1bWMe1gz7vrIaxQB74gBVRm/8QhmqdDFHBY= X-Received: by 2002:a05:620a:1787:b0:765:22d4:b267 with SMTP id ay7-20020a05620a178700b0076522d4b267mr6627987qkb.52.1690639063696; Sat, 29 Jul 2023 06:57:43 -0700 (PDT) MIME-Version: 1.0 References: <20230727095432.82591-1-okan.sahin@analog.com> <20230727095432.82591-2-okan.sahin@analog.com> In-Reply-To: <20230727095432.82591-2-okan.sahin@analog.com> From: Bartosz Golaszewski Date: Sat, 29 Jul 2023 15:57:32 +0200 Message-ID: Subject: Re: [PATCH v5 1/2] dt-bindings: gpio: ds4520: Add ADI DS4520 To: Okan Sahin Cc: Krzysztof Kozlowski , Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 27, 2023 at 11:55=E2=80=AFAM Okan Sahin = wrote: > > Add ADI DS4520 devicetree document. > > Signed-off-by: Okan Sahin > Reviewed-by: Krzysztof Kozlowski > Reviewed-by: Linus Walleij > --- > .../bindings/gpio/adi,ds4520-gpio.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/adi,ds4520-gpi= o.yaml > > diff --git a/Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml = b/Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml > new file mode 100644 > index 000000000000..25b3198c4d3e > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/gpio/adi,ds4520-gpio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: DS4520 I2C GPIO expander > + > +maintainers: > + - Okan Sahin > + > +properties: > + compatible: > + enum: > + - adi,ds4520-gpio > + > + reg: > + maxItems: 1 > + > + gpio-controller: true > + > + "#gpio-cells": > + const: 2 > + > + ngpios: > + minimum: 1 > + maximum: 9 > + > +required: > + - compatible > + - reg > + - gpio-controller > + - "#gpio-cells" > + - ngpios > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + gpio@50 { > + compatible =3D "adi,ds4520-gpio"; > + reg =3D <0x50>; > + ngpios =3D <9>; > + gpio-controller; > + #gpio-cells =3D <2>; > + }; > + }; > -- > 2.30.2 > Applied this and the driver, thanks! Bart