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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAA4BC433EF for ; Thu, 16 Jun 2022 13:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377368AbiFPN5H (ORCPT ); Thu, 16 Jun 2022 09:57:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376717AbiFPN5E (ORCPT ); Thu, 16 Jun 2022 09:57:04 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C3494704B for ; Thu, 16 Jun 2022 06:57:03 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id z14so1348934pgh.0 for ; Thu, 16 Jun 2022 06:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=WF4lAn49sjJB9tDcffvKOR2ZsYx014rUPjpNYWe2CH4=; b=n1wLv515CJx4S59bI6gUm/jJzYE1Jd4ZyAEjXYZY41fVhqp0NKiqt1/QkpPk1D8t82 iuMkt6sHeax+j1qVZLhL8P9r910GR29TsPcyG7zghs7Ifd1tgKZ16/3DDAi4smkoKOxP Esri746E8NxIhzUMoDZT/xDm89MVNCHpLxf2Wiu0m+w3vUNUhaaPneZg/8bqliICfZkp t6YRYoINqDoA2xIX7/ZqzCzF2N8+cH7NITpfqyKhEclO+zJ2HNeXjaXOobyxPW3J/UT/ RIWVO8F9JCy+oiYbnClKxhyepZU6oLJPWlUTAymbkx5n3TGn2CG+1g09mtAmsUrK1k5A GpxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=WF4lAn49sjJB9tDcffvKOR2ZsYx014rUPjpNYWe2CH4=; b=NWhaBJwjx2VKstJGl+TbsYkzKlD0ftkgRW9lgIwmK9S4TbL1axNGspEllqh9sjo7ar c6z7dSy4XKVqu8pCWf28yM+dUz/3nyMNiqZ/W/+kHHpGBDG0s8St+lk1zDmiqxFR+5XW y9JV1gkK1CDbJ9V0o+JuVjVO45FMooSgfs8KC/sD/LD40jaRJOTMx6KP9aYKVDZJxtGU vQR9Z1b1j3gdzYYloUGEgbWLamtDxYY3CAPY2XeBnG8h6++z8QG0QGAS6AFreJAJO1/L AZQgeC1CdF9gae2jWjDusuYBWVFtdMIapUQU/LqsuZFI6KjdAz1BYgTJYu+CCcpbcEva 37Vg== X-Gm-Message-State: AJIora/NIvUtWavR0VDGzI8UyQIdJBtK+rQZ1jsmdt4yuTFE9s9Sldsn yQImpKc4tZPhXwj5L58wzISlbg== X-Google-Smtp-Source: AGRyM1sHbtQQLESsZ+61Z/D9ovq2bt4L/GoaAb4iwdCOR9MeEktPEh/7EQdFda5Tek+t1qulAbQlmQ== X-Received: by 2002:a05:6a00:a16:b0:518:ffe0:7229 with SMTP id p22-20020a056a000a1600b00518ffe07229mr5022001pfh.49.1655387822594; Thu, 16 Jun 2022 06:57:02 -0700 (PDT) Received: from [172.20.0.255] ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id jd12-20020a170903260c00b0015e8d4eb1dbsm1693992plb.37.2022.06.16.06.57.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jun 2022 06:57:02 -0700 (PDT) Message-ID: Date: Thu, 16 Jun 2022 06:57:01 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 1/4] dt-bindings: gpio: Add AXP221/AXP223/AXP809 compatibles Content-Language: en-US To: Samuel Holland , Chen-Yu Tsai , Lee Jones , Linus Walleij , linux-gpio@vger.kernel.org Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, Rob Herring , Bartosz Golaszewski , linux-kernel@vger.kernel.org References: <20220616060915.48325-1-samuel@sholland.org> <20220616060915.48325-2-samuel@sholland.org> From: Krzysztof Kozlowski In-Reply-To: <20220616060915.48325-2-samuel@sholland.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 15/06/2022 23:09, Samuel Holland wrote: > These PMICs each have 2 GPIOs with the same register layout as AXP813, > but without an ADC function. > > Signed-off-by: Samuel Holland > --- > > .../devicetree/bindings/gpio/x-powers,axp209-gpio.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml b/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml > index 0f628b088cec..6faa3ef28960 100644 > --- a/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml > +++ b/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml > @@ -19,7 +19,14 @@ properties: > oneOf: > - enum: > - x-powers,axp209-gpio > + - x-powers,axp221-gpio > - x-powers,axp813-gpio > + - items: > + - const: x-powers,axp223-gpio > + - const: x-powers,axp221-gpio > + - items: > + - const: x-powers,axp809-gpio This is just an enum with 223 and 809. No need for two separate entries here. > + - const: x-powers,axp221-gpio > - items: > - const: x-powers,axp803-gpio > - const: x-powers,axp813-gpio Best regards, Krzysztof