Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6853782rwd; Tue, 6 Jun 2023 02:57:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5VR/ToITeGj2CyF8bIumIcBWe8VBHIvP/cePXR5DhhYdoIqyV3LtVG2LV5Kk1Fxbx/jXRZ X-Received: by 2002:a05:6359:315:b0:129:c9c0:ca64 with SMTP id ef21-20020a056359031500b00129c9c0ca64mr2339917rwb.15.1686045466577; Tue, 06 Jun 2023 02:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686045466; cv=none; d=google.com; s=arc-20160816; b=ccDY01e9gcUqkEBI1gy8PV1aG+193TJ2+hOvNa+KQSkV3bIZyzfJdiYzJ8ShJemUFI j6AbUKaVS1G5mu7q86KlfUGSJuSMuGo+98tF/R9FHhpHZSPsQz9+vb2YJsAIp/BOIpo4 JgpeWnos1z61JjmOXSQwXvXQweDbKODjui20yIv9S9dgv24P2EydxYLnfqijYDmukXXv eMKZ9XvVa5xq/c9SMfa7VnnCbUvnurzMhrJAHNz2osxhEfPAgbjSznMVEK2S4/nqFyeh GtCq+mWBlyEqRQGlMCJTIMwn8OnMCJBsbf4AKAa84iDCjRL+loKHWRVa2iDQf+RiFXv2 XSag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=8C7J2EP7bxfF86Ze7Zs92uWFQqFnCC2m1aZWYmT84Zs=; b=SrPmNicSi6nVdILiEaZPsTpKvjbwF8VGjBrsoyENQ+uwgqjmm9qEAuBNYJQYnasRZC D0I/BKDgwu9h5W8S2sCBeooFFhh2vY459nrGPtuOm733W9EBPpjDRgJxGUITL/ViCZ0Y jR4G6TfpcXgGtY2cGf/Hh7da9PEsyqQ9+jnyuq4EMmKktDukgUlvJs9AFg9vLy6Azupm WZvSiQdrIi32WHq7zoXWdIda9vxHJe2ysWH310YWQCuMG2JJjoYCbDnY2bUuxJ5hV2vi fu2UHbAo7HdGLPoksontm+gLM3/Vluw41G1bS2K1aTmyqAofb/BtqirZznBJs7lSs6Gv 0tTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tGkjbZYm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pc14-20020a17090b3b8e00b002568a675b65si9356955pjb.141.2023.06.06.02.57.35; Tue, 06 Jun 2023 02:57:46 -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=@linaro.org header.s=google header.b=tGkjbZYm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237468AbjFFJaK (ORCPT + 99 others); Tue, 6 Jun 2023 05:30:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236756AbjFFJaI (ORCPT ); Tue, 6 Jun 2023 05:30:08 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34A98126 for ; Tue, 6 Jun 2023 02:30:07 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-970056276acso868201366b.2 for ; Tue, 06 Jun 2023 02:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686043805; x=1688635805; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8C7J2EP7bxfF86Ze7Zs92uWFQqFnCC2m1aZWYmT84Zs=; b=tGkjbZYmLWSdkDcu75EdGvL7xeOarlbXiuCscDikNy5U1FH0hRKBdGbP1XrHQ6WjHp g9XGG856Zw0mWOjOYQq21uLPYNYsjWF5d5S3iYhYv6ykHF/1NsTy9y+L4DsUM5bnT2ak YfZdrqH0MzLXHEZeP7Di8s/7YGUccw0E/GLO0YBgRlH+yPw/VZWN6YUp0DgeUw2hKseX uq5KIpGq9uA4R9iuS4z1/DjJLzPjoSHpBCGLQZaZGCZVBnA0uaBUv1DpdoEaakjRYyGa 0o1iSjadvh3YAiowFZMd4C+lY1qz0iizqD38HH+v2abcms4PeT9IDk6BqPKUK4xWxG8e wXeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686043805; x=1688635805; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8C7J2EP7bxfF86Ze7Zs92uWFQqFnCC2m1aZWYmT84Zs=; b=bHSicKRAp6ZcnXEjlNik+QM3o4q4rBtCwJL1FZtS29eXeDDlp/xRkvUFm7ydeWcvH4 JoxVNoZExrpsVjuZ+prv5aKvP8p7yWCm59xOx58gWC1rQ8dxd/Tr8Zr0OIUe4nqnpu8A UcgiQh3PPrGYRc6Sj5eoT4bsO4QeZjTQs+eU00M+X2TLtB7S6MHpP/KU953ujlD3VlbH Ll/2koxC8hgANIifTXRlL0jEm69f//aINsFuYY1jDNfVnAQU1jZ4CrKwnB7V2mrMILtZ 26jUadzEioASbmNZmIKr8yWhJRdnxlpZ5gTGEN1qJ9l6mDwC6xPuSAdJoRzGY4mlV8mi Uv+w== X-Gm-Message-State: AC+VfDwjfKEbUmHpsV25yp7a4VTlxKk90p/iimcYmFqdBpsTctB76o1m EG5o9nwu5mnOWx8AyB9Cw5WdMQ== X-Received: by 2002:a17:907:948c:b0:974:5487:6054 with SMTP id dm12-20020a170907948c00b0097454876054mr1575957ejc.71.1686043805717; Tue, 06 Jun 2023 02:30:05 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id a22-20020a1709063e9600b0096637a19dccsm5295726ejj.210.2023.06.06.02.30.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jun 2023 02:30:05 -0700 (PDT) Message-ID: <5101ce0a-277c-7104-145f-75543922fe0f@linaro.org> Date: Tue, 6 Jun 2023 11:30:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v3 1/5] dt-bindings: gpio: Add HPE GXP GPIO Content-Language: en-US To: nick.hawkins@hpe.com, verdun@hpe.com, linus.walleij@linaro.org, brgl@bgdev.pl, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jdelvare@suse.com, linux@roeck-us.net, andy.shevchenko@gmail.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org References: <20230606014234.29491-1-nick.hawkins@hpe.com> <20230606014234.29491-2-nick.hawkins@hpe.com> From: Krzysztof Kozlowski In-Reply-To: <20230606014234.29491-2-nick.hawkins@hpe.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 06/06/2023 03:42, nick.hawkins@hpe.com wrote: > From: Nick Hawkins > > Provide access to the register regions and interrupt for GPIO. There > will be two drivers available. The first driver under the hpe,gxp-gpio > binding will provide GPIO information for the VUHC, CSM, and FN2 > host interfaces. The second driver under the hpe,gxp-gpio-pl will > provide GPIO information from the CPLD interface. The main difference > and need for two separate bindings is they have different interrupt > parents. The other is hpe,gxp-gpio is a combination of physical > and virtual GPIOs where as hpe,gxp-gpio-pl are all physical > GPIOs from the CPLD. > > Signed-off-by: Nick Hawkins Thank you for your patch. There is something to discuss/improve. > + > +properties: > + compatible: > + enum: > + - hpe,gxp-gpio > + - hpe,gxp-gpio-pl > + > + reg: > + minItems: 2 > + maxItems: 6 Why 6? You have 4 items in allOf:if:then. > + > + reg-names: > + minItems: 2 > + maxItems: 6 > + > + gpio-controller: true > + > + "#gpio-cells": > + const: 2 > + > + gpio-line-names: > + minItems: 80 > + maxItems: 300 > + > + interrupts: > + maxItems: 1 > + Best regards, Krzysztof